Subject: Re: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus

From: Chong Yidong <[email-masked]>
Date: Fri, 01 Jan 2010 21:41:59 -0500

Katsumi Yamaoka <[email-masked]> writes:

> This incompatible change makes Gnus not work with old Emacsen, so
> I don't merge it to the Gnus trunk, i.e., No Gnus.  Any idea not
> to use the argument of `exchange-point-and-mark'?

An alternative is to avoid using exchange-point-and-mark entirely, like
this:

 (goto-char (prog1 (mark t)
               (set-marker (mark-marker) (point)
                           (current-buffer))))

(Please don't replay to emacsbugs.donarmstrong.com/debbugs.gnu.org AND
emacs-pretest-bug at the same time; sending to the latter creates a new
bug in our database.)