Article View: gnu.emacs.bug
Article #99948rmail - I would suggest the following feature which I use.
From: linus
Date: Tue, 10 Apr 1990 15:51
Date: Tue, 10 Apr 1990 15:51
31 lines
1595 bytes
1595 bytes
I use rmail on files in a directory that contains different topics.
When I have decidet to forget all about a topic I delete the different
letters but the file 169 bytes still remains.
Here is a fix. The backup file is still undeisturbed and can be used to
get the old mail.
Maybe others could get benefit from this fix.
The rmail-expunge-and-save definition is a replacement of the one existing.
(defvar rmail-delete-empty-rmail-file nil
"*Non-nil means delete RMAIL file instead of saving it without messages.")
(defun rmail-expunge-and-save ()
"Expunge and save RMAIL file."
(interactive)
(rmail-expunge)
(save-buffer)
(if (and rmail-delete-empty-rmail-file
(= rmail-total-messages 0))
(progn
(delete-file (buffer-file-name))
(kill-buffer (buffer-name)))))
Another thing i find comfortable is:
(define-key rmail-mode-map "b" 'scroll-down)
But this is more of my personal taste involved so you better skip that one.
Technical Details
Message-ID:
<9004101551.AA24443@lave.lysator.liu.se>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!elinor.lysator.liu.se!linusShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fb2f1,7fcc57c7ad0a531f,start X-Google-Attributes: gidfb2f1,public X-Google-ArrivalTime: 1990-04-10 12:02:41 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!tut.cis.ohio-state.edu!elinor.lysator.liu.se!linus From: linus@elinor.lysator.liu.se Newsgroups: gnu.emacs.bug Subject: rmail - I would suggest the following feature which I use. Message-ID: <9004101551.AA24443@lave.lysator.liu.se> Date: 10 Apr 90 15:51:38 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 31 Posted: Tue Apr 10 16:51:38 1990