From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: Recent change to describe-variable
Date: Mon, 04 Apr 2011 04:41:56 -0500 [thread overview]
Message-ID: <87r59ibbff.fsf@lifelogs.com> (raw)
In-Reply-To: 874o6gur58.fsf@stupidchicken.com
On Sat, 02 Apr 2011 20:15:15 -0400 Chong Yidong <cyd@stupidchicken.com> wrote:
CY> The completion function for describe-variable now uses the predicate
CY> (lambda (vv)
CY> (or (special-variable-p vv)
CY> (get vv 'variable-documentation)))
CY> This breaks using C-h v to examine let-bound variables in Lisp
CY> backtraces.
CY> Also, when coding I sometimes do (setq foo 1), and use C-h v to examine
CY> the placeholder variable later on; this now fails.
CY> There doesn't seem to be any good reason to restrict the completion this
CY> way.
I think I reported this. It is too wide without that predicate. See
http://thread.gmane.org/gmane.emacs.devel/137048
So if `C-h v' AKA `describe-variable' is going to describe everything,
it should at least filter out self-quoting :symbols, and I think it
makes sense to provide a `describe-emacs-variable' to use the predicate
above, adjusting for let-bound variables.
Ted
next prev parent reply other threads:[~2011-04-04 9:41 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-04-03 0:15 Recent change to describe-variable Chong Yidong
2011-04-03 0:33 ` Drew Adams
2011-04-04 9:41 ` Ted Zlatanov [this message]
2011-04-04 10:23 ` Juanma Barranquero
2011-04-04 10:41 ` Ted Zlatanov
2011-04-04 13:03 ` Drew Adams
2011-04-04 13:34 ` Ted Zlatanov
2011-04-04 14:46 ` Juanma Barranquero
2011-04-04 16:08 ` Chong Yidong
2011-04-04 16:11 ` Juanma Barranquero
2011-04-04 13:46 ` Stefan Monnier
2011-04-04 17:05 ` Chong Yidong
2011-04-04 21:47 ` Stefan Monnier
2011-04-04 22:09 ` Juanma Barranquero
2011-04-04 22:24 ` Juanma Barranquero
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=87r59ibbff.fsf@lifelogs.com \
--to=tzz@lifelogs.com \
--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 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.