I'm working on eliminating File and Import menu choices I don't need. I made a copy of leoSettings.leo to create myLeoSettings.leo.
1. I'm not going to need the Tangle and Untangle choices or their submenus. I attempted to eliminate them by changing the headlines to "@@menu Tan&gle..." and "@@menu &Untangle...". When I restarted Leo, the submenu choices (Tangle All, Tangle Marked, etc.) were moved to the main File "level" of menu choices, (E.G., "Tangle All" appears right below "Read/Write...".) Since this didn't work, I next tried changing "@@menu..." to "@ignore @menu..." but the results were the same. I eventually fixed this by changing the submenu @item nodes to @@item. Question: Is there a specific reason why telling Leo to remove @menu choices, using either "@@menu" or "@ignore @menu", does not also remove the child @item choices? 2. I'm attempting to come up with a more meaningful/intuitive label for File->Import->Import Derived File. In the body text I put, "Import File Containing &Sentinels" and left the headline as "@item *import- &derived-file". Having this particular combination results in the "Import Derived File" menu choice going away entirely. I would have expected one or the other to be shown. I eventually fixed it by removing the "*" and "&" from "*import-&derived-file". Question: Shouldn't either the body text or the @item have caused one of them to be displayed, instead of NEITHER? 3. What exactly is/are the differences between the import-derived-file and import-at-file commands? I couldn't find an explanation in the documentation, but maybe I'm looking in the wrong place. I know at least one difference is that it appears import-at-file uses leoImport.py. Can someone enlighten me? :D -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/leo-editor?hl=en.
