From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mathias Dahl Newsgroups: gmane.emacs.bugs Subject: bug#16219: 24.3; icomplete-mode does not always show the complete candidate names when switching buffers Date: Sun, 22 Dec 2013 19:19:59 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=047d7bf19852523f3f04ee2390ce X-Trace: ger.gmane.org 1387736463 5212 80.91.229.3 (22 Dec 2013 18:21:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 22 Dec 2013 18:21:03 +0000 (UTC) To: 16219@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Dec 22 19:21:07 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VuneF-0001x6-Lx for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2013 19:21:07 +0100 Original-Received: from localhost ([::1]:58827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuneF-0003Lv-9M for geb-bug-gnu-emacs@m.gmane.org; Sun, 22 Dec 2013 13:21:07 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32946) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuneB-0003Ln-UN for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:21:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VuneA-0004qy-Hd for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:21:03 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49025) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VuneA-0004qp-EG for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:21:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vune9-0004OL-Vc for bug-gnu-emacs@gnu.org; Sun, 22 Dec 2013 13:21:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Mathias Dahl Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 22 Dec 2013 18:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16219 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.138773643016815 (code B ref -1); Sun, 22 Dec 2013 18:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 22 Dec 2013 18:20:30 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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) Original-Received: by 10.194.83.104 with HTTP; Sun, 22 Dec 2013 10:19:59 -0800 (PST) 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-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82400 Archived-At: --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--