emacs-devel
[Top][All Lists]
Advanced

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

Re: `move-end-of-line' in `rectangular region': `goto-longest-line'


From: Garreau\, Alexandre
Subject: Re: `move-end-of-line' in `rectangular region': `goto-longest-line'
Date: Tue, 30 Oct 2018 11:24:11 +0100
User-agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu, GTK+ Version 3.22.11) of 2017-09-15, modified by Debian

Le 30/10/2018 à 09h37, Eli Zaretskii a écrit :
>> From: "Garreau\, Alexandre" <address@hidden>
>> Date: Tue, 30 Oct 2018 06:16:11 +0100
>> 
>> On 2018-10-30 at 06:07, Garreau, Alexandre wrote:
>> > Try copying that (without “> ” prefixes) with rectangular selection:
>> >> a
>> >> aaa
>> >> aaaaaaaaaaaaaaaaaaaaaaa
>> >> aaa
>> >> a
>> 
>> (This is a followup because initially I wanted to talk about this in my
>> other mail, and subject are near.)
>> 
>> Something I wished existed out of the box with rectangular-selection, is
>> C-e (`move-end-of-line') going not at the end of the current line, but
>> at “max pos” horizontally, that is, on the current line, n chars away
>> where n is the number of chars of the longest line in (I guess,
>> non-rectangular) region.  As C-e is often used, I wished its first call
>> went at the end-of-line, and only a second times it will go at a such
>> position.
>
> cua-rect can do that.

How?  And what about without cua-mode (btw cua-rect isn’t autoloading,
requires loading cua-rect/mode first)?



reply via email to

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