diff options
| author | Richard M. Stallman | 2005-10-10 22:32:07 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2005-10-10 22:32:07 +0000 |
| commit | dba0acf67cc71bfa7b41fef694aa5a560a0a3389 (patch) | |
| tree | bd25651f0f28218824dc6232862be4199fea28c6 | |
| parent | 17a3b6da975742dfaa02ebd52c031d9972eac2f9 (diff) | |
| download | emacs-dba0acf67cc71bfa7b41fef694aa5a560a0a3389.tar.gz emacs-dba0acf67cc71bfa7b41fef694aa5a560a0a3389.zip | |
(newsticker-start, newsticker-show-news): Add autoload cookies.
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/net/newsticker.el | 38 |
2 files changed, 18 insertions, 25 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 147cf2afa4d..6c179d40c42 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2005-10-10 Richard M. Stallman <rms@gnu.org> | ||
| 2 | |||
| 3 | * net/newsticker.el (newsticker-start, newsticker-show-news): | ||
| 4 | Add autoload cookies. | ||
| 5 | |||
| 1 | 2005-10-10 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> | 6 | 2005-10-10 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> |
| 2 | 7 | ||
| 3 | * progmodes/sh-script.el (sh-tmp-file): Use mktemp. | 8 | * progmodes/sh-script.el (sh-tmp-file): Use mktemp. |
diff --git a/lisp/net/newsticker.el b/lisp/net/newsticker.el index f1ee41563f3..42d9bfc9717 100644 --- a/lisp/net/newsticker.el +++ b/lisp/net/newsticker.el | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | ;;; newsticker.el --- A Newsticker for Emacs. | 1 | ;;; newsticker.el --- A news-ticker for Emacs. |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. |
| 4 | 4 | ||
| @@ -9,11 +9,6 @@ | |||
| 9 | ;; URL: http://www.nongnu.org/newsticker | 9 | ;; URL: http://www.nongnu.org/newsticker |
| 10 | ;; Created: 17. June 2003 | 10 | ;; Created: 17. June 2003 |
| 11 | ;; Keywords: News, RSS | 11 | ;; Keywords: News, RSS |
| 12 | ;; Time-stamp: "26. August 2005, 16:33:46 (ulf)" | ||
| 13 | |||
| 14 | (defconst newsticker-version "1.8" "Version number of newsticker.el.") | ||
| 15 | |||
| 16 | ;; ====================================================================== | ||
| 17 | 12 | ||
| 18 | ;; This program is free software; you can redistribute it and/or modify | 13 | ;; This program is free software; you can redistribute it and/or modify |
| 19 | ;; it under the terms of the GNU General Public License as published by | 14 | ;; it under the terms of the GNU General Public License as published by |
| @@ -29,7 +24,10 @@ | |||
| 29 | ;; along with this program; if not, write to the Free Software Foundation, | 24 | ;; along with this program; if not, write to the Free Software Foundation, |
| 30 | ;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. | 25 | ;; Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 31 | 26 | ||
| 27 | (defconst newsticker-version "1.8" "Version number of newsticker.el.") | ||
| 28 | |||
| 32 | ;; ====================================================================== | 29 | ;; ====================================================================== |
| 30 | |||
| 33 | ;;; Commentary: | 31 | ;;; Commentary: |
| 34 | 32 | ||
| 35 | ;; Overview | 33 | ;; Overview |
| @@ -62,8 +60,8 @@ | |||
| 62 | 60 | ||
| 63 | ;; Requirements | 61 | ;; Requirements |
| 64 | ;; ------------ | 62 | ;; ------------ |
| 65 | ;; Newsticker can be used with GNU Emacs version 21.1 or later as well as | 63 | ;; Newsticker can be used with Emacs version 21.1 or later as well as |
| 66 | ;; XEmacs. It requires an XML-parser (`xml.el') which is part of GNU | 64 | ;; XEmacs. It requires an XML-parser (`xml.el') which is part of |
| 67 | ;; Emacs. If you are using XEmacs you want to get the `net-utils' package | 65 | ;; Emacs. If you are using XEmacs you want to get the `net-utils' package |
| 68 | ;; which contains `xml.el' for XEmacs. | 66 | ;; which contains `xml.el' for XEmacs. |
| 69 | 67 | ||
| @@ -71,21 +69,6 @@ | |||
| 71 | ;; prints them to stdout. By default Newsticker will use wget for this | 69 | ;; prints them to stdout. By default Newsticker will use wget for this |
| 72 | ;; task. | 70 | ;; task. |
| 73 | 71 | ||
| 74 | ;; Installation | ||
| 75 | ;; ------------ | ||
| 76 | ;; Place Newsticker in a directory where Emacs can find it. Add the | ||
| 77 | ;; following line to your Emacs startup file (`~/.emacs'). | ||
| 78 | ;; (add-to-list 'load-path "/path/to/newsticker/") | ||
| 79 | ;; (autoload 'newsticker-start "newsticker" "Emacs Newsticker" t) | ||
| 80 | ;; (autoload 'newsticker-show-news "newsticker" "Emacs Newsticker" t) | ||
| 81 | |||
| 82 | ;; Newsticker-mode supports imenu. It allows for navigating with the help | ||
| 83 | ;; of a menu. In order to use this feature you should also add the | ||
| 84 | ;; following. | ||
| 85 | ;; (add-hook 'newsticker-mode-hook 'imenu-add-menubar-index) | ||
| 86 | |||
| 87 | ;; That's it. | ||
| 88 | |||
| 89 | ;; Usage | 72 | ;; Usage |
| 90 | ;; ----- | 73 | ;; ----- |
| 91 | ;; The command newsticker-show-news will display all available headlines in | 74 | ;; The command newsticker-show-news will display all available headlines in |
| @@ -151,7 +134,10 @@ | |||
| 151 | ;; such a tool from slightly attenuating your Editor's responsiveness every | 134 | ;; such a tool from slightly attenuating your Editor's responsiveness every |
| 152 | ;; once in a while. | 135 | ;; once in a while. |
| 153 | 136 | ||
| 154 | ;; Byte-compiling newsticker.el is recommended. | 137 | ;; Newsticker-mode supports imenu. It allows for navigating with the help |
| 138 | ;; of a menu. In order to use this feature you should also add the | ||
| 139 | ;; following. | ||
| 140 | ;; (add-hook 'newsticker-mode-hook 'imenu-add-menubar-index) | ||
| 155 | 141 | ||
| 156 | ;; ====================================================================== | 142 | ;; ====================================================================== |
| 157 | ;;; History: | 143 | ;;; History: |
| @@ -204,7 +190,7 @@ | |||
| 204 | ;; for sending patch. | 190 | ;; for sending patch. |
| 205 | ;; * Renamed invisible buffers ` *wget-newsticker-<feed>*' to | 191 | ;; * Renamed invisible buffers ` *wget-newsticker-<feed>*' to |
| 206 | ;; ` *newsticker-wget-<feed>*'. | 192 | ;; ` *newsticker-wget-<feed>*'. |
| 207 | ;; * Tested with GNU Emacs versions 21.3 and 22.0 and XEmacs 21.something. | 193 | ;; * Tested with Emacs versions 21.3 and 22.0 and XEmacs 21.something. |
| 208 | 194 | ||
| 209 | ;; 1.6 * Support for (some) optional RSS elements: guid, dc:date. See | 195 | ;; 1.6 * Support for (some) optional RSS elements: guid, dc:date. See |
| 210 | ;; `newsticker-show-all-rss-elements' `newsticker-extra-face'. | 196 | ;; `newsticker-show-all-rss-elements' `newsticker-extra-face'. |
| @@ -2307,6 +2293,7 @@ static char * visit_xpm[] = { | |||
| 2307 | ;;; User fun | 2293 | ;;; User fun |
| 2308 | ;; ====================================================================== | 2294 | ;; ====================================================================== |
| 2309 | 2295 | ||
| 2296 | ;;;###autoload | ||
| 2310 | (defun newsticker-start (&optional do-not-complain-if-running) | 2297 | (defun newsticker-start (&optional do-not-complain-if-running) |
| 2311 | "Start the newsticker. | 2298 | "Start the newsticker. |
| 2312 | Start the timers for display and retrieval. If the newsticker, i.e. the | 2299 | Start the timers for display and retrieval. If the newsticker, i.e. the |
| @@ -2395,6 +2382,7 @@ if newsticker has been running." | |||
| 2395 | (setq newsticker--display-timer nil))) | 2382 | (setq newsticker--display-timer nil))) |
| 2396 | 2383 | ||
| 2397 | ;; the functions we need for retrieval and display | 2384 | ;; the functions we need for retrieval and display |
| 2385 | ;;;###autoload | ||
| 2398 | (defun newsticker-show-news () | 2386 | (defun newsticker-show-news () |
| 2399 | "Switch to newsticker buffer. You may want to bind this to a key." | 2387 | "Switch to newsticker buffer. You may want to bind this to a key." |
| 2400 | (interactive) | 2388 | (interactive) |