Browse files

add library commentary from README

and make summary parsable by `lm-summary'.
  • Loading branch information...
1 parent e5a3d84 commit 03e3b9afcc2cb3308ee7386c9c886ccbc0cead06 @tarsius tarsius committed Feb 8, 2012
Showing with 47 additions and 5 deletions.
  1. +47 −5 posterous.el
View
52 posterous.el
@@ -1,14 +1,12 @@
-;; posterous.el --- Emacs integration for posterous.com
+;;; posterous.el --- Emacs integration for posterous.com
(defvar posterous-version "0.1")
-;; Currently only posts to a blog.
-
;; Maintainer: Sarah Mount snim2@snim2.org
;; Author: Sarah Mount snim2@snim2.org
;; Version: 0.1
;; Created: 14 May 2010
-;; Keywords: posterous blog
+;; Keywords: posterous blog
;; This file is NOT part of GNU Emacs.
@@ -27,6 +25,50 @@
;; Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston,
;; MA 02111-1307, USA.
+;;; Commentary:
+
+;; Emacs integration for posterous.com.
+;; It currently supports posting text (only) to posterous.
+
+;; Place the .el file somewhere on you load path (e.g. ~/.emacs.d/) and
+;; set the following variables in your .emacs or init.el file:
+
+;; posterous-email -- your email address or username on posterous.com
+;; posterous-password -- your password on posterous.com
+
+;; and you can interact with posterous.com using the functions:
+
+;; M-x posterous-getsites
+;; -- places a list of sites that you own on posterous.com.
+;; -- Includes siteids.
+;; -- Currently still formatted as XML.
+
+;; M-x posterous-region
+;; -- post a region of text to posterous
+
+;; M-x posterous-region-private
+;; -- post a region of text to posterous as a private post.
+
+;; M-x posterous-buffer
+;; -- post a buffer of text to posterous.
+
+;; M-x posterous-buffer-private
+;; -- post a buffer of text to posterous as a private post.
+
+;; If you do not wish to post to your default posterous site, you can
+;; customise the variable:
+
+;; posterous-default-siteid
+
+;; to discover the siteids of all your sites, use M-x posterous-getsites.
+
+;; If you do not wish to autopost to your social networks connected to
+;; your posterous.com account, place the following in your Emacs
+;; configuration file:
+
+;; (setq posterous-suppress-autopost)
+
+;;; Code:
(require 'url)
(require 'xml)
@@ -212,4 +254,4 @@
(provide 'posterous)
-;; posterous.el end.
+;; posterous.el end.

0 comments on commit 03e3b9a

Please sign in to comment.