From debbugs-submit-bounces@debbugs.gnu.org Thu Aug 25 20:53:48 2011 Received: (at submit) by debbugs.gnu.org; 26 Aug 2011 00:53:49 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qwkg8-0006ra-Hz for submit@debbugs.gnu.org; Thu, 25 Aug 2011 20:53:48 -0400 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qwkf0-0006pm-UL for submit@debbugs.gnu.org; Thu, 25 Aug 2011 20:52:39 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwkcO-0004z3-Mz for submit@debbugs.gnu.org; Thu, 25 Aug 2011 20:49:57 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_00, RECEIVED_FROM_WINDOWS_HOST,RP_MATCHES_RCVD autolearn=no version=3.3.1 Received: from lists.gnu.org ([140.186.70.17]:60752) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwkcO-0004yz-LX for submit@debbugs.gnu.org; Thu, 25 Aug 2011 20:49:56 -0400 Received: from eggs.gnu.org ([140.186.70.92]:50338) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwkcN-0003UP-Gt for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 20:49:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwkcM-0004y3-8E for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 20:49:55 -0400 Received: from mail.doublefine.com ([216.55.28.142]:9165 helo=CLEM.doublefine.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwkcM-0004wy-43 for bug-gnu-emacs@gnu.org; Thu, 25 Aug 2011 20:49:54 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: 23.3; iswitchb-make-buflist returns a nonexistent buffer Date: Thu, 25 Aug 2011 17:27:40 -0700 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: 23.3; iswitchb-make-buflist returns a nonexistent buffer Thread-Index: AcxjhvbmuSu6+PRlRQWBzPvB+NUgDg== From: "Paul Du Bois" To: X-detected-operating-system: by eggs.gnu.org: Windows 2000 SP4, XP SP1+ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.17 X-Spam-Score: -6.6 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 25 Aug 2011 20:53:47 -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 (------) emacs -Q (require 'iswitchb) (setq read-buffer-function 'iswitchb-read-buffer) (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) find several files C-x b C-k C-k After the first C-k, the buffer is deleted, but remains at the head of the iswitchb list. The second C-k produces an error "No buffer named " The problem is that iswitchb-make-buflist does not correspond to its documentation: "... If DEFAULT is non-nil, and corresponds to an existing buffer, it is put to the start of the list." Changing the implementation to match the documentation fixes the bug: --- iswitchb.el 2011-06-16 15:36:18.084715400 -0700 +++ iswitchb2.el 2011-08-25 17:23:04.724373400 -0700 @@ -849,7 +849,7 @@ (run-hooks 'iswitchb-make-buflist-hook) ;; Should this be after the hooks, or should the hooks be the ;; final thing to be run? - (if default + (if (and default (get-buffer default)) (progn (setq iswitchb-temp-buflist (delete default iswitchb-temp-buflist)) In GNU Emacs 23.3.1 (i386-mingw-nt6.1.7601) of 2011-03-10 on 3249CTO Windowing system distributor `Microsoft Corp.', version 6.1.7601 configured using `configure --with-gcc (4.5) --no-opt --cflags -Ic:/imagesupport/include' From debbugs-submit-bounces@debbugs.gnu.org Sat Sep 03 15:18:33 2011 Received: (at 9378) by debbugs.gnu.org; 3 Sep 2011 19:18:33 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qzvjd-0006XY-IH for submit@debbugs.gnu.org; Sat, 03 Sep 2011 15:18:33 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qzvjb-0006XS-Qs for 9378@debbugs.gnu.org; Sat, 03 Sep 2011 15:18:32 -0400 Received: from localhost ([127.0.0.1]:38066) by fencepost.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qzvg9-0006XN-UV; Sat, 03 Sep 2011 15:14:58 -0400 From: Glenn Morris To: "Paul Du Bois" Subject: Re: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer References: X-Spook: Merlin Forte bce Fedayeen Tony Blair strategic infowar X-Ran: kM+'VpU@A`2*X\W*DXa]eLN~xdI{K^YGAL^;X`Ru@VJj,w3b?V9CWwcVJm_j$P#jC@2Mfs X-Hue: yellow X-Attribution: GM Date: Sat, 03 Sep 2011 15:14:57 -0400 In-Reply-To: (Paul Du Bois's message of "Thu, 25 Aug 2011 17:27:40 -0700") Message-ID: <1ty5y5o2tq.fsf@fencepost.gnu.org> User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9378 Cc: 9378@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: -6.4 (------) "Paul Du Bois" wrote: > emacs -Q > (require 'iswitchb) > (setq read-buffer-function 'iswitchb-read-buffer) > (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) > find several files > C-x b C-k C-k > > After the first C-k, the buffer is deleted, but remains at the > head of the iswitchb list. The second C-k produces an error > "No buffer named " I'm not sure this matters, because if you change the recipe to start: emacs -Q -f iswitchb-mode \ --eval "(setq read-buffer-function 'iswitchb-read-buffer)" ie, use iswitchb-mode rather than just adding to minibuffer-setup-hook, there is no such error. The difference seems to be that C-x b runs iswitch-buffer in that case rather than switch-buffer. From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 07 17:55:34 2011 Received: (at 9378) by debbugs.gnu.org; 7 Sep 2011 21:55:34 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1Q5m-0005yf-5Z for submit@debbugs.gnu.org; Wed, 07 Sep 2011 17:55:34 -0400 Received: from mail.doublefine.com ([216.55.28.142] helo=CLEM.doublefine.com) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1Q5k-0005yY-O3 for 9378@debbugs.gnu.org; Wed, 07 Sep 2011 17:55:33 -0400 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer Date: Wed, 7 Sep 2011 14:51:37 -0700 Message-ID: In-Reply-To: <1ty5y5o2tq.fsf@fencepost.gnu.org> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer Thread-Index: AcxqbceNZgg/1obORhKSiZ36fisVLgDOhYQA References: <1ty5y5o2tq.fsf@fencepost.gnu.org> From: "Paul Du Bois" X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: 9378 Cc: 9378@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.1 (---) > "Paul Du Bois" wrote: > > emacs -Q > > (require 'iswitchb) > > (setq read-buffer-function 'iswitchb-read-buffer) > > (add-hook 'minibuffer-setup-hook 'iswitchb-minibuffer-setup) > > find several files > > C-x b C-k C-k > > > > After the first C-k, the buffer is deleted, but remains at the > > head of the iswitchb list. The second C-k produces an error > > "No buffer named " Glen Morris wrote: > I'm not sure this matters, because if you change the recipe to start: >=20 > emacs -Q -f iswitchb-mode \ > --eval "(setq read-buffer-function 'iswitchb-read-buffer)" >=20 > ie, use iswitchb-mode rather than just adding to minibuffer-setup-hook, > there is no such error. The difference seems to be that C-x b runs > iswitch-buffer in that case rather than switch-buffer. Ah. iswitchb-mode must have been added after I set up iswitchb (which I've been using for many years) I was most likely following this advice which is still in the file header comment block as of emacs 23: ;; Replacement for read-buffer ;; iswitchb-read-buffer has been written to be a drop in replacement ;; for the normal buffer selection routine `read-buffer'. To use ;; iswitch for all buffer selections in Emacs, add: ;; (setq read-buffer-function 'iswitchb-read-buffer) I'll switch over, but from some experimentation, it seems like using read-buffer-function no longer works properly (for example, without the minibuffer-setup-hook, iswitchb-read-buffer is even less functional than the default). Perhaps that comment should be removed? From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 07 21:32:59 2011 Received: (at 9378) by debbugs.gnu.org; 8 Sep 2011 01:32:59 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1TUB-0004E4-6Q for submit@debbugs.gnu.org; Wed, 07 Sep 2011 21:32:59 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R1TU9-0004Dy-Du for 9378@debbugs.gnu.org; Wed, 07 Sep 2011 21:32:57 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1R1TQJ-00029L-RN; Wed, 07 Sep 2011 21:28:59 -0400 From: Glenn Morris To: "Paul Du Bois" Subject: Re: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer References: <1ty5y5o2tq.fsf@fencepost.gnu.org> X-Spook: bluebird CNCIS Aladdin BRLO AK-47 defense information X-Ran: _"^zkyflhs$=]4$$HJED* User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: 9378 Cc: 9378@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: -6.4 (------) "Paul Du Bois" wrote: > this advice which is still in the file header comment block as of emacs > 23: > > ;; Replacement for read-buffer > > ;; iswitchb-read-buffer has been written to be a drop in replacement > ;; for the normal buffer selection routine `read-buffer'. To use > ;; iswitch for all buffer selections in Emacs, add: > ;; (setq read-buffer-function 'iswitchb-read-buffer) > > I'll switch over, but from some experimentation, it seems like using > read-buffer-function no longer works properly (for example, without > the minibuffer-setup-hook, iswitchb-read-buffer is even less > functional than the default). Perhaps that comment should be removed? I don't use iswitchb, but I thought that comment was describing something extra you can optionally do, beyond what iswitchb-mode (which is mentioned at the start of the commentary) does by default. lispref/minibuf.texi still refers to this, so would also need updating if this is incorrect. From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 22:31:04 2014 Received: (at 9378) by debbugs.gnu.org; 7 Feb 2014 03:31:04 +0000 Received: from localhost ([127.0.0.1]:53976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBc9f-0004Lw-8w for submit@debbugs.gnu.org; Thu, 06 Feb 2014 22:31:03 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46902) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBc9d-0004Lf-CG for 9378@debbugs.gnu.org; Thu, 06 Feb 2014 22:31:01 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBc9P-0001x9-2Y; Fri, 07 Feb 2014 04:30:47 +0100 From: Lars Ingebrigtsen To: Glenn Morris Subject: Re: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer References: <1ty5y5o2tq.fsf@fencepost.gnu.org> <4lipp3zusk.fsf@fencepost.gnu.org> Date: Thu, 06 Feb 2014 19:29:41 -0800 In-Reply-To: <4lipp3zusk.fsf@fencepost.gnu.org> (Glenn Morris's message of "Wed, 07 Sep 2011 21:28:59 -0400") Message-ID: <87ha8bk3bu.fsf@building.gnus.org> User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-MailScanner-ID: 1WBc9P-0001x9-2Y X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392348647.58942@0KHbK9CMSHQVP/vsYtSRTA X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 9378 Cc: 9378@debbugs.gnu.org, Paul Du Bois 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: 0.0 (/) iswitchb is an obsolete package, so I'm closing this bug report. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/ From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 22:31:17 2014 Received: (at control) by debbugs.gnu.org; 7 Feb 2014 03:31:17 +0000 Received: from localhost ([127.0.0.1]:53988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBc9o-0004NN-Ho for submit@debbugs.gnu.org; Thu, 06 Feb 2014 22:31:17 -0500 Received: from hermes.netfonds.no ([80.91.224.195]:46909) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBc9j-0004Mo-Vy for control@debbugs.gnu.org; Thu, 06 Feb 2014 22:31:09 -0500 Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WBc9U-0001xG-Lu for control@debbugs.gnu.org; Fri, 07 Feb 2014 04:30:53 +0100 Date: Thu, 06 Feb 2014 19:29:47 -0800 Message-Id: <87fvnvk3bo.fsf@building.gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #9378 X-MailScanner-ID: 1WBc9U-0001xG-Lu X-Netfonds-MailScanner: Found to be clean X-Netfonds-MailScanner-From: larsi@gnus.org MailScanner-NULL-Check: 1392348654.45437@90wi7cQYlqQ0Fly2ax/iFQ X-Spam-Status: No X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: control 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: 0.0 (/) close 9378 From debbugs-submit-bounces@debbugs.gnu.org Thu Feb 06 22:38:47 2014 Received: (at 9378) by debbugs.gnu.org; 7 Feb 2014 03:38:47 +0000 Received: from localhost ([127.0.0.1]:54007 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBcH8-0004cH-Bv for submit@debbugs.gnu.org; Thu, 06 Feb 2014 22:38:46 -0500 Received: from userp1040.oracle.com ([156.151.31.81]:44884) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WBcH5-0004c7-Rz for 9378@debbugs.gnu.org; Thu, 06 Feb 2014 22:38:44 -0500 Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s173cg7l030323 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Fri, 7 Feb 2014 03:38:43 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s173cfrK002956 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 7 Feb 2014 03:38:41 GMT Received: from abhmp0012.oracle.com (abhmp0012.oracle.com [141.146.116.18]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s173cfPr018488; Fri, 7 Feb 2014 03:38:41 GMT MIME-Version: 1.0 Message-ID: <8d4ef729-f53c-424b-9eaa-1a584fa51796@default> Date: Thu, 6 Feb 2014 19:38:40 -0800 (PST) From: Drew Adams To: Lars Ingebrigtsen , Glenn Morris Subject: RE: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer References: <1ty5y5o2tq.fsf@fencepost.gnu.org> <4lipp3zusk.fsf@fencepost.gnu.org> <87ha8bk3bu.fsf@building.gnus.org> In-Reply-To: <87ha8bk3bu.fsf@building.gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-Spam-Score: -2.8 (--) X-Debbugs-Envelope-To: 9378 Cc: 9378@debbugs.gnu.org, Paul Du Bois 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: -2.8 (--) > iswitchb is an obsolete package, so I'm closing this bug report. See my reply to the same statement made for bug #3713. Where does it say that iswitchb is an obsolete package? From unknown Sun Aug 17 00:57:35 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 07 Mar 2014 12:24:06 +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