From: David Hansen <david.hansen@gmx.net>
To: emacs-devel@gnu.org
Subject: `clone-indirect-buffer' buffer naming.
Date: Wed, 11 Jun 2008 13:19:28 +0200 [thread overview]
Message-ID: <87hcc09q2n.fsf@localhorst.mine.nu> (raw)
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
next reply other threads:[~2008-06-11 11:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-06-11 11:19 David Hansen [this message]
2008-06-11 13:23 ` `clone-indirect-buffer' buffer naming Lennart Borgman (gmail)
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=87hcc09q2n.fsf@localhorst.mine.nu \
--to=david.hansen@gmx.net \
--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.