> Hm, this might be a knock-out criterion for the usage of menu filters
> or hooks in order to ask the user for a master file of a multi-file
> LaTeX document.

Indeed.  Why do you want to do it from a menu-filter?  It sounds like an odd
idea to start with.

>> OTOH, you say that the filter is run during easy-menu-define, which sounds
>> very odd and would most likely be a bug.  Are you sure that's what happens?

> No,

OK.

> because I don't know how to debug the filter function.  If it
> would produce a backtrace or debugging buffer upon putting (error) or
> (debug) into the filter function, I could see where it is called.

Well, you may not be able to tell when it's done, but you can tell whether
it's done at one specific place or not: add a `message' before
easy-menu-define and another after and see whether your filter's message
occurs between the two or not.

In any case I guess it just takes place as part of the first redisplay after
easy-menu-define.


        Stefan


_______________________________________________
Emacs-pretest-bug mailing list
Emacs-pretest-bug@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to