From: Lars Magne Ingebrigtsen <larsi@gnus.org>
To: "Drew Adams" <drew.adams@oracle.com>
Cc: 9117@debbugs.gnu.org
Subject: bug#9117: 24.0.50; Document menu keyword `:selected'
Date: Sun, 11 Sep 2011 05:14:20 +0200 [thread overview]
Message-ID: <m37h5f22k3.fsf@stories.gnus.org> (raw)
In-Reply-To: <3D2F66922B1E45A2888485C8E28AADB3@us.oracle.com> (Drew Adams's message of "Mon, 18 Jul 2011 09:23:41 -0700")
"Drew Adams" <drew.adams@oracle.com> writes:
> For example, I see code such as this in a 3rd-party library, and I
> wonder what happens if `ls-lisp-dirs-first' is undefined. The :visible
> sexp here is protected OK (by `ls-lisp-var-p'), but if :selected is
> eval'd even when :visible is nil then this would presumably raise an
> error.
>
> ["Ignore Case" dired-sort-menu-toggle-ignore-case :style toggle
> :selected ls-lisp-ignore-case :active t
> :help "Ignore case in alphanumeric sorting"
> ;; supported only by (Emacs 21) ls-lisp library and local dired:
> :visible (ls-lisp-var-p 'ls-lisp-ignore-case)]
:selected is, as far as I can tell, an `easy-menu-define' thing, and is
documented there. I'm not sure `define-key' supports it at all --
anybody know?
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/
next prev parent reply other threads:[~2011-09-11 3:14 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-18 16:23 bug#9117: 24.0.50; Document menu keyword `:selected' Drew Adams
2011-09-11 3:14 ` Lars Magne Ingebrigtsen [this message]
2016-04-28 11:12 ` Lars Ingebrigtsen
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m37h5f22k3.fsf@stories.gnus.org \
--to=larsi@gnus.org \
--cc=9117@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.