From unknown Wed Jun 18 23:06:07 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#6147 <6147@debbugs.gnu.org> To: bug#6147 <6147@debbugs.gnu.org> Subject: Status: 23.2; ido-read-buffer regression Reply-To: bug#6147 <6147@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:06:07 +0000 retitle 6147 23.2; ido-read-buffer regression reassign 6147 emacs submitter 6147 Kyle Hargraves severity 6147 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Sun May 09 16:39:26 2010 Received: (at submit) by debbugs.gnu.org; 9 May 2010 20:39:26 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBDHZ-0006Dm-6G for submit@debbugs.gnu.org; Sun, 09 May 2010 16:39:26 -0400 Received: from mx10.gnu.org ([199.232.76.166]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBCla-0005y0-Tm for submit@debbugs.gnu.org; Sun, 09 May 2010 16:06:24 -0400 Received: from lists.gnu.org ([199.232.76.165]:60510) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1OBClW-0004Dt-F1 for submit@debbugs.gnu.org; Sun, 09 May 2010 16:06:18 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBClW-0007tw-3f for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:06:18 -0400 Received: from [140.186.70.92] (port=47818 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBClU-0007to-6p for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:06:17 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_NONE,WEIRD_PORT autolearn=unavailable version=3.3.1 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBClR-0001gA-3S for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:06:15 -0400 Received: from mail-bw0-f212.google.com ([209.85.218.212]:39337) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBClQ-0001fw-Kr for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:06:13 -0400 Received: by bwz4 with SMTP id 4so1482044bwz.26 for ; Sun, 09 May 2010 13:06:10 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.36.208 with SMTP id u16mr1817840bkd.168.1273435570100; Sun, 09 May 2010 13:06:10 -0700 (PDT) Received: by 10.204.77.18 with HTTP; Sun, 9 May 2010 13:06:09 -0700 (PDT) Date: Sun, 9 May 2010 15:06:09 -0500 Message-ID: Subject: 23.2; ido-read-buffer regression From: Kyle Hargraves To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary=00032555a082ccdc5a04862ed24b X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Sun, 09 May 2010 16:39:24 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.6 (------) --00032555a082ccdc5a04862ed24b Content-Type: text/plain; charset=ISO-8859-1 In the version of ido shipped with 23.2, the behaviour of the ido-make-buffer-list function no longer permits a default value to be used by ido-read-buffer unless that value is the name of a preexisting buffer. This can be reproduced by evaluating: (ido-read-buffer "Buffer: " "nonexistent-buffer") In 23.2, you will see only a list of your current buffers. In 23.1, nonexistent-buffer is the default value. This prevents ido-everywhere from being useful in situations like C-u M-x shell; it should, and in 23.1 did, offer a default name for your new shell (eg, "*shell*<2>"). ido no longer displays that option, as it is filtered out by ido-make-buffer-list. I believe the related commit may be: http://github.com/emacsmirror/emacs/commit/e2300713fd5a941bfe1dad338b88f4caf77cc945 HTH In GNU Emacs 23.2.1 (x86_64-unknown-linux-gnu, GTK+ Version 2.20.0) of 2010-05-08 on min Windowing system distributor `The X.Org Foundation', version 11.0.10706000 configured using `configure '--prefix=/usr' '--sysconfdir=/etc' '--libexecdir=/usr/lib' '--localstatedir=/var' '--mandir=/usr/share/man' '--without-sound' '-with-x-toolkit=gtk' 'CFLAGS=-march=x86-64 -mtune=generic -O2 -pipe -fno-optimize-sibling-calls' 'LDFLAGS=-Wl,--hash-style=gnu -Wl,--as-needed'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: en_US.UTF-8 value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Emacs-Lisp Minor modes in effect: erc-list-mode: t erc-menu-mode: t erc-autojoin-mode: t erc-ring-mode: t erc-networks-mode: t erc-pcomplete-mode: t erc-track-mode: t erc-track-minor-mode: t erc-match-mode: t erc-button-mode: t erc-fill-mode: t erc-stamp-mode: t erc-netsplit-mode: t erc-irccontrols-mode: t erc-noncommands-mode: t erc-move-to-prompt-mode: t erc-readonly-mode: t diff-auto-refine-mode: t hl-line-mode: t paredit-mode: t show-paren-mode: t yas/global-mode: t yas/minor-mode: t shell-dirtrack-mode: t recentf-mode: t ido-everywhere: t tooltip-mode: t mouse-wheel-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: t SPC e s s e n t i a l l y SPC b r e a k s s SPC SPC i d o e - v e - e v e r y w h e r e , SPC a s SPC y o u SPC a r e SPC u n a b l e SPC t o SPC o f f e r SPC d e f a u l t s SPC f o r SPC a n y SPC n e SPC w SPC b u f f e r SPC c r e a t i o n C - u SPC M - x SPC s h e l l SPC s h o u l d SPC o f f e r SPC * s h e l l * < 2 > S-SPC SPC o r SPC s u c h SPC w h e n SPC y o u SPC s t a r t SPC a SPC n e w SPC s h e l l , SPC b u t SPC n o SPC l o n g e r SPC c a n C-u C-c s C-g C-u C-c s C-g M-> ( i d o - e v e r y w h e r e SPC t ) C-x C-e C-a C-k C-x C-s C-u C-c s C-g C-x b C-x k y C-x b a r c h C-x b M-v C-v C-v M-p M-n M-p M-n C-l C-x 0 M-x r e Recent messages: Using try-complete-lisp-symbol ("*Help*" "#archlinux" "#clojure" "##javascript" "irc.freenode.net:6667" "*Backtrace*" "#compojure" "hairband.css" "*shell*" "hairband.html" "*magit-process*" "hairband" ...) Mark saved where search started Quit [2 times] Mark set t Saving file /home/pd/sauce/hairband/src/css/hairband.css... Wrote /home/pd/sauce/hairband/src/css/hairband.css Quit Buffer has a running process; kill it? (y or n) windmove-do-window-select: Minibuffer is inactive Load-path shadows: /home/pd/.emacs.d/elpa/json-1.2/json hides /usr/share/emacs/23.2/lisp/json /home/pd/.emacs.d/elpa/ruby-mode-1.1/ruby-mode hides /usr/share/emacs/23.2/lisp/progmodes/ruby-mode Features: (shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045 qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils mailheader canlock sha1 hex-util hashcash mail-utils emacsbug jka-compr find-func cus-start cus-load debug help-mode browse-url erc-log erc-menu erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-track erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodies erc erc-backend erc-compat pp multi-isearch css-mode dired-aux dired js byte-opt bytecomp byte-compile json thingatpt etags imenu newcomment cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs view magit diff-mode log-edit pcvs-util add-log parse-time hippie-exp vc-git sgml-mode server hl-line paredit paren pd/misc pd/smex smex pd/irc pd/haskell pd/js pd/ruby pd/lisps pd/chrome edit-server pd/magit pd/tramp pd/shell ansi-color pd/coding pd/theme color-theme sendmail pd/ido pd/bindings windmove pd/defuns pd/packages clojure-test-mode-autoloads full-ack-autoloads inf-ruby-autoloads json-autoloads paredit-autoloads ruby-mode-autoloads sass-mode-autoloads haml-mode-autoloads swank-clojure-autoloads clojure-mode-autoloads slime-repl-autoloads slime-autoloads yasnippet-bundle-autoloads yasnippet-bundle dropdown-list yasnippet derived easy-mmode edmacro kmacro package reporter pd/core ibuffer tramp-imap assoc tramp-gw tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp regexp-opt auth-source gnus-util netrc time-date shell comint ring password-cache format-spec tramp-compat trampver recentf tree-widget wid-edit easymenu uniquify advice help-fns advice-preload ido cl cl-19 tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd fontset image fringe lisp-mode register page menu-bar rfn-eshadow timer select scroll-bar mldrag 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind system-font-setting font-render-setting gtk x-toolkit x multi-tty emacs) --00032555a082ccdc5a04862ed24b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable In the version of ido shipped with 23.2, the behaviour of the ido-make-buff= er-list function no longer permits a default value to be
used by ido-re= ad-buffer unless that value is the name of a preexisting buffer.

