unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "vb" <vb@vsbe.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: two more emacs questions
Date: Sat, 18 Nov 2006 10:39:09 -0800	[thread overview]
Message-ID: <005201c70b40$d9d02da0$6b01a8c0@dimalaptop> (raw)
In-Reply-To: 87ejs1i2tg.fsf@hans.local.net

>>
>> Another emacs annoyance (at least for us, unfortunate users of other,
>> less priviledged editors ;-)) is its handling of undo. It does not
>
> May I ask which editor?
>

crisp (as in www.crisp.com) has been doing this for at least twelve years 
now...

cheers,
/vb

>> 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
>
> I can only offer a workaround (or a change of working habits):
>
> 0.) Paste the 10 lines: C-y or with middle mouse button.
> 1.) Kill the superfluous 10th line.
> 2.) Go back where you you killed the 10 lines C-u C-SPC C-u C-SPC
> 3.) Type C-y again
>
>> 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?
>> by a line. Is there a way to make it consider highligting a part of
>
> A good question, I hope others can answer it.
>
> -- 
>    Best wishes
>
>    H. Dieter Wilhelm
>    Darmstadt, Germany
> 

  reply	other threads:[~2006-11-18 18:39 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 [this message]
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
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='005201c70b40$d9d02da0$6b01a8c0@dimalaptop' \
    --to=vb@vsbe.com \
    --cc=help-gnu-emacs@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).