On Tue, Oct 11, 2011 at 11:29 AM, Kent Tenney <[email protected]> wrote:
> On Tue, Oct 11, 2011 at 11:25 AM, Kent Tenney <[email protected]> wrote:
>> On Tue, Oct 11, 2011 at 11:13 AM, Terry Brown <[email protected]> 
>> wrote:
>>> On Tue, 11 Oct 2011 11:06:45 -0500
>>> Kent Tenney <[email protected]> wrote:
>>>
>>>> > @bool at_auto_separate_non_def_nodes = True
>>>>
>>>> Just did, and the declarations are still in the node of the following 
>>>> function,
>>>> though it sounds like the ticket.
>>>
>>> I copied your example from the previous email to a file and opened it
>>> with @auto and the import showed up in its own node.
>>
>> Ah, the example is not the file I'm working with, I just posted it for
>> illustrative purposes.
>>
>> I bet there's cached stuff associated with my @auto file causing
>> the setting to not "take"
>>
>> To be continued.
>
> Is there a command to clear cache for a file?
>
> Looking in ~/.leo/db/fname.leo_hashlookingstring/
>
> I see _many_ hash named files.
>
> Should I just delete the ~/.leo/db/fname.leo_hashlookingstring/
> directory?

I did that, and the setting took.

the declaration in question is a block like:
import os
import sys

foo = bar
up = down
...

The generated node has the headline "import os"

That's better, I know there's non def/class stuff there,
it doesn't stand out from the function names too well however,
a headline like
DECLARATION

would be nice.

Thanks,
Kent

>
> Thanks,
> Kent
>
>>
>>>
>>> So the setting must be not hitting the target.
>>>
>>> g.es(c.config.getBool('at_auto_separate_non_def_nodes'))
>>>
>>> ?
>>>
>>> Cheers -Terry
>>>
>>> --
>>> 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.
>>>
>>>
>>
>

-- 
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.

Reply via email to