GNU bug report logs - #9378
23.3; iswitchb-make-buflist returns a nonexistent buffer

Previous Next

Package: emacs;

Reported by: "Paul Du Bois" <dubois <at> doublefine.com>

Date: Fri, 26 Aug 2011 00:54:02 UTC

Severity: minor

Found in version 23.3

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Glenn Morris <rgm <at> gnu.org>
To: "Paul Du Bois" <dubois <at> doublefine.com>
Cc: 9378 <at> debbugs.gnu.org
Subject: bug#9378: 23.3; iswitchb-make-buflist returns a nonexistent buffer
Date: Sat, 03 Sep 2011 15:14:57 -0400
"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 <the buffer that was just killed>"

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.




This bug report was last modified 11 years and 167 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.