Lugaru's Epsilon
Programmer's
Editor

Context:
Epsilon User's Manual and Reference
   . . .
   Command Reference
      abort
      about-epsilon
      align-region
      . . .
      zoom-window
   Variable Reference
      . . .
      locate-path-unix
      mac-framework-dirs
      macro-runs-immediately
      mail-quote-pattern
      mail-quote-skip
      . . .
   Changing Epsilon
   . . .

Previous   Up    Next
mac-framework-dirs  Variable Reference   mail-quote-pattern


Epsilon User's Manual and Reference > Variable Reference >

macro-runs-immediately: variable

Default value: 1

When an EEL function says to run a keyboard macro, Epsilon can do it two ways. Normally Epsilon enters a recursive edit loop, and executes keys from the macro. When the macro ends, Epsilon exits the recursive edit loop, and returns to the EEL function that said to run the macro. This makes keyboard macros behave like functions.

Epsilon can instead simply queue the macro's keys, without employing any loop. Then when an EEL function says to run a keyboard macro, Epsilon just records the fact that it's running a macro and immediately returns to the EEL function. Later when Epsilon is ready for more input (perhaps long after the original macro-queuing function has returned), it begins to use the macro's keys. An EEL function can get this behavior by temporarily setting the macro-runs-immediately variable to zero prior to executing a keyboard macro.

More info:

Binding Primitives (Primitives)



Previous   Up    Next
mac-framework-dirs  Variable Reference   mail-quote-pattern


Lugaru Copyright (C) 1984, 2012 Lugaru Software Ltd. All Rights Reserved.