ReadMacroInitFile
Bert Wesarg
wesarg at informatik.uni-halle.de
Fri Jun 29 14:53:31 CEST 2007
Hello Me,
Bert Wesarg wrote:
> Hello,
>
> I'm currently experimenting with the file_open_hook from Thorsten Haude
> Patch Collection. But files given on the command line from nedit (not nc)
> fire not this hook. That is because the ReadMacroInitFile() function is
> called after the EditExistingFile() function. and the autoload.nm file is
> the only way to define this file_open_hook function early enough. Now my
> question: can I move the call to ReadMacroInitFile() out of the
> argumenting parsing loop and call this unconditionaly before this loop?
After a first test, it is not safe. because there exits no document to run
the macros, so I also move the open-an-"Untitled" code up in front of the
loop. lets see if this works.
bert
>
> Thanks and Regards
> Bert
More information about the Develop
mailing list