unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles.bader@necel.com>
Cc: Herbert Euler <herberteuler@hotmail.com>, emacs-devel@gnu.org
Subject: Re: Comint Completion Broken
Date: Fri, 19 May 2006 15:18:17 +0900	[thread overview]
Message-ID: <buo64k21qs6.fsf@dhapc248.dev.necel.com> (raw)
In-Reply-To: <87ac9ev9et.fsf@pacem.orebokech.com> (Romain Francoise's message of "Fri, 19 May 2006 08:03:06 +0200")

Romain Francoise <romain@orebokech.com> writes:
>>   Typing a SPC deletes the completion window, typing anything else
>>   leaves the completion window in place.  [This seems like reasonable
>>   behavior -- fairly often I _want_ to leave the window in place, so I
>>   can select it and do more advanced searching or whatever.]
>
> The window used to get deleted automatically on key events, e.g.
>
>      u p TAB (window appears) t (window disappears) TAB
>  =>  uptime
>
> But that was apparently an accidental feature, and it caused a bug when
> selecting completion candidates with mouse-1 in the window:

My memory is a bit fuzzy, but as I recall, the "really old" behavior
(what was in Emacs 21) was more or less the same the current behavior.

I'm not entirely sure of the whole ugly history after that, but for a
while, I think pcomplete was used for comint completion, which had the
"window always gets deleted" behavior.  [but I can't find any record of
this in the  ChangeLog, so maybe it's just an illusion I had???]

Whether or not it's due to pcomplete, until fairly recently comint
seemed to be doing the "window always gets deleted" thing, which was
extremely annoying; I'm assuming that's what Nick fixed.

Anyway, the current behavior seems both user-friendly and compatible
with Emacs 21.  So I'd say things are in a good state.

-Miles
-- 
The secret to creativity is knowing how to hide your sources.
  --Albert Einstein

  reply	other threads:[~2006-05-19  6:18 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 10:48 Comint Completion Broken Herbert Euler
2006-05-19  2:39 ` Herbert Euler
2006-05-19  2:55   ` Miles Bader
2006-05-19  6:03     ` Romain Francoise
2006-05-19  6:18       ` Miles Bader [this message]
2006-05-19  7:03         ` Herbert Euler

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=buo64k21qs6.fsf@dhapc248.dev.necel.com \
    --to=miles.bader@necel.com \
    --cc=emacs-devel@gnu.org \
    --cc=herberteuler@hotmail.com \
    --cc=miles@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 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).