GNU bug report logs - #5175
23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus

Previous Next

Package: emacs;

Reported by: Tassilo Horn <tassilo <at> member.fsf.org>

Date: Thu, 10 Dec 2009 15:30:25 UTC

Severity: normal

Done: Chong Yidong <cyd <at> stupidchicken.com>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 5175-done <at> debbugs.gnu.org (full text, mbox):

From: Chong Yidong <cyd <at> stupidchicken.com>
To: Tassilo Horn <tassilo <at> member.fsf.org>
Cc: 5175-done <at> debbugs.gnu.org
Subject: 23.1.50;
	mark deactivated without running deactivate-mark-hook when replying
	with Gnus
Date: Fri, 01 Jan 2010 15:43:29 -0500
> I use this code, to have a 'bar cursor type when the mark is active.
>
> --8<---------------cut here---------------start------------->8---
> (defun th-activate-mark-init ()
>   (setq cursor-type 'bar))
> (add-hook 'activate-mark-hook 'th-activate-mark-init)
>
> (defun th-deactivate-mark-init ()
>   (setq cursor-type 'box))
> (add-hook 'deactivate-mark-hook 'th-deactivate-mark-init)
> --8<---------------cut here---------------end--------------->8---
>
> This works very good, except when replying to a mail with Gnus using `R'
> in summary.  `R' first yanks the quoted contents of the email I want to
> reply to into the message buffer.  After that, I have a 'bar cursor but
> no active region.

The function message-exchange-point-and-mark in message.el was setting
mark-active by hand, incorrectly.  I've checked in a fix.  Thanks for
the bug report.




This bug report was last modified 15 years and 226 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.