This can be reproduced by evaluating:

(ido-read-buffer "Buffer: " "nonexistent-buffer"= ;)

In 23.2, you will see only a list of your curre= nt buffers. In 23.1, nonexistent-buffer is the default value.

This prevents ido-everywhere from being useful=A0i= n situations like C-u M-x shell; it should, and in 23.1 did, offer a defaul= t name
for your new shell (eg, "*shell*<2>"). ido= no longer=A0displays that option, as it is filtered out by ido-make-buffer= -list.

I believe the related commit may be:

HTH

In GNU Emacs 23.2.1 (= x86_64-unknown-linux-gnu, GTK+ Version 2.20.0)
=A0of 2010-05-08 o= n min
Windowing system distributor `The X.Org Foundation', ve= rsion 11.0.10706000
configured using `configure =A0'--prefix=3D/usr' '--syscon= fdir=3D/etc' '--libexecdir=3D/usr/lib' '--localstatedir=3D/= var' '--mandir=3D/usr/share/man' '--without-sound' '= ;-with-x-toolkit=3Dgtk' 'CFLAGS=3D-march=3Dx86-64 -mtune=3Dgeneric = -O2 -pipe -fno-optimize-sibling-calls' 'LDFLAGS=3D-Wl,--hash-style= =3Dgnu -Wl,--as-needed''

