Commit graph

9 commits

Author SHA1 Message Date
205178fa07 Use defcustom for avandu-tt-rss-api-url
* avandu.el: Change `avandu-tt-rss-api-url' from a `defvar' to a
  `defcustom' to make it easier for users to change.
2012-08-02 22:24:11 +02:00
5e9acf6f30 Add some documentation 2012-08-02 22:22:34 +02:00
b138eea723 Add logout command
If you ever want to manually reset your session.
2012-07-28 22:52:57 +02:00
cdccaa9311 Clean up data when login fails
Before, when attempting to log in, and failing, the username and
password were retained and subsequent attempts would also fail.  Now
the data is deleted and new login requests will start fresh.
2012-07-28 22:49:18 +02:00
3d4e26cbe0 Add   as replaceable entity
Replace it with ` '.
2012-07-27 02:31:58 +02:00
939a7f94ba Pass-off cleaning up of text to separate function
* avandu.el (avandu-entity-replacement-alist): An alist that keeps
  track which titled entities should be replaced by which character.

  (avandu-clean-text): New function.

  (avandu--insert-article-excerpt): Don't run endless chains of
  `replace-regexp-in-string', leave (almost) all cleanup to
  `avandu-clean-text'.  Don't print an excerpt if it is empty.
2012-07-27 01:44:14 +02:00
529c17e7c1 Add excerpt to articles
* avandu.el (avandu-overview-excerpt): New face.

  (avandu--insert-feed-title): Replace `newline' with `insert-char' to
  prevent newlines from continuing indentation.

  (avandu--insert-article-title): Replace `newline' with
  `insert-char'.

  (avandu--insert-article-excerpt): New function.

  (avandu-list): Ask tt-rss to send along an excerpt of each article
  and print this excerpt after the article's title.
2012-07-26 00:49:18 +02:00
a0882bf8da Add/improve docstrings 2012-07-26 00:43:30 +02:00
810732f559 Initial commit 2012-07-25 01:49:02 +02:00