New signature feature and self-promotion.
authorSteve Youngs <steve@sxemacs.org>
Sat, 25 Jun 2011 06:23:59 +0000 (16:23 +1000)
committerSteve Youngs <steve@sxemacs.org>
Sat, 25 Jun 2011 06:23:59 +0000 (16:23 +1000)
commit84847f8e3d8fc5ba4af2c9c0007ab827282d525c
tree00d297868f30391b91dfa6223c5a2d51edf99418
parent0c0ea7374cd19ad4959ea22e981de0c1f4bbb2f4
New signature feature and self-promotion.

This patchset brings some shameless self-promotion by adding a byline to
the bottom of a post: "Posted via: SXEmacs/LJ (version string)".  It is in
a fairly small font and out of the way so should be reasonably
inconspicuous, but you can turn it off if you want to with...

  (setq lj-self-promote nil)

There's a new user variable, `lj-signature', the value of which is
inserted at the bottom of the post buffer if it is non-nil.  It is
inserted verbatim, so making it pretty (HTML formatting) is up to the
user.

     * lj.el (lj-byline): New.  Nothing wrong with a bit of
self-advertising, I reckon. ;-)

     * lj.el (lj-self-promote): New.  When non-nil tell the world that
     you use sexy software.

     * lj.el (lj-post): Optionally add the byline.

     * lj.el (lj-preview): Include byline in preview.

     * lj.el (lj-validate): Ditto.

     * lj.el (lj-signature): New.  Lets you include a sig at the bottom
     of a post.

     * lj.el (lj-generate-new-buffer): Insert the signature if it is set.

     * lj.el (lj-version): Bump.

Signed-off-by: Steve Youngs <steve@sxemacs.org>
lj.el