home *** CD-ROM | disk | FTP | other *** search
/ Dream 49 / Amiga_Dream_49.iso / beos / emacs / emacs-19.34-bin / emacs-19 / info / sc-1 < prev    next >
Encoding:
GNU Info File  |  1997-09-17  |  46.8 KB  |  1,086 lines

  1. This is Info file ../info/sc, produced by Makeinfo-1.64 from the input
  2. file sc.texi.
  3.  
  4.    This document describes the Supercite Version 3.1 package for citing
  5. and attributing the replies for various GNU Emacs mail and news reading
  6. subsystems.
  7.  
  8.    Copyright (C) 1993 Barry A« Warsaw
  9.  
  10.    Permission is granted to make and distribute verbatim copies of this
  11. manual provided the copyright notice and this permission notice are
  12. preserved on all copies.
  13.  
  14. 
  15. File: sc,  Node: Top,  Next: Introduction,  Prev: (dir),  Up: (dir)
  16.  
  17.    This document describes the Supercite Version 3.1 package for citing
  18. and attributing the replies for various GNU Emacs mail and news reading
  19. subsystems.  The manual is divided into the following chapters.
  20.  
  21. * Menu:
  22.  
  23. * Introduction::
  24. * Citations::
  25. * Getting Connected::
  26. * Replying and Yanking::
  27. * Selecting an Attribution::
  28. * Configuring the Citation Engine::
  29. * Post-yank Formatting Commands::
  30. * Information Keys and the Info Alist::
  31. * Reference Headers::
  32. * Hints to MUA Authors::
  33. * Version 3 Changes::
  34. * Thanks and History::
  35. * The Supercite Mailing List::
  36.  
  37. * Concept Index::
  38. * Command Index::
  39. * Key Index::
  40. * Variable Index::
  41.  
  42. 
  43. File: sc,  Node: Introduction,  Next: Usage Overview,  Prev: Top,  Up: Top
  44.  
  45. Introduction
  46. ************
  47.  
  48.    Supercite version 3.1 is a GNU Emacs package written entirely in
  49. Emacs Lisp. It interfaces to most of the commonly used Emacs mail user
  50. agents ("MUAs") and news user agents ("NUAs"), and provides
  51. sophisticated facilities for the citing and attributing of message
  52. replies.  Supercite has a very specific and limited role in the process
  53. of composing replies to both USENET network news and electronic mail.
  54.  
  55.    The preferred way to spell Supercite is with a capital `S',
  56. lowercase `upercite'.  There are a few alternate spellings out there
  57. and I won't be terribly offended if you use them.  People often ask
  58. though...
  59.  
  60. * Menu:
  61.  
  62. * Usage Overview::
  63. * What Supercite Does Not Do::
  64. * What Supercite Does::
  65.  
  66.    Supercite is only useful in conjunction with MUAs and NUAs such as
  67. VM, GNUS, RMAIL, etc« (hereafter referred to collectively as MUAs).
  68. Supercite is typically called by the MUA after a reply buffer has been
  69. setup.  Thereafter, Supercite's many commands and formatting styles are
  70. available in that reply buffer until the reply is sent.  Supercite is
  71. re-initialized in each new reply buffer.
  72.  
  73.    Supercite is currently at major revision 3.1, and is known to work
  74. in the following environments:
  75.  
  76. Emacs versions:
  77.          GNU Emacs 18.57 through 18.59, all Emacs 19,     all current Lucid
  78.      Emacs, and Epoch 4.
  79.  
  80. MUAs:
  81.          VM 4.37 and beyond (including VM version 5), RMAIL, MH-E 3.7 and
  82.      beyond, PCMAIL.
  83.  
  84. NUAs:
  85.          RNEWS, GNUS 3.12 and beyond, GNEWS.
  86.  
  87.    For systems with version numbers, all known subsequent versions also
  88. work with Supercite.  For those systems without version numbers,
  89. Supercite probably works with any recently released version.  Note that
  90. only some of these systems will work with Supercite "out of the box."
  91. All others must overload interfacing routines to supply the necessary
  92. glue.  *Note Getting Connected:: for more details.
  93.  
  94. 
  95. File: sc,  Node: Usage Overview,  Next: What Supercite Does Not Do,  Prev: Introduction,  Up: Introduction
  96.  
  97. Usage Overview
  98. ==============
  99.  
  100.    Typical usage is as follows. You want to reply or followup to a
  101. message in your MUA. You will probably hit `r' (i.e., "reply") or `f'
  102. (i.e., "forward") to begin composing the reply.  In response, the MUA
  103. will create a reply buffer and initialize the outgoing mail headers
  104. appropriately.  The body of the reply will usually be empty at this
  105. point.  You now decide that you would like to include part of the
  106. original message in your reply. To do this, you "yank" the original
  107. message into the reply buffer, typically with a key stroke such as `C-c
  108. C-y'.  This sequence will invoke an MUA-specific function which fills
  109. the body of the reply with the original message and then "attributes"
  110. this text to its author.  This is called "citing" and its effect is to
  111. prefix every line from the original message with a special text tag.
  112. Most MUAs provide some default style of citing; by using Supercite you
  113. gain a wider flexibility in the look and style of citations.
  114. Supercite's only job is to cite the original message.
  115.  
  116. 
  117. File: sc,  Node: What Supercite Does Not Do,  Next: What Supercite Does,  Prev: Usage Overview,  Up: Introduction
  118.  
  119. What Supercite Doesn't Do
  120. =========================
  121.  
  122.    Because of this clear division of labor, there are useful features
  123. which are the sole responsibility of the MUA, even though it might seem
  124. that Supercite should provide them.  For example, many people would
  125. like to be able to yank (and cite) only a portion of the original
  126. message.  Since Supercite only modifies the text it finds in the reply
  127. buffer as set up by the MUA, it is the MUA's responsibility to do
  128. partial yanking.  *Note Reply Buffer Initialization::.
  129.  
  130.    Another potentially useful thing would be for Supercite to set up the
  131. outgoing mail headers with information it gleans from the reply buffer.
  132. But by previously agreed upon convention, any text above the
  133. `mail-header-separator' which separates mail headers from message
  134. bodies cannot be modified by Supercite.  Supercite, in fact, doesn't
  135. know anything about the meaning of these headers, and never ventures
  136. outside the designated region. *Note Hints to MUA Authors:: for more
  137. details.
  138.  
  139. 
  140. File: sc,  Node: What Supercite Does,  Next: Citations,  Prev: What Supercite Does Not Do,  Up: Introduction
  141.  
  142. What Supercite Does
  143. ===================
  144.  
  145.    Supercite is invoked for the first time on a reply buffer via your
  146. MUA's reply or forward command.  This command will actually perform
  147. citations by calling a hook variable to which Supercite's top-level
  148. function `sc-cite-original' has been added.  When `sc-cite-original' is
  149. executed, the original message must be set up in a very specific way,
  150. but this is handled automatically by the MUA.  *Note Hints to MUA
  151. Authors::.
  152.  
  153.    The first thing Supercite does, via `sc-cite-original', is to parse
  154. through the original message's mail headers.  It saves this data in an
  155. "information association list", or "info alist".  The information in
  156. this list is used in a number of places throughout Supercite.  *Note
  157. Information Keys and the Info Alist::.
  158.  
  159.    After the mail header info is extracted, the headers are optionally
  160. removed ("nuked") from the reply.  Supercite then writes a "reference
  161. header" into the buffer.  This reference header is a string carrying
  162. details about the citation it is about to perform.
  163.  
  164.    Next, Supercite visits each line in the reply, transforming the line
  165. according to a customizable "script".  Lines which were not previously
  166. cited in the original message are given a citation, while already cited
  167. lines remain untouched, or are coerced to your preferred style.
  168. Finally, Supercite installs a keymap into the reply buffer so that you
  169. have access to Supercite's post-yank formatting and reciting commands as
  170. you subsequently edit your reply.  You can tell that Supercite has been
  171. installed into the reply buffer because that buffer's modeline will
  172. display the minor mode string `SC'.
  173.  
  174.    When the original message is cited by `sc-cite-original', it will
  175. (optionally) be filled by Supercite.  However, if you manually edit the
  176. cited text and want to re-fill it, you must use an add-on package such
  177. as `filladapt' or `gin-mode'.  These packages can recognize Supercited
  178. text and will fill them appropriately.  Emacs' built-in filling
  179. routines, e.g« `fill-paragraph', do not recognize cited text and will
  180. not re-fill them properly because it cannot guess the `fill-prefix'
  181. being used.  *Note Post-yank Formatting Commands:: for details.
  182.  
  183.    As mentioned above, Supercite provides commands to recite or uncite
  184. regions of text in the reply buffer, and commands to perform other
  185. beautifications on the cited original text, maintaining consistent and
  186. informative citations throughout.  Supercite tries to be as configurable
  187. as possible to allow for a wide range of personalized citation styles,
  188. but it is also immediately useful with the default configuration, once
  189. it has been properly connected to your MUA.  *Note Getting Connected::
  190. for more details.
  191.  
  192. 
  193. File: sc,  Node: Citations,  Next: Citation Elements,  Prev: What Supercite Does,  Up: Top
  194.  
  195. Citations
  196. *********
  197.  
  198.    A "citation" is the acknowledgement of the original author of a mail
  199. message in the body of the reply.  There are two basic citation styles
  200. which Supercite supports.  The first, called "nested citations" is an
  201. anonymous form of citation; in other words, an indication is made that
  202. the cited line was written by someone *other* that the current message
  203. author (i.e., other than you, the person composing the reply), but no
  204. reference is made as to the identity of the original author.  This
  205. style should look familiar since its use on the net is widespread.
  206. Here's an example of what a message buffer would look like using nested
  207. citations after multiple replies:
  208.  
  209.      >> John originally wrote this
  210.      >> and this as well
  211.      > Jane said that John didn't know
  212.      > what he was talking about
  213.      And that's what I think too.
  214.  
  215. * Menu:
  216.  
  217. * Citation Elements::
  218. * Recognizing Citations::
  219.  
  220.    Note that multiple inclusions of the original messages result in a
  221. nesting of the ``>'' characters.  This can sometimes be quite confusing
  222. when many levels of citations are included since it may be difficult or
  223. impossible to figure out who actually participated in the thread, and
  224. multiple nesting of ``>'' characters can sometimes make the message
  225. very difficult for the eye to scan.
  226.  
  227.    In "non-nested citations", each cited line begins with an
  228. informative string attributing that line to the original author. Only
  229. the first level of attribution will be shown; subsequent citations don't
  230. nest the citation strings. The above dialog might look like this when
  231. non-nested citations are used:
  232.  
  233.      John> John originally wrote this
  234.      John> and this as well
  235.      Jane> Jane said that John didn't know
  236.      Jane> what he was talking about
  237.      And that's what I think too.
  238.  
  239.    Notice here that my inclusion of Jane's inclusion of John's original
  240. message did not result in a line cited with `Jane>John>'.
  241.  
  242.    Supercite supports both styles of citation, and the variable
  243. `sc-nested-citation-p' controls which style it will use when citing
  244. previously uncited text. When this variable is `nil' (the default),
  245. non-nested citations are used.  When non-`nil', nested citations are
  246. used.
  247.  
  248. 
  249. File: sc,  Node: Citation Elements,  Next: Recognizing Citations,  Prev: Citations,  Up: Citations
  250.  
  251. Citation Elements
  252. =================
  253.  
  254.    "Citation strings" are composed of one or more elements. Non-nested
  255. citations are composed of four elements, three of which are directly
  256. user definable.  The elements are concatenated together, in this order:
  257.  
  258.   1. The "citation leader".  The citation leader is contained in the
  259.      variable `sc-citation-leader', and has the default value of a
  260.      string containing four spaces.
  261.  
  262.   2. The "attribution string".  This element is supplied automatically
  263.      by Supercite, based on your preferences and the original message's
  264.      mail headers, though you may be asked to confirm Supercite's
  265.      choice.  *Note Selecting an Attribution:: for more details.
  266.  
  267.   3. The "citation delimiter".  This string, contained in the variable
  268.      `sc-citation-delimiter' visually separates the citation from the
  269.      text of the line.  This variable has a default value of `">"' and
  270.      for best results, the string should consist of only a single
  271.      character.
  272.  
  273.   4. The "citation separator".  The citation separator is contained in
  274.      the variable `sc-citation-separator', and has the default value of
  275.      a string containing a single space.
  276.  
  277.    For example, suppose you were using the default values for the above
  278. variables, and Supercite provided the attribution string `Jane'.  In
  279. this case, the composed, non-nested citation string used might be
  280. something like `"    Jane> "'.  This citation string will be inserted
  281. in front of every line in the original message that is not already
  282. cited.
  283.  
  284.    Nested citations, being simpler than non-nested citations, are
  285. composed of the same elements, sans the attribution string.  Supercite
  286. is smart enough to not put additional spaces between citation
  287. delimiters for multi-level nested citations.
  288.  
  289. 
  290. File: sc,  Node: Recognizing Citations,  Next: Getting Connected,  Prev: Citation Elements,  Up: Citations
  291.  
  292. Recognizing Citations
  293. =====================
  294.  
  295.    Supercite also recognizes citations in the original article, and can
  296. transform these already cited lines in a number of ways. This is how
  297. Supercite suppresses the multiple citing of non-nested citations.
  298. Recognition of cited lines is controlled by variables analogous to those
  299. that make up the citation string as mentioned previously.
  300.  
  301.    The variable `sc-citation-leader-regexp' describes how citation
  302. leaders can look, by default it matches any number of spaces or tabs.
  303. Note that since the lisp function `looking-at' is used to do the
  304. matching, if you change this variable it need not start with a leading
  305. `"^"'.
  306.  
  307.    Similarly, the variables `sc-citation-delimiter-regexp' and
  308. `sc-citation-separator-regexp' respectively describe how citation
  309. delimiters and separators can look.  They follow the same rule as
  310. `sc-citation-leader-regexp' above.
  311.  
  312.    When Supercite composes a citation string, it provides the
  313. attribution automatically.  The analogous variable which handles
  314. recognition of the attribution part of citation strings is
  315. `sc-citation-root-regexp'.  This variable describes the attribution
  316. root for both nested and non-nested citations.  By default it can match
  317. zero-to-many alphanumeric characters (also ".", "-", and "_").  But in
  318. some situations, Supercite has to determine whether it is looking at a
  319. nested or non-nested citation.  Thus the variable
  320. `sc-citation-nonnested-root-regexp' is used to describe only non-nested
  321. citation roots.  It is important to remember that if you change
  322. `sc-citation-root-regexp' you should always also change
  323. `sc-citation-nonnested-root-regexp'.
  324.  
  325.    Nemacs users: For best results, try setting
  326. `sc-citation-root-regexp' to:
  327.  
  328.      "\\([-._a-zA-Z0-9]\\|\\cc\\|\\cC\\|\\ch\\|\\cH\\|\\ck\\|\\cK\\|\\ca\\|\\cg\\|\\cr\\|\\cu\\)*"
  329.  
  330.    Mule users: For best results, try setting `sc-citation-root-regexp'
  331. to:
  332.  
  333.      "\\([-._a-zA-Z0-9]\\|\\cj\\)*"
  334.  
  335. 
  336. File: sc,  Node: Information Keys and the Info Alist,  Next: Reference Headers,  Prev: Miscellaneous Commands,  Up: Top
  337.  
  338. Information Keys and the Info Alist
  339. ***********************************
  340.  
  341.    "Mail header information keys" are nuggets of information that
  342. Supercite extracts from the various mail headers of the original
  343. message, placed in the reply buffer by the MUA.  Information is kept in
  344. the "Info Alist" as key-value pairs, and can be retrieved for use in
  345. various places within Supercite, such as in header rewrite functions and
  346. attribution selection.  Other bits of data, composed and created by
  347. Supercite, are also kept as key-value pairs in this alist. In the case
  348. of mail fields, the key is the name of the field, omitting the trailing
  349. colon.  Info keys are always case insensitive (as are mail headers), and
  350. the value for a corresponding key can be retrieved from the alist with
  351. the `sc-mail-field' function.  Thus, if the following fields were
  352. present in the original article:
  353.  
  354.      Date: 08 April 1991, 17:32:09 EST
  355.      Subject: Better get out your asbestos suit
  356.  
  357. then, the following lisp constructs return:
  358.  
  359.      (sc-mail-field "date")
  360.      ==> "08 April 1991, 17:32:09 EST"
  361.      
  362.      (sc-mail-field "subject")
  363.      ==> "Better get out your asbestos suit"
  364.  
  365.    Since the argument to `sc-mail-field' can be any string, it is
  366. possible that the mail field will not be present on the info alist
  367. (possibly because the mail header was not present in the original
  368. message). In this case, `sc-mail-field' will return the value of the
  369. variable `sc-mumble'.
  370.  
  371.    Supercite always places all mail fields found in the yanked original
  372. article into the info alist.  If possible, Supercite will also places
  373. the following keys into the info alist:
  374.  
  375. `"sc-attribution"'
  376.      the selected attribution string.
  377.  
  378. `"sc-citation"'
  379.      the non-nested citation string.
  380.  
  381. `"sc-from-address"'
  382.      email address extracted from the `From:' field.
  383.  
  384. `"sc-reply-address"'
  385.      email address extracted from the `Reply-To:' field.
  386.  
  387. `"sc-sender-address"'
  388.      email address extracted from the `Sender:' field.
  389.  
  390. `"sc-emailname"'
  391.      email terminus extracted from the `From:' field.
  392.  
  393. `"sc-initials"'
  394.      the author's initials.
  395.  
  396. `"sc-author"'
  397.      the author's full name.
  398.  
  399. `"sc-firstname"'
  400.      the author's first name.
  401.  
  402. `"sc-lastname"'
  403.      the author's last name.
  404.  
  405. `"sc-middlename-1"'
  406.      the author's first middle name.
  407.  
  408.    If the author's name has more than one middle name, they will appear
  409. as info keys with the appropriate index (e.g., `"sc-middlename-2"',
  410. ...).  *Note Selecting an Attribution::.
  411.  
  412. 
  413. File: sc,  Node: Reference Headers,  Next: The Built-in Header Rewrite Functions,  Prev: Information Keys and the Info Alist,  Up: Top
  414.  
  415. Reference Headers
  416. *****************
  417.  
  418.    Supercite will insert an informative "reference header" at the
  419. beginning of the cited body of text, which display more detail about the
  420. original article and provides the mapping between the attribution and
  421. the original author in non-nested citations.  Whereas the citation
  422. string usually only contains a portion of the original author's name,
  423. the reference header can contain such information as the author's full
  424. name, email address, the original article's subject, etc.  In fact any
  425. information contained in the info alist can be inserted into a reference
  426. header.
  427.  
  428. * Menu:
  429.  
  430. * The Built-in Header Rewrite Functions::
  431. * Electric References::
  432.  
  433.    There are a number of built-in "header rewrite functions" supplied
  434. by Supercite, but you can write your own custom header rewrite functions
  435. (perhaps using the built-in ones as examples). The variable
  436. `sc-rewrite-header-list' contains the list of such header rewrite
  437. functions.  This list is consulted both when inserting the initial
  438. reference header, and when displaying "electric references".  *Note
  439. Electric References::.
  440.  
  441.    When Supercite is initially run on a reply buffer (via
  442. `sc-cite-original'), it will automatically call one of these functions.
  443. The one it uses is defined in the variable `sc-preferred-header-style'.
  444. The value of this variable is an integer which is an index into the
  445. `sc-rewrite-header-list', beginning at zero.
  446.  
  447. 
  448. File: sc,  Node: The Built-in Header Rewrite Functions,  Next: Electric References,  Prev: Reference Headers,  Up: Reference Headers
  449.  
  450. The Built-in Header Rewrite Functions
  451. =====================================
  452.  
  453.    Below are examples of the various built-in header rewrite functions.
  454. Please note the following: first, the text which appears in the
  455. examples below as INFOKEY indicates that the corresponding value of the
  456. info key from the info alist will be inserted there.  (*Note
  457. Information Keys and the Info Alist::).  For example, in
  458. `sc-header-on-said' below, DATE and FROM correspond to the values of the
  459. `Date:' and `From:' mail headers respectively.
  460.  
  461.    Also, the string `">>>>>"' below is really the value of the variable
  462. `sc-reference-tag-string'.  This variable is used in all built-in
  463. header rewrite functions, and you can customize its value to change the
  464. tag string globally.
  465.  
  466.    Finally, the references headers actually written may omit certain
  467. parts of the header if the info key associated with INFOKEY is not
  468. present in the info alist.  In fact, for all built-in headers, if the
  469. `From:' field is not present in the mail headers, the entire reference
  470. header will be omitted (but this usually signals a serious problem
  471. either in your MUA or in Supercite's installation).
  472.  
  473. `sc-no-header'
  474.      This function produces no header. It should be used instead of
  475.      `nil' to produce a blank header.  This header can possibly contain
  476.      a blank line after the `mail-header-separator' line.
  477.  
  478. `sc-no-blank-line-or-header'
  479.      This function is similar to `sc-no-header' except that any blank
  480.      line after the `mail-header-separator' line will be removed.
  481.  
  482. `sc-header-on-said'
  483.      `>>>>> On DATE, FROM said:'
  484.  
  485. `sc-header-inarticle-writes'
  486.      `>>>>> In article MESSAGE-ID, FROM writes:'
  487.  
  488. `sc-header-regarding-adds'
  489.      `>>>>> Regarding SUBJECT; FROM adds:'
  490.  
  491. `sc-header-attributed-writes'
  492.      `>>>>> "SC-ATTRIBUTION" == SC-AUTHOR <SC-REPLY-ADDRESS> writes:'
  493.  
  494. `sc-header-author-writes'
  495.      `>>>>> SC-AUTHOR writes:'
  496.  
  497. `sc-header-verbose'
  498.      `>>>>> On DATE,'
  499.      `>>>>> SC-AUTHOR'
  500.      `>>>>> from the organization of ORGANIZATION'
  501.      `>>>>> who can be reached at: SC-REPLY-ADDRESS'
  502.      `>>>>> (whose comments are cited below with: "SC-CITE")'
  503.      `>>>>> had this to say in article MESSAGE-ID'
  504.      `>>>>> in newsgroups NEWSGROUPS'
  505.      `>>>>> concerning the subject of SUBJECT'
  506.      `>>>>> see REFERENCES for more details'
  507.  
  508. 
  509. File: sc,  Node: Electric References,  Next: Hints to MUA Authors,  Prev: The Built-in Header Rewrite Functions,  Up: Reference Headers
  510.  
  511. Electric References
  512. ===================
  513.  
  514.    By default, when Supercite cites the original message for the first
  515. time, it just goes ahead and inserts the reference header indexed by
  516. `sc-preferred-header-style'.  However, you may want to select different
  517. reference headers based on the type of reply or forwarding you are
  518. doing. You may also want to preview the reference header before
  519. deciding whether to insert it into the reply buffer or not. Supercite
  520. provides an optional "electric reference" mode which you can drop into
  521. to give you this functionality.
  522.  
  523.    If the variable `sc-electric-references-p' is non-`nil', Supercite
  524. will bring up an electric reference mode buffer and place you into a
  525. recursive edit.  The electric reference buffer is read-only, so you
  526. cannot directly modify the reference text until you exit electric
  527. references and insert the text into the reply buffer.  But you can cycle
  528. through all the reference header rewrite functions in your
  529. `sc-rewrite-header-list'.
  530.  
  531.    You can also set a new preferred header style, jump to any header, or
  532. jump to the preferred header. The header will be shown in the electric
  533. reference buffer and the header index and function name will appear in
  534. the echo area.
  535.  
  536.    The following commands are available while in electric reference mode
  537. (shown here with their default key bindings):
  538.  
  539. `sc-eref-next' (`n')
  540.      Displays the next reference header in the electric reference
  541.      buffer. If the variable `sc-electric-circular-p' is non-`nil',
  542.      invoking `sc-eref-next' while viewing the last reference header in
  543.      the list will wrap around to the first header.
  544.  
  545. `sc-eref-prev' (`p')
  546.      Displays the previous reference header in the electric reference
  547.      buffer.  If the variable `sc-electric-circular-p' is non-`nil',
  548.      invoking `sc-eref-prev' will wrap around to the last header.
  549.  
  550. `sc-eref-goto' (`g')
  551.      Goes to a specified reference header.  The index (into the
  552.      `sc-rewrite-header-list') can be specified as a numeric argument to
  553.      the command.  Otherwise, Supercite will query you for the index in
  554.      the minibuffer.
  555.  
  556. `sc-eref-jump' (`j')
  557.      Display the preferred reference header, i.e., the one indexed by
  558.      the current value of `sc-preferred-header-style'.
  559.  
  560. `sc-eref-setn' (`s')
  561.      Set the preferred reference header (i.e.,
  562.      `sc-preferred-header-style') to the currently displayed header.
  563.  
  564. `sc-eref-exit' (LFD, RET, and ESC C-c)
  565.      Exit from electric reference mode and insert the current header
  566.      into the reply buffer.
  567.  
  568. `sc-eref-abort' (`q', `x')
  569.      Exit from electric reference mode without inserting the current
  570.      header.
  571.  
  572. Supercite will execute the hook `sc-electric-mode-hook' before entering
  573. electric reference mode.
  574.  
  575. 
  576. File: sc,  Node: Getting Connected,  Next: Emacs 19 MUAs,  Prev: Recognizing Citations,  Up: Top
  577.  
  578. Getting Connected
  579. *****************
  580.  
  581.    Hitting `C-c C-y' in your MUA's reply buffer yanks and cites the
  582. original message into the reply buffer.  In reality, the citation of the
  583. original message is performed via a call through a configurable hook
  584. variable.  The name of this variable has been agreed to in advance as
  585. part of the "citation interface specification".  By default this hook
  586. variable has a `nil' value, which the MUA recognizes to mean, "use your
  587. default citation function".  When you add Supercite's citation function
  588. to the hook, thereby giving the variable a non-`nil' value, it tells
  589. the MUA to run the hook via `run-hooks' instead of using the default
  590. citation.
  591.  
  592. * Menu:
  593.  
  594. * Emacs 19 MUAs::
  595. * Emacs 18 MUAs::
  596. * MH-E with any Emacsen::
  597. * VM with any Emacsen::
  598. * GNEWS with any Emacsen::
  599. * Overloading for Non-conforming MUAs::
  600.  
  601.    Early in Supercite's development, the Supercite author, a few MUA
  602. authors, and some early Supercite users got together and agreed upon a
  603. standard interface between MUAs and citation packages (of which
  604. Supercite is currently the only known add-on :-).  With the recent
  605. release of the Free Software Foundation's GNU Emacs 19, the interface
  606. has undergone some modification and it is possible that not all MUAs
  607. support the new interface yet.  Some support only the old interface and
  608. some do not support the interface at all.  Still, it is possible for all
  609. known MUAs to use Supercite, and the following sections will outline the
  610. procedures you need to follow.
  611.  
  612.    To learn exactly how to connect Supercite to the software systems you
  613. are using, read the appropriate following sections.  For details on the
  614. interface specifications, or if you are writing or maintaining an MUA,
  615. *note Hints to MUA Authors::..
  616.  
  617.    The first thing that everyone should do, regardless of the MUA you
  618. are using is to set up Emacs so it will load Supercite at the
  619. appropriate time.  You can either dump Supercite into your Emacs binary
  620. (ask your local Emacs guru how to do this if you don't know), or you
  621. can set up an "autoload" for Supercite.  To do the latter, put the
  622. following in your `.emacs' file:
  623.  
  624.      (autoload 'sc-cite-original     "supercite" "Supercite 3.1" t)
  625.      (autoload 'sc-submit-bug-report "supercite" "Supercite 3.1" t)
  626.  
  627.    The function `sc-cite-original' is the top-level Supercite function
  628. designed to be run from the citation hook.  It expects `point' and
  629. `mark' to be set around the region to cite, and it expects the original
  630. article's mail headers to be present within this region.  Note that
  631. Supercite *never* touches any text outside this region.  Note further
  632. that for Emacs 19, the region need not be active for `sc-cite-original'
  633. to do its job.  *Note Hints to MUA Authors::.
  634.  
  635.    The other step in the getting connected process is to make sure your
  636. MUA calls `sc-cite-original' at the right time.  As mentioned above,
  637. some MUAs handle this differently.  Read the sections that follow
  638. pertaining to the MUAs you are using.
  639.  
  640.    One final note.  After Supercite is loaded into your Emacs session,
  641. it runs the hook `sc-load-hook'.  You can put any customizations into
  642. this hook since it is only run once.  This will not work, however, if
  643. your Emacs maintainer has put Supercite into your dumped Emacs' image.
  644. In that case, you can use the `sc-pre-hook' variable, but this will get
  645. executed every time `sc-cite-original' is called.  *Note Reply Buffer
  646. Initialization::.
  647.  
  648. 
  649. File: sc,  Node: Emacs 19 MUAs,  Next: Emacs 18 MUAs,  Prev: Getting Connected,  Up: Getting Connected
  650.  
  651. GNUS, RMAIL, or RNEWS with any Emacs 19
  652. =======================================
  653.  
  654.    These MUAs, distributed with Emacs and with Lucid Emacs, use Emacs's
  655. built-in yanking facility, which provides the citing hook variable
  656. `mail-citation-hook'.  By default, this hook's value is `nil', but by
  657. adding the following to your `.emacs' file, you can tell these MUAs to
  658. use Supercite to perform the citing of the original message:
  659.  
  660.      (add-hook 'mail-citation-hook 'sc-cite-original)
  661.  
  662.    GNUS users may also want to add the following bit of lisp as well.
  663. This prevents GNUS from inserting its default attribution header.
  664. Otherwise, both GNUS and Supercite will insert an attribution header:
  665.  
  666.      (setq news-reply-header-hook nil)
  667.  
  668. 
  669. File: sc,  Node: Emacs 18 MUAs,  Next: MH-E with any Emacsen,  Prev: Emacs 19 MUAs,  Up: Getting Connected
  670.  
  671. GNUS, RMAIL, PCMAIL, RNEWS with Emacs 18 or Epoch 4
  672. ===================================================
  673.  
  674.    These MUAs use Emacs' built-in yanking and citing routines,
  675. contained in the `sendmail.el' file.  `sendmail.el' for Emacs 18, and
  676. its derivative Epoch 4, do not know anything about the citation
  677. interface required by Supercite.  To connect Supercite to any of these
  678. MUAs under Emacs 18 or Epoch 4, you should first *note Overloading for
  679. Non-conforming MUAs::..  Then follow the directions for using these
  680. MUAs under Emacs 19.  *Note Emacs 19 MUAs::.
  681.  
  682.    Note that those instructions will tell you to use the function
  683. `add-hook'. This function is new with Emacs 19 and you will not have it
  684. by default if you are running Emacs 18 or Epoch 4.  You can either
  685. substitute the appropriate call to `setq', or you can use the
  686. `add-hook' function that is provided in the `sc-unsupp.el' file of
  687. unsupported Supercite hacks and ideas.  Or you can upgrade to some
  688. Emacs 19 variant!  :-)
  689.  
  690.    To use `setq' instead of `add-hook', you would, for example, change
  691. this:
  692.  
  693.      (add-hook 'mail-citation-hook 'sc-cite-original)
  694.  
  695.    to:
  696.  
  697.      (setq mail-citation-hook 'sc-cite-original)
  698.  
  699.    Note the lack of of a single quote on the first argument to `setq'.
  700.  
  701. 
  702. File: sc,  Node: MH-E with any Emacsen,  Next: VM with any Emacsen,  Prev: Emacs 18 MUAs,  Up: Getting Connected
  703.  
  704. MH-E with any Emacsen
  705. =====================
  706.  
  707.    MH-E 4.x conforms to the `mail-citation-hook' interface supported by
  708. other MUAs.  At the time of this writing, MH-E 4.0 has not been
  709. released, but if you have it, put this in your `.emacs' file to connect
  710. Supercite and MH-E 4.x:
  711.  
  712.      (add-hook 'mail-citation-hook 'sc-cite-original)
  713.  
  714.    Note that if you are using Emacs 18 or Epoch 4, you will not have the
  715. `add-hook' function.  *Note Emacs 18 MUAs:: for details on how to
  716. proceed without `add-hook'.
  717.  
  718.    MH-E version 3.x uses a slightly different interface than other MUAs.
  719. MH-E provides a hook variable `mh-yank-hooks', but it doesn't act like
  720. a hook, and doing an `add-hook' will not work.
  721.  
  722.    To connect Supercite to MH-E 3.x, you should instead add the
  723. following to your `.emacs' file:
  724.  
  725.      (add-hook 'mh-yank-hooks 'sc-cite-original)
  726.  
  727.    You also need to make sure that MH-E includes all the original mail
  728. headers in the yanked message.  The variable that controls this is
  729. `mh-yank-from-start-of-msg'.  By default, this variable has the value
  730. `t', which tells MH-E to include all the mail headers when yanking the
  731. original message.  Before you switched to using Supercite, you may have
  732. set this variable to other values so as not to include the mail headers
  733. in the yanked message.  Since Supercite requires these headers (and
  734. cleans them out for you), you need to make sure the value is `t'.  This
  735. lisp, in your `.emacs' file will do the trick:
  736.  
  737.      (setq mh-yank-from-start-of-msg t)
  738.  
  739.    Note that versions of MH-E before 3.7 did not provide the
  740. `mh-yank-hooks' variable.  Your only option is to upgrade to MH-E
  741. version 3.7 or later.
  742.  
  743. 
  744. File: sc,  Node: VM with any Emacsen,  Next: GNEWS with any Emacsen,  Prev: MH-E with any Emacsen,  Up: Getting Connected
  745.  
  746. VM with any Emacsen
  747. ===================
  748.  
  749.    Since release 4.40, VM has supported the citation interface required
  750. by Supercite.  But since the interface has changed recently the details
  751. of getting connected differ with the version of VM you are using.
  752.  
  753.    If you are running any release of VM after 4.40, you can add the
  754. following to your `.emacs' to connect Supercite with VM:
  755.  
  756.      (add-hook 'mail-yank-hooks 'sc-cite-original)
  757.  
  758.    Note that if you are using Emacs 18 or Epoch 4, you will not have the
  759. `add-hook' function.  *Note Emacs 18 MUAs:: for details on how to
  760. proceed without `add-hook'.
  761.  
  762.    Since version 5.34, VM has supported the newer `mail-citation-hook'
  763. interface, but `mail-yank-hooks' is still being supported for backward
  764. compatibility.  If you are running a newer version of VM and you want
  765. to maintain consistency with other MUAs, use this bit of code instead:
  766.  
  767.      (add-hook 'mail-citation-hook 'sc-cite-original)
  768.  
  769. 
  770. File: sc,  Node: GNEWS with any Emacsen,  Next: Overloading for Non-conforming MUAs,  Prev: VM with any Emacsen,  Up: Getting Connected
  771.  
  772. GNEWS with any Emacsen
  773. ======================
  774.  
  775.    As far as I know, no version of GNEWS supports the citation interface
  776. required by Supercite.  To connect Supercite with GNEWS, please first
  777. *note Overloading for Non-conforming MUAs::..
  778.  
  779.    After you have followed the directions in that section.  You should
  780. add the following lisp code to your `.emacs' file:
  781.  
  782.      (add-hook 'mail-citation-hook 'sc-cite-original)
  783.  
  784.    Note that if you are using Emacs 18 or Epoch 4, you will not have the
  785. `add-hook' function.  *Note Emacs 18 MUAs:: for details on how to
  786. proceed without `add-hook'.
  787.  
  788. 
  789. File: sc,  Node: Overloading for Non-conforming MUAs,  Next: Replying and Yanking,  Prev: GNEWS with any Emacsen,  Up: Getting Connected
  790.  
  791. Overloading for Non-conforming MUAs
  792. ===================================
  793.  
  794.    As mentioned elsewhere, some MUAs do not provide the necessary hooks
  795. to connect with Supercite.  Supercite version 3.1 provides an
  796. unsupported mechanism, called "overloading" which redefines certain key
  797. functions in the MUA, so that it will call the `mail-citation-hook'
  798. variable instead of the MUA's default hard-coded citing routines.  Since
  799. most newer versions of the known MUAs support the `mail-citation-hook'
  800. variable, it is recommended that you upgrade if at all possible.  But
  801. if you can't upgrade, at least you're not out of luck!  Once you set up
  802. overloading properly, you should follow the directions for connecting
  803. Supercite to the Emacs 19 MUAs.  *Note Emacs 19 MUAs::.
  804.  
  805.    Users of Bob Weiner's Hyperbole package take note.  Hyperbole
  806. provides the necessary overloads (and a whole lot more!) and you can
  807. potentially clobber it if you were to load Supercite's overloading after
  808. Hyperbole's.  For this reason, Supercite will *not* perform any
  809. overloading if it finds the variable `hyperb:version' is `boundp' (i.e.
  810. it exists because Hyperbole has been loaded into your Emacs session).
  811. If this is the case, Supercite will display a warning message in the
  812. minibuffer.  You should consult the Hyperbole manual for further
  813. details.
  814.  
  815.    Overloading involves the re-definition of the citing function with
  816. the new, `mail-citation-hook' savvy version.  The function in
  817. `sc-oloads.el' that does this is `sc-perform-overloads'.  This function
  818. is smart enough to only overload the MUA functions when it is
  819. absolutely necessary, based on the version numbers it can figure out.
  820. Also, `sc-perform-overloads' will only install the new functions once.
  821. It is also smart enough to do nothing if the MUA is not yet loaded.
  822.  
  823.    The tricky part is finding the right time and place to perform the
  824. overloading.  It must be done after the MUA has been loaded into your
  825. Emacs session, but before the first time you try to yank in a message.
  826. Fortunately, this has been figured out for you.
  827.  
  828.    If you must overload, you should put the following lisp code in your
  829. `.emacs' file, to make sure the `sc-oloads.el' file gets loaded at the
  830. right time:
  831.  
  832.      (autoload 'sc-perform-overloads "sc-oloads" "Supercite 3.1" t)
  833.  
  834.    Then you must make sure that the function `sc-perform-overloads'
  835. gets run at the right time.  For GNUS, put this in your `.emacs' file:
  836.  
  837.      (setq news-reply-mode-hook 'sc-perform-overloads)
  838.      (setq mail-setup-hook 'sc-perform-overloads)
  839.  
  840.    If you are using RNEWS, put this in your `.emacs' file:
  841.  
  842.      (setq news-reply-mode-hook 'sc-perform-overloads)
  843.  
  844.    If you are using RMAIL or PCMAIL, put this in your `.emacs' file:
  845.  
  846.      (setq mail-setup-hook 'sc-perform-overloads)
  847.  
  848.    If you are using GNEWS, put this in your `.emacs' file:
  849.  
  850.      (setq news-reply-mode-hook 'sc-perform-overloads)
  851.      (setq gnews-ready-hook 'sc-perform-overloads)
  852.  
  853.    Now go back and follow the directions for getting the Emacs 19 MUAs
  854. connected to Supercite.  Be sure to *note Emacs 18 MUAs::. on
  855. substitutes for Emacs 19's `add-hook' function.
  856.  
  857. 
  858. File: sc,  Node: Replying and Yanking,  Next: Reply Buffer Initialization,  Prev: Overloading for Non-conforming MUAs,  Up: Top
  859.  
  860. Replying and Yanking
  861. ********************
  862.  
  863.    This chapter explains what happens when you reply and yank an
  864. original message from an MUA.
  865.  
  866. * Menu:
  867.  
  868. * Reply Buffer Initialization::
  869. * Filling Cited Text::
  870.  
  871. 
  872. File: sc,  Node: Reply Buffer Initialization,  Next: Filling Cited Text,  Prev: Replying and Yanking,  Up: Replying and Yanking
  873.  
  874. Reply Buffer Initialization
  875. ===========================
  876.  
  877.    Executing `sc-cite-original' performs the following steps as it
  878. initializes the reply buffer:
  879.  
  880.   1. *Runs `sc-pre-hook'.* This hook variable is run before
  881.      `sc-cite-original' does any other work.  You could conceivably use
  882.      this hook to set certain Supercite variables based on the reply
  883.      buffer's mode or name (i.e., to do something different based on
  884.      whether you are replying or following up to an article).
  885.  
  886.   2. *Inserts Supercite's keymap.* Supercite provides a number of
  887.      commands for performing post-yank modifications to the reply
  888.      buffer.  These commands are installed on Supercite's top-level
  889.      keymap.  Since Supercite has to interface with a wide variety of
  890.      MUAs, it does not install all of its commands directly into the
  891.      reply buffer's keymap.  Instead, it puts its commands on a keymap
  892.      prefix, then installs this prefix onto the buffer's keymap.  What
  893.      this means is that you typically have to type more characters to
  894.      invoke a Supercite command, but Supercite's keybindings can be
  895.      made much more consistent across MUAs.
  896.  
  897.      You can control what key Supercite uses as its keymap prefix by
  898.      changing the variable `sc-mode-map-prefix'.  By default, this
  899.      variable is set to `C-c C-p'; a finger twister perhaps, but
  900.      unfortunately the best default due to the scarcity of available
  901.      keybindings in many MUAs.
  902.  
  903.   3. *Turns on Supercite minor mode.* The modeline of the reply buffer
  904.      should indicate that Supercite is active in that buffer by
  905.      displaying the string `SC'.
  906.  
  907.   4. *Sets the "Undo Boundary".* Supercite sets an undo boundary before
  908.      it begins to modify the original yanked text.  This allows you to
  909.      easily undo Supercite's changes to affect alternative citing
  910.      styles.
  911.  
  912.   5. *Processes the the mail headers.* All previously retrieved info
  913.      key-value pairs are deleted from the info alist, then the mail
  914.      headers in the body of the yanked message are scanned. Info
  915.      key-value pairs are created for each header found. Also, such
  916.      useful information as the author's name and email address are
  917.      extracted.  If the variable `sc-mail-warn-if-non-rfc822-p' is
  918.      non-`nil', then Supercite will warn you if it finds a mail header
  919.      that does not conform to RFC822.  This is rare and indicates a
  920.      problem either with your MUA or the original author's MUA, or some
  921.      MTA (mail transport agent) along the way.
  922.  
  923.      Once the info keys have been extracted from the mail headers, the
  924.      headers are nuked from the reply buffer.  You can control exactly
  925.      which headers are removed or kept, but by default, all headers are
  926.      removed.
  927.  
  928.      There are two variables which control mail header nuking.  The
  929.      variable `sc-nuke-mail-headers' controls the overall behavior of
  930.      the header nuking routines.  By setting this variable to `'all',
  931.      you automatically nuke all mail headers.  Likewise, setting this
  932.      variable to `'none' inhibits nuking of any mail headers.  In
  933.      between these extremes, you can tell Supercite to nuke only a
  934.      specified list of mail headers by setting this variable to
  935.      `'specified', or to keep only a specified list of headers by
  936.      setting it to `'keep'.
  937.  
  938.      If `sc-nuke-mail-headers' is set to `'specified' or `'keep', then
  939.      the variable `sc-nuke-mail-header-list' is consulted for the list
  940.      of headers to nuke or keep.  This variable contains a list of
  941.      regular expressions.  If the mail header line matches a regular
  942.      expression in this list, the header will be nuked or kept.  The
  943.      line is matched against the regexp using `looking-at' rooted at
  944.      the beginning of the line.
  945.  
  946.      If the variable `sc-blank-lines-after-headers' is non-`nil', it
  947.      contains the number of blank lines remaining in the buffer after
  948.      mail headers are nuked.  By default, only one blank line is left
  949.      in the buffer.
  950.  
  951.   6. *Selects the attribution and citation strings.* Once the mail
  952.      headers have been processed, Supercite selects a attribution
  953.      string and a citation string which it will use to cite the
  954.      original message.  *Note Selecting an Attribution:: for details.
  955.  
  956.   7. *Cites the message body.* After the selection of the attribution
  957.      and citation strings, Supercite cites the original message by
  958.      inserting the citation string prefix in front of every uncited
  959.      line.  You may not want Supercite to automatically cite very long
  960.      messages however.  For example, some email could contain a smaller
  961.      header section followed by a huge uuencoded message.  It wouldn't
  962.      make sense to cite the uuencoded message part when responding to
  963.      the original author's short preface.  For this reason, Supercite
  964.      provides a variable which limits the automatic citation of long
  965.      messages to a certain maximum number of lines.  The variable is
  966.      called `sc-cite-region-limit'.  If this variable contains an
  967.      integer, messages with more lines that this will not be cited at
  968.      all, and a warning message will be displayed.  Supercite has
  969.      performed everything necessary, though, for you to manually cite
  970.      only the small portion of the original message that you want to
  971.      use.
  972.  
  973.      If `sc-cite-region-limit' contains a non-`nil' value, the original
  974.      message will always be cited, regardless of its size.  If the
  975.      variable contains the value `nil', the region will never be cited
  976.      automatically.  Use this if you always want to be able to edit and
  977.      cite the message manually.
  978.  
  979.      The variable `sc-cite-blank-lines-p' controls whether blank lines
  980.      in the original message should be cited or not.  If this variable
  981.      is non-`nil', blank lines will be cited just like non-blank lines.
  982.      Otherwise, blank lines will be treated as paragraph separators.
  983.  
  984.      Citing of the original message is highly configurable. Supercite's
  985.      default setup does a pretty good job of citing many common forms of
  986.      previously cited messages.  But there are as many citation styles
  987.      out there as people on the net, or just about!  It would be
  988.      impossible for Supercite to anticipate every style in existence,
  989.      and you probably wouldn't encounter them all anyway.  But you can
  990.      configure Supercite to recognize those styles you see often.
  991.      *Note Configuring the Citation Engine:: for details.
  992.  
  993.   8. *Runs `sc-post-hook'.* This variable is very similar to
  994.      `sc-pre-hook', except that it runs after `sc-cite-original' is
  995.      finished. This hook is provided mostly for completeness and
  996.      backward compatibility. Perhaps it could be used to reset certain
  997.      variables set in `sc-pre-hook'.
  998.  
  999. 
  1000. File: sc,  Node: Filling Cited Text,  Next: Selecting an Attribution,  Prev: Reply Buffer Initialization,  Up: Replying and Yanking
  1001.  
  1002. Filling Cited Text
  1003. ==================
  1004.  
  1005.    Supercite will automatically fill newly cited text from the original
  1006. message unless the variable `sc-auto-fill-region-p' has a `nil' value.
  1007. Supercite will also re-fill paragraphs when you manually cite or
  1008. re-cite text.
  1009.  
  1010.    However, during normal editing, Supercite itself cannot be used to
  1011. fill paragraphs.  This is a change from version 2.  There are other
  1012. add-on lisp packages which do filling much better than Supercite ever
  1013. did.  The two best known are "filladapt" and "gin-mode".  Both work well
  1014. with Supercite and both are available at the normal Emacs Lisp archive
  1015. sites.  "gin-mode" works pretty well out of the box, but if you use
  1016. "filladapt", you may want to run the function `sc-setup-filladapt' from
  1017. your `sc-load-hook'.  This simply makes "filladapt" a little more
  1018. Supercite savvy than its default setup.
  1019.  
  1020.    Also, Supercite will collapse leading whitespace between the citation
  1021. string and the text on a line when the variable `sc-fixup-whitespace-p'
  1022. is non-`nil'.  The default value for this variable is `nil'.
  1023.  
  1024.    Its important to understand that Supercite's automatic filling
  1025. (during the initial citation of the reply) is very fragile.  That is
  1026. because figuring out the `fill-prefix' for a particular paragraph is a
  1027. really hard thing to do automatically.  This is especially the case when
  1028. the original message contains code or some other text where leading
  1029. whitespace is important to preserve.  For this reason, many Supercite
  1030. users typically run with `sc-auto-fill-region-p' (and possibly also
  1031. `sc-fixup-whitespace-p') set to `nil'.  They then manually fill each
  1032. cited paragraph in the reply buffer.
  1033.  
  1034.    I usually run with both these variables containing their default
  1035. values.  When Supercite's automatic filling breaks on a particular
  1036. message, I will use Emacs' undo feature to undo back before the
  1037. citation was applied to the original message.  Then I'll toggle the
  1038. variables and manually cite those paragraphs that I don't want to fill
  1039. or collapse whitespace on.  *Note Variable Toggling Shortcuts::.
  1040.  
  1041.    If you find that Supercite's automatic filling is just too fragile
  1042. for your tastes, you might consider one of these alternate approaches.
  1043. Also, to make life easier, a shortcut function to toggle the state of
  1044. both of these variables is provided on the key binding `C-c C-p C-p'
  1045. (with the default value of `sc-mode-map-prefix'; *note Post-yank
  1046. Formatting Commands::.).
  1047.  
  1048.    You will noticed that the minor mode string will show the state of
  1049. these variables as qualifier characters. When both variables are `nil',
  1050. the Supercite minor mode string will display `SC'.  When just
  1051. `sc-auto-fill-region-p' is non-`nil', the string will display `SC:f',
  1052. and when just `sc-fixup-whitespace-p' is non-`nil', the string will
  1053. display `SC:w'.  When both variables are non-`nil', the string will
  1054. display `SC:fw'.  Note that the qualifiers chosen are mnemonics for the
  1055. default bindings of the toggling function for each respective variable.
  1056. *Note Variable Toggling Shortcuts::.
  1057.  
  1058.    Why are these variables not set to `nil' by default?  It is because
  1059. many users won't manually fill paragraphs that are Supercited, and there
  1060. have been widespread complaints on the net about mail and news messages
  1061. containing lines greater than about 72 characters.  So the default is to
  1062. fill cited text.
  1063.  
  1064. 
  1065. File: sc,  Node: Selecting an Attribution,  Next: Attribution Preferences,  Prev: Filling Cited Text,  Up: Top
  1066.  
  1067. Selecting an Attribution
  1068. ************************
  1069.  
  1070.    As you know, the attribution string is the part of the author's name
  1071. that will be used to composed a non-nested citation string. Supercite
  1072. scans the various mail headers present in the original article and uses
  1073. a number of heuristics to extract strings which it puts into the
  1074. "attribution association list" or "attribution alist". This is
  1075. analogous, but different than, the info alist previously mentioned. Each
  1076. element in the attribution alist is a key-value pair containing such
  1077. information as the author's first name, middle names, and last name, the
  1078. author's initials, and the author's email terminus.
  1079.  
  1080. * Menu:
  1081.  
  1082. * Attribution Preferences::
  1083. * Anonymous Attributions::
  1084. * Author Names::
  1085.  
  1086.