[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: rename-buffer and ido-everythwere
From: |
Juri Linkov |
Subject: |
Re: rename-buffer and ido-everythwere |
Date: |
Wed, 12 Dec 2007 02:12:35 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux) |
> Maybe a better solution (not specific to ido) is to replace
> `read-buffer' with `read-string'.
As its documentation says, `read-buffer' is supposed to read an arbitrary
buffer name. In practice, it seems it can read only a name to switch the
buffer to.
OTOH, `rename-buffer' doesn't need the full functionality of `read-buffer':
buffer name completion and the default name in the prompt are no needed,
but the default accessible via M-n for editing and its history list are
needed, and `read-string' supports this. Fixed in CVS.
--
Juri Linkov
http://www.jurta.org/emacs/