[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: |
Tue, 9 May 2006 12:00:14 +0100 |
User-agent: |
slrn/0.9.8.1pl1 (Debian) |
I now have most of this working the way I want, except for launching
emacs in mail-mode. The Perl program saves its data in a file named
$edit_file (which ends with the suffix ".mail") and calls
$status = system('emacs', '-nw', $edit_file, '-f', ' mail-mode');
which is equivalent to
emacs -nw $FILENAME -f mail-mode
on the command-line.
This launches Emacs with the correct file open, but it says "Mail
(Fundamental)" on the status line and "Symbol's function definition is
void: \ mail-mode" in the minibuffer.
If I then hit M-x mail-mode, it then says "Mail (Mail MC-w Fill)" on
the status line and "Loading sendmail...done" in the minibuffer, and
everything works correctly.
What else do I need to do to get mail-mode to come up initially?
- 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?, Adam Funk, 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 <=
- 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