From: Kevin Rodgers <ihs_4664@yahoo.com>
Subject: Re: choose-completion-string should not exit minibuffer upon lisp-complete-symbol
Date: Wed, 22 Sep 2004 09:40:34 -0600 [thread overview]
Message-ID: <41519CF2.4030101@yahoo.com> (raw)
In-Reply-To: mailman.3536.1095806096.1998.bug-gnu-emacs@gnu.org
Drew Adams wrote:
> If you are entering Lisp code for evaluation (e.g. `M-:'), then you
> don't want to exit the minibuffer when you complete a Lisp symbol. For
> example, you have "(sear" when you use `lisp-complete-symbol' to pick
> `search-forward'; you want the minibuffer to have "(search-forward" and
> let you continue to type code.
Note that "(sear" can only complete to "(search-", since it matches the
search-forward, search-backward, search-forward-regexp, and
search-backward-regexp functions.
> For this reason, I modified choose-completion-string to recognize this.
> Below is my version from Emacs 20, but I think the code is about the
> same for Emacs 21 (the "problem" is still there, in any case).
No, the problem does not exist in Emacs 21.3, when started with the -q
--no-site-file options.
> My code uses variable command-calling-for-completion from library
> `elect-mbuf.el', but the test could be done differently. That variable
> just holds the last command that caused display of the list of
> possible completions.
I suspect elect-mbuf.el is the cause of the problem.
--
Kevin Rodgers
next parent reply other threads:[~2004-09-22 15:40 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.3536.1095806096.1998.bug-gnu-emacs@gnu.org>
2004-09-22 15:40 ` Kevin Rodgers [this message]
2004-09-21 22:28 choose-completion-string should not exit minibuffer upon lisp-complete-symbol Drew Adams
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=41519CF2.4030101@yahoo.com \
--to=ihs_4664@yahoo.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).