From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kyle Hargraves Newsgroups: gmane.emacs.bugs Subject: bug#6147: 23.2; ido-read-buffer regression Date: Sun, 9 May 2010 15:06:09 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=00032555a082ccdc5a04862ed24b X-Trace: dough.gmane.org 1273443754 29487 80.91.229.12 (9 May 2010 22:22:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 9 May 2010 22:22:34 +0000 (UTC) To: 6147@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 10 00:22:33 2010 connect(): No such file or directory Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OBEtL-0002dY-6i for geb-bug-gnu-emacs@m.gmane.org; Mon, 10 May 2010 00:22:32 +0200 Original-Received: from localhost ([127.0.0.1]:40407 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBEtJ-0007YN-Hq for geb-bug-gnu-emacs@m.gmane.org; Sun, 09 May 2010 18:22:29 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1OBDY3-00017A-44 for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:56:27 -0400 Original-Received: from [140.186.70.92] (port=52924 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OBDY0-00016s-C0 for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:56:26 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OBDXx-0007L7-Iq for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:56:24 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41856) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OBDXx-0007L0-GG for bug-gnu-emacs@gnu.org; Sun, 09 May 2010 16:56:21 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1OBDIB-0006EB-Ow; Sun, 09 May 2010 16:40:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Kyle Hargraves Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 09 May 2010 20:40:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 6147 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.127343756623921 (code B ref -1); Sun, 09 May 2010 20:40:03 +0000 Original-Received: (at submit) by debbugs.gnu.org; 9 May 2010 20:39:26 +0000 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-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 Original-Received: by bwz4 with SMTP id 4so1482044bwz.26 for ; Sun, 09 May 2010 13:06:10 -0700 (PDT) Original-Received: by 10.204.36.208 with SMTP id u16mr1817840bkd.168.1273435570100; Sun, 09 May 2010 13:06:10 -0700 (PDT) Original-Received: by 10.204.77.18 with HTTP; Sun, 9 May 2010 13:06:09 -0700 (PDT) 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-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 Resent-Date: Sun, 09 May 2010 16:40:03 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Sun, 09 May 2010 18:22:24 -0400 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:36809 Archived-At: --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--