A major difference between @clean and @auto (I use @auto-rst) is that the external file includes headline text in @auto and *not* in @clean. That's a big deal for me and I think should be better documented in the chart of differences. Also a reason I don't think @auto can be completely deprecated in favor or @clean. BTW, @auto-md doesn't work for me either, not sure if that's a bug or a feature.
Rob............. On Friday, April 8, 2016 at 5:39:54 PM UTC-4, SegundoBob wrote: > > http://leoeditor.com/directives.html > > I believe this page is supposed to document the latest Leo-Editor and I > believe it indicates that @auto-md should create an external file. It does > not do this for me. The @auto-md headline seems to do nothing. > > This page also contains: > > *Important*: In Leo 5.1 and later @file or @clean are the recommended >> ways of creating external files. > > > Does this mean that only @file and @clean should be used and that @auto-md > should not be used? I have not discovered what exactly @auto-md is > intended to do? > > Hence, this query instead of a bug report. > > Test file: > > <?xml version="1.0" encoding="utf-8"?> > <!-- Created by Leo: http://leoeditor.com/leo_toc.html --> > <leo_file xmlns:leo="http://leoeditor.com/namespaces/leo-python-editor/1.1 > " > > <leo_header file_format="2" tnodes="0" max_tnode_index="0" clone_windows= > "0"/> > <globals body_outline_ratio="0.5" body_secondary_ratio="0.5"> > <global_window_position top="50" left="50" height="500" width="700"/> > <global_log_window_position top="0" left="0" height="0" width="0"/> > </globals> > <preferences/> > <find_panel_settings/> > <vnodes> > <v t="bob.20160408141404.3"><vh>@auto-md auto-md.md</vh></v> > </vnodes> > <tnodes> > <t tx="bob.20160408141404.3">External file contents. > </t> > </tnodes> > </leo_file> > > > > > Test system: > > Leo Log Window >> Leo 5.3-devel, build 20160406093412, Wed Apr 6 09:34:12 CDT 2016 >> Git repo info: branch = None, commit = 653af30ab842 >> Python 3.4.3, PyQt version 5.2.1 >> linux >> setting leoID from os.getenv('USER'): 'bob' >> load dir: /pri/git/leo-editor/leo/core >> global config dir: /pri/git/leo-editor/leo/config >> home dir: /home/bob >> reading settings in /pri/git/leo-editor/leo/config/leoSettings.leo >> reading settings in /home/bob/.leo/myLeoSettings.leo >> Found /help >> reading settings in /sec/tmp/Leo/auto-md.leo >> reading: /sec/tmp/Leo/auto-md.leo >> read outline in 0.07 seconds > > -- You received this message because you are subscribed to the Google Groups "leo-editor" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/leo-editor. For more options, visit https://groups.google.com/d/optout.
