diff options
Diffstat (limited to 'doc/misc/message.texi')
| -rw-r--r-- | doc/misc/message.texi | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index bdd31b1fe49..204a6386e01 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -99,6 +99,7 @@ sending it. | |||
| 99 | * Resending:: Resending a mail message. | 99 | * Resending:: Resending a mail message. |
| 100 | * Bouncing:: Bouncing a mail message. | 100 | * Bouncing:: Bouncing a mail message. |
| 101 | * Mailing Lists:: Send mail to mailing lists. | 101 | * Mailing Lists:: Send mail to mailing lists. |
| 102 | * System Mailer Setup:: Using Message as the system mailer. | ||
| 102 | @end menu | 103 | @end menu |
| 103 | 104 | ||
| 104 | You can customize the Message Mode tool bar, see @kbd{M-x | 105 | You can customize the Message Mode tool bar, see @kbd{M-x |
| @@ -529,6 +530,29 @@ It is considered good netiquette to honor MFT, as it is assumed the | |||
| 529 | fellow who posted a message knows where the followups need to go | 530 | fellow who posted a message knows where the followups need to go |
| 530 | better than you do. | 531 | better than you do. |
| 531 | 532 | ||
| 533 | |||
| 534 | @node System Mailer Setup | ||
| 535 | @section System Mailer Setup | ||
| 536 | @cindex mailto: | ||
| 537 | |||
| 538 | Emacs can be set up as the system mailer, so that Emacs is opened when | ||
| 539 | you click on @samp{mailto:} links in other programs. | ||
| 540 | |||
| 541 | How this is done varies from system to system, but commonly there's a | ||
| 542 | way to set the default application for a @acronym{MIME} type, and the | ||
| 543 | relevant type here is @samp{x-scheme-handler/mailto;}. | ||
| 544 | |||
| 545 | The application to start should be @samp{"emacs -f message-mailto %u"}. | ||
| 546 | This will start Emacs, and then run the @code{message-mailto} | ||
| 547 | command. It will parse the given @acronym{URL}, and set up a Message | ||
| 548 | buffer with the given parameters. | ||
| 549 | |||
| 550 | For instance, @samp{mailto:larsi@@gnus.org?subject=This+is+a+test} | ||
| 551 | will open a Message buffer with the @samp{To:} header filled in with | ||
| 552 | @samp{"larsi@@gnus.org"} and the @samp{Subject:} header with | ||
| 553 | @samp{"This is a test"}. | ||
| 554 | |||
| 555 | |||
| 532 | @node Commands | 556 | @node Commands |
| 533 | @chapter Commands | 557 | @chapter Commands |
| 534 | 558 | ||
| @@ -883,6 +907,18 @@ is a list, valid members are @code{type}, @code{description} and | |||
| 883 | @code{nil}, don't ask for options. If it is @code{t}, ask the user | 907 | @code{nil}, don't ask for options. If it is @code{t}, ask the user |
| 884 | whether or not to specify options. | 908 | whether or not to specify options. |
| 885 | 909 | ||
| 910 | @vindex message-screenshot-command | ||
| 911 | @findex message-insert-screenshot | ||
| 912 | @cindex screenshots | ||
| 913 | @kindex C-c C-p | ||
| 914 | If your system supports it, you can also insert screenshots directly | ||
| 915 | into the Message buffer. The @kbd{C-c C-p} | ||
| 916 | (@code{message-insert-screenshot}) command inserts the image into the | ||
| 917 | buffer as an @acronym{MML} part, and puts an image text property on | ||
| 918 | top. The @code{message-screenshot-command} variable says what | ||
| 919 | external command to use to take the screenshot. It defaults to | ||
| 920 | @code{"import png:-"}, which is an ImageMagick command. | ||
| 921 | |||
| 886 | You can also create arbitrarily complex multiparts using the @acronym{MML} | 922 | You can also create arbitrarily complex multiparts using the @acronym{MML} |
| 887 | language (@pxref{Composing, , Composing, emacs-mime, The Emacs MIME | 923 | language (@pxref{Composing, , Composing, emacs-mime, The Emacs MIME |
| 888 | Manual}). | 924 | Manual}). |
| @@ -1006,6 +1042,7 @@ and/or encrypted messages as explained in the following. | |||
| 1006 | * Signing and encryption:: Signing and encrypting commands. | 1042 | * Signing and encryption:: Signing and encrypting commands. |
| 1007 | * Using S/MIME:: Using S/MIME | 1043 | * Using S/MIME:: Using S/MIME |
| 1008 | * Using OpenPGP:: Using OpenPGP | 1044 | * Using OpenPGP:: Using OpenPGP |
| 1045 | * OpenPGP Header:: Adding OpenPGP headers to messages. | ||
| 1009 | * Passphrase caching:: How to cache passphrases | 1046 | * Passphrase caching:: How to cache passphrases |
| 1010 | * PGP Compatibility:: Compatibility with older implementations | 1047 | * PGP Compatibility:: Compatibility with older implementations |
| 1011 | * Encrypt-to-self:: Reading your own encrypted messages | 1048 | * Encrypt-to-self:: Reading your own encrypted messages |
| @@ -1215,6 +1252,29 @@ according to two different standards, namely @acronym{PGP} or | |||
| 1215 | @code{mml-default-sign-method} determine which variant to prefer, | 1252 | @code{mml-default-sign-method} determine which variant to prefer, |
| 1216 | @acronym{PGP/MIME} by default. | 1253 | @acronym{PGP/MIME} by default. |
| 1217 | 1254 | ||
| 1255 | @node OpenPGP Header | ||
| 1256 | @subsection OpenPGP Header | ||
| 1257 | |||
| 1258 | The @samp{OpenPGP} header can be used to provide information about the | ||
| 1259 | sender's OpenPGP key. This is a formalization and modernization of | ||
| 1260 | the non-standard @samp{X-PGP-Key} (etc.) headers that have been in use | ||
| 1261 | for a long time. For more details, see | ||
| 1262 | @uref{https://tools.ietf.org/html/draft-josefsson-openpgp-mailnews-header}. | ||
| 1263 | |||
| 1264 | @vindex message-openpgp-header | ||
| 1265 | To use this in Message, say: | ||
| 1266 | |||
| 1267 | @lisp | ||
| 1268 | (add-hook 'message-send-hook 'message-add-openpgp-header) | ||
| 1269 | @end lisp | ||
| 1270 | |||
| 1271 | @noindent | ||
| 1272 | then customize the @code{message-openpgp-header} variable according to | ||
| 1273 | your PGP setup. The variable is a list of the key ID, the key URL or | ||
| 1274 | ASCII armored key, and the protection preference, one of | ||
| 1275 | @samp{"unprotected"}, @samp{"sign"}, @samp{"encrypt"} or | ||
| 1276 | @samp{"signencrypt"}. | ||
| 1277 | |||
| 1218 | @node Passphrase caching | 1278 | @node Passphrase caching |
| 1219 | @subsection Passphrase caching | 1279 | @subsection Passphrase caching |
| 1220 | 1280 | ||