mailing-list for TeXmacs Users

Text archives Help


Re: why : (delayed (lazy-keyboard-force) …


Chronological Thread 
  • From: Giovanni Piredda <address@hidden>
  • To: address@hidden
  • Subject: Re: why : (delayed (lazy-keyboard-force) …
  • Date: Tue, 20 Feb 2024 19:03:32 +0000


On 20/02/24 09:47, vincent douce wrote:
hello
in my-init-texmacs some shorcut are bounded with delayed (lazy-keyboard-force
other aren’t

...



i would like to understand if(delayed (lazy-keyboard-force) is need and when and why


For (lazy-keyboard-force)

TeXmacs loads the definitions in its own files when it needs them, not at startup---you can look it up in Section 1.4 of the Scheme developer manual, "The module system and lazy definitions".

If you define in your files something that also TeXmacs defines, TeXmacs definition might be executed _after_ your definition and overwrite it. Because of this, you force the loading of the TeXmacs definitions before your own, then you overwrite it with your own, and in this way TeXmacs will not execute its own anymore and will not overwrite yours.

For delayed I do not know :-)

Giovanni






Archive powered by MHonArc 2.6.24.

Top of page