[Top][All Lists]

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

save-excursion and the mark

From: Lars Magne Ingebrigtsen
Subject: save-excursion and the mark
Date: Fri, 17 Apr 2015 20:53:45 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux)

Code that previously relied on `save-excursion' restoring the mark no
longer works, and that's fine.  But could we have a new form like
`save-mark' (or something) that we could just slap around forms that
previously relied on this form behaving the old way?

I was just bitten by this by the async hashcash code moving the mark
around and me kill/yanking the wrong bits of the text.

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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