summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2002-09-26 14:44:42 +0000
committerSergey Poznyakoff <gray@gnu.org.ua>2002-09-26 14:44:42 +0000
commit1beae8f5c3cf5354a9320fb24b007f2a4242743f (patch)
tree8819f6c742afd6c79ee3efb09ab9a1d7a76f0ac8 /doc
parent966b1d4c5ed8a08dc0358d9e59961f89e0f1b8a3 (diff)
downloadmailutils-1beae8f5c3cf5354a9320fb24b007f2a4242743f.tar.gz
mailutils-1beae8f5c3cf5354a9320fb24b007f2a4242743f.tar.bz2
Documented "editheaders" variable
Diffstat (limited to 'doc')
-rw-r--r--doc/texinfo/programs.texi16
1 files changed, 13 insertions, 3 deletions
diff --git a/doc/texinfo/programs.texi b/doc/texinfo/programs.texi
index aaded52da..0f95ebde6 100644
--- a/doc/texinfo/programs.texi
+++ b/doc/texinfo/programs.texi
@@ -915,9 +915,11 @@ using a text editor specified either by @code{EDITOR} or by
@code{VISUAL} environment variables. The @samp{~e} uses the former,
and @samp{~v} uses the latter.
-@emph{Please note}, that both commands allow you to edit the body of the
-message, and not its headers. To change message headers, see
-@ref{Modifying the Headers}.
+By default both escapes allow you to edit only the body of the
+message. However, if the @code{editheaders} variable is set,
+@command{mail} will load into the editor the complete text of
+the message with headers included, thus allowing you to change
+the headers as well.
@node Modifying the Headers
@subsubsection Modifying the Headers: ~h, ~t, ~c, ~b, ~s
@@ -1677,6 +1679,14 @@ be printed using program set in the environment variable @code{ENVIRON}.
If @code{True}, causes @command{mail} to interpret a period alone on a line as the
terminator of a message you are sending.
+@item editheaders
+@*Type: Boolean.
+@*Default: False.
+
+When set, @command{mail} will include message headers in the text to
+be the @code{~e} and @code{~v} escapes, thus allowing you to customize
+the headers.
+
@item escape
@*Type: String.
@*Default: ~

Return to:

Send suggestions and report system problems to the System administrator.