[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Once the original message has been yanked into the reply buffer, and
sc-cite-original
has had a chance to do its thing, a number of
useful Supercite commands will be available to you. Since there is wide
variety in the keymaps that MUAs set up in their reply buffers, it is
next to impossible for Supercite to properly sprinkle its commands into
the existing keymap. For this reason Supercite places its commands on a
separate keymap, putting this keymap onto a prefix key in the reply
buffer. You can customize the prefix key Supercite uses by changing the
variable sc-mode-map-prefix
. By default, the
sc-mode-map-prefix
is C-c C-p; granted, not a great choice,
but unfortunately the best general solution so far. In the rest of this
chapter, we'll assume you've installed Supercite's keymap on the default
prefix.
9.1 Commands to Manually Cite, Recite, and Uncite | ||
9.2 Insertion Commands | ||
9.3 Variable Toggling Shortcuts | ||
9.4 Mail Field Commands | ||
9.5 Miscellaneous Commands |
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Probably the three most common post-yank formatting operations that you
will perform will be the manual citing, reciting, and unciting of
regions of text in the reply buffer. Often you may want to recite a
paragraph to use a nickname, or manually cite a message when setting
sc-cite-region-limit
to nil
. The following commands
perform these functions on the region of text between `point' and
`mark'. Each of them sets the undo boundary before modifying
the region so that the command can be undone in the standard Emacs
way.
A quick note about Emacs 19. Unlike in Emacs 18, the region delimited by `point' and `mark' can have two states. It can be active or inactive. Although the FSF Emacs 19 and Lucid Emacs 19 use different terminology and functions, both employ the same convention such that when the region is inactive, commands that modify the region should generate an error. The user needs to explicitly activate the region before successfully executing the command. All Supercite commands conform to this convention.
Here is the list of Supercite citing commands:
sc-cite-region
(C-c C-p c)
sc-cite-frame-alist
, or the default citing
frame sc-default-cite-frame
. It runs the hook
sc-pre-cite-hook
before interpreting the frame. With an optional
universal argument (C-u), it temporarily sets
sc-confirm-always-p
to t
so you can confirm the
attribution string for a single manual citing.
See section 8. Configuring the Citation Engine.
sc-uncite-region
(C-c C-p u)
sc-uncite-frame-alist
, or the default unciting frame
sc-default-uncite-frame
. It runs the hook
sc-pre-uncite-hook
before interpreting the frame.
See section 8. Configuring the Citation Engine.
sc-recite-region
(C-c C-p r)
sc-recite-frame-alist
, or the default reciting frame
sc-default-recite-frame
. It runs the hook
sc-pre-recite-hook
before interpreting the frame.
See section 8. Configuring the Citation Engine.
Supercite will always ask you to confirm the attribution when reciting a
region, regardless of the value of sc-confirm-always-p
.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These two functions insert various strings into the reply buffer.
sc-insert-reference
(C-c C-p w)
sc-preferred-header-style
is
inserted. An optional numeric argument is the index into
sc-rewrite-header-list
indicating which reference header to
write.
With just the universal argument (C-u), electric reference mode is
entered, regardless of the value of sc-electric-references-p
.
sc-insert-citation
(C-c C-p i)
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
Supercite defines a number of commands that make it easier for you to toggle and set various Supercite variables as you are editing the reply buffer. For example, you may want to turn off filling or whitespace cleanup, but only temporarily. These toggling shortcut commands make this easy to do.
Like Supercite commands in general, the toggling commands are placed on
a keymap prefix within the greater Supercite keymap. For the default
value of sc-mode-map-prefix
, this will be
C-c C-p C-t.
The following commands toggle the value of certain Supercite variables which take only a binary value:
sc-mail-nuke-blank-lines-p
.
sc-confirm-always-p
.
sc-downcase-p
.
sc-electric-references-p
.
sc-auto-fill-region-p
.
sc-electric-circular-p
.
sc-nested-citation-p
.
sc-use-only-preferences-p
.
sc-fixup-whitespace-p
.
The following commands let you set the value of multi-value variables,
in the same way that Emacs' set-variable
does:
sc-preferred-attribution-list
.
sc-cite-region-limit
.
sc-mail-nuke-mail-headers
.
sc-mail-header-nuke-list
.
sc-preferred-header-style
.
One special command is provided to toggle both
sc-auto-fill-region-p
and sc-fixup-whitespace-p
together.
This is because you typically want to run Supercite with either variable
as nil
or non-nil
. The command to toggle these variables
together is bound on C-c C-p C-p.
Finally, the command C-c C-p C-t h (also C-c C-p C-t ?) brings up a Help message on the toggling keymap.
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
These commands allow you to view, modify, add, and delete various bits of information from the info alist. See section 3. Information Keys and the Info Alist.
sc-mail-field-query
(C-c C-p f)
If you want to modify the value of a key, Supercite will first prompt you (with completion) for the key of the value you want to change. It will then put you in the minibuffer with the key's current value so you can edit the value as you wish. When you hit RET, the key's value is changed. For those of you running Emacs 19, minibuffer history is kept for the values.
If you choose to delete a key-value pair, Supercite will prompt you (with completion) for the key to delete.
If you choose to add a new key-value pair, Supercite firsts prompts you for the key to add. Note that completion is turned on for this prompt, but you can type any key name here, even one that does not yet exist. After entering the key, Supercite prompts you for the key's value. It is not an error to enter a key that already exists, but the new value will override any old value. It will not replace it though; if you subsequently delete the key-value pair, the old value will reappear.
sc-mail-process-headers
(C-c C-p g)
[ < ] | [ > ] | [ << ] | [ Up ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
sc-open-line
(C-c C-p o)
open-line
commands, but inserts the
citation string in front of the new line. As with open-line
,
an optional numeric argument inserts that many new lines.
sc-describe
(C-c C-p h and C-c C-p ?)
sc-version
(C-c C-p v)
sc-submit-bug-report
(C-c C-p C-b)
[ << ] | [ >> ] | [Top] | [Contents] | [Index] | [ ? ] |
This document was generated by XEmacs shared group account on December, 19 2009
using texi2html 1.65.