[Top][All Lists]

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

Re: two more emacs questions

From: Dieter Wilhelm
Subject: Re: two more emacs questions
Date: Sat, 18 Nov 2006 09:20:11 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

"Vadim Bendebury" <address@hidden> writes:

> Say I want to search for other occurences of a word which the cursor
> is ot. I hit C-s C-w C-s and off it goes. The problem is when the word
> includes underscores - each C-w moves the mark to the next underscore,
> nit to the end ofthe word. Is there a way to configure emacs such that
> underscore is considered part of the word?
> 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?

> 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 via email to

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