home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!noc.near.net!chaos!splinter.coe.northeastern.edu
- From: ratinox@splinter.coe.northeastern.edu (Richard Pieri/Stainless Steel Rat)
- Newsgroups: gnu.emacs,comp.emacs
- Subject: dired rmail
- Message-ID: <RATINOX.92Sep7152305@splinter.coe.northeastern.edu>
- Date: 7 Sep 92 19:23:05 GMT
- Sender: usenet@chaos.DAC.Northeastern.edu
- Reply-To: ratinox@meceng.coe.northeastern.edu
- Followup-To: gnu.emacs
- Organization: 3WA, Boston Office. Or Nu Meta Chi. Take your pick.
- Lines: 24
- X-Get-A-Clue: Have two, they're small.
- X-Signature-Virus-Protection: Version 1.51
- X-Posting-Software: GNUS 3.14.1 [ NNTP-based News Reader for GNU Emacs ]
-
- A while back, someone asked about being able to run Rmail on a file in a
- dired mode buffer. So I was hacking around and figured it couldn't be that
- difficult to do, so...
-
- (defun dired-rmail ()
- "Run Rmail on this file."
- (interactive)
- (rmail-input (dired-get-filename)))
-
- It can be bound to "R" inside dired-mode hook with
-
- (setq dired-mode-hook
- (local-set-key "R" 'dired-rmail))
-
- --Rat
-
- ||||| | | | | | | | | | | | | | | | | | | | | | | |||||
- __ ___
- Richard Pieri, Northeastern's Stainless Steel Rat/ | /| / / | The Worlds
- Internet: ratinox@meceng.coe.northeastern.edu /__ |/ |/ / /| | Welfare Works
- UUCP: ...!northeastern.edu!meceng!ratinox / | /| / / / | | Association:
- BITNET: UA_RLP@NUHUB{.BITNET} /__ |/ |/ / / | | I will solve
- USNail: 14 Westdale RD Holbrook, MA 02343 / | /| / / /___| | any problem
- ICBMnet: 42 deg 1 min N, 71 deg 0 min W / |/ |/ /_//_____| for you.
-