From: "Drew Adams" <drew.adams@oracle.com>
Subject: completion-auto-help
Date: Thu, 10 Nov 2005 17:30:56 -0800 [thread overview]
Message-ID: <MEEKKIABFKKDFJMPIOEBIEGFCNAA.drew.adams@oracle.com> (raw)
1. Question:
The doc string for `completion-auto-help' says this:
Non-nil means automatically provide help for invalid completion input.
The Elisp manual says this about it:
If this variable is non-`nil', the completion commands
automatically display a list of possible completions whenever
nothing can be completed because the next character is not
uniquely determined.
In neither case are different non-nil values distinguished. So, I don't
understand this code in complete.el:
(if (or (eq completion-auto-help t)
(and completion-auto-help
(eq last-command this-command))
(eq mode 'help))
The second arg to `or' can only be evaluated if `completion-auto-help' is
not `t', and that second arg tests whether it is non-nil.
Am I missing something - is there some special treatment somewhere for
non-nil, non-t value? (That's what the second arg seems to be doing.) I see
no other occurrences of `completion-auto-help' anywhere in the Lisp code
that distinguish different non-nil values.
2. New feature proposal - How about allowing for an
"always-display-*Completions*' behavior:
- t means what it means now
- nil means what it means now
- other means this:
Display *Completions* right from the beginning (empty minibuffer input).
Display it as long as the minibuffer contents match more than one
completion.
IOW, with this value, the user would not need to hit `TAB' to display
*Completions*. (S)he would see the list of completions whenever there are
more than one. There is currently no way to make `completing-read',
`read-file-name' etc. display *Completions* from the outset.
next reply other threads:[~2005-11-11 1:30 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 1:30 Drew Adams [this message]
2005-11-11 4:55 ` completion-auto-help Stefan Monnier
2005-11-11 17:47 ` completion-auto-help Drew Adams
2005-11-11 18:39 ` completion-auto-help Drew Adams
2005-11-11 19:10 ` completion-auto-help Stefan Monnier
2005-11-11 19:32 ` completion-auto-help Drew Adams
2005-11-11 21:53 ` completion-auto-help Drew Adams
2005-11-11 22:43 ` completion-auto-help Drew Adams
2005-11-13 20:42 ` completion-auto-help Stefan Monnier
2005-11-13 21:06 ` completion-auto-help Drew Adams
2005-11-13 23:09 ` completion-auto-help Stefan Monnier
2005-11-13 23:40 ` completion-auto-help Drew Adams
2005-11-19 12:10 ` completion-auto-help Eli Zaretskii
2005-11-20 23:23 ` completion-auto-help Richard M. Stallman
2005-11-26 11:20 ` completion-auto-help Eli Zaretskii
2005-11-12 3:38 ` completion-auto-help Richard M. Stallman
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=MEEKKIABFKKDFJMPIOEBIEGFCNAA.drew.adams@oracle.com \
--to=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.