Important settings:
=A0=A0value of $LC_ALL: n= il
=A0=A0value of $LC_COLLATE: nil
=A0=A0value of $LC_C= TYPE: en_US.UTF-8
=A0=A0value of $LC_MESSAGES: nil
=A0= =A0value of $LC_MONETARY: nil
=A0=A0value of $LC_NUMERIC: nil
=A0=A0value of $LC_TIME: nil=
=A0=A0value of $LANG: en_US.UTF-8
=A0=A0value of $XMOD= IFIERS: nil
=A0=A0locale-coding-system: utf-8-unix
=A0= =A0default enable-multibyte-characters: t

Major mode: Emacs-Lisp

Minor m= odes in effect:
=A0=A0erc-list-mode: t
=A0=A0erc-menu-m= ode: t
=A0=A0erc-autojoin-mode: t
=A0=A0erc-ring-mode: = t
=A0=A0erc-networks-mode: t
=A0=A0erc-pcomplete-mode: t
= =A0=A0erc-track-mode: t
=A0=A0erc-track-minor-mode: t
= =A0=A0erc-match-mode: t
=A0=A0erc-button-mode: t
=A0=A0= erc-fill-mode: t
=A0=A0erc-stamp-mode: t
=A0=A0erc-netsplit-mode: t
=A0= =A0erc-irccontrols-mode: t
=A0=A0erc-noncommands-mode: t
=A0=A0erc-move-to-prompt-mode: t
=A0=A0erc-readonly-mode: t
=A0=A0diff-auto-refine-mode: t
=A0=A0hl-line-mode: t
=A0=A0paredit-mode: t
=A0=A0= show-paren-mode: t
=A0=A0yas/global-mode: t
=A0=A0yas/m= inor-mode: t
=A0=A0shell-dirtrack-mode: t
=A0=A0recentf= -mode: t
=A0=A0ido-everywhere: t
=A0=A0tooltip-mode: t
=A0=A0mouse-wheel-mode: t
= =A0=A0file-name-shadow-mode: t
=A0=A0global-font-lock-mode: t
=A0=A0font-lock-mode: t
=A0=A0auto-encryption-mode: t
=A0=A0auto-compression-mode: t
=A0=A0column-number-mode: t
=A0=A0line-number-mode: t
<= div>=A0=A0transient-mark-mode: t

Recent input:
t SPC e s s e n t i a l l y SPC b r e a k s s SPC <backspace>= =A0
<backspace> SPC i d o e - v e <backspace> <backspace>=A0<= /div>
<backspace> <backspace> - e v e r y w h e r e , SPC= =A0
a s SPC y o u SPC a r e SPC u n a b l e SPC t o SPC=A0
<= div> o f f e r SPC d e f a u l t s SPC f o r SPC a n y SPC=A0
n e SPC = <backspace> w SPC b u f f e r SPC c r e a t=A0
i o <muhe= nkan> n <return> C - u SPC M - x SPC s h e=A0
l l SPC s = h o u l d SPC o f f e r SPC * s h e l l *=A0
< 2 > S-SPC <S-backspace> SPC o r SPC s u c h SPC w=A0
h e n SPC y o u SPC s t a r t SPC a SPC n e w SPC s=A0
h e= l l , SPC b u t SPC n o SPC l o n g e r SPC c a=A0
n <return&= gt; <switch-frame> C-u C-c s C-g C-u C-c s C-g=A0
M-> <return> ( i d o - e v e r y w h e r e SPC t )=A0
C-x C-e C-a C-k <backspace> C-x C-s C-u C-c s C-g C-x=A0
b <return> C-x k <return> y C-x b a r c h <return>=A0
C-x b <return> <switch-frame> <s-left> <s-down>= ; M-v=A0
C-v C-v M-p M-n M-p M-n <up> <up> <up>= <up> <up> <up>=A0
<up> <up> <up= > <up> <up> <up> <down> <down> <down>= ;=A0
C-l <s-up> C-x 0 M-x r e <return>

