From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: `clone-indirect-buffer' buffer naming. Date: Wed, 11 Jun 2008 15:23:18 +0200 Message-ID: <484FD1C6.6000506@gmail.com> References: <87hcc09q2n.fsf@localhorst.mine.nu> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1213190619 32184 80.91.229.12 (11 Jun 2008 13:23:39 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2008 13:23:39 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 11 15:24:22 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K6QJK-0006RO-1T for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2008 15:24:22 +0200 Original-Received: from localhost ([127.0.0.1]:34327 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6QIW-0000SE-E7 for ged-emacs-devel@m.gmane.org; Wed, 11 Jun 2008 09:23:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K6QIR-0000PW-7E for emacs-devel@gnu.org; Wed, 11 Jun 2008 09:23:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K6QIP-0000M1-II for emacs-devel@gnu.org; Wed, 11 Jun 2008 09:23:26 -0400 Original-Received: from [199.232.76.173] (port=44220 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K6QIP-0000Lm-7x for emacs-devel@gnu.org; Wed, 11 Jun 2008 09:23:25 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]:35673) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1K6QIO-0005yd-Qc for emacs-devel@gnu.org; Wed, 11 Jun 2008 09:23:25 -0400 Original-Received: from c83-254-145-59.bredband.comhem.se ([83.254.145.59]:62633 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.68) (envelope-from ) id 1K6QIM-0007gK-5t for emacs-devel@gnu.org; Wed, 11 Jun 2008 15:23:23 +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 In-Reply-To: <87hcc09q2n.fsf@localhorst.mine.nu> X-Antivirus: avast! (VPS 080611-1, 2008-06-11), Outbound message X-Antivirus-Status: Clean X-Originating-IP: 83.254.145.59 X-Scan-Result: No virus found in message 1K6QIM-0007gK-5t. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1K6QIM-0007gK-5t 02f4cae6278bee85729598d7ae2b9cea X-detected-kernel: by monty-python.gnu.org: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:98951 Archived-At: 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 `' 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) > > --> (# #) > > Bug? Misleading documentation? > > David I noticed this too, since it means trouble for ido-switch-buffer. So I would suggest it is a bug.