Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
* Customizing keys, was Re: Moving the spam around
       [not found] ` <87y94r4vy4.fsf@antithese.de>
@ 2003-02-07 22:00   ` Michael Below
       [not found]     ` <m37kcav7bd.fsf@quimbies.gnus.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Below @ 2003-02-07 22:00 UTC (permalink / raw)


Yet another followup question:

I would like to map my anti-spam-function to B r. How do I do that?

I couldn't find the name of the variable, so I tried something like
gnus-mode-map or the like:

(define-key gnus-overview-mode-map "Br" 'mb-gnus-raze-spam)

But these variables are not known. What is the right way to do this?

Michael
-- 
"Die Landesregierung steht gerne als Dienstleister für Nokia voll zur
Verfügung." -- Ministerpräsident Peer Steinbrück bei der
10-Jahres-Feier der deutschen Nokia-Niederlassung.


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

* Re: Moving the spam around
       [not found] <87fzqzeqcn.fsf@antithese.de>
       [not found] ` <87y94r4vy4.fsf@antithese.de>
@ 2003-02-07 23:57 ` Oliver Enzmann
  1 sibling, 0 replies; 3+ messages in thread
From: Oliver Enzmann @ 2003-02-07 23:57 UTC (permalink / raw)


>>>>> Michael Below <mbelow@antithese.de> writes:

> Hi, I am trying to write a function to report spam to Razor & move it
> to my spam folder. The reporting part was relatively easy, I stole it
> from the documentation, but moving doesn't really work.

I use a different approach. I flag the message as spam by inserting the
appropriate X-Bogosity header. I then use gnus-summary-respool-article
to move the article to my Spam folder according to nnmail-split-methods.

Oliver
-- 
    Oliver Enzmann - Datagram ninja and protector of the holy session
DSS Key: 0x5B5158C6 - RSA Key: 0x3FD52195 - Lat 47°08.083N Long 7°14.350E
 "Time flies like an arrow. Fruit flies like a banana." - Lisa Grossman


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

* Re: Customizing keys, was Re: Moving the spam around
       [not found]     ` <m37kcav7bd.fsf@quimbies.gnus.org>
@ 2003-02-08 23:03       ` Michael Below
  0 siblings, 0 replies; 3+ messages in thread
From: Michael Below @ 2003-02-08 23:03 UTC (permalink / raw)


Lars Magne Ingebrigtsen <larsi@gnus.org> writes:

> (defun below-alter-keymap ()
>   (local-set-key "Br" 'mb-gnus-raze-spam))
>
> (add-hook 'gnus-summary-mode-hook 'below-alter-keymap)

Thank you!

Michael
-- 
"Die Landesregierung steht gerne als Dienstleister für Nokia voll zur
Verfügung." -- Ministerpräsident Peer Steinbrück bei der
10-Jahres-Feier der deutschen Nokia-Niederlassung.


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

end of thread, other threads:[~2003-02-08 23:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <87fzqzeqcn.fsf@antithese.de>
     [not found] ` <87y94r4vy4.fsf@antithese.de>
2003-02-07 22:00   ` Customizing keys, was Re: Moving the spam around Michael Below
     [not found]     ` <m37kcav7bd.fsf@quimbies.gnus.org>
2003-02-08 23:03       ` Michael Below
2003-02-07 23:57 ` Oliver Enzmann

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