Recent messages:
Using try-complete-lisp-symbol
("= ;*Help*" "#archlinux" "#clojure" "##javascrip= t" "irc.freenode.net:666= 7" "*Backtrace*" "#compojure" "hairband.c= ss" "*shell*" "hairband.html" "*magit-process= *" "hairband" ...)
Mark saved where search started
Quit [2 times]
Mar= k set
t
Saving file /home/pd/sauce/hairband/src/css/hai= rband.css...
Wrote /home/pd/sauce/hairband/src/css/hairband.css
Quit
Buffer has a running process; kill it? (y or n)=A0
windmove-do-window-select: Minibuffer is inactive

Load-path shadows:
/home/pd/.emacs.d/elpa/json-1.2/json hid= es /usr/share/emacs/23.2/lisp/json
/home/pd/.emacs.d/elpa/ruby-mode-1.1/ruby-mode hides /usr/share/emacs/= 23.2/lisp/progmodes/ruby-mode

Features:
= (shadow sort mail-extr message idna ecomplete rfc822 mml mml-sec
mm-decode mm-bodies mm-encode mailcap mail-parse rfc2231 rfc2047 rfc2045
qp ietf-drums mailabbrev nnheader mm-util mail-prsvr gmm-utils
mailheader canlock sha1 hex-util hashcash mail-utils emacsbug jka-com= pr
find-func cus-start cus-load debug help-mode browse-url erc-log erc-me= nu
erc-join erc-ring erc-networks erc-pcomplete pcomplete erc-tra= ck
erc-match erc-button erc-fill erc-stamp erc-netsplit erc-goodi= es erc
erc-backend erc-compat pp multi-isearch css-mode dired-aux dired js
byte-opt bytecomp byte-compile json thingatpt etags imenu newcommen= t
cc-mode cc-fonts cc-menus cc-cmds cc-styles cc-align cc-engine = cc-vars
cc-defs view magit diff-mode log-edit pcvs-util add-log parse-time
hippie-exp vc-git sgml-mode server hl-line paredit paren pd/misc pd/= smex
smex pd/irc pd/haskell pd/js pd/ruby pd/lisps pd/chrome edit= -server
pd/magit pd/tramp pd/shell ansi-color pd/coding pd/theme color-theme
sendmail pd/ido pd/bindings windmove pd/defuns pd/packages
clojure-test-mode-autoloads full-ack-autoloads inf-ruby-autoloads
json-autoloads paredit-autoloads ruby-mode-autoloads sass-mode-autoloa= ds
haml-mode-autoloads swank-clojure-autoloads clojure-mode-autol= oads
slime-repl-autoloads slime-autoloads yasnippet-bundle-autolo= ads
yasnippet-bundle dropdown-list yasnippet derived easy-mmode edmacro
kmacro package reporter pd/core ibuffer tramp-imap assoc tramp-gw
tramp-fish tramp-smb tramp-cache tramp-ftp tramp-cmds tramp regexp= -opt
auth-source gnus-util netrc time-date shell comint ring password-cache=
format-spec tramp-compat trampver recentf tree-widget wid-edit e= asymenu
uniquify advice help-fns advice-preload ido cl cl-19 tool= tip ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd font-setting tool-bar dnd<= /div>
fontset image fringe lisp-mode register page menu-bar rfn-eshadow= timer
select scroll-bar mldrag mouse jit-lock font-lock syntax f= acemenu
font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan<= /div>
thai tai-viet lao korean japanese hebrew greek romanian slovak cz= ech
european ethiopic indian cyrillic chinese case-table epa-hook=
jka-cmpr-hook help simple abbrev loaddefs button minibuffer faces
cus-face files text-properties overlay md5 base64 format env code-pag= es
mule custom widget hashtable-print-readable backquote
make-network-process dbusbind system-font-setting font-render-setting<= /div>
gtk x-toolkit x multi-tty emacs)

