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

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

Re: move/copy article with only one key


From: Peter Gjefle
Subject: Re: move/copy article with only one key
Date: 06 May 2004 10:19:23 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3


perfect! i enclose my working code below. thanks!
 .peter


------------------------------------------------------------------
;; wanting "i" to copy good memories to .copy
(defun my-copy-article-to-copy (n)
  (interactive "P")
  (gnus-summary-copy-article n "INBOX.copy"))
(define-key gnus-summary-mode-map "i" 'my-copy-article-to-copy)

;; thanks to:
;; (2004) Magnus Henoch <mange*freemail.hu>
;; (2004) David Z Maze <dmaze*mit.edu>
;; (2001) Per Bothner (per*bothner.com)
;; (2001) Paul Jarc (prj*po.cwru.edu)

;; deleting with a single key
(defun my-move-article-to-temp (n)
  (interactive "P")
  (gnus-summary-move-article n "INBOX.temp"))
(define-key gnus-summary-mode-map "E" 'my-move-article-to-temp)


reply via email to

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