all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Lennart Borgman (gmail)" <lennart.borgman@gmail.com>
To: Drew Adams <drew.adams@oracle.com>
Cc: jiri.pejchal@gmail.com, 'Emacs Devel' <emacs-devel@gnu.org>
Subject: Re: Move selection up, down
Date: Wed, 20 Aug 2008 01:48:38 +0200	[thread overview]
Message-ID: <48AB5BD6.4060509@gmail.com> (raw)
In-Reply-To: <00b901c90254$ec15a640$0200a8c0@us.oracle.com>

Drew Adams wrote:
>>>>> What will you do with `transpose-word', for instance, when 
>>>>> there is an active region? I don't follow the suggestion.
>>>>> How about some examples?
>>>> Move the next or previous word (depending on which side of 
>>>> the region you are on) to the other side of the region.
>>>> Is not that a natural
>>>> extension?
>>> Dunno. I would expect it instead to swap the region and the 
>>> next or previous word, leaving the separator chars between
>>> them. `transpose-word' recognizes intervening non-word chars
>>> (any number), and swaps the words around them.
>> Isn't that the same thing?
> 
> It depends on what you meant. If that's what you meant, then it's the same
> thing. ;-) 
> 
> But just moving the next or previous word to the other side of the region is
> different from swapping their places around the separators.
> 
> region sep word
> 
> 1. word region sep 
> (word moved to other side of region)
> 
> 2. word sep region
> (word and region swapped around separator)
> 
> I thought perhaps you meant #1. I described #2.

I think #1 would not be consistent with word definitions etc.




  reply	other threads:[~2008-08-19 23:48 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 14:21 Move selection up, down jiri.pejchal
2008-08-19 21:27 ` harven
2008-08-19 22:43   ` Chat
2008-08-19 21:47 ` Lennart Borgman (gmail)
2008-08-19 22:31   ` Drew Adams
2008-08-19 22:58     ` Lennart Borgman (gmail)
2008-08-19 23:21       ` Drew Adams
2008-08-19 23:30         ` Lennart Borgman (gmail)
2008-08-19 23:40           ` Drew Adams
2008-08-19 23:48             ` Lennart Borgman (gmail) [this message]
2008-08-20  7:45           ` Jiri Pejchal
2008-08-20  8:15             ` martin rudalics
2008-08-20 23:11   ` Richard M. Stallman
2008-08-20  0:45 ` Andreas Politz
2008-09-11 17:04   ` Oleksandr Gavenko
2013-07-04 12:15   ` teemu.leisti
2014-12-12 19:14 ` jsglazer

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=48AB5BD6.4060509@gmail.com \
    --to=lennart.borgman@gmail.com \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=jiri.pejchal@gmail.com \
    /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.