help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: two more emacs questions


From: Eli Zaretskii
Subject: Re: two more emacs questions
Date: Sat, 18 Nov 2006 12:02:35 +0200

> From: "Vadim Bendebury" <vb@vsbe.com>
> Date: Fri, 17 Nov 2006 11:05:50 -0800
> 
> Another emacs annoyance (at least for us, unfortunate users of other, less 
> priviledged editors ;-)) is its handling of undo. It does not consider 
> highligting of the part of the file (like setting marks around a block of 
> code) a separate operation. Say I highlighted a 10 line block, cut it, moved 
> the cursor to another place in the file and pasted the block there. Then I 
> wanted to actually decrease the amount of moved code. I hit undo a few 
> times, it does put the code back where it came from, but it skips the 
> highlighting step, so at this time, if I wanted to move a 9 line block 
> instead of 10 - I need to highlight the entire block again instead of just 
> shrinking the highlighted area by a line. Is there a way to make it consider 
> highligting a part of the command sequence and folow it in the undo path?

Doesn't "C-x C-x" re-highlight the block again?




reply via email to

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