info-gnus-english
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: linking "article washing" script to menu and keyboard shortcut


From: Andrzej Adam Filip
Subject: Re: linking "article washing" script to menu and keyboard shortcut
Date: Sat, 30 Aug 2008 18:19:34 +0200

Tassilo Horn <tassilo@member.fsf.org> wrote:

> Andrzej Adam Filip <anfi@onet.eu> writes:
>> Could you recommend short "HOW TO" about linking specific external
>> article washing script to emacs/gnus menus?
>
> Something like this should work:
>
> --8<---------------cut here---------------start------------->8---
> (defun th-gnus-summary-pipe-message-through-foo ()
>   (interactive)
>   (gnus-summary-pipe-message "foo"))
>
> (define-key gnus-summary-mode-map (kbd "C-c p")
>             'th-gnus-summary-pipe-message-through-foo)
> --8<---------------cut here---------------end--------------->8---
>
> Simply replace foo with your script.

1) Thanks, it delivers the gnus/emacs hook 
   *exactly as originally requested* :-)
2) *Now*, I would like also to be able to filter/fix "Subject:" 
   header in the script :-)

-- 
[pl>en Andrew] Andrzej Adam Filip : anfi@onet.eu : anfi@xl.wp.pl
"Don't fear the pen. When in doubt, draw a pretty picture."
  -- Baker's Third Law of Design.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]