Mercurial > emacs
comparison man/sc.texi @ 49600:23a1cea22d13
Trailing whitespace deleted.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 14:56:31 +0000 |
parents | 0a70200bde27 |
children | 695cf19ef79e d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49599:5ade352e8d1c | 49600:23a1cea22d13 |
---|---|
39 | 39 |
40 @c @smallbook | 40 @c @smallbook |
41 | 41 |
42 @dircategory Emacs | 42 @dircategory Emacs |
43 @direntry | 43 @direntry |
44 * SC: (sc). Supercite lets you cite parts of messages you're | 44 * SC: (sc). Supercite lets you cite parts of messages you're |
45 replying to, in flexible ways. | 45 replying to, in flexible ways. |
46 @end direntry | 46 @end direntry |
47 | 47 |
48 @titlepage | 48 @titlepage |
49 @sp 6 | 49 @sp 6 |
1176 @end ifinfo | 1176 @end ifinfo |
1177 Executing @code{sc-cite-original} performs the following steps as it | 1177 Executing @code{sc-cite-original} performs the following steps as it |
1178 initializes the reply buffer: | 1178 initializes the reply buffer: |
1179 | 1179 |
1180 @enumerate | 1180 @enumerate |
1181 @item | 1181 @item |
1182 @vindex sc-pre-hook | 1182 @vindex sc-pre-hook |
1183 @vindex pre-hook (sc-) | 1183 @vindex pre-hook (sc-) |
1184 @emph{Runs @code{sc-pre-hook}.} | 1184 @emph{Runs @code{sc-pre-hook}.} |
1185 This hook variable is run before @code{sc-cite-original} does any other | 1185 This hook variable is run before @code{sc-cite-original} does any other |
1186 work. You could conceivably use this hook to set certain Supercite | 1186 work. You could conceivably use this hook to set certain Supercite |
1220 @cindex undo boundary | 1220 @cindex undo boundary |
1221 Supercite sets an undo boundary before it begins to modify the original | 1221 Supercite sets an undo boundary before it begins to modify the original |
1222 yanked text. This allows you to easily undo Supercite's changes to | 1222 yanked text. This allows you to easily undo Supercite's changes to |
1223 affect alternative citing styles. | 1223 affect alternative citing styles. |
1224 | 1224 |
1225 @item | 1225 @item |
1226 @emph{Processes the mail headers.} | 1226 @emph{Processes the mail headers.} |
1227 @vindex sc-confirm-always-p | 1227 @vindex sc-confirm-always-p |
1228 @vindex confirm-always-p (sc-) | 1228 @vindex confirm-always-p (sc-) |
1229 @vindex sc-mail-warn-if-non-rfc822-p | 1229 @vindex sc-mail-warn-if-non-rfc822-p |
1230 @vindex mail-warn-if-non-rfc822-p (sc-) | 1230 @vindex mail-warn-if-non-rfc822-p (sc-) |
1273 @emph{Selects the attribution and citation strings.} | 1273 @emph{Selects the attribution and citation strings.} |
1274 Once the mail headers have been processed, Supercite selects a | 1274 Once the mail headers have been processed, Supercite selects a |
1275 attribution string and a citation string which it will use to cite the | 1275 attribution string and a citation string which it will use to cite the |
1276 original message. @xref{Selecting an Attribution}, for details. | 1276 original message. @xref{Selecting an Attribution}, for details. |
1277 | 1277 |
1278 @item | 1278 @item |
1279 @emph{Cites the message body.} | 1279 @emph{Cites the message body.} |
1280 @vindex sc-cite-region-limit | 1280 @vindex sc-cite-region-limit |
1281 @vindex cite-region-limit (sc-)b | 1281 @vindex cite-region-limit (sc-)b |
1282 After the selection of the attribution and citation strings, Supercite | 1282 After the selection of the attribution and citation strings, Supercite |
1283 cites the original message by inserting the citation string prefix in | 1283 cites the original message by inserting the citation string prefix in |
1314 Supercite to anticipate every style in existence, and you probably | 1314 Supercite to anticipate every style in existence, and you probably |
1315 wouldn't encounter them all anyway. But you can configure Supercite to | 1315 wouldn't encounter them all anyway. But you can configure Supercite to |
1316 recognize those styles you see often. | 1316 recognize those styles you see often. |
1317 @xref{Configuring the Citation Engine}, for details.@refill | 1317 @xref{Configuring the Citation Engine}, for details.@refill |
1318 | 1318 |
1319 @item | 1319 @item |
1320 @emph{Runs @code{sc-post-hook}.} | 1320 @emph{Runs @code{sc-post-hook}.} |
1321 @vindex sc-post-hook | 1321 @vindex sc-post-hook |
1322 @vindex post-hook (sc-) | 1322 @vindex post-hook (sc-) |
1323 This variable is very similar to @code{sc-pre-hook}, except that it runs | 1323 This variable is very similar to @code{sc-pre-hook}, except that it runs |
1324 after @code{sc-cite-original} is finished. This hook is provided mostly | 1324 after @code{sc-cite-original} is finished. This hook is provided mostly |
1579 Use the last selected attribution, if there is one. | 1579 Use the last selected attribution, if there is one. |
1580 | 1580 |
1581 @item | 1581 @item |
1582 Use the value of the @code{"x-attribution"} key. | 1582 Use the value of the @code{"x-attribution"} key. |
1583 | 1583 |
1584 @item | 1584 @item |
1585 Use the author's first name. | 1585 Use the author's first name. |
1586 | 1586 |
1587 @item | 1587 @item |
1588 Use the author's last name. | 1588 Use the author's last name. |
1589 | 1589 |
1590 @item | 1590 @item |
1591 Use the author's initials. | 1591 Use the author's initials. |
1592 | 1592 |
1593 @item | 1593 @item |
1594 Find the first non-@code{nil}, non-empty attribution string in the | 1594 Find the first non-@code{nil}, non-empty attribution string in the |
1595 attribution alist. | 1595 attribution alist. |
1596 | 1596 |
1597 @item | 1597 @item |
1598 @code{sc-default-attribution} is used. | 1598 @code{sc-default-attribution} is used. |
1599 @end enumerate | 1599 @end enumerate |
1600 | 1600 |
1601 @vindex sc-confirm-always-p | 1601 @vindex sc-confirm-always-p |
1602 @vindex confirm-always-p (sc-) | 1602 @vindex confirm-always-p (sc-) |
2133 as @code{nil} or non-@code{nil}. The command to toggle these variables | 2133 as @code{nil} or non-@code{nil}. The command to toggle these variables |
2134 together is bound on @kbd{C-c C-p C-p}.@refill | 2134 together is bound on @kbd{C-c C-p C-p}.@refill |
2135 | 2135 |
2136 Finally, the command @kbd{C-c C-p C-t h} (also @kbd{C-c C-p C-t ?}) | 2136 Finally, the command @kbd{C-c C-p C-t h} (also @kbd{C-c C-p C-t ?}) |
2137 brings up a Help message on the toggling keymap. | 2137 brings up a Help message on the toggling keymap. |
2138 | 2138 |
2139 | 2139 |
2140 @node Mail Field Commands, Miscellaneous Commands, Variable Toggling Shortcuts, Post-yank Formatting Commands | 2140 @node Mail Field Commands, Miscellaneous Commands, Variable Toggling Shortcuts, Post-yank Formatting Commands |
2141 @comment node-name, next, previous, up | 2141 @comment node-name, next, previous, up |
2142 @section Mail Field Commands | 2142 @section Mail Field Commands |
2143 @ifinfo | 2143 @ifinfo |
2297 will be able to link Supercite easily and seamlessly. To do this, when | 2297 will be able to link Supercite easily and seamlessly. To do this, when |
2298 setting up a reply or forward buffer, your MUA should follow these | 2298 setting up a reply or forward buffer, your MUA should follow these |
2299 steps: | 2299 steps: |
2300 | 2300 |
2301 @enumerate | 2301 @enumerate |
2302 @item | 2302 @item |
2303 Insert the original message, including the mail headers into the reply | 2303 Insert the original message, including the mail headers into the reply |
2304 buffer. At this point you should not modify the raw text in any way, and | 2304 buffer. At this point you should not modify the raw text in any way, and |
2305 you should place all the original headers into the body of the reply. | 2305 you should place all the original headers into the body of the reply. |
2306 This means that many of the mail headers will be duplicated, one copy | 2306 This means that many of the mail headers will be duplicated, one copy |
2307 above the @code{mail-header-separator} line and one copy below, | 2307 above the @code{mail-header-separator} line and one copy below, |
2308 however there will probably be more headers below this line.@refill | 2308 however there will probably be more headers below this line.@refill |
2309 | 2309 |
2310 @item | 2310 @item |
2311 Set @samp{point} to the beginning of the line containing the first mail | 2311 Set @samp{point} to the beginning of the line containing the first mail |
2312 header in the body of the reply. Set @samp{mark} at the end of the | 2312 header in the body of the reply. Set @samp{mark} at the end of the |
2313 message text. It is very important that the region be set around the | 2313 message text. It is very important that the region be set around the |
2314 text Supercite is to modify and that the mail headers are within this | 2314 text Supercite is to modify and that the mail headers are within this |
2315 region. Supercite will not venture outside the region for any reason, | 2315 region. Supercite will not venture outside the region for any reason, |
2317 @strong{must} remain unchanged inside the region. Further note that for | 2317 @strong{must} remain unchanged inside the region. Further note that for |
2318 Emacs 19, the region need not be set active. Supercite will work | 2318 Emacs 19, the region need not be set active. Supercite will work |
2319 properly when the region is inactive, as should any other like-minded | 2319 properly when the region is inactive, as should any other like-minded |
2320 package.@refill | 2320 package.@refill |
2321 | 2321 |
2322 @item | 2322 @item |
2323 Run the hook @code{mail-citation-hook}. You will probably want to | 2323 Run the hook @code{mail-citation-hook}. You will probably want to |
2324 provide some kind of default citation functions in cases where the user | 2324 provide some kind of default citation functions in cases where the user |
2325 does not have Supercite installed. By default, your MUA should | 2325 does not have Supercite installed. By default, your MUA should |
2326 @code{defvar} @code{mail-citation-hook} to @code{nil}, and in your | 2326 @code{defvar} @code{mail-citation-hook} to @code{nil}, and in your |
2327 yanking function, check its value. If it finds | 2327 yanking function, check its value. If it finds |