From: Matthieu Moy <Matthieu.Moy@imag.fr>
Cc: ding <ding@gnus.org>
Subject: Re: [PATCH] bugfix: always reply to 1 article only with "F"
Date: Tue, 31 May 2005 13:09:35 +0200 [thread overview]
Message-ID: <vpqy89v649c.fsf@ecrins.imag.fr> (raw)
In-Reply-To: <b9yis0z90rz.fsf@jpl.org> (Katsumi Yamaoka's message of "Tue, 31 May 2005 18:56:32 +0900")
Katsumi Yamaoka <yamaoka@jpl.org> 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
prev parent reply other threads:[~2005-05-31 11:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-05-31 9:01 Matthieu Moy
2005-05-31 9:56 ` Katsumi Yamaoka
2005-05-31 11:09 ` Matthieu Moy [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=vpqy89v649c.fsf@ecrins.imag.fr \
--to=matthieu.moy@imag.fr \
--cc=ding@gnus.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).