[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: is this possible using the new rectangle mark mode?
From: |
Stefan Monnier |
Subject: |
Re: is this possible using the new rectangle mark mode? |
Date: |
Fri, 31 Jan 2014 10:28:08 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) |
> kill a rectangle marked region ending with a line that is not the
> longest line like:
> aaaaaaaaaaaaaaaaaaaaa
> bbbbbbbbbbbbbbbb
> ccccccccc
The "new rectangle-mark-mode" just provides a different UI to the
same old rectangle commands available since forever. So yes for the
above: put point before the first "c" then C-x SPC then move cursor to
after the last "a" and finally C-w.
> and yank it to these lines:
> 1
> 2
> 3
Yup: put point before "1" and hit C-y.
> and I want it to be either this:
> aaaaaaaaaaaaaaaaaaaaa1
> bbbbbbbbbbbbbbbb2
> ccccccccc3
No, this is not a rectangle.
> or this one:
> aaaaaaaaaaaaaaaaaaaaa1
> bbbbbbbbbbbbbbbb 2
> ccccccccc 3
Yes, that's the one you should get.
And yes, the first question's answer would have been "no" if the longest
line was the "bbb" one.
Stefan