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: Tassilo Horn
Subject: Re: linking "article washing" script to menu and keyboard shortcut
Date: Thu, 28 Aug 2008 14:56:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Andrzej Adam Filip <anfi@onet.eu> writes:

Hi Andrzej,

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

Bye,
Tassilo
-- 
If programmers deserve to  be rewarded for creating innovative programs,
by the same  token they deserve to be punished if  they restrict the use
of these programs. (Richard M. Stallman)





reply via email to

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