On Oct 06, 2011, at 10:12 PM, Lars Magne Ingebrigtsen wrote:
>Andreas Röhler <andreas.roehler@online.de> writes:
>
>> for me transient-mark-mode in connection with a mark set is enough.
>
>Oh, are we having this discussion again?
>
>I, like (I'm assuming) all other oldey-timey Emacs users :-), disabled
>`transient-mark-mode' the first chance I got. And the reason for that
>is that `C-x C-x' activates the region, which makes it impossible to use
>that command to jump around in buffers. Which I do constantly.
>
>If that rather odd overloading of the `C-x C-x' command went away, I
>might start using `transient-mark-mode'.
barry:
[...]
One quick note about C-x C-x and C-space. For several decades now I've used Ken Manheimer's most awesome namedmarks code[1]. With no C-u, these work just like their default cousins (I think, it's been a long time), but with an argument, they allow you to name locations in the buffer. E.g.
C-u C-space
-> Set named mark:
here RET
(move somewhere far away)
C-u C-x C-x
-> Goto mark named (default here)
RET
jumps you back to the mark named 'here'. Of course, you can have any number of named marks, and both prompts support completion. It's a testament to its elegant simplicity that I don't think this code has been touched in 20 years and still works beautifully. It's a great addition to the core UI, IMO. Notably, going to a named mark does *not* activate the region, which I think makes perfect sense given that I'm often jumping around over several screen fulls. I don't think I could function without namedmarks.
-Barry
[1] My local copy is (C) 1991 FSF, which looks pretty close to
http://wiki.zope.org/klm/namedmarks.el