[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: |
Thu, 4 May 2006 20:27:36 +0100 |
User-agent: |
slrn/0.9.8.1pl1 (Debian) |
On 2006-05-04, Paul Lalli <mritty@gmail.com> wrote:
> Adam Funk wrote:
>
>> my $status = system('emacs', '-nw', $temp_file, '-f mail-mode');
>>
>> Emacs produces this error:
>>
>> standard input is not a tty
>
> I have no idea what that error message means as far as emacs is
> concerned, but your Perl system() command is wrong. That command is
> calling the executable "emacs" with three arguments: '-nw',
> $temp_file, and '-f mail-mode'. That last one is the problem. This is
> no different than if you had called emacs on the command line,
> surrounding '-f mail-mode' in quotes. You need -f and mail-mode to be
> two separate arguments, not one argument:
>
> my $status = system('emacs', '-nw', $temp_file, '-f', 'mail-mode');
Yes, that was a stupid typing & editing mistake. Thanks for pointing
it out.
- How to pipe text or load a file directly into mail-mode?, Adam Funk, 2006/05/03
- 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, 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, 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