From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/69299 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.gnus.general,gmane.emacs.pretest.bugs Subject: Re: bug#5175: 23.1.50; mark deactivated without running deactivate-mark-hook when replying with Gnus Date: Sat, 02 Jan 2010 10:38:12 +0900 Message-ID: References: <87aaxqdf9z.fsf@thinkpad.tsdh.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262396409 2508 80.91.229.12 (2 Jan 2010 01:40:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2010 01:40:09 +0000 (UTC) Cc: ding@gnus.org, Tassilo Horn , 5175@emacsbugs.donarmstrong.com, emacs-pretest-bug@gnu.org To: Chong Yidong Original-X-From: ding-owner+M17704@lists.math.uh.edu Sat Jan 02 02:40:01 2010 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1NQsyH-0004MF-IL for ding-account@gmane.org; Sat, 02 Jan 2010 02:40:01 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1NQsxO-0001eD-JQ; Fri, 01 Jan 2010 19:39:06 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1NQsxL-0001dr-I2 for ding@lists.math.uh.edu; Fri, 01 Jan 2010 19:39:03 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1NQsxK-0001VL-95 for ding@lists.math.uh.edu; Fri, 01 Jan 2010 19:39:03 -0600 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1NQsxB-0001g0-00 for ; Sat, 02 Jan 2010 02:38:53 +0100 Original-Received: from softbank218118002009.bbtec.net ([218.118.2.9]:45108 helo=) by washington.hostforweb.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.69) (envelope-from ) id 1NQswW-0001Ri-NF; Fri, 01 Jan 2010 19:38:12 -0600 X-Face: #kKnN,xUnmKia.'[pp`;Omh}odZK)?7wQSl"4o04=EixTF+V[""w~iNbM9ZL+.b*_CxUmFk B#Fu[*?MZZH@IkN:!"\w%I_zt>[$nm7nQosZ<3eu;B:$Q_:p!',P.c0-_Cy[dz4oIpw0ESA^D*1Lw= L&i*6&( User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.1.91 (gnu/linux) Cancel-Lock: sha1:cA3ubxVsGVgCzV7mbf0B32vr3M0= X-Antivirus-Scanner: Clean mail though you should still use an Antivirus X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - washington.hostforweb.net X-AntiAbuse: Original Domain - gnus.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - jpl.org X-Source: X-Source-Args: X-Source-Dir: X-Spam-Score: -0.2 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:69299 gmane.emacs.pretest.bugs:25354 Archived-At: >>>>> In <87aaxqdf9z.fsf@thinkpad.tsdh.de> >>>>> Tassilo Horn wrote: > I use this code, to have a 'bar cursor type when the mark is active. > (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) > 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. > So it seems that it's somehow possible to deactivate the mark without > running deactivate-mark-hook, and I think that shouldn't be so. >>>>> In Bzr-99227 Chong Yidong wrote: > 2010-01-01 Chong Yidong > * message.el (message-exchange-point-and-mark): Call > exchange-point-and-mark with an argument rather than setting > mark-active by hand (Bug#5175). 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'?