unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Bastien <bastienguerry@googlemail.com>
To: emacs-devel@gnu.org
Subject: Re: `C-x r t' to ignore last line if empty
Date: Sat, 14 Mar 2009 23:13:48 +0100	[thread overview]
Message-ID: <87ab7nwy5f.fsf@altern.org> (raw)
In-Reply-To: <xbaik56rrgbr.fsf@cam.ac.uk> (Leo's message of "Sat, 14 Mar 2009 20:37:44 +0000")

Leo <sdl.web@gmail.com> writes:

> On 2009-03-14 20:06 +0000, Bastien wrote:
>> When using the command `string-rectangle', I think it makes sense 
>> to ignore the last line if the cursor is at the beginning of an empty
>> line.
>>
>> Opinions?
>
> It seems this will introduce some unnecessary complexity. The current
> behaviour is intuitive at least.

I don't find it intuitive.

I find Org's behavior for `C-c :' more intuitive

For example:
                              
A-----------------------------+
|                             |
+-----------------------------+
B

Imagine the rectangle above is selected/highlighted.

In Org, C-c : will insert ":" in front of the highlighted rectangle,
considering that the line starting with B is not part of the rectangle.

In other Emacs mode, `C-x r t : RET' will insert ":" in front of the
highlighted rectangle *and* of the line where point B is.  

I find this confusing.  

-- 
 Bastien




  reply	other threads:[~2009-03-14 22:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 20:06 `C-x r t' to ignore last line if empty Bastien
2009-03-14 20:37 ` Leo
2009-03-14 22:13   ` Bastien [this message]
2009-03-15  2:05     ` Stefan Monnier

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ab7nwy5f.fsf@altern.org \
    --to=bastienguerry@googlemail.com \
    --cc=emacs-devel@gnu.org \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).