emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `C-x r t' to ignore last line if empty


From: Bastien
Subject: Re: `C-x r t' to ignore last line if empty
Date: Sat, 14 Mar 2009 23:13:48 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.91 (gnu/linux)

Leo <address@hidden> 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 via email to

[Prev in Thread] Current Thread [Next in Thread]