Discussion:
iswitchb-kill-buffer
Eric Hanchrow
2006-05-05 00:57:33 UTC
Permalink
This only seems to happen in the multi-tty branch. To repro the
problem, start emacs with "emacs -nw -Q", then visit the following
file (let's call it "bug.el"), eval the form, switch back to the
"bug.el" buffer, and follow the directions in the comments:

(progn
(require 'uniquify)
(setq uniquify-buffer-name-style 'forward)
(iswitchb-mode 1)
(find-file "/tmp/zap")
(find-file "/zap"))

;; Now type
;; C-x b z C-k <return>

;; You'll see "No buffer matching `/zap', create one? (y or n)" but
;; you should instead see

;; iswitch z[/tmp/zap]

;; whereupon hitting RET will switch you to the "/tmp/zap" buffer.

In GNU Emacs 22.0.51.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars, multi-tty)
of 2006-04-30 on debian
configured using `configure '--enable-maintainer-mode''

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: nil
locale-coding-system: nil
default-enable-multibyte-characters: t

Major mode: Message

Minor modes in effect:
auto-fill-function: message-do-auto-fill
mml-mode: t
erc-ring-mode: t
erc-pcomplete-mode: t
erc-netsplit-mode: t
erc-button-mode: t
erc-fill-mode: t
erc-stamp-mode: t
flyspell-mode: t
erc-list-mode: t
erc-autojoin-mode: t
erc-track-mode: t
erc-match-mode: t
erc-irccontrols-mode: t
erc-noncommands-mode: t
erc-readonly-mode: t
display-time-mode: t
iswitchb-mode: t
auto-compression-mode: t
mouse-wheel-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
unify-8859-on-encoding-mode: t
utf-translate-cjk-mode: t
line-number-mode: t
transient-mark-mode: t
abbrev-mode: t

Recent input:
i DEL DEL DEL p o s RET C-y SPC a p p e a r s SPC t
o SPC d o SPC n o t h i n g C-u C-n C-n T h i s SPC
o n l y SPC s e e m s SPC t o SPC h a p p e n SPC i
n SPC t h e SPC m u l t u DEL i - t t y SPC b r a n
c h ESC x r e p o r t - e m TAB b TAB RET

Recent messages:
Quit
Type M-x display-buffer RET to restore the other window.
mouse-2, RET: find function's definition
mouse-2, RET: describe this function
Mark saved where search started
Mark set
Mark saved where search started
Mark set [2 times]
Auto-saving...done
Loading emacsbug...done
--
In the practice of computing, where we have so much latitude for
making a mess of it, mathematical elegance is not a dispensable
luxury, but a matter of life and death.
-- Edsger W. Dijkstra: My Hopes of Computing Science (EWD 709)
http://www.cs.utexas.edu/users/EWD/ewd07xx/EWD709.PDF
Loading...