annotate lisp/net/newsticker.el @ 112209:4a44f74c4f7c

(doc-view-initiate-display): Fall back to normal mode when doc-view-mode cannot be enabled, also when extracting the document text into a separate buffer (bug#6446).
author Tassilo Horn <tassilo@member.fsf.org>
date Thu, 13 Jan 2011 21:17:15 +0100
parents a3e1f7134e6e
children 417b1e4d63cd
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
1 ;;; newsticker.el --- A Newsticker for Emacs.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
2
106815
1d1d5d9bd884 Add 2010 to copyright years.
Glenn Morris <rgm@gnu.org>
parents: 106460
diff changeset
3 ;; Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
95764
377bd43ebb8e Header formatting fix.
Glenn Morris <rgm@gnu.org>
parents: 95680
diff changeset
4 ;; Free Software Foundation, Inc.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
5
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
6 ;; Author: Ulf Jasper <ulf.jasper@web.de>
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
7 ;; Filename: newsticker.el
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
8 ;; URL: http://www.nongnu.org/newsticker
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
9 ;; Created: 17. June 2003
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
10 ;; Keywords: News, RSS, Atom
106460
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
11 ;; Time-stamp: "6. Dezember 2009, 19:15:18 (ulf)"
110016
a3e1f7134e6e Add "Version:" and "Package:" Lisp file headers.
Chong Yidong <cyd@stupidchicken.com>
parents: 106815
diff changeset
12 ;; Version: 1.99
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
13
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
14 ;; ======================================================================
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
15
95764
377bd43ebb8e Header formatting fix.
Glenn Morris <rgm@gnu.org>
parents: 95680
diff changeset
16 ;; This file is part of GNU Emacs.
377bd43ebb8e Header formatting fix.
Glenn Morris <rgm@gnu.org>
parents: 95680
diff changeset
17
94677
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
18 ;; GNU Emacs is free software: you can redistribute it and/or modify
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
19 ;; it under the terms of the GNU General Public License as published by
94677
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
20 ;; the Free Software Foundation, either version 3 of the License, or
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
21 ;; (at your option) any later version.
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
22
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
23 ;; GNU Emacs is distributed in the hope that it will be useful,
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
24 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
25 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
26 ;; GNU General Public License for more details.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
27
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
28 ;; You should have received a copy of the GNU General Public License
94677
91e5880a36c1 Switch to recommended form of GPLv3 permissions notice.
Glenn Morris <rgm@gnu.org>
parents: 87649
diff changeset
29 ;; along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
30
95680
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
31 (defconst newsticker-version "1.99" "Version number of newsticker.el.")
65998
e6b90c8b34d8 (newsticker-start, newsticker-show-news): Add autoload cookies.
Richard M. Stallman <rms@gnu.org>
parents: 65638
diff changeset
32
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
33 ;; ======================================================================
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
34 ;;; Commentary:
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
35
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
36 ;; Overview
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
37 ;; --------
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
38
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
39 ;; Newsticker provides a newsticker for Emacs. A newsticker is a thing
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
40 ;; that asynchronously retrieves headlines from a list of news sites,
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
41 ;; prepares these headlines for reading, and allows for loading the
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
42 ;; corresponding articles in a web browser.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
43
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
44 ;; Headlines consist of a title and (possibly) a small description. They
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
45 ;; are contained in "RSS" (RDF Site Summary) or "Atom" files. Newsticker
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
46 ;; should work with the following RSS formats:
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
47 ;; * RSS 0.91
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
48 ;; (see http://backend.userland.com/rss091 or
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
49 ;; http://my.netscape.com/publish/formats/rss-spec-0.91.html)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
50 ;; * RSS 0.92
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
51 ;; (see http://backend.userland.com/rss092)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
52 ;; * RSS 1.0
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
53 ;; (see http://purl.org/rss/1.0/spec)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
54 ;; * RSS 2.0
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
55 ;; (see http://blogs.law.harvard.edu/tech/rss)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
56 ;; as well as the following Atom formats:
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
57 ;; * Atom 0.3
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
58 ;; * Atom 1.0
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
59 ;; (see http://www.ietf.org/internet-drafts/draft-ietf-atompub-format-11.txt)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
60 ;; That makes Newsticker.el an "Atom aggregator, "RSS reader", "RSS
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
61 ;; aggregator", and "Feed Reader".
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
62
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
63 ;; Newsticker provides several commands for reading headlines, navigating
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
64 ;; through them, marking them as read/unread, hiding old headlines
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
65 ;; etc. Headlines can be displayed as plain text or as rendered HTML.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
66
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
67 ;; Headlines can be displayed in the echo area, either scrolling like
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
68 ;; messages in a stock-quote ticker, or just changing.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
69
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
70 ;; Newsticker allows for automatic processing of headlines by providing
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
71 ;; hooks and (sample) functions for automatically downloading images and
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
72 ;; enclosed files (as delivered by podcasts, e.g.).
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
73
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
74 ;; Requirements
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
75 ;; ------------
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
76 ;; Newsticker can be used with GNU Emacs version 21.1 or later as well as
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
77 ;; XEmacs. It requires an XML-parser (`xml.el') which is part of GNU
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
78 ;; Emacs. If you are using XEmacs you want to get the `net-utils' package
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
79 ;; which contains `xml.el' for XEmacs.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
80
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
81 ;; Newsticker requires a program which can retrieve files via http and
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
82 ;; prints them to stdout. By default Newsticker will use wget for this
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
83 ;; task.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
84
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
85 ;; Installation
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
86 ;; ------------
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
87
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
88 ;; If you are using Newsticker as part of GNU Emacs there is no need to
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
89 ;; perform any installation steps in order to use Newsticker. Otherwise
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
90 ;; place Newsticker in a directory where Emacs can find it. Add the
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
91 ;; following line to your Emacs startup file (`~/.emacs').
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
92 ;; (add-to-list 'load-path "/path/to/newsticker/")
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
93 ;; (autoload 'newsticker-start "newsticker" "Emacs Newsticker" t)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
94 ;; (autoload 'newsticker-show-news "newsticker" "Emacs Newsticker" t)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
95
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
96 ;; If you are using `imenu', which allows for navigating with the help of a
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
97 ;; menu, you should add the following to your Emacs startup file
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
98 ;; (`~/.emacs').
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
99 ;; (add-hook 'newsticker-mode-hook 'imenu-add-menubar-index)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
100
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
101 ;; That's it.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
102
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
103 ;; Usage
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
104 ;; -----
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
105 ;; The command newsticker-show-news will display all available headlines in
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
106 ;; a special buffer, called `*newsticker*'. It will also start the
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
107 ;; asynchronous download of headlines. The modeline in the `*newsticker*'
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
108 ;; buffer informs whenever new headlines have arrived. Clicking
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
109 ;; mouse-button 2 or pressing RET in this buffer on a headline will call
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
110 ;; browse-url to load the corresponding news story in your favourite web
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
111 ;; browser.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
112
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
113 ;; The scrolling, or flashing of headlines in the echo area, can be started
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
114 ;; with the command newsticker-start-ticker. It can be stopped with
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
115 ;; newsticker-stop-ticker.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
116
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
117 ;; If you just want to start the periodic download of headlines use the
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
118 ;; command newsticker-start. Calling newsticker-stop will stop the
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
119 ;; periodic download, but will call newsticker-stop-ticker as well.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
120
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
121 ;; Configuration
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
122 ;; -------------
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
123 ;; All Newsticker options are customizable, i.e. they can be changed with
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
124 ;; Emacs customization methods: Call the command customize-group and enter
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
125 ;; `newsticker' for the customization group.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
126
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
127 ;; All Newsticker options have reasonable default values, so that in most
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
128 ;; cases it is not necessary to customize settings before starting
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
129 ;; Newsticker for the first time.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
130
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
131 ;; Newsticker options are organized in the following groups.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
132
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
133 ;; * newsticker-feed contains options that define which news
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
134 ;; feeds are retrieved and how this is done.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
135 ;; o newsticker-url-list defines the list of headlines which are
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
136 ;; retrieved.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
137 ;; o newsticker-retrieval-interval defines how often headlines are
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
138 ;; retrieved.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
139 ;; * newsticker-headline-processing contains options that define how the
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
140 ;; retrieved headlines are processed.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
141 ;; o newsticker-keep-obsolete-items decides whether unread headlines that
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
142 ;; have been removed from the feed are kept in the Newsticker cache.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
143 ;; * newsticker-layout contains options that define how the buffer for
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
144 ;; reading news headlines is formatted.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
145 ;; o newsticker-item-format defines how the title of a headline is
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
146 ;; formatted.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
147 ;; * newsticker-ticker contains options that define how headlines are shown
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
148 ;; in the echo area.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
149 ;; o newsticker-display-interval and newsticker-scroll-smoothly define
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
150 ;; how headlines are shown in the echo area.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
151 ;; * newsticker-hooks contains options for hooking other Emacs commands to
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
152 ;; newsticker functions.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
153 ;; o newsticker-new-item-functions allows for automatic processing of
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
154 ;; headlines. See `newsticker-download-images', and
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
155 ;; `newsticker-download-enclosures' for sample functions.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
156 ;; * newsticker-miscellaneous contains other Newsticker options.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
157
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
158 ;; Please have a look at the customization buffers for the complete list of
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
159 ;; options.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
160
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
161 ;; Remarks
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
162 ;; -------
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
163 ;; This newsticker is designed do its job silently in the background
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
164 ;; without disturbing you. However, it is probably impossible to prevent
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
165 ;; such a tool from slightly attenuating your Editor's responsiveness every
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
166 ;; once in a while.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
167
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
168 ;; Byte-compiling newsticker.el is recommended.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
169
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
170 ;; ======================================================================
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
171 ;;; History:
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
172
95680
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
173 ;; 1.99
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
174 ;; * Lots! of changes.
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
175
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
176 ;; 1.10x
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
177 ;; * Support for download via url. Setting the new variable
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
178 ;; `newsticker-download-method' to 'intern will make newsticker
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
179 ;; use the url-package instead of the external program
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
180 ;; wget. Default value is 'extern.
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
181 ;; * Re-enabled `newsticker-default-face'.
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
182 ;; * Workaround for broken extra-data.
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
183
75606
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
184 ;; 1.10 (2007-01-29)
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
185 ;; * Bugfixes mostly: `newsticker--decode-iso8601-date',
95680
e5ad50007c14 Split into multiple files. New frontend. Bugfixes.
Ulf Jasper <ulf.jasper@web.de>
parents: 94677
diff changeset
186 ;; `newsticker--sentinel', and others.
75606
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
187 ;; * Renamed `newsticker--retrieval-timer-list' to
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
188 ;; `newsticker-retrieval-timer-list'. Removed
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
189 ;; `newsticker-running-p' -- check newsticker-retrieval-timer-list
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
190 ;; to find out whether newsticker is running. Removed
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
191 ;; `newsticker-ticker-running-p'.
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
192 ;; * Try to cache images in w3m-rendered HTML text.
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
193 ;; * Other minor changes.
b4a41bf661e9 (newsticker-version): Changed to "1.10".
Eli Zaretskii <eliz@gnu.org>
parents: 75347
diff changeset
194
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
195 ;; 1.9 (2005-11-01)
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
196 ;; * Rewrote feed parsing part. Newsticker now supports RSS 0.91,
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
197 ;; 0.92, 1.0, 2.0 as well as Atom 0.3 and 1.0 -- thanks to Thien-Thi
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
198 ;; Nguyen.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
199 ;; * Changed auto-marking mechanism: Replaced variable
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
200 ;; `newsticker-auto-mark-filter' with new variable
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
201 ;; `newsticker-auto-mark-filter-list', which allows for looking not
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
202 ;; only at the title but also at the description of a headline.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
203 ;; * Call `newsticker--ticker-text-setup' only after all pending
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
204 ;; downloads processes have finished.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
205 ;; * Improved handling of coding systems.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
206 ;; * Added magic autoload comments.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
207 ;; * Bugfixes:
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
208 ;; - `hide-entry' was hiding too much when called for the last
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
209 ;; headline,
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
210 ;; - update mode-line and menu-bar when necessary,
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
211 ;; - repaired `newsticker--imenu-goto',
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
212 ;; - other minor things.
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
213
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
214 ;; 1.8 (2005-08-26)
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
215 ;; * Added commands `newsticker-show-extra' and `newsticker-hide-extra'
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
216 ;; to show and hide extra RSS elements, bound to "sx" and "hx"
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
217 ;; resp. Changed default value of `newsticker-show-all-rss-elements'
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
218 ;; to nil.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
219 ;; * mode-line: Introduced special mode-line-format for newsticker.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
220 ;; * Get feed logos only once every 24 h.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
221 ;; * Default faces changed.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
222 ;; * Minor fixes.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
223
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
224 ;; 1.7 (2005-06-25)
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
225 ;; * Tool-bar support: most important commands can be called from
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
226 ;; tool-bar buttons.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
227 ;; * Auto-Narrowing introduced: *newsticker* buffer can be narrowed to
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
228 ;; a single item (bound to key `xi') or a single feed (bound to
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
229 ;; `xf').
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
230 ;; * Enclosure support: enclosed items are shown (see
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
231 ;; `newsticker-enclosure-face') and can be (automatically) downloaded
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
232 ;; (see below). For those of you who read "podcasts".
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
233 ;; * Added variable `newsticker-auto-mark-filter' for automatically
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
234 ;; marking items as immortal or old.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
235 ;; * Added hook variable `newsticker-new-item-functions' for handling
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
236 ;; new items. Added sample functions `newsticker-download-images',
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
237 ;; and `newsticker-download-enclosures'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
238 ;; * Added hook variable `newsticker-select-item-hook' which is run
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
239 ;; after `newsticker-(next|previous)-(new-)?-item'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
240 ;; * Added hook variable `newsticker-select-feed-hook' which is run
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
241 ;; after `newsticker-(next|previous)-feed'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
242 ;; * Added hook variable `newsticker-buffer-change-hook' which is run
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
243 ;; after the contents or visibility of the newsticker buffer has
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
244 ;; changed, e.g. after `newsticker-buffer-update' or
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
245 ;; `newsticker-show-feed-desc'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
246 ;; * Added command `newsticker-handle-url' for interactively launching
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
247 ;; arbitrary programs for URLs, bound to `C-RET'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
248 ;; * URLs in extra elements are clickable.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
249 ;; * Better support for w3, added command
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
250 ;; `newsticker-w3m-show-inline-images' for displaying all inline
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
251 ;; images.
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
252 ;; * Insert an artificial headline which notifies about failed
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
253 ;; retrievals.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
254 ;; * Use pubDate element (RSS 2.0) instead of retrieval time when
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
255 ;; available.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
256 ;; * Customizable options grouped.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
257 ;; * Bugfixes: `newsticker--imenu-create-index'; strip whitespace
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
258 ;; from links; apply coding-system to extra-elements; time-comparison
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
259 ;; for obsolete items; and others which I have forgotten.
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
260 ;; * Workaround for another bug in xml-parse-region -- thanks to
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
261 ;; anonymous for sending patch.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
262 ;; * Renamed invisible buffers ` *wget-newsticker-<feed>*' to
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
263 ;; ` *newsticker-wget-<feed>*'.
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
264 ;; * Tested with GNU Emacs versions 21.3 and 22.0 and XEmacs
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
265 ;; 21.something.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
266
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
267 ;; 1.6 * Support for (some) optional RSS elements: guid, dc:date. See
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
268 ;; `newsticker-show-all-rss-elements' `newsticker-extra-face'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
269 ;; * Better support for w3m -- `newsticker-default-face' is obsolete
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
270 ;; now, removed `newsticker-w3m-toggle-inline-image'.
66704
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
271 ;; * Added `newsticker-desc-comp-max' -- comparison of item
768e9c3f6b5a Commentary updated. Code formatting changed.
Eli Zaretskii <eliz@gnu.org>
parents: 65998
diff changeset
272 ;; descriptions can take quite some time.
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
273 ;; * Added `newsticker--buffer-make-item-completely-visible' to
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
274 ;; ensure that the current item is fully visible.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
275 ;; * Allow for non-positive retrieval-interval, which make newsticker
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
276 ;; get news only once.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
277 ;; * Use :set for customizable variables.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
278 ;; * Added `newsticker-buffer-force-update', bound to key `U'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
279 ;; * Added concept of obsolete items, see
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
280 ;; `newsticker-keep-obsolete-items', `newsticker-obsolete-item-face',
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
281 ;; `newsticker-obsolete-item-max-age'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
282 ;; * Added `newsticker-add-url'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
283 ;; * OPML export.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
284 ;; * Save pre-formatted titles => even better performance!!
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
285 ;; * `newsticker-*-new-item' wraps at beginning/end of buffer.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
286 ;; * Always sort obsolete items to end of item list.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
287 ;; * Bugfixes:
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
288 ;; - newsticker-hide-entry,
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
289 ;; - changes of feed-titles led to duplicate feed items,
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
290 ;; - faces for rendered HTML texts,
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
291 ;; - length of ticker-text (for "exotic"/multibyte texts),
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
292 ;; Thanks to Hiroshi Maruyama.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
293 ;; - suppress items with empty title and description
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
294 ;; - newsticker-sort-method was ignored!
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
295 ;; - prevent call of fill-region on HTML-rendered descriptions.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
296
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
297 ;; 1.5 * Rewrote the visibility stuff. newsticker does not inherit
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
298 ;; outline anymore. Now you have complete freedom for
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
299 ;; `newsticker-*-format'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
300 ;; * Save pre-formatted descriptions => incredible performance boost!!
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
301 ;; * Introduced `newsticker-(start|stop)-ticker'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
302 ;; * Introduced statistics for heading-format and
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
303 ;; `newsticker-statistics-face'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
304 ;; * Introduced `newsticker-enable-logo-manipulations'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
305 ;; * Compare link of items (as well as title and desc).
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
306 ;; * Added `newsticker-start-hook' and `newsticker-stop-hook', thanks
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
307 ;; to mace.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
308 ;; * Bugfixes -- thanks to Ryan Yeske, Jari Aalto, Bruce Ingalls.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
309 ;; * Tested with Emacs 21.3.50, 21.3.1, 21.2, 21.1; XEmacs 21.4.15
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
310
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
311 ;; 1.4 * Enabled HTML rendering, added `newsticker-html-renderer' to
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
312 ;; choose a HTML rendering engine, thanks to Greg Scott for testing
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
313 ;; * New Outline handling using text properties instead of "**"
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
314 ;; prefixes.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
315 ;; * Added possibility to mark single item as old (bound to key
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
316 ;; `o' (`newsticker-mark-item-at-point-as-read').
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
317 ;; * Added possibility to mark single item as immortal (bound to key
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
318 ;; `i' (`newsticker-mark-item-at-point-as-immortal').
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
319 ;; * Added possibility to display feed logos.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
320 ;; * Added `newsticker-heading-format', `newsticker-item-format'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
321 ;; * Added `newsticker-date-format'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
322 ;; * Added `newsticker-justification'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
323 ;; * Added `newsticker-automatically-mark-visited-items-as-old'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
324 ;; * Added `newsticker-w3m-toggle-inline-image' which calls
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
325 ;; `w3m-toggle-inline-image' if `newsticker-html-renderer' is
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
326 ;; `w3m-region'. Exists for convenience only (bound to key
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
327 ;; `RET').
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
328
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
329 ;; 1.3 * Compare title AND desc to check whether item is old, except
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
330 ;; for feed desc
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
331 ;; * Mark as not-up-to-date only after new items have arrived.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
332 ;; * Added XEmacs compatibility code, tested with XEmacs 21.4.13.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
333 ;; * Tested with Emacs 21.3.50 and Emacs 21.2.something.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
334 ;; * Bugfix: Apply coding-systems to feed title and description,
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
335 ;; thanks to OHASHI Akira
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
336 ;; * Bugfix: xml-parser-workaround did not work for japanese texts,
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
337 ;; thanks to OHASHI Akira
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
338 ;; * Kill wget-buffers unless newsticker-debug is not nil.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
339 ;; * Bugfix: xml-parser-workaround for "DOCTYPE rdf:RDF"
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
340
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
341 ;; 1.2 Peter S Galbraith <psg@debian.org>
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
342 ;; * Added `newsticker-url-list-defaults', splitting the URLs into
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
343 ;; a customizable selection list, and a user add-on list.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
344 ;; * Minor checkdoc fixes.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
345
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
346 ;; 1.1 * Introduced optional feed-specific wget-arguments.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
347 ;; * Keep order of feeds as given in `newsticker-url-list' in
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
348 ;; *newsticker* buffer.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
349 ;; * Ignore unsupported coding systems.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
350
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
351 ;; 1.0 * Introduced feed-specific retrieval-timers.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
352 ;; * Removed dependency on 'cl (cddddr).
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
353 ;; * Thanks to Kevin Rodgers and T.V. Raman for their help.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
354 ;; * Use utf-8 for reading and writing cache data.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
355 ;; * Reported to work with Emacs 21.3.50.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
356
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
357 ;; 0.99 * Minor tweaks.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
358 ;; * Tested with Emacs 21.3.2
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
359
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
360 ;; 0.98 * Check exit status of wget processes. Keep cache data if
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
361 ;; something went wrong. Throw error when old wget-processes
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
362 ;; are hanging around.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
363 ;; * Introduced newsticker-specific faces.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
364 ;; * Added `newsticker-show-descriptions-of-new-items'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
365 ;; * Added `newsticker-hide-old-items-in-newsticker-buffer'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
366 ;; * Added `newsticker-(hide|show)-old-items'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
367
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
368 ;; 0.97 * Minor tweaks.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
369
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
370 ;; 0.96 * Added caching.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
371 ;; * newsticker-mode inherits outline-mode.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
372 ;; * newsticker-mode supports imenu.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
373 ;; * Easy buffer-navigation with newsticker-mode's keymap.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
374 ;; * Some bugs fixed.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
375 ;; * Thanks to Moritz Epple for documentation tips.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
376
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
377 ;; 0.95 * Added newsticker-mode -- Thanks to T.V. Raman.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
378 ;; * Catch xml-parser errors -- Thanks to T.V. Raman.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
379 ;; * Remove stupid newlines in titles (headlines) -- Thanks to
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
380 ;; Jeff Rancier.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
381
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
382 ;; 0.94 * Added clickerability and description for channel headings.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
383 ;; * Made it work for (at least some) rss 0.9<something> feeds.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
384
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
385 ;; 0.93 * Added some more sites.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
386 ;; * Do not flood the *Messages* buffer.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
387 ;; * First attempt at handling coding systems.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
388
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
389 ;; 0.92 * Added `newsticker-wget-name'.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
390 ;; * Try to display message only if minibuffer and echo area are
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
391 ;; not in use already.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
392 ;; * Dirty workaround for newer versions of xml.el: Remove
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
393 ;; whitespace in rdf.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
394 ;; * Tested with Emacs 21.3.2 and CVS-snapshot of 2003-06-21.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
395
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
396 ;; 0.91 * First bugfix: *newsticker* is read-only.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
397
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
398 ;; 0.9 * First release.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
399 ;; * Tested with Emacs 21.3.2 and wget 1.8.2.
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
400
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
401 ;; ======================================================================
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
402 ;;; Code:
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
403
106460
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
404 (require 'newst-backend)
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
405 (require 'newst-ticker)
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
406 (require 'newst-reader)
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
407 (require 'newst-plainview)
e341c53bc4af Fixed Bug#5096.
Ulf Jasper <ulf.jasper@web.de>
parents: 100908
diff changeset
408 (require 'newst-treeview)
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
409
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
410 (provide 'newsticker)
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
411
65481
59060d7bf36c Add arch tagline
Miles Bader <miles@gnu.org>
parents: 65468
diff changeset
412 ;; arch-tag: ab761dfa-67bc-4207-bc64-4307271dc381
65468
c0ae0ed7aa1a New file.
Richard M. Stallman <rms@gnu.org>
parents:
diff changeset
413 ;;; newsticker.el ends here