* command to insert a "--text follows this line--"
@ 2006-06-27 17:20 Dan Jacobson
2006-06-28 20:36 ` Kevin Rodgers
0 siblings, 1 reply; 2+ messages in thread
From: Dan Jacobson @ 2006-06-27 17:20 UTC (permalink / raw)
Cc: bugs
In sendmail.el, in addition to
C-c C-f C-a mail-mail-reply-to
C-c C-f C-b mail-bcc
C-c C-f C-c mail-cc ...
there ought to be a
C-c C-f C-l mail-separator
which will insert a "--text follows this line--" line,
for folks who have done M-x mail-mode on a buffer, and are inserting
the components into that buffer one by one. (That buffer was already
pretty much a mail message, or else one would have done C-x m).
Hmmm, in gnus this could be called message-insert-delimiter.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: command to insert a "--text follows this line--"
2006-06-27 17:20 command to insert a "--text follows this line--" Dan Jacobson
@ 2006-06-28 20:36 ` Kevin Rodgers
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Rodgers @ 2006-06-28 20:36 UTC (permalink / raw)
Dan Jacobson wrote:
> In sendmail.el, in addition to
> C-c C-f C-a mail-mail-reply-to
> C-c C-f C-b mail-bcc
> C-c C-f C-c mail-cc ...
> there ought to be a
> C-c C-f C-l mail-separator
> which will insert a "--text follows this line--" line,
> for folks who have done M-x mail-mode on a buffer, and are inserting
> the components into that buffer one by one. (That buffer was already
> pretty much a mail message, or else one would have done C-x m).
Here's how mail-setup does it (point is already at the beginning of
the line):
(put-text-property (point)
(progn
(insert mail-header-separator "\n")
(1- (point)))
'category 'mail-header-separator)
But mail-sendmail-delimit-header doesn't bother setting the category
text property or inserting the newline:
(rfc822-goto-eoh)
(insert mail-header-separator)
> Hmmm, in gnus this could be called message-insert-delimiter.
--
Kevin
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-06-28 20:36 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-27 17:20 command to insert a "--text follows this line--" Dan Jacobson
2006-06-28 20:36 ` Kevin Rodgers
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.