texmacs-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Texmacs-dev] Extending menus


From: Miguel de Benito Delgado
Subject: Re: [Texmacs-dev] Extending menus
Date: Wed, 11 Apr 2012 13:38:20 +0200
User-agent: Postbox 3.0.3 (Macintosh/20120304)

Ok, that was pretty obvious in fact. I forgot to explictly call

   (use-modules (texmacs menus tools-menu))

to force the loading of the menu. Which by the way led me to

 (import-from . modules)

which seems to serve the same purpose but predate use-modules. Shouldn't it be marked with the "deprecated" system and use-modules substituted for it in the docs? Or is there any difference?

Miguel de Benito Delgado wrote:
If you try to extend the tools menu inside my-init-texmacs.scm using "(former)" it won't work because of lazy loading (or so I think).

But if one tries to add "(former)" to progs/texmacs/menus/tools-menu.scm and have it load what was already there, then texmacs crashes, so it might be the reason was another after all, or it would have crashed in the first place, right?

Solutions/ideas anyone?


______________
Miguel de Benito.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]