From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.devel Subject: Re: Insert character pairs Date: Tue, 04 May 2004 12:30:35 -0600 Sender: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Message-ID: <4097E14B.3080908@yahoo.com> References: <87brlb1840.fsf@mail.jurta.org> <87smeka7aj.fsf@mail.jurta.org> <4096A229.4050301@yahoo.com> <87ekq0yc2z.fsf@mail.jurta.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1083695872 16534 80.91.224.253 (4 May 2004 18:37:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 4 May 2004 18:37:52 +0000 (UTC) Original-X-From: emacs-devel-bounces+emacs-devel=quimby.gnus.org@gnu.org Tue May 04 20:37:41 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 1BL4nV-0005Dj-00 for ; Tue, 04 May 2004 20:37:41 +0200 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1BL4nU-0007Io-00 for ; Tue, 04 May 2004 20:37:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL4mw-0008LK-2s for emacs-devel@quimby.gnus.org; Tue, 04 May 2004 14:37:06 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BL4hp-0004kN-8P for emacs-devel@gnu.org; Tue, 04 May 2004 14:31:49 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BL4hF-0004UE-RJ for emacs-devel@gnu.org; Tue, 04 May 2004 14:31:46 -0400 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BL4gk-0004Fg-TN for emacs-devel@gnu.org; Tue, 04 May 2004 14:30:43 -0400 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1BL4ge-0006Ah-00 for ; Tue, 04 May 2004 20:30:36 +0200 Original-Received: from 170.207.51.80 ([170.207.51.80]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2004 20:30:36 +0200 Original-Received: from ihs_4664 by 170.207.51.80 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 May 2004 20:30:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-To: emacs-devel@gnu.org Original-Lines: 30 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: 170.207.51.80 User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us 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:22729 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:22729 Juri Linkov wrote: > Kevin Rodgers writes: > >Juri Linkov wrote: > > > The command `promote-list' is basically opposite to `insert-parentheses', > > > so another possible name is `remove-parentheses', but it is misleading, > > > because it removes more than only enclosing parentheses. > > > > I don't find "delete" or "remove" misleading at all. > > "delete" or "remove" would not be misleading if they correctly > indicated what is removed, but the name may become too long, > e.g. "remove-parentheses-and-non-selected-text". Right. But remove- would be bad because no other commands use that prefix. I think delete- is better. How about delete-surrounding-sexps, delete-sibling-sexps, or just-one-sexp (in analogy to just-one-space)? > Perhaps `rise-up-sexp' is a better name. I think "raise [up]" is the correct English verb (because it is transitive, whereas "rise [up]" is intransitive). But the Emacs command should be named after its surface effect anyway, not its deep (structural) effect. Or are you proposing that insert-parentheses should be named demote-sexp? :-) -- Kevin Rodgers