Didier Verna <verna(a)inf.enst.fr> writes:
What's the reason for [beginning|end]-of-buffer using
`(push-mark)'
?
All the motion commands that take you "far" push the mark, so you can
press `C-x C-x' to return where you've been, or to kill the region
when it is activated.
I find this very annoying in most of the cases (M-C-[<|>])
because
it breaks the expected behavior when the mark is already active: if
you type C-SPACE at the beginning of a line, and move around with
the arrows, C-n, C-p or whatever. The mark stays at the same
position, which is good IMO. Now if you use C-> or C-< this fucks up
your previous mark.
Huh?? You mean M-< and M->? C-< and C-> are commands explicitly used
for changing the mark, and they work well.
I'd like this behavior to go away unless there's a very good
reason
(that I missed) to have it.
Well... {beginning,end}-of-buffer could check if the region was
already active, and not push the mark in that case, but I'd like to
make damn sure that we don't break anything by that change. M-< and
M-> have pushed the mark for ages.
--
Hrvoje Niksic <hniksic(a)srce.hr> | Student at FER Zagreb, Croatia
--------------------------------+--------------------------------
- When I die, shall I not be like Enkidu?
- Like, no, man, you'll be, like, totally dead.