unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
Subject: Re: two more emacs questions
Date: Sat, 18 Nov 2006 12:02:35 +0200	[thread overview]
Message-ID: <u64ddcbt0.fsf@gnu.org> (raw)
In-Reply-To: <009d01c70a7b$6731f190$6b01a8c0@dimalaptop> (vb@vsbe.com)

> 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?

  parent reply	other threads:[~2006-11-18 10:02 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-17 19:05 two more emacs questions Vadim Bendebury
2006-11-17 20:31 ` Perry Smith
2006-11-17 22:02   ` vb
2006-11-18  8:20 ` Dieter Wilhelm
2006-11-18 18:39   ` vb
2006-11-19  3:00     ` Dieter Wilhelm
2006-11-19  4:00       ` vb
2006-11-19 10:17         ` Dieter Wilhelm
2006-11-18 10:02 ` Eli Zaretskii [this message]
2006-11-18 18:41   ` vb
2006-11-18 19:45     ` Eli Zaretskii
2006-11-19  4:06       ` vb
2006-11-19  4:12         ` Eli Zaretskii
     [not found]       ` <mailman.828.1163922268.2155.help-gnu-emacs@gnu.org>
2006-11-22  9:37         ` Mathias Dahl

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=u64ddcbt0.fsf@gnu.org \
    --to=eliz@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.
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).