[mew-int 00957] Re: to empty a folder like +trash with `D' (was: few upgrade questions)

George Kahler george at example.com
Wed Jul 3 04:14:36 JST 2002


Excellent! This is exactly what I wanted.
It would be nice if this feature was available in Mew for ANY folder.

Thanks,
George

On Tue, 02 Jul 2002 21:12:09 +0900 (JST), Tatsuya Kinoshita <tats at example.com> wrote:
> In message [mew-int 00952], on Sun, 30 Jun 2002,
> George Kahler <george at example.com> wrote:
> 
> > o Is there a way to empty an entire folder like +trash with the 'D' ?
> >   I have a +junkmail folder used by junkfileter filtering SPAM that
> >   I would like to completely empty from time-to-time.
> 
> Put this in your ~/.mew.el:
> 
> ---- 
> (define-key mew-summary-mode-map "\C-cD" 'my-mew-summary-clean-junkmail)
> (defun my-mew-summary-clean-junkmail ()
>   (interactive)
>   (let ((mew-trash-folder "+junkmail"))
>     (mew-summary-clean-trash)))
> ---- 
> 
> `C-c D' uses "+junkmail" instead of "+trash".
> 
> -- 
> Tatsuya Kinoshita
> 



More information about the Mew-int mailing list