all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: `clone-indirect-buffer' buffer naming.
Date: Wed, 11 Jun 2008 15:23:18 +0200	[thread overview]
Message-ID: <484FD1C6.6000506@gmail.com> (raw)
In-Reply-To: <87hcc09q2n.fsf@localhorst.mine.nu>

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	other threads:[~2008-06-11 13:23 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-11 11:19 `clone-indirect-buffer' buffer naming David Hansen
2008-06-11 13:23 ` Lennart Borgman (gmail) [this message]
2008-06-11 16:25 ` Stefan Monnier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=484FD1C6.6000506@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.