[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: global-set-key has no effect for iswitchb-buffer
From: |
Reiner Steib |
Subject: |
Re: global-set-key has no effect for iswitchb-buffer |
Date: |
Sat, 24 Mar 2007 13:13:09 +0100 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux) |
On Sat, Mar 10 2007, Kim F. Storm wrote:
> Reiner Steib <address@hidden> writes:
>> I have iswitchb-mode enabled. But occasionally I want to use the
>> plain `switch-to-buffer' command which I have bound to `C-c b b'.
>> Recently (well, I haven't updated from CVS for a while) this stopped
>> to work: `C-c b b' also calls `iswitchb-buffer'.
[ (iswitchb-mode 1)
(global-set-key (kbd "C-c b b") (quote switch-to-buffer)) ]
> Try:
>
> (defalias 'switch-to-buffer-1 'switch-to-buffer)
> and bind C-c b b to switch-to-buffer-1
Well, this is a possible workaround. But is it correct behavior of
`iswitchb-mode' to shadow the original `switch-to-buffer' command?
AFAICS the documentation mentions only rebinding of keys:
,----[ (info "(emacs)Iswitchb") ]
| Iswitchb global minor mode provides convenient switching between
| buffers using substrings of their names. It replaces the normal
| definitions of `C-x b', `C-x 4 b', `C-x 5 b', and `C-x 4 C-o' with
| alternative commands that are somewhat "smarter."
`----
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/