[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: |
Reiner Steib |
Subject: |
Re: How to pipe text or load a file directly into mail-mode? |
Date: |
Fri, 05 May 2006 13:17:25 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) |
On Thu, May 04 2006, Giorgos Keramidas wrote:
> | (defun slrn-setup-post (&optional filename)
> | "Load a file and set things up for posting it as a `mail'
> | message through Emacs."
> | (interactive)
> | (if filename
> | (insert-filename))
> | (beginning-of-buffer)
> | (insert-string "From: foo@bar.example.net\n\n")
> | (mail-mode))
I'd suggest to set the buffer in mail mode first and then use the
predefined functions like `mail-insert-from-field', `mail-to', ...
Bye, Reiner.
--
,,,
(o o)
---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/
- 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?, 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 <=
- 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
- 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