From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Documentation for "Clone Buffers" (corrected version) Date: Tue, 16 Mar 2004 07:09:25 -0500 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: References: <877jxty4gg.fsf@emacswiki.org> Reply-To: rms@gnu.org NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1079441474 28797 80.91.224.253 (16 Mar 2004 12:51:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 16 Mar 2004 12:51:14 +0000 (UTC) Cc: acm@muc.de, emacs-devel@gnu.org, alex@emacswiki.org Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue Mar 16 13:51:07 2004 Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3E2F-0002iE-00 for ; Tue, 16 Mar 2004 13:51:07 +0100 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1B3E2E-0003CG-00 for ; Tue, 16 Mar 2004 13:51:06 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3E1Q-0003Ar-7Q for emacs-devel@quimby.gnus.org; Tue, 16 Mar 2004 07:50:16 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1B3Diy-0000iP-LQ for emacs-devel@gnu.org; Tue, 16 Mar 2004 07:31:12 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1B3DVL-0007OI-2I for emacs-devel@gnu.org; Tue, 16 Mar 2004 07:17:38 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1B3DRQ-0006wf-0w for emacs-devel@gnu.org; Tue, 16 Mar 2004 07:13:04 -0500 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.24) id 1B3DNt-0005Ee-2K; Tue, 16 Mar 2004 07:09:25 -0500 Original-To: Stefan Monnier In-reply-to: (message from Stefan Monnier on 14 Mar 2004 16:55:26 -0500) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:20530 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:20530 Maybe another generic solution would be a prefix arg which causes a subsequent `get-buffer-create' (or somesuch) to not find the buffer it's looking for. I.e. after M-x magic-prefix RET calling (get-buffer-create "*shell*") would look for *shell* and if it exists, it would rename it uniquely, and then create a new *shell*. Command interfaces of this sort tend to be fragile. You do some work to enter the prefix that will modify the real command. Then if you find you need to do something else before typing the real command, or you make a mistake typing the real command, the work of the prefix has to be redone. For instance, I find the C-x RET c is troublesome in this way. It would be good to think of a less fragile interface for this.