Documentation
Commentary
This code is designed for use when editing email and news articles. It lets you create signatures that automatically adapt to what you're writing based on words contained in the body of the text. smartsig allows you to do this by letting you define signatures with associated keywords. The definition is done using `smartsig-add': (smartsig-add ID SIGNATURE &rest KEYWORDS) ID is a unique ID for the signature, make it something short and meaningful. SIGNATURE is a pointer to the signature file that you want used when this signature becomes applicable. KEYWORDS is an open ended list of keywords that will help trigger the selection of this signature. Because there are a number of mail/news editing modes out there some parts of smartsig need to be configured before it will work. The configuration items are: `smartsig-start-of-body-function' : This variable should be set to point to a function that will return the `point' of the start of the body of the article (IOW the first bit of text after any headers). `smartsig-end-of-body-function' : This variable should be set to point to a function that will return the `point' of the end of the body of the article (IOW the `point' before the signature). `smartsig-set-signature' : This variable should be set to point to a function that will set the signature. The function should take a single parameter that is the name of the signature file. `smartsig-abbrev-table' : This variable should be set to a symbol that is the name of the abbrev table you intend to use. Please note that smartsig needs abbrev to work. Once you've configured smartsig to work with your environment you'll still need to turn on `abbrev-mode' for your mail/news editing mode before anything will happen. The latest smartsig.el is always available from: <URL:https://github.com/davep/smartsig.el>
Requires
Dependencies
Consumers
Reverse Dependencies
No reverse dependencies recorded.