I am using GNU Emacs 24.3.1 on Ubuntu 12.04. I have problem with understanding the push-mark
function. For instance, open an empty buffer, type some text, and executing (print mark-ring t)
gives nil
in the echo area. Then doing
(push-mark)
and again (print mark-ring t)
gives still nil
in the echo area. I thought that I would now see something in the mark-ring. Further, doing a new (push-mark)
at this point, and then (print mark-ring t)
shows that the previous mark is now inside the mark ring..
fundamental-mode
. Also, I'm usingeval-expression
instead ofprint
. – abo-aboM-x describe-mode
givestext-mode
with enabled minor modes:Auto-Composition Auto-Compression Auto-Encryption Auto-Fill Blink-Cursor File-Name-Shadow Font-Lock Global-Eclim Global-Font-Lock Iswitchb Line-Number Menu-Bar Mouse-Wheel Savehist Tool-Bar Tooltip Transient-Mark
– Håkon Hæglandemacs -q
and fundamental. It's likely that one of the minor modes does this. – abo-abo-q
option it still opens intext-mode
, so I have to change manually tofundamental-mode
– Håkon Hæglandfundamental-mode
I have the follwing enabled minor modes:Auto-Composition Auto-Compression Auto-Encryption Blink-Cursor File-Name-Shadow Font-Lock Global-Font-Lock Line-Number Menu-Bar Mouse-Wheel Tool-Bar Tooltip Transient-Mark
– Håkon Hægland