From: "Drew Adams" <drew.adams@oracle.com>
Subject: RE: completion-auto-help
Date: Sun, 13 Nov 2005 13:06:50 -0800 [thread overview]
Message-ID: <DNEMKBNJBGPAOPIJOOICKEMCCOAA.drew.adams@oracle.com> (raw)
In-Reply-To: <87fyq0p9g1.fsf-monnier+emacs@gnu.org>
> minibuffer-setup-hook is used for all
> entrance to the minibuffer, not just for completion functions.
> I'm looking for a hook specific to completion. I think we
> still need a hook that runs whenever a completion function
> (e.g. completing-read) displays its prompt.
Check the value of minibuffer-completion-table in your hook.
Not sure what you mean. Do you mean to check, inside the hook, whether that
var is non-nil, and use that test to determine whether or not we are
completing? That is, use (not (null minibuffer-completion-table)) as a kind
of `completing-p'?
If that's what you mean, it doesn't seem to work -
`minibuffer-completion-table' is not nil, even when doing things like
read-from-minibuffer (which doesn't use completion).
Hoping I misunderstand and there is a simple solution.
next prev parent reply other threads:[~2005-11-13 21:06 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-11-11 1:30 completion-auto-help Drew Adams
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 ` Drew Adams [this message]
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
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=DNEMKBNJBGPAOPIJOOICKEMCCOAA.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 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).