From unknown Sun Jun 15 07:52:10 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#16219 <16219@debbugs.gnu.org> To: bug#16219 <16219@debbugs.gnu.org> Subject: Status: 24.3; icomplete-mode does not always show the complete candidate names when switching buffers Reply-To: bug#16219 <16219@debbugs.gnu.org> Date: Sun, 15 Jun 2025 14:52:10 +0000 retitle 16219 24.3; icomplete-mode does not always show the complete candid= ate names when switching buffers reassign 16219 emacs submitter 16219 Mathias Dahl severity 16219 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 22 13:20:30 2013 Received: (at submit) by debbugs.gnu.org; 22 Dec 2013 18:20:30 +0000 Received: from localhost ([127.0.0.1]:34810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vundc-0004N8-Qk for submit@debbugs.gnu.org; Sun, 22 Dec 2013 13:20:29 -0500 Received: from eggs.gnu.org ([208.118.235.92]:59356) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VundZ-0004Mz-Og for submit@debbugs.gnu.org; Sun, 22 Dec 2013 13:20:26 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VundY-0004nL-10 for submit@debbugs.gnu.org; Sun, 22 Dec 2013 13:20:25 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:50319) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VundX-0004nH-Na for submit@debbugs.gnu.org; Sun, 22 Dec 2013 13:20:23 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:32839) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VundW-0003HZ-5e for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:20:23 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VundU-0004mt-Pb for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:20:22 -0500 Received: from mail-wg0-x235.google.com ([2a00:1450:400c:c00::235]:37063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VundU-0004ml-Da for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:20:20 -0500 Received: by mail-wg0-f53.google.com with SMTP id k14so4262964wgh.20 for ; Sun, 22 Dec 2013 10:20:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=Ffpfctm92Zo4foRtZp84wablWE0CoE4cVS/xJgUKcHU=; b=SIdM56vytBkuMcJCz7XiUlDvlY2Io5Benxt9KRu7P6nf0SzoZ1dAyL979Myc5AP5QF U3O0m7PO3b1UTu3GenzT+9BdzWV3dOSCQ+GuCkGxZpfkCH10nU9/PEjddfnsvF+3IybB WGjDcnyLfjWNjuWAgcHGILZa60ZzIyIBklcJTSJj7AQCoQu+uqwp29QKTbH4Q+UiIluB kZLRIpjRx5z4UW1hDHcVQDpqwx5BqifdOexa6OzDzuZKLd1qpOaoTp+16WCMo2fRCChl upfFemw6E2fpaXbBnd2/mDABOvDbaSuzdvLTjdUBmAQORryoreHvkW1kYwjCpL9teSF4 LX+A== X-Received: by 10.194.104.42 with SMTP id gb10mr15502960wjb.16.1387736419415; Sun, 22 Dec 2013 10:20:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.83.104 with HTTP; Sun, 22 Dec 2013 10:19:59 -0800 (PST) From: Mathias Dahl Date: Sun, 22 Dec 2013 19:19:59 +0100 Message-ID: Subject: 24.3; icomplete-mode does not always show the complete candidate names when switching buffers To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=047d7bf19852523f3f04ee2390ce X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -4.0 (----) --047d7bf19852523f3f04ee2390ce Content-Type: text/plain; charset=ISO-8859-1 When using icomplete-mode, switch-to-buffer does not always show the complete buffer candidate names in the minibuffer when entering a search pattern. Test case: emacs -q C-x C-f foo.el RET C-x C-f foo.tmp RET C-x b *scratch* RET M-x icomplete-mode RET C-x b oo Now observe that you can see that there are two buffers matching the pattern, but you do not see the names. Now try this instead: C-x b s Now both the *scratch* and *Messages* buffer names are displayed as matches. Thanks! /Mathias In GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200) of 2013-03-17 on MARVIN Windowing system distributor `Microsoft Corp.', version 6.2.9200 Configured using: `configure --with-gcc (4.7) --cflags -ID:/devel/emacs/libs/libXpm-3.5.8/include -ID:/devel/emacs/libs/libXpm-3.5.8/src -ID:/devel/emacs/libs/libpng-dev_1.4.3-1/include -ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include -ID:/devel/emacs/libs/giflib-4.1.4-1/include -ID:/devel/emacs/libs/jpeg-6b-4/include -ID:/devel/emacs/libs/tiff-3.8.2-1/include -ID:/devel/emacs/libs/gnutls-3.0.9/include -ID:/devel/emacs/libs/libiconv-1.13.1-1-dev/include -ID:/devel/emacs/libs/libxml2-2.7.8/include/libxml2' Important settings: value of $LANG: SVE locale-coding-system: cp1252 default enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: icomplete-mode: t tooltip-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f f o o . e l C-x C-f f o o . t e m m p C-x b * s M-x i c o m p l C-x b o o C-g Recent messages: For information about GNU Emacs and the GNU system, type C-h C-a. (New file) [2 times] Icomplete mode enabled Quit Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message format-spec rfc822 mml easymenu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mail-utils cus-start cus-load icomplete time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process w32 multi-tty emacs) --047d7bf19852523f3f04ee2390ce Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
When using icomplete-mode, switch-to-buffer does not = always show the complete buffer
candidate names in the minibuffer= when entering a search pattern.

Test case:

emacs -q
C-x C-f foo.el RET
C-x C-f= foo.tmp RET
C-x b *scratch* RET
M-x icomplete-mode RET=
C-x b oo

