unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Extended menu items, when are :enable and :filter computed?
@ 2006-02-26  1:42 Lennart Borgman
  2006-02-26 15:55 ` Stefan Monnier
  2006-02-27  8:59 ` Richard Stallman
  0 siblings, 2 replies; 18+ messages in thread
From: Lennart Borgman @ 2006-02-26  1:42 UTC (permalink / raw)


I think at least for me it is impossible to understand from the 
documentation when :enable and :filter in a menu-item list is computed. 
I believe the documentation should be improved.

 From my simple tests is seems like the argument to :filter is computed 
every time the menubar is accessed. It is not really what I would expect 
when this is in a submenu. Is this behaviour intentional?

The same seems to be true for the argument to :enable. Is this intentional?

What I mean is that I would expect those argument to be computed when 
they are needed, ie when the submenu is displayed.

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2006-03-29 23:02 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-26  1:42 Extended menu items, when are :enable and :filter computed? Lennart Borgman
2006-02-26 15:55 ` Stefan Monnier
2006-02-27 19:02   ` Richard Stallman
2006-02-27 21:49     ` Stefan Monnier
2006-02-28  6:19       ` Richard Stallman
2006-02-28  7:29         ` Lennart Borgman
2006-03-01 14:14           ` Richard Stallman
2006-02-28 16:06         ` Stefan Monnier
2006-03-01 17:55           ` Richard Stallman
2006-03-02 11:26         ` David Kastrup
2006-03-02 19:44           ` Richard Stallman
2006-03-02 20:01             ` Lennart Borgman
2006-03-03 20:58               ` Richard Stallman
2006-03-27 17:01             ` Per Abrahamsen
2006-03-28 19:33               ` Richard Stallman
2006-03-29  7:00                 ` Per Abrahamsen
2006-03-29 23:02                   ` Richard Stallman
2006-02-27  8:59 ` Richard Stallman

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).