emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `clone-indirect-buffer' buffer naming.


From: Lennart Borgman (gmail)
Subject: Re: `clone-indirect-buffer' buffer naming.
Date: Wed, 11 Jun 2008 15:23:18 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

David Hansen wrote:
Hello,

the doc of `clone-indirect-buffer' states:

Give the indirect buffer name NEWNAME.  Interactively, read NEWNAME
from the minibuffer when invoked with a prefix arg.  If NEWNAME is nil
or if not called with a prefix arg, NEWNAME defaults to the current
buffer's name.  The name is modified by adding a `<N>' suffix to it
or by incrementing the N in an existing suffix.

I don't see this modification.  E.g.

$ emacs -Q tmp/foo.txt

M-x clone-indirect-buffer

M-: (require 'cl)

M-: (loop for b in (buffer-list)
      when (string-match "foo" (buffer-name b))
      collect b)

--> (#<buffer foo.txt> #<buffer foo.txt>)

Bug?  Misleading documentation?

David

I noticed this too, since it means trouble for ido-switch-buffer. So I would suggest it is a bug.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]