From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Abaw Newsgroups: gmane.emacs.bugs Subject: bug#7645: 23.2; ido commands failed to execute if there is some killed buffer Date: Wed, 15 Dec 2010 14:07:21 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=001636c5b65f1528a904976cc05a X-Trace: dough.gmane.org 1292397289 28746 80.91.229.12 (15 Dec 2010 07:14:49 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 07:14:49 +0000 (UTC) To: 7645@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 08:14:41 2010 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 1PSlZR-0002g3-9C for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 08:14:41 +0100 Original-Received: from localhost ([127.0.0.1]:49036 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSlZQ-00075r-NB for geb-bug-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 02:14:40 -0500 Original-Received: from [140.186.70.92] (port=35872 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSlE5-0002Xr-JI for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:52:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSlE4-0003Dz-B0 for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:52:37 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48986) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSlE4-0003Dv-7t for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:52:36 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PSkoL-0005S8-Pw; Wed, 15 Dec 2010 01:26:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Abaw Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 15 Dec 2010 06:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7645 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.129239431120892 (code B ref -1); Wed, 15 Dec 2010 06:26:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 15 Dec 2010 06:25:11 +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 1PSknW-0005Qt-2J for submit@debbugs.gnu.org; Wed, 15 Dec 2010 01:25:10 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PSkQJ-0004v1-QY for submit@debbugs.gnu.org; Wed, 15 Dec 2010 01:01:12 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSkWM-0003UK-65 for submit@debbugs.gnu.org; Wed, 15 Dec 2010 01:07:27 -0500 Original-Received: from lists.gnu.org ([199.232.76.165]:51212) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSkWM-0003UG-3I for submit@debbugs.gnu.org; Wed, 15 Dec 2010 01:07:26 -0500 Original-Received: from [140.186.70.92] (port=47531 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSkWL-0002WE-24 for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:07:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSkWJ-0003TN-AQ for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:07:24 -0500 Original-Received: from mail-fx0-f48.google.com ([209.85.161.48]:62479) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSkWJ-0003T1-1q for bug-gnu-emacs@gnu.org; Wed, 15 Dec 2010 01:07:23 -0500 Original-Received: by fxm2 with SMTP id 2so1579354fxm.35 for ; Tue, 14 Dec 2010 22:07:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=kv7gIRNMvtumysf//5kYzqWG4T3Vgr4E4qyH1T1PVnc=; b=YVTUyFBJSGpGk7uDQT5nXRMveJyIG9QQJdeXRhEA4L2dDKU1P3rQ+ncgL/e0QOvHkZ tRo1vf55Gyj0oS3DuWXaKRftm0won3EcxvgadHdCC9g5NouMzYG4DD6MXh8l0VBBevyN X4abf0xkrJkE1aCsI58lITFyXMzQk9Qt5JtHs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=G9PabidFn58HWZOJ0Lv2WDvYnwQeAR6msbH7wNxKqGDLts8spKdikZs82wTCGmi+5z vEI/nzDgHjuvhQcpUCKB9ZAb6EFGR2hx0mG08RGp7sE7DZcMMhaUK21I4dzdp22N3Fbt Nid6ZwKlcptL1A78gW3K7b2ZMmqJuDUxpO9YA= Original-Received: by 10.223.115.83 with SMTP id h19mr681469faq.33.1292393241716; Tue, 14 Dec 2010 22:07:21 -0800 (PST) Original-Received: by 10.223.78.133 with HTTP; Tue, 14 Dec 2010 22:07:21 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 15 Dec 2010 01:25:09 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Wed, 15 Dec 2010 01:26:01 -0500 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Mailman-Approved-At: Wed, 15 Dec 2010 02:14:35 -0500 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:42530 Archived-At: --001636c5b65f1528a904976cc05a Content-Type: multipart/alternative; boundary=001636c5b65f1528a004976cc058 --001636c5b65f1528a004976cc058 Content-Type: text/plain; charset=UTF-8 Hi maintainers, ido commands that finally calls ``ido-make-buffer-list'' would fail to execute if there is some killed buffer returned by ``buffer-list''. Because (buffer-name a-killed-buffer) will return nil, ``ido-ignore-item-p'' fail to treat it as a stream. My solution is to return non-nil if name passed to ``ido-ignore-item-p'' is nil. The attachment is the patch I made for ido.el. In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0) of 2010-08-15 on raven, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.60900000 configured using `configure '--build' 'i486-linux-gnu' '--build' 'i486-linux-gnu' '--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib' '--localstatedir=/var/lib' '--infodir=/usr/share/info' '--mandir=/usr/share/man' '--with-pop=yes' '--enable-locallisppath=/etc/emacs23:/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/share/emacs/23.2/leim' '--with-x=yes' '--with-x-toolkit=gtk' '--with-toolkit-scroll-bars' 'build_alias=i486-linux-gnu' 'CFLAGS=-DDEBIAN -g -O2' 'LDFLAGS=-g' 'CPPFLAGS='' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil 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 --001636c5b65f1528a004976cc058 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi maintainers,

