unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Richard Stallman <rms@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: Extended menu items, when are :enable and :filter computed?
Date: Mon, 27 Feb 2006 03:59:21 -0500	[thread overview]
Message-ID: <E1FDeDx-0001ZO-CD@fencepost.gnu.org> (raw)
In-Reply-To: <44010776.6020804@student.lu.se> (message from Lennart Borgman on Sun, 26 Feb 2006 02:42:14 +0100)

     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?

Yes.  The toolkit displays the menus, and Emacs does not even know which
ones it displays.  Emacs must provide the full info in advance.

There is no choice about this.

Why do you care?  The user COULD look at all the submenus at any time,
so why do you care whether he does look at them all, or only at some?

      parent reply	other threads:[~2006-02-27  8:59 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1FDeDx-0001ZO-CD@fencepost.gnu.org \
    --to=rms@gnu.org \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).