GNU bug report logs - #5849
23.1.95; completion-auto-help blocks icomplete-mode

Previous Next

Package: emacs;

Reported by: Leo <sdl.web <at> gmail.com>

Date: Tue, 6 Apr 2010 15:33:01 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #26 received at 5849 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Chong Yidong <cyd <at> stupidchicken.com>
Cc: 5849 <at> debbugs.gnu.org, 'Leo' <sdl.web <at> gmail.com>,
	Drew Adams <drew.adams <at> oracle.com>
Subject: Re: bug#5849: 23.1.95; completion-auto-help blocks icomplete-mode
Date: Sat, 24 Jul 2010 00:18:25 +0200
> Yes, obviously this is what I meant.  Like this:

> === modified file 'lisp/minibuffer.el'
> *** lisp/minibuffer.el	2010-03-24 18:02:56 +0000
> --- lisp/minibuffer.el	2010-04-10 18:49:41 +0000
> ***************
> *** 528,536 ****
>                 ;; Show the completion table, if requested.
>                 (cond
>                  ((not exact)
> !                 (if (case completion-auto-help
> !                       (lazy (eq this-command last-command))
> !                       (t completion-auto-help))
>                       (minibuffer-completion-help)
>                     (minibuffer-message "Next char not unique")))
>                  ;; If the last exact completion and this one were the same, it
> --- 528,537 ----
>                 ;; Show the completion table, if requested.
>                 (cond
>                  ((not exact)
> !                 (if (cond (icomplete-mode t)
> ! 			  ((eq completion-auto-help 'lazy)
> ! 			   (eq this-command last-command))
> ! 			  (t completion-auto-help))
>                       (minibuffer-completion-help)
>                     (minibuffer-message "Next char not unique")))
>                  ;; If the last exact completion and this one were the same, it

It's a good workaround, thanks.  Note that most other messages from the
completion code are similarly problematic, I think.  So maybe we should
have a buffer-local completion-inhibit-messages variable, which
icomplete could set in the minibuffer.


        Stefan




This bug report was last modified 13 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.