ido commands that finally call= s ``ido-make-buffer-list'' would fail to
execute if there is som= e killed buffer returned by
``buffer-list''. Because (buffer-nam= e a-killed-buffer) will return nil,
``ido-ignore-item-p'' fail to treat it as a stream. My solution is = to
return non-nil if name passed to ``ido-ignore-item-p'' is nil= .

The attachment is the patch I made for ido.el.


In GNU Emacs 23.2.1 (i486-pc-linux-gnu, GTK+ Version 2.20.0)<= br> of 2010-08-15 on raven, modified by Debian
Windowing system distribu= tor `The X.Org Foundation', version 11.0.60900000
configured using `= configure '--build' 'i486-linux-gnu' '--build' = 9;i486-linux-gnu' '--prefix=3D/usr' '--sharedstatedir=3D/va= r/lib' '--libexecdir=3D/usr/lib' '--localstatedir=3D/var/li= b' '--infodir=3D/usr/share/info' '--mandir=3D/usr/share/man= ' '--with-pop=3Dyes' '--enable-locallisppath=3D/etc/emacs23= :/etc/emacs:/usr/local/share/emacs/23.2/site-lisp:/usr/local/share/emacs/si= te-lisp:/usr/share/emacs/23.2/site-lisp:/usr/share/emacs/site-lisp:/usr/sha= re/emacs/23.2/leim' '--with-x=3Dyes' '--with-x-toolkit=3Dgt= k' '--with-toolkit-scroll-bars' 'build_alias=3Di486-linux-g= nu' 'CFLAGS=3D-DDEBIAN -g -O2' 'LDFLAGS=3D-g' 'CPPF= LAGS=3D''

Important settings:
value of $LC_ALL: nil
value of $LC_COLLAT= E: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
va= lue of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_T= IME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-co= ding-system: utf-8-unix
default enable-multibyte-characters: t

--001636c5b65f1528a004976cc058-- --001636c5b65f1528a904976cc05a Content-Type: application/octet-stream; name="ido.el.patch" Content-Disposition: attachment; filename="ido.el.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: f_ghptk8xo0 LS0tIGlkby5vcmlnLmVsCTIwMTAtMTItMTUgMTM6NDQ6MzYuMDAwMDAwMDAwICswODAwCisrKyBp ZG8uZWwJMjAxMC0xMi0xNSAxMzo0NDo0OS4wMDAwMDAwMDAgKzA4MDAKQEAgLTM3NjgsNyArMzc2 OCw4IEBACiAKIChkZWZ1biBpZG8taWdub3JlLWl0ZW0tcCAobmFtZSByZS1saXN0ICZvcHRpb25h bCBpZ25vcmUtZXh0KQogICA7OyBSZXR1cm4gdCBpZiB0aGUgYnVmZmVyIG9yIGZpbGUgTkFNRSBz aG91bGQgYmUgaWdub3JlZC4KLSAgKG9yIChtZW1iZXIgbmFtZSBpZG8taWdub3JlLWl0ZW0tdGVt cC1saXN0KQorICAob3IgKG51bGwgbmFtZSkKKyAgICAgIChtZW1iZXIgbmFtZSBpZG8taWdub3Jl LWl0ZW0tdGVtcC1saXN0KQogICAgICAgKGFuZAogICAgICAgIGlkby1wcm9jZXNzLWlnbm9yZS1s aXN0cyByZS1saXN0CiAgICAgICAgKHNhdmUtbWF0Y2gtZGF0YQo= --001636c5b65f1528a904976cc05a--