Gnus development mailing list
 help / color / mirror / Atom feed
* How to disable the button "wrote:"?
@ 2011-10-11  8:13 XeCycle
  2011-10-11  9:50 ` Katsumi Yamaoka
  0 siblings, 1 reply; 2+ messages in thread
From: XeCycle @ 2011-10-11  8:13 UTC (permalink / raw)
  To: ding

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

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:".

-- 
Carl Lei (XeCycle)
Department of Physics, Shanghai Jiao Tong University
OpenPGP public key: 7795E591
Fingerprint: 1FB6 7F1F D45D F681 C845 27F7 8D71 8EC4 7795 E591

[-- Attachment #2: Type: application/pgp-signature, Size: 489 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: How to disable the button "wrote:"?
  2011-10-11  8:13 How to disable the button "wrote:"? XeCycle
@ 2011-10-11  9:50 ` Katsumi Yamaoka
  0 siblings, 0 replies; 2+ messages in thread
From: Katsumi Yamaoka @ 2011-10-11  9:50 UTC (permalink / raw)
  To: ding

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))))



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-11  9:50 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-11  8:13 How to disable the button "wrote:"? XeCycle
2011-10-11  9:50 ` Katsumi Yamaoka

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).