From: Reiner Steib <reinersteib+from-uce@imap.cc>
Subject: Re: How to pipe text or load a file directly into mail-mode?
Date: Fri, 05 May 2006 13:17:25 +0200 [thread overview]
Message-ID: <v9mzdwzpoa.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: 86slnpbjn0.fsf@gothmog.pc
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/
next prev parent reply other threads:[~2006-05-05 11:17 UTC|newest]
Thread overview: 28+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-03 11:29 How to pipe text or load a file directly into mail-mode? Adam Funk
2006-05-03 14:26 ` Giorgos Keramidas
2006-05-03 15:05 ` Adam Funk
2006-05-03 18:16 ` Giorgos Keramidas
2006-05-03 19:05 ` Adam Funk
2006-05-03 20:35 ` Ralf Fassel
2006-05-04 4:24 ` Giorgos Keramidas
2006-05-04 10:49 ` Adam Funk
2006-05-04 13:16 ` Peter Dyballa
2006-05-04 16:43 ` Ralf Fassel
2006-05-04 19:46 ` Adam Funk
2006-05-04 20:49 ` Giorgos Keramidas
2006-05-05 8:36 ` Adam Funk
2006-05-05 14:26 ` Giorgos Keramidas
2006-05-05 11:17 ` Reiner Steib [this message]
2006-05-05 13:54 ` Adam Funk
2006-05-05 12:13 ` Ralf Fassel
2006-05-04 17:13 ` Paul Lalli
2006-05-04 19:27 ` Adam Funk
2006-05-05 21:39 ` John Sullivan
2006-05-09 11:00 ` Adam Funk
2006-05-09 11:48 ` Ralf Fassel
2006-05-09 12:15 ` Adam Funk
2006-05-09 14:16 ` Adam Funk
2006-05-09 14:30 ` Ralf Fassel
2006-05-10 8:23 ` Adam Funk
2006-05-10 12:11 ` Ralf Fassel
2006-05-10 12:22 ` Adam Funk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=v9mzdwzpoa.fsf@marauder.physik.uni-ulm.de \
--to=reinersteib+from-uce@imap.cc \
--cc=Reiner.Steib@gmx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).