unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* Bug in Emacs 21.1 reported in February 2002 not fixed in Emacs 21.2
@ 2002-08-01 16:37 Francis Litterio
  0 siblings, 0 replies; only message in thread
From: Francis Litterio @ 2002-08-01 16:37 UTC (permalink / raw)


I submitted the below bug report (and the patch to fix it) in February
2002 against Emacs 21.1.  It is not fixed in Emacs 21.2.  Is this an
oversight or is this behavior not considered a bug?
--
Francis Litterio
franl-remove@world.omit-this.std.com


> From: franl-removethis@world.omitthis.std.com (Francis Litterio)
> Subject: Emacs 21.1: icomplete-mode prematurely inserts completion options
> Date: Fri, 22 Feb 2002 17:22:40 -0500
> Message-ID: <ud6yxnolr.fsf@world.std.com>
> 
> In Emacs 21.1, when icomplete-mode is on, irrelevant incremental
> completion data appears in the minibuffer before the user types even one
> character.
> 
> To reproduce:
> 
> 1. Evaluate this Elisp to turn on icomplete-mode: (icomplete-mode)
> 
> 2. Type "M-x".
> 
> 3. icomplete-mode fills the minibuffer with an enumeration of all
>    possible command names before user types anything.  This is a useless
>    display of command names without regard for the subset in which the
>    user is truly interested.
> 
> It would be better for the minibuffer to remain empty of incremental
> completion data until at least one character is typed (and an
> examination of the code reveals that this was the intention of the
> programmer).
> 
> The below patch to icomplete.el fixes this problem.
> --
> Francis Litterio
> franl-remove@world.omit-this.std.com
> 
> 
> --- /c/apps/emacs-21.1/lisp/icomplete.el.orig	Fri Feb 22 16:49:18 2002
> +++ /c/apps/emacs-21.1/lisp/icomplete.el	Fri Feb 22 16:49:30 2002
> @@ -260,7 +260,7 @@
>  	      (make-local-variable 'icomplete-eoinput))
>  	  (setq icomplete-eoinput (point))
>                                          ; Insert the match-status information:
> -	  (if (and (> (point-max) 1)
> +	  (if (and (> (point-max) (minibuffer-prompt-end))
>  		   (or
>  		    ;; Don't bother with delay after certain number of chars:
>  		    (> (point-max) icomplete-max-delay-chars)

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-01 16:37 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-08-01 16:37 Bug in Emacs 21.1 reported in February 2002 not fixed in Emacs 21.2 Francis Litterio

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).