Now observe that you can see t= hat there are two buffers matching the
pattern, but you do not see the names.

Now tr= y this instead:

C-x b s

N= ow both the *scratch* and *Messages* buffer names are displayed as matches.=

Thanks!

/Mathias
In GNU Emacs 24.3.1 (i386-mingw-nt6.2.9200)
=A0of 201= 3-03-17 on MARVIN
Windowing system distributor `Microsoft Corp.&#= 39;, version 6.2.9200
Configured using:
=A0`configure --with-gcc (4.7) --cflags
=A0-ID:/devel/emacs/libs/libXpm-3.5.8/include
=A0-ID:/dev= el/emacs/libs/libXpm-3.5.8/src
=A0-ID:/devel/emacs/libs/libpng-de= v_1.4.3-1/include
=A0-ID:/devel/emacs/libs/zlib-dev_1.2.5-2/include
=A0-ID:/de= vel/emacs/libs/giflib-4.1.4-1/include
=A0-ID:/devel/emacs/libs/jp= eg-6b-4/include
=A0-ID:/devel/emacs/libs/tiff-3.8.2-1/include
=A0-ID:/devel/emacs/libs/gnutls-3.0.9/include
=A0-ID:/devel/emacs= /libs/libiconv-1.13.1-1-dev/include
=A0-ID:/devel/emacs/libs/libx= ml2-2.7.8/include/libxml2'

Important settings:=
=A0 value of $LANG: SVE
=A0 locale-coding-system: cp1252
=A0 default enable-multibyte-characters: t

= Major mode: Lisp Interaction

Minor modes in effect= :
=A0 icomplete-mode: t
=A0 tooltip-mode: t
=A0 mous= e-wheel-mode: t
=A0 tool-bar-mode: t
=A0 menu-bar-mode:= t
=A0 file-name-shadow-mode: t
=A0 global-font-lock-mo= de: t
=A0 font-lock-mode: t
=A0 blink-cursor-mode: t
=A0= auto-composition-mode: t
=A0 auto-encryption-mode: t
= =A0 auto-compression-mode: t
=A0 line-number-mode: t
= =A0 transient-mark-mode: t

Recent input:
C-x C-f f o o . e l <return&= gt; C-x C-f f o o . t e m=A0
<backspace> <backspace> = m p <return> C-x b * s <tab>=A0
<return> M-x i = c o m p l <tab> <return> C-x b o o C-g=A0
<help-echo> <help-echo> <help-echo> <help-echo>= ; <help-echo>=A0
<help-echo> <help-echo> <he= lp-echo> <menu-bar> <help-menu>=A0
<send-emacs-= bug-report>

Recent messages:
For information about GNU Em= acs and the GNU system, type C-h C-a.
(New file) [2 times]
<= div>Icomplete mode enabled
Quit

Load-pat= h shadows:
None found.

Features:
(shadow sort = gnus-util mail-extr emacsbug message format-spec rfc822 mml
easym= enu mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231
mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums
mm-util mail-prsvr mail-utils cus-start cus-load icomplete time-date
tooltip ediff-hook vc-hooks lisp-float-type mwheel dos-w32 ls-lisp
w32-common-fns disp-table w32-win w32-vars tool-bar dnd fontset image<= /div>
regexp-opt fringe tabulated-list newcomment lisp-mode register pa= ge
menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock fo= nt-lock
syntax facemenu font-core frame cham georgian utf-8-lang misc-lang
vietnamese tibetan thai tai-viet lao korean japanese hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer loadde= fs
button faces cus-face macroexp files text-properties overlay s= ha1 md5
base64 format env code-pages mule custom widget hashtable= -print-readable
backquote make-network-process w32 multi-tty emacs)

--047d7bf19852523f3f04ee2390ce-- From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 22 22:17:14 2013 Received: (at 16219-done) by debbugs.gnu.org; 23 Dec 2013 03:17:14 +0000 Received: from localhost ([127.0.0.1]:35137 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vuw12-0004Hj-Qs for submit@debbugs.gnu.org; Sun, 22 Dec 2013 22:17:13 -0500 Received: from chene.dit.umontreal.ca ([132.204.246.20]:40695) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vuw10-0004HY-4c for 16219-done@debbugs.gnu.org; Sun, 22 Dec 2013 22:17:10 -0500 Received: from fmsmemgm.homelinux.net (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id rBN3H7AJ024762; Sun, 22 Dec 2013 22:17:08 -0500 Received: by fmsmemgm.homelinux.net (Postfix, from userid 20848) id 87643AE25E; Sun, 22 Dec 2013 22:17:07 -0500 (EST) From: Stefan Monnier To: Mathias Dahl Subject: Re: bug#16219: 24.3; icomplete-mode does not always show the complete candidate names when switching buffers Message-ID: References: Date: Sun, 22 Dec 2013 22:17:07 -0500 In-Reply-To: (Mathias Dahl's message of "Sun, 22 Dec 2013 19:19:59 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4800=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4800> : inlines <347> : streams <1095454> : uri <1632560> X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 16219-done Cc: 16219-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.9 (-) > M-x icomplete-mode RET > C-x b oo > Now observe that you can see that there are two buffers matching the > pattern, but you do not see the names. Thanks. This was fixed a few days ago. I'll add the bug# to the ChangeLog. Stefan From unknown Sun Jun 15 07:52:10 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 20 Jan 2014 12:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator