[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Insert character pairs
From: |
Kevin Rodgers |
Subject: |
Re: Insert character pairs |
Date: |
Tue, 04 May 2004 12:30:35 -0600 |
User-agent: |
Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 |
Juri Linkov wrote:
> Kevin Rodgers <address@hidden> 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
- Re: Insert character pairs, (continued)
- Re: Insert character pairs, Juri Linkov, 2004/05/02
- Re: Insert character pairs, Richard Stallman, 2004/05/03
- Re: Insert character pairs, Johan Bockgård, 2004/05/04
- Re: Insert character pairs, Juri Linkov, 2004/05/04
- Re: Insert character pairs, Richard Stallman, 2004/05/05
- Re: Insert character pairs, Juri Linkov, 2004/05/06
- Re: Insert character pairs, Stefan Monnier, 2004/05/06
- Re: Insert character pairs, Juri Linkov, 2004/05/08
Re: Insert character pairs, Kevin Rodgers, 2004/05/03
Re: Insert character pairs, Stefan Monnier, 2004/05/01