On Dec 23, 2007 12:49 PM, Thorsten Haude <[EMAIL PROTECTED]> wrote:
> Hi,
>
> * Bert Wesarg wrote (2007-06-29 14:53):
> >Bert Wesarg wrote:
> >> 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.
>
> Did it work? Do you have a patch?
Yes. Yes:
http://bert.wesarg.googlepages.com/neditpatches

Bert
>
>
> Thorsten                                    Kristin Hersh: Some Catch Flies
> --
> Everyone has the right to freedom of opinion and expression; this right 
> includes
> freedom to hold opinions without interference and to seek, receive and impart
> information and ideas through any media and regardless of frontiers.
>     - Universal Declaration of Human Rights, Article 19
>
> --
> NEdit Develop mailing list - [email protected]
> http://www.nedit.org/mailman/listinfo/develop
>
>
-- 
NEdit Develop mailing list - [email protected]
http://www.nedit.org/mailman/listinfo/develop

Reply via email to