You nailed it.
in leoAtFile.py.readOneAtAutoNode(self, fileName, p):
it says:
s,ok,fileKey = c.cacher.readFile(fileName,p)
print "before first return fileName: %s" % fileName
if ok: return
print "past first return fileName: %s" % fileName
I'm seeing "before first return ...
not "past first return ...
and the doHook statement is further into the method.
Maybe I should try emptying ~/.leo/db ...
Thanks,
Kent
On Thu, Sep 29, 2011 at 3:40 PM, Terry Brown <[email protected]> wrote:
> On Thu, 29 Sep 2011 15:27:50 -0500
> Kent Tenney <[email protected]> wrote:
>
>> g.doHook('after-auto', p = p)
>>
>> Ah, the c=c was left out, I'm thinking.
>
> Looking at the Nav pane results for 'dohook' in LeoPyRef I'd say you're
> correct.
>
>> However, I was unable to get keywords.get('c') to work.
>
> So that's odd - check you're executing the code you think you're
> executing (print 'GOT HERE' just before the doHook :-) it can take
> incredible amounts of time to make code that's not being executed do
> what you want, I know, I often try.
>
> 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.