Gnus development mailing list
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: ding@gnus.org
Subject: Re: How to disable the button "wrote:"?
Date: Tue, 11 Oct 2011 18:50:34 +0900	[thread overview]
Message-ID: <b4mr52j6emt.fsf@jpl.org> (raw)
In-Reply-To: <87ty7g2bfv.fsf@gmail.com>

XeCycle wrote:
> Hello, I don't want to stop at this button when hitting TAB.  This
> button is usually the first line of quoted text, like "On xx/xx/xxxx,
> someone wrote:".

You can cusotmize the `gnus-cite-attribution-suffix' variable,
see: (info "(gnus)Article Highlighting")
Making the mouse-2 void on the wrote: button may not be your taste,
though.  Otherwise:

(defvar my-widget-move-direction nil)

(add-hook 'widget-forward-hook
	  (lambda nil
	    (setq my-widget-move-direction 1)))

(add-hook 'widget-backward-hook
	  (lambda nil
	    (setq my-widget-move-direction -1)))

(add-hook 'widget-move-hook
	  (lambda nil
	    (if (and (boundp 'gnus-cite-attribution-suffix)
		     (looking-at gnus-cite-attribution-suffix)
		     my-widget-move-direction)
		(widget-move my-widget-move-direction))))



      reply	other threads:[~2011-10-11  9:50 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-11  8:13 XeCycle
2011-10-11  9:50 ` Katsumi Yamaoka [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=b4mr52j6emt.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --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).