> With your permission, I'd like to make this part of Leo's documentation. I'd also like to highlight it in announcements of Leo 5.1. A lright with you? Of course.
> How did you import the files? I am using the File -> Import File ... menu item. I'll file a bug report since it should be the same as using recursiveImport, correct? Steve On Mon, Mar 9, 2015 at 6:54 AM, Edward K. Ream <[email protected]> wrote: > On Sun, Mar 8, 2015 at 8:22 PM, Steve Zatz <[email protected]> wrote: > >> This is a relatively long post in praise of @clean (with one question at >> the end) in case anyone wants to move on to other topics. >> >> I just want to provide my own thoughts about the importance of @clean. >> > > Many thanks for this. You have done a better job than I at discussing > @clean. > > With your permission, I'd like to make this part of Leo's documentation. > I'd also like to highlight it in announcements of Leo 5.1. A > lright with you? > > [Question] In the python code I have been importing into @clean, every > class has <<class XXXXX methods>> on the line after the class declaration. > But this section reference doesn't have corresponding sections defined and > so really is not helpful. It requires either programmatically or manually > going through the code and changing all those class method section > references to @others, which works fine but I am not sure why the original > file import doesn't do that for me. I suspect there is an obvious answer > but it would be great to know what it is. > > How did you import the files? c.recursiveImport inserts @others, as > expected. Here is the script: > > c.recursiveImport( > r'<path to directory or file>', > kind = '@clean', > one_file = False, > safe_at_file = False, > theTypes = ['.py',], > ) > > Please file a bug at https://github.com/leo-editor/leo-editor/issues if > appropriate. > > Edward > > -- > 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. > -- 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.
