From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Katsumi Yamaoka Newsgroups: gmane.emacs.bugs Subject: 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> Reply-To: Katsumi Yamaoka , 5175@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1262400596 9000 80.91.229.12 (2 Jan 2010 02:49:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 2 Jan 2010 02:49:56 +0000 (UTC) Cc: emacs-pretest-bug@gnu.org, Tassilo Horn , 5175@emacsbugs.donarmstrong.com, ding@gnus.org To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 02 03:49:48 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NQu3n-0000IJ-Jr for geb-bug-gnu-emacs@m.gmane.org; Sat, 02 Jan 2010 03:49:47 +0100 Original-Received: from localhost ([127.0.0.1]:44662 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQu3o-0003Wp-3x for geb-bug-gnu-emacs@m.gmane.org; Fri, 01 Jan 2010 21:49:48 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NQu3j-0003Wa-K3 for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2010 21:49:43 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NQu3Z-0003Ux-0h for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2010 21:49:42 -0500 Original-Received: from [199.232.76.173] (port=40838 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NQu3Y-0003Ut-TX for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2010 21:49:32 -0500 Original-Received: from [140.186.70.43] (port=60701 helo=debbugs.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NQu3Y-0004Xp-Im for bug-gnu-emacs@gnu.org; Fri, 01 Jan 2010 21:49:32 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NQtwI-00045a-S0; Fri, 01 Jan 2010 21:42:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Katsumi Yamaoka , 5175@debbugs.gnu.org Resent-From: Katsumi Yamaoka Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 02 Jan 2010 02:42:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5175 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5175-submit@debbugs.gnu.org id=B5175.126240011815700 (code B ref 5175); Sat, 02 Jan 2010 02:42:02 +0000 Original-Received: (at 5175) by debbugs.gnu.org; 2 Jan 2010 02:41:58 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQtwD-000456-Uc for submit@debbugs.gnu.org; Fri, 01 Jan 2010 21:41:58 -0500 Original-Received: from washington.hostforweb.net ([66.225.201.13]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NQswk-0003bZ-4b for 5175@emacsbugs.donarmstrong.com; Fri, 01 Jan 2010 20:38:27 -0500 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 - emacsbugs.donarmstrong.com 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.6 (/) X-Mailman-Approved-At: Fri, 01 Jan 2010 21:41:40 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -0.4 (/) Resent-Date: Fri, 01 Jan 2010 21:42:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:33842 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'?