It seems to me that the file produced by an @clean node is not only clean
but sterile. I quite agree that many of the sentinel lines are nothing
but a distraction for people; but not the ends of the node lines --
they are the headlines which you presumably chose to be meaningful,
and also the level of indentation in the outline. For example the
following produced by @file
#@+leo-ver=5-thin
#@+node:gtevans.20150820072801.2: * @file classA.py
#@+others
#@+node:gtevans.20150820072837.1: ** Imports and magic
import mypackage
my_magic_number = 42
#@+node:gtevans.20150820072854.1: ** class definition
class A(object):
#@+others
#@+node:gtevans.20150820072948.1: *3* method 1
def method1(self):
pass
#@+at
# description of aims of method
#@+node:gtevans.20150820073050.1: *3* method 2
def method2(self):
pass
#@-others
#@-others
#@-leo
becomes, under @clean
import mypackage
my_magic_number = 42
class A(object):
def method1(self):
pass
# description of aims of method
def method2(self):
pass
How much more informative if instead it could become something like
#*** Imports and magic
import mypackage
my_magic_number = 42
#*** class definition
class A(object):
#*** *** method 1
def method1(self):
pass
# description of aims of method
#*** *** method 2
def method2(self):
pass
Would this be possible? It would have the additional advantages of
making clear which method "description of aims of method" referred to,
and also resolve any ambiguity when the file is edited outside Leo with
new lines at a boundary between nodes.
Meanwhile, immense thanks (once more) for Leo and for the Leo commmunity.
It makes my professional life so much easier.
Cheers, geoff evans
--
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 http://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.