Re: why : (delayed (lazy-keyboard-force) …
Giovanni Piredda <[email protected]>
| Newsgroups | gmane.editors.texmacs.user |
|---|---|
| Message-ID | <[email protected]> |
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