From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/60384 Path: news.gmane.org!not-for-mail From: Matthieu Moy Newsgroups: gmane.emacs.gnus.general Subject: Re: [PATCH] bugfix: always reply to 1 article only with "F" Date: Tue, 31 May 2005 13:09:35 +0200 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1117537924 9802 80.91.229.2 (31 May 2005 11:12:04 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 May 2005 11:12:04 +0000 (UTC) Cc: ding Original-X-From: ding-owner+M8911@lists.math.uh.edu Tue May 31 13:12:02 2005 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dd4er-0006mv-Mp for ding-account@gmane.org; Tue, 31 May 2005 13:11:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu ident=lists) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 1Dd4dz-00020K-00; Tue, 31 May 2005 06:10:47 -0500 Original-Received: from util2.math.uh.edu ([129.7.128.23]) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 1Dd4ds-00020E-00 for ding@lists.math.uh.edu; Tue, 31 May 2005 06:10:40 -0500 Original-Received: from quimby.gnus.org ([80.91.224.244]) by util2.math.uh.edu with esmtp (Exim 4.30) id 1Dd4dr-00041y-Hr for ding@lists.math.uh.edu; Tue, 31 May 2005 06:10:39 -0500 Original-Received: from imag.imag.fr ([129.88.30.1]) by quimby.gnus.org with esmtp (Exim 3.35 #1 (Debian)) id 1Dd4dd-0004ZW-00 for ; Tue, 31 May 2005 13:10:25 +0200 Original-Received: from mail-veri.imag.fr (mail-veri.imag.fr [129.88.43.52]) by imag.imag.fr (8.13.0/8.13.0) with ESMTP id j4VB9pSj024166 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Tue, 31 May 2005 13:09:52 +0200 (CEST) Original-Received: from ecrins.imag.fr ([129.88.43.124]) by mail-veri.imag.fr with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 3.35 #1) id 1Dd4d5-0004zD-00; Tue, 31 May 2005 13:09:51 +0200 Original-Received: from moy by ecrins.imag.fr with local (Exim 4.50) id 1Dd4cx-0005VK-DC; Tue, 31 May 2005 13:09:43 +0200 Original-To: Katsumi Yamaoka In-Reply-To: (Katsumi Yamaoka's message of "Tue, 31 May 2005 18:56:32 +0900") User-Agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.4 (gnu/linux) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-1.6 (imag.imag.fr [129.88.30.1]); Tue, 31 May 2005 13:09:52 +0200 (CEST) X-IMAG-MailScanner: Found to be clean X-IMAG-MailScanner-Information: Please contact the ISP for more information X-Spam-Score: -4.9 (----) Precedence: bulk Original-Sender: ding-owner@lists.math.uh.edu Xref: news.gmane.org gmane.emacs.gnus.general:60384 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:60384 Katsumi Yamaoka writes: > Wasn't the region active in the summary buffer then? An easy > way to check whether the region is active is to set the > transient-mark-mode variable to t. Woops. My mistake: I don't like transient-mark-mode, but I like being able to cite only part of a message by selecting it with mouse and pressing `F'. OGnus did the right thing for me, but with No Gnus, the only way to do this I could find was to redefine `gnus-region-active-p' to (defun gnus-region-active-p () (and (boundp 'mark-active) mark-active)) I didn't think this could have this unpleasant side effect ... I'm now using the following workaround for those transient-mark-mode "problems" (I mean, this gives me the behavior I like): (defadvice mouse-drag-region (before moy-activate-transient activate) (transient-mark-mode 1)) (defadvice keyboard-quit (before moy-deactivate-transient activate) (transient-mark-mode -1)) So, transient-mark-mode is activated on mouse drag, and desactivated on C-g. -- Matthieu