[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: |
Giorgos Keramidas |
Subject: |
Re: How to pipe text or load a file directly into mail-mode? |
Date: |
Fri, 05 May 2006 17:26:13 +0300 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (berkeley-unix) |
On Fri, 5 May 2006 09:36:24 +0100, Adam Funk <a24061@yahoo.com> wrote:
> 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,
>
> ITYM "easy for someone who knows how to write Elisp"!
On Fri, 5 May 2006 14:54:06 +0100, Adam Funk <a24061@yahoo.com> wrote:
> This would require the input to be stored in a /tmp file (not being
> piped in), right?
Yes, this would make sense, I guess. It will probably be a lot easier
to write an Elisp function if you don't have to worry about how to slurp
in the file, I think.
>> No need for Perl if you have the full Elisp languaeg at your hands :)
>
> There's not much elisp in my brain, however!
Same here, but I'm always learning more :)
- 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/03
- 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?, 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 <=
- 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, 2006/05/05
- 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