Article View: gnu.emacs.help
Article #189576Re: RMAIL from dired? Here it is.
From: Francois Pinard
Date: Sat, 29 Dec 1990 21:49
Date: Sat, 29 Dec 1990 21:49
21 lines
1534 bytes
1534 bytes
In article <SHAWN.90Dec13180502@litsun8.litsun.epfl.edu> shawn@litsun8.litsun.epfl.edu (Shawn Koppenhoefer) writes:
About a year ago I had my dired set up so that I could do an 'R' on
a file and it would run an RMAIL on that file. Is this hard to do?
Has someone done it? Can you/they email me how?
I use exactly the same, and find it quite useful. I would even
suggest it becomes a standard feature of dired. Here is a way of
doing it.
(setq dired-mode-hook
'(lambda ()
(define-key dired-mode-map "R" 'dired-rmail)))
(defun dired-rmail ()
"Start the rmail reader on current dired entry."
(interactive)
(rmail (dired-get-filename)))
--
Franc,ois Pinard ``Vivement GNU!'' pinard@iro.umontreal.ca
(514) 588-4656 cp 886 L'Epiphanie (Qc) J0K 1J0 ...!uunet!iros1!pinard
Technical Details
Message-ID:
<PINARD.90Dec29164925@kovic.IRO.UMontreal.CA>Path:
arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!IRO.UMontreal.CA!pinardReferences:
<SHAWN.90Dec13180502@litsun8.litsun.epfl.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103b8b,a2f9ea5bb040cf0 X-Google-Attributes: gid103b8b,public X-Google-ArrivalTime: 1990-12-29 13:57:20 PST Path: arc1-ca.pugleaf.net!gmdzi!unido!mcsun!uunet!clyde.concordia.ca!IRO.UMontreal.CA!pinard From: pinard@IRO.UMontreal.CA (Francois Pinard) Newsgroups: gnu.emacs.help Subject: Re: RMAIL from dired? Here it is. Message-ID: <PINARD.90Dec29164925@kovic.IRO.UMontreal.CA> Date: 29 Dec 90 21:49:25 GMT References: <SHAWN.90Dec13180502@litsun8.litsun.epfl.edu> Sender: news@IRO.UMontreal.CA Distribution: gnu Organization: Universite' de Montre'al Lines: 21 In-Reply-To: shawn@litsun8.litsun.epfl.edu's message of 13 Dec 90 17:05:02 GMT