--00032555a082ccdc5a04862ed24b-- From debbugs-submit-bounces@debbugs.gnu.org Sun May 09 19:02:56 2010 Received: (at 6147) by debbugs.gnu.org; 9 May 2010 23:02:56 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBFWS-0007D3-1x for submit@debbugs.gnu.org; Sun, 09 May 2010 19:02:56 -0400 Received: from mail-bw0-f214.google.com ([209.85.218.214]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBFWQ-0007Cy-OA for 6147@debbugs.gnu.org; Sun, 09 May 2010 19:02:55 -0400 Received: by bwz6 with SMTP id 6so1416130bwz.39 for <6147@debbugs.gnu.org>; Sun, 09 May 2010 16:02:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type :content-transfer-encoding; bh=eRkN/5JO8F0iY/zSZoJN4BbkF+tsJ1WNWb09HftE6OU=; b=YFpDPHOFiZf3x+XZbGxXp5wFsj6aj/8/MlmSXqLTwg9tbt98WGUDqTOtPHSActEnY/ iPcC6QTzj9ONQpFZZ6fptc6WU+AM9+pUBbdpK25sS/mCZDV8HZysDLt141g7XQXHElTZ ZCKJ6dAFSJqWIb/jaqQN7szjsNTZ6qPJgD53M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=PO7Ccce1f8dcPzuOlbZ6wG6o1HmdRgeftH3WEgkez6BnRoyw6N4Ib42F84SdBg74ot Y9WN73vTFSPzd1gcNXOaD5O6aShcNn3uzFlzWZkMcE5EXvlwcy3IkZlGjswfeFPu4YkO 0b6Tvx0IKmoFoLsgJgr266yfRJ2FS38ryqrK8= Received: by 10.204.6.73 with SMTP id 9mr1882334bky.143.1273446170149; Sun, 09 May 2010 16:02:50 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.84.81 with HTTP; Sun, 9 May 2010 16:02:30 -0700 (PDT) In-Reply-To: References: From: Juanma Barranquero Date: Mon, 10 May 2010 01:02:30 +0200 Message-ID: Subject: Re: bug#6147: 23.2; ido-read-buffer regression To: Kyle Hargraves Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -1.5 (-) X-Debbugs-Envelope-To: 6147 Cc: 6147@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.8 (--) On Sun, May 9, 2010 at 22:06, Kyle Hargraves wrote: > This can be reproduced by evaluating: > (ido-read-buffer "Buffer: " "nonexistent-buffer") > In 23.2, you will see only a list of your current buffers. In 23.1, > nonexistent-buffer is the default value. Yes, it has changed. > I believe the related commit may be: > http://github.com/emacsmirror/emacs/commit/e2300713fd5a941bfe1dad338b88f4= caf77cc945 Why do you believe that? AFAICS, that commit is related to virtual buffers, and so it's not on Emacs 23.2. The "culprit" is this change: ------------------------------------------------------------ revno: 99373 author: =C3=93scar Fuentes committer: Juanma Barranquero branch nick: trunk timestamp: Mon 2010-01-18 20:34:55 +0100 message: ido.el: Consider the possibility of buffer names changing after kill-bu= ffer. which includes this: (ido-make-buffer-list): If "default" is a nonexistent buffer, ignore it, as per the docstring. =3D=3D=3D modified file 'lisp/ido.el' --- lisp/ido.el 2010-01-13 08:35:10 +0000 +++ lisp/ido.el 2010-01-18 19:34:55 +0000 @@ -3344,7 +3344,7 @@ (if ido-temp-list (nconc ido-temp-list ido-current-buffers) (setq ido-temp-list ido-current-buffers)) - (if default + (if (and default (buffer-live-p (get-buffer default))) (progn (setq ido-temp-list (delete default ido-temp-list)) Now, though `ido-make-buffer-list' has not exactly a docstring, but a comment, it really says: ;; [...] If DEFAULT is non-nil, and corresponds to an existing buffer, ;; it is put to the start of the list. so the use you did of it was relying on undocumented behaviour. Whether it should work as you prefer or not, I have no comment; but there has been some recent discussion on emacs-devel about reverting this patch and replacing it with another fix, by Leo (see thread titled "PATCH: Fix IDO interaction with uniquify.el"); so perhaps you can chime in with your thoughts. Juanma From debbugs-submit-bounces@debbugs.gnu.org Sun May 09 19:55:20 2010 Received: (at 6147) by debbugs.gnu.org; 9 May 2010 23:55:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBGL9-0007Xi-3h for submit@debbugs.gnu.org; Sun, 09 May 2010 19:55:20 -0400 Received: from mail-bw0-f214.google.com ([209.85.218.214]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBFgq-0007Hi-T5 for 6147@debbugs.gnu.org; Sun, 09 May 2010 19:13:42 -0400 Received: by bwz6 with SMTP id 6so1418095bwz.39 for <6147@debbugs.gnu.org>; Sun, 09 May 2010 16:13:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.5.140 with SMTP id 12mr1963019bkv.34.1273446816318; Sun, 09 May 2010 16:13:36 -0700 (PDT) Received: by 10.204.77.18 with HTTP; Sun, 9 May 2010 16:13:36 -0700 (PDT) In-Reply-To: References: Date: Sun, 9 May 2010 18:13:36 -0500 Message-ID: Subject: Re: bug#6147: 23.2; ido-read-buffer regression From: Kyle Hargraves To: Juanma Barranquero Content-Type: multipart/alternative; boundary=0015175907dc2085a504863171af X-Spam-Score: -4.6 (----) X-Debbugs-Envelope-To: 6147 X-Mailman-Approved-At: Sun, 09 May 2010 19:55:16 -0400 Cc: 6147@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.9 (---) --0015175907dc2085a504863171af Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, May 9, 2010 at 6:02 PM, Juanma Barranquero wrote= : > On Sun, May 9, 2010 at 22:06, Kyle Hargraves wrote: > > > This can be reproduced by evaluating: > > (ido-read-buffer "Buffer: " "nonexistent-buffer") > > In 23.2, you will see only a list of your current buffers. In 23.1, > > nonexistent-buffer is the default value. > > Yes, it has changed. > > > I believe the related commit may be: > > > http://github.com/emacsmirror/emacs/commit/e2300713fd5a941bfe1dad338b88f4= caf77cc945 > > Why do you believe that? > I misread it and thought it was introducing the buffer-live-p check. > The "culprit" is this change: > > ------------------------------------------------------------ > revno: 99373 > author: =D3scar Fuentes > committer: Juanma Barranquero > branch nick: trunk > timestamp: Mon 2010-01-18 20:34:55 +0100 > message: > ido.el: Consider the possibility of buffer names changing after > kill-buffer. > > which includes this: > > (ido-make-buffer-list): If "default" is a nonexistent > buffer, ignore it, as per the docstring. > > > =3D=3D=3D modified file 'lisp/ido.el' > --- lisp/ido.el 2010-01-13 08:35:10 +0000 > +++ lisp/ido.el 2010-01-18 19:34:55 +0000 > @@ -3344,7 +3344,7 @@ > (if ido-temp-list > (nconc ido-temp-list ido-current-buffers) > (setq ido-temp-list ido-current-buffers)) > - (if default > + (if (and default (buffer-live-p (get-buffer default))) > (progn > (setq ido-temp-list > (delete default ido-temp-list)) > > > Now, though `ido-make-buffer-list' has not exactly a docstring, but a > comment, it really says: > > ;; [...] If DEFAULT is non-nil, and corresponds to an existing buffer, > ;; it is put to the start of the list. > > so the use you did of it was relying on undocumented behaviour. > > Whether it should work as you prefer or not, I have no comment; but > there has been some recent discussion on emacs-devel about reverting > this patch and replacing it with another fix, by Leo (see thread > titled "PATCH: Fix IDO interaction with uniquify.el"); so perhaps you > can chime in with your thoughts. Thank you, I will look for it. > > Juanma > --0015175907dc2085a504863171af Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On Sun, May 9, 2010 at 6:02 PM, Juanma Barranquero <lekktu@gmail.com> wrote:
On Sun, May 9, 2010 at 22:06, Kyle Hargraves <pd@krh.me> wrote:

> This can be reproduced by evaluating:
> (ido-read-buffer "Buffer: " "nonexistent-buffer")<= br> > In 23.2, you will see only a list of your current buffers. In 23.1, > nonexistent-buffer is the default value.

Yes, it has changed.

> I believe the related commit may be:
> http://github.com/emacsmirror/e= macs/commit/e2300713fd5a941bfe1dad338b88f4caf77cc945

Why do you believe that?

I misread it a= nd thought it was introducing the buffer-live-p check.
=A0
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex;"> The "culprit" is this change:

=A0------------------------------------------------------------
=A0revno: 99373
=A0author: =D3scar Fuentes <ofv@wanad= oo.es>
=A0committer: Juanma Barranquero <l= ekktu@gmail.com>
=A0branch nick: trunk
=A0timestamp: Mon 2010-01-18 20:34:55 +0100
=A0message:
=A0 =A0ido.el: Consider the possibility of buffer names changing after kil= l-buffer.

which includes this:

=A0 =A0 =A0 =A0(ido-make-buffer-list): If "default" is a nonexis= tent
=A0 =A0 =A0 =A0buffer, ignore it, as per the docstring.


=3D=3D=3D modified file 'lisp/ido.el'
--- lisp/ido.el 2010-01-13 08:35:10 +0000
+++ lisp/ido.el 2010-01-18 19:34:55 +0000
@@ -3344,7 +3344,7 @@
=A0 =A0 (if ido-temp-list
=A0 =A0 =A0 =A0(nconc ido-temp-list ido-current-buffers)
=A0 =A0 =A0 (setq ido-temp-list ido-current-buffers))
- =A0 =A0(if default
+ =A0 =A0(if (and default (buffer-live-p (get-buffer default)))
=A0 =A0 =A0 =A0(progn
=A0 =A0 =A0 =A0 =A0(setq ido-temp-list
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(delete default ido-temp-list))


Now, though `ido-make-buffer-list' has not exactly a docstring, but a comment, it really says:

=A0;; [...] =A0If DEFAULT is non-nil, and corresponds to an existing buffe= r,
=A0;; it is put to the start of the list.

so the use you did of it was relying on undocumented behaviour.

Whether it should work as you prefer or not, I have no comment; but
there has been some recent discussion on emacs-devel about reverting
this patch and replacing it with another fix, by Leo (see thread
titled "PATCH: Fix IDO =A0interaction with uniquify.el"); so perh= aps you
can chime in with your thoughts.

Thank you,= I will look for it.
=A0

=A0 Juanma

--0015175907dc2085a504863171af-- From debbugs-submit-bounces@debbugs.gnu.org Sat Aug 21 18:45:36 2010 Received: (at 6147-done) by debbugs.gnu.org; 21 Aug 2010 22:45:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Omwoh-0002i7-Fz for submit@debbugs.gnu.org; Sat, 21 Aug 2010 18:45:35 -0400 Received: from impaqm1.telefonica.net ([213.4.138.1]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Omwd1-0002c1-4V for 6147-done@debbugs.gnu.org; Sat, 21 Aug 2010 18:33:31 -0400 Received: from IMPmailhost3.adm.correo ([10.20.102.124]) by IMPaqm1.telefonica.net with bizsmtp id xAWM1e00M2h2L9m01Aaepf; Sun, 22 Aug 2010 00:34:38 +0200 Received: from ceviche.home ([83.61.35.93]) by IMPmailhost3.adm.correo with BIZ IMP id xAad1e00120aCvn1jAadr2; Sun, 22 Aug 2010 00:34:38 +0200 X-Brightmail-Tracker: AAAAAA== X-TE-authinfo: authemail="monnier$movistar.es" |auth_email="monnier@movistar.es" X-TE-AcuTerraCos: auth_cuTerraCos="cosuitnetc01" Received: by ceviche.home (Postfix, from userid 20848) id DA607660E9; Sun, 22 Aug 2010 00:34:36 +0200 (CEST) From: Stefan Monnier To: Kyle Hargraves Subject: Re: 23.2; ido-read-buffer regression Message-ID: References: Date: Sun, 22 Aug 2010 00:34:36 +0200 In-Reply-To: (Kyle Hargraves's message of "Sun, 9 May 2010 15:06:09 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -1.9 (-) X-Debbugs-Envelope-To: 6147-done X-Mailman-Approved-At: Sat, 21 Aug 2010 18:45:33 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.9 (-) > In the version of ido shipped with 23.2, the behaviour of the > ido-make-buffer-list function no longer permits a default value to be > used by ido-read-buffer unless that value is the name of a preexisting > buffer. > This can be reproduced by evaluating: > (ido-read-buffer "Buffer: " "nonexistent-buffer") > In 23.2, you will see only a list of your current buffers. In 23.1, > nonexistent-buffer is the default value. I believe this bug in now fixed in the emacs-23 branch, thanks to the reversal of the patch that changed this behavior (replaced by a different one which happens not to make this change). Stefan From unknown Wed Jun 18 23:06:07 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Sun, 19 Sep 2010 11:24:03 +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