[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to pipe text or load a file directly into mail-mode?
From: |
Adam Funk |
Subject: |
Re: How to pipe text or load a file directly into mail-mode? |
Date: |
Fri, 5 May 2006 14:54:06 +0100 |
User-agent: |
slrn/0.9.8.1pl1 (Debian) |
On 2006-05-04, Giorgos Keramidas <keramida@ceid.upatras.gr> wrote:
>> That external program I want to be a Perl script that puts some stuff
>> at the beginning of the article, prefaces it with my custom headers,
>> and then opens it in Emacs in mail-mode (so I can use my ~/.mailrc
>> aliases and all the other great stuff that Emacs does). Maybe I need
>> to store the article in a /tmp file then load it into the Perl
>> program, instead of piping it into the program's STDIN.
>
> You don't need Perl for that, I guess. It's fairly easy to write a
> function in Elisp that does all you need and call it at Emacs startup,
> i.e. a _very_ simplistic one could be:
This would require the input to be stored in a /tmp file (not being
piped in), right?
> No need for Perl if you have the full Elisp languaeg at your hands :)
There's not much elisp in my brain, however!
- Re: How to pipe text or load a file directly into mail-mode?, (continued)
- Re: How to pipe text or load a file directly into mail-mode?, Ralf Fassel, 2006/05/04
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/04
- Re: How to pipe text or load a file directly into mail-mode?, Giorgos Keramidas, 2006/05/04
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/05
- Re: How to pipe text or load a file directly into mail-mode?, Giorgos Keramidas, 2006/05/05
- Re: How to pipe text or load a file directly into mail-mode?, Reiner Steib, 2006/05/05
- Re: How to pipe text or load a file directly into mail-mode?,
Adam Funk <=
- Re: How to pipe text or load a file directly into mail-mode?, Ralf Fassel, 2006/05/05
- Re: How to pipe text or load a file directly into mail-mode?, John Sullivan, 2006/05/06
Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/09
- Re: How to pipe text or load a file directly into mail-mode?, Ralf Fassel, 2006/05/09
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/09
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/09
- Re: How to pipe text or load a file directly into mail-mode?, Ralf Fassel, 2006/05/09
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/10
- Re: How to pipe text or load a file directly into mail-mode?, Ralf Fassel, 2006/05/10
- Re: How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/10