Mercurial > emacs
comparison doc/emacs/rmail.texi @ 112098:40af77a50adc
Merge changes from emacs-23 branch
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sun, 02 Jan 2011 15:28:40 -0500 |
parents | 5c986eef8f0d 9336a4857507 |
children | 417b1e4d63cd |
comparison
equal
deleted
inserted
replaced
112045:52100bac91db | 112098:40af77a50adc |
---|---|
1099 buffer before sorting it. | 1099 buffer before sorting it. |
1100 | 1100 |
1101 @node Rmail Display | 1101 @node Rmail Display |
1102 @section Display of Messages | 1102 @section Display of Messages |
1103 | 1103 |
1104 Rmail reformats the header of each message before displaying it for | 1104 This section describes how Rmail displays mail headers, |
1105 the first time. Reformatting hides uninteresting header fields to | 1105 @acronym{MIME} sections and attachments, and URLs. |
1106 reduce clutter. You can use the @kbd{t} command to show the entire | |
1107 header or to repeat the header reformatting operation. | |
1108 | 1106 |
1109 @table @kbd | 1107 @table @kbd |
1110 @item t | 1108 @item t |
1111 Toggle display of complete header (@code{rmail-toggle-header}). | 1109 Toggle display of complete header (@code{rmail-toggle-header}). |
1112 @end table | 1110 @end table |
1113 | 1111 |
1114 @vindex rmail-ignored-headers | |
1115 @vindex rmail-nonignored-headers | |
1116 Reformatting the header involves deleting most header fields, on the | |
1117 grounds that they are not interesting. The variable | |
1118 @code{rmail-ignored-headers} holds a regular expression that specifies | |
1119 which header fields to hide in this way---if it matches the beginning | |
1120 of a header field, that whole field is hidden. However, the variable | |
1121 @code{rmail-nonignored-headers} provides a further override: a header | |
1122 matching that regular expression is shown even if it matches | |
1123 @code{rmail-ignored-headers} too. | |
1124 | |
1125 @vindex rmail-displayed-headers | |
1126 As an alternative to the previous two variables, you can set | |
1127 @code{rmail-displayed-headers} instead. If non-@code{nil}, this should | |
1128 be a regular expression specifying which headers to display. | |
1129 | |
1130 @kindex t @r{(Rmail)} | 1112 @kindex t @r{(Rmail)} |
1131 @findex rmail-toggle-header | 1113 @findex rmail-toggle-header |
1132 To see the complete, original header, use the @kbd{t} command | 1114 Before displaying each message for the first time, Rmail reformats |
1133 (@code{rmail-toggle-header}). This discards the reformatted headers of | 1115 its header, hiding uninteresting header fields to reduce clutter. The |
1134 the current message and displays it with the original header. Repeating | 1116 @kbd{t} (@code{rmail-toggle-header}) command toggles this, switching |
1135 @kbd{t} reformats the message again, which shows only the interesting | 1117 between showing the reformatted header fields and showing the |
1136 headers according to the current values of the above variables. | 1118 complete, original header. With a positive prefix argument, the |
1137 Selecting the message again also reformats it if necessary. | 1119 command shows the reformatted header; with a zero or negative prefix |
1138 | 1120 argument, it shows the full header. Selecting the message again also |
1139 When the @kbd{t} command has a prefix argument, a positive argument | 1121 reformats it if necessary. |
1140 means to show the reformatted header, and a zero or negative argument | 1122 |
1141 means to show the full header. | 1123 @vindex rmail-ignored-headers |
1124 @vindex rmail-displayed-headers | |
1125 @vindex rmail-nonignored-headers | |
1126 The variable @code{rmail-ignored-headers} holds a regular expression | |
1127 specifying the header fields to hide; any matching header line will be | |
1128 hidden. The variable @code{rmail-nonignored-headers} overrides this: | |
1129 any header field matching that regular expression is shown even if it | |
1130 matches @code{rmail-ignored-headers} too. The variable | |
1131 @code{rmail-displayed-headers} is an alternative to these two | |
1132 variables; if non-@code{nil}, this should be a regular expression | |
1133 specifying which headers to display (the default is @code{nil}). | |
1142 | 1134 |
1143 @vindex rmail-highlighted-headers | 1135 @vindex rmail-highlighted-headers |
1144 Rmail highlights certain header fields that are especially | 1136 Rmail highlights certain header fields that are especially |
1145 interesting---by default, the @samp{From} and @samp{Subject} fields. | 1137 interesting---by default, the @samp{From} and @samp{Subject} fields. |
1146 The variable @code{rmail-highlighted-headers} holds a regular expression | 1138 This highlighting uses the @code{rmail-highlight} face. The variable |
1147 that specifies the header fields to highlight; if it matches the | 1139 @code{rmail-highlighted-headers} holds a regular expression specifying |
1148 beginning of a header field, that whole field is highlighted. To turn | 1140 the header fields to highlight; if it matches the beginning of a |
1149 off this feature, set @code{rmail-highlighted-headers} to @code{nil}. | 1141 header field, that whole field is highlighted. To disable this |
1150 Customize the face @code{rmail-highlight} to adjust the style of the | 1142 feature, set @code{rmail-highlighted-headers} to @code{nil}. |
1151 highlighting. | 1143 |
1152 | 1144 @cindex MIME messages (Rmail) |
1153 You can highlight and activate URLs in incoming messages using | 1145 @vindex rmail-enable-mime |
1154 Goto Address mode: | 1146 By default, Rmail automatically decodes @acronym{MIME} (Multipurpose |
1147 Internet Mail Extensions) messages. If the message contains multiple | |
1148 parts (@acronym{MIME} entities), each part is represented by a tagline | |
1149 in the Rmail buffer. The tagline summarizes the part's depth, index, | |
1150 and type, and may also contain a button for handling it, e.g. saving | |
1151 it to a file or displaying it as an image in the Rmail buffer. | |
1152 | |
1153 @table @kbd | |
1154 @findex rmail-mime-toggle-hidden | |
1155 @item @key{RET} | |
1156 Hide or show the @acronym{MIME} part at point | |
1157 (@code{rmail-mime-toggle-hidden}). | |
1158 | |
1159 @findex rmail-mime-next-item | |
1160 @item @key{TAB} | |
1161 Move point to the next @acronym{MIME} part | |
1162 (@code{rmail-mime-next-item}). | |
1163 | |
1164 @findex rmail-mime-previous-item | |
1165 @item @key{BackTab} | |
1166 Move point to the previous @acronym{MIME} part | |
1167 (@code{rmail-mime-previous-item}). | |
1168 | |
1169 @findex rmail-mime | |
1170 @item v | |
1171 @kindex v @r{(Rmail)} | |
1172 Toggle between @acronym{MIME} display and raw message | |
1173 (@code{rmail-mime}). | |
1174 @end table | |
1175 | |
1176 The @kbd{v} (@code{rmail-mime}) command toggles between the default | |
1177 @acronym{MIME} display described above, and a ``raw'' display showing | |
1178 the undecoded @acronym{MIME} data. With a prefix argument, this | |
1179 command toggles the display of only an entity at point. | |
1180 | |
1181 To prevent Rmail from handling MIME decoded messages, change the | |
1182 variable @code{rmail-enable-mime} to @code{nil}. When this is the | |
1183 case, the @kbd{v} (@code{rmail-mime}) command instead creates a | |
1184 temporary buffer to display the current @acronym{MIME} message. | |
1185 | |
1186 You can highlight and activate URLs in the Rmail buffer using Goto | |
1187 Address mode: | |
1155 | 1188 |
1156 @c FIXME goto-addr.el commentary says to use goto-address instead. | 1189 @c FIXME goto-addr.el commentary says to use goto-address instead. |
1157 @smallexample | 1190 @smallexample |
1158 (add-hook 'rmail-show-message-hook (lambda () (goto-address-mode 1))) | 1191 (add-hook 'rmail-show-message-hook (lambda () (goto-address-mode 1))) |
1159 @end smallexample | 1192 @end smallexample |
1160 | 1193 |
1161 @noindent | 1194 @noindent |
1162 Then you can browse these URLs by clicking on them with @kbd{Mouse-2} | 1195 Then you can browse these URLs by clicking on them with @kbd{Mouse-2} |
1163 (or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c | 1196 (or @kbd{Mouse-1} quickly) or by moving to one and typing @kbd{C-c |
1164 @key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}. | 1197 @key{RET}}. @xref{Goto Address mode, Activating URLs, Activating URLs}. |
1165 | |
1166 @cindex MIME messages (Rmail) | |
1167 @findex rmail-mime | |
1168 @kindex v @r{(Rmail)} | |
1169 The @kbd{v} (@code{rmail-mime}) command creates a temporary buffer | |
1170 displaying the current MIME message. By default, it displays plain text | |
1171 and multipart messages, and offers buttons to save attachments. | |
1172 | 1198 |
1173 @node Rmail Coding | 1199 @node Rmail Coding |
1174 @section Rmail and Coding Systems | 1200 @section Rmail and Coding Systems |
1175 | 1201 |
1176 @cindex decoding mail messages (Rmail) | 1202 @cindex decoding mail messages (Rmail) |