diff options
| author | Miles Bader | 2008-01-08 14:16:13 +0000 |
|---|---|---|
| committer | Miles Bader | 2008-01-08 14:16:13 +0000 |
| commit | d82cf70b7fe93c7928a59a3c6ae8d2680237f60d (patch) | |
| tree | 844e244273c595ae4a64fe1798d22e304cef5bcb | |
| parent | 7a00b900498b00a3b9f4b7c055df2a767516dc83 (diff) | |
| download | emacs-d82cf70b7fe93c7928a59a3c6ae8d2680237f60d.tar.gz emacs-d82cf70b7fe93c7928a59a3c6ae8d2680237f60d.zip | |
Merge from gnus--devo--0
Revision: emacs@sv.gnu.org/emacs--devo--0--patch-985
| -rw-r--r-- | doc/misc/ChangeLog | 8 | ||||
| -rw-r--r-- | doc/misc/gnus.texi | 30 | ||||
| -rw-r--r-- | doc/misc/message.texi | 23 | ||||
| -rw-r--r-- | lisp/gnus/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/gnus/gnus-bookmark.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/gnus-group.el | 40 |
6 files changed, 88 insertions, 27 deletions
diff --git a/doc/misc/ChangeLog b/doc/misc/ChangeLog index e77cf421366..975b65dfc37 100644 --- a/doc/misc/ChangeLog +++ b/doc/misc/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2008-01-05 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 2 | |||
| 3 | * message.texi (Mail Variables): Add some text from "(gnus)Posting | ||
| 4 | Server". Add `message-send-mail-with-mailclient'. | ||
| 5 | |||
| 6 | * gnus.texi (Posting Server): Move some text to "(message)Mail | ||
| 7 | Variables" and add a reference here. | ||
| 8 | |||
| 1 | 2008-01-04 Michael Albinus <michael.albinus@gmx.de> | 9 | 2008-01-04 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 10 | ||
| 3 | * dbus.texi (Receiving Method Calls): New chapter. | 11 | * dbus.texi (Receiving Method Calls): New chapter. |
diff --git a/doc/misc/gnus.texi b/doc/misc/gnus.texi index 521ac05c6fb..690c63e4460 100644 --- a/doc/misc/gnus.texi +++ b/doc/misc/gnus.texi | |||
| @@ -10,7 +10,7 @@ | |||
| 10 | 10 | ||
| 11 | @copying | 11 | @copying |
| 12 | Copyright @copyright{} 1995, 1996, 1997, 1998, 1999, 2000, 2001, | 12 | Copyright @copyright{} 1995, 1996, 1997, 1998, 1999, 2000, 2001, |
| 13 | 2002, 2003, 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | 13 | 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 14 | 14 | ||
| 15 | @quotation | 15 | @quotation |
| 16 | Permission is granted to copy, distribute and/or modify this document | 16 | Permission is granted to copy, distribute and/or modify this document |
| @@ -12139,28 +12139,12 @@ for posting. | |||
| 12139 | Finally, if you want to always post using the native select method, | 12139 | Finally, if you want to always post using the native select method, |
| 12140 | you can set this variable to @code{native}. | 12140 | you can set this variable to @code{native}. |
| 12141 | 12141 | ||
| 12142 | When sending mail, Message invokes @code{message-send-mail-function}. | 12142 | @vindex message-send-mail-function |
| 12143 | The default function, @code{message-send-mail-with-sendmail}, pipes | 12143 | When sending mail, Message invokes the function specified by the |
| 12144 | your article to the @code{sendmail} binary for further queuing and | 12144 | variable @code{message-send-mail-function}. Gnus tries to set it to a |
| 12145 | sending. When your local system is not configured for sending mail | 12145 | value suitable for your system. |
| 12146 | using @code{sendmail}, and you have access to a remote @acronym{SMTP} | 12146 | @xref{Mail Variables, ,Mail Variables,message,Message manual}, for more |
| 12147 | server, you can set @code{message-send-mail-function} to | 12147 | information. |
| 12148 | @code{smtpmail-send-it} and make sure to setup the @code{smtpmail} | ||
| 12149 | package correctly. An example: | ||
| 12150 | |||
| 12151 | @lisp | ||
| 12152 | (setq message-send-mail-function 'smtpmail-send-it | ||
| 12153 | smtpmail-default-smtp-server "YOUR SMTP HOST") | ||
| 12154 | @end lisp | ||
| 12155 | |||
| 12156 | To the thing similar to this, there is | ||
| 12157 | @code{message-smtpmail-send-it}. It is useful if your @acronym{ISP} | ||
| 12158 | requires the @acronym{POP}-before-@acronym{SMTP} authentication. | ||
| 12159 | @xref{POP before SMTP}. | ||
| 12160 | |||
| 12161 | Other possible choices for @code{message-send-mail-function} includes | ||
| 12162 | @code{message-send-mail-with-mh}, @code{message-send-mail-with-qmail}, | ||
| 12163 | and @code{feedmail-send-it}. | ||
| 12164 | 12148 | ||
| 12165 | @node POP before SMTP | 12149 | @node POP before SMTP |
| 12166 | @section POP before SMTP | 12150 | @section POP before SMTP |
diff --git a/doc/misc/message.texi b/doc/misc/message.texi index fab5aaf173a..37c3384c1e8 100644 --- a/doc/misc/message.texi +++ b/doc/misc/message.texi | |||
| @@ -9,7 +9,7 @@ | |||
| 9 | This file documents Message, the Emacs message composition mode. | 9 | This file documents Message, the Emacs message composition mode. |
| 10 | 10 | ||
| 11 | Copyright @copyright{} 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, | 11 | Copyright @copyright{} 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, |
| 12 | 2004, 2005, 2006, 2007 Free Software Foundation, Inc. | 12 | 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 13 | 13 | ||
| 14 | @quotation | 14 | @quotation |
| 15 | Permission is granted to copy, distribute and/or modify this document | 15 | Permission is granted to copy, distribute and/or modify this document |
| @@ -1564,18 +1564,39 @@ when it doesn't lead to the user having to wait. | |||
| 1564 | @table @code | 1564 | @table @code |
| 1565 | @item message-send-mail-function | 1565 | @item message-send-mail-function |
| 1566 | @vindex message-send-mail-function | 1566 | @vindex message-send-mail-function |
| 1567 | @findex message-send-mail-function | ||
| 1567 | @findex message-send-mail-with-sendmail | 1568 | @findex message-send-mail-with-sendmail |
| 1568 | @findex message-send-mail-with-mh | 1569 | @findex message-send-mail-with-mh |
| 1569 | @findex message-send-mail-with-qmail | 1570 | @findex message-send-mail-with-qmail |
| 1570 | @findex message-smtpmail-send-it | 1571 | @findex message-smtpmail-send-it |
| 1571 | @findex smtpmail-send-it | 1572 | @findex smtpmail-send-it |
| 1572 | @findex feedmail-send-it | 1573 | @findex feedmail-send-it |
| 1574 | @findex message-send-mail-with-mailclient | ||
| 1573 | Function used to send the current buffer as mail. The default is | 1575 | Function used to send the current buffer as mail. The default is |
| 1574 | @code{message-send-mail-with-sendmail}, or @code{smtpmail-send-it} | 1576 | @code{message-send-mail-with-sendmail}, or @code{smtpmail-send-it} |
| 1575 | according to the system. Other valid values include | 1577 | according to the system. Other valid values include |
| 1578 | @code{message-send-mail-with-mailclient}, | ||
| 1576 | @code{message-send-mail-with-mh}, @code{message-send-mail-with-qmail}, | 1579 | @code{message-send-mail-with-mh}, @code{message-send-mail-with-qmail}, |
| 1577 | @code{message-smtpmail-send-it} and @code{feedmail-send-it}. | 1580 | @code{message-smtpmail-send-it} and @code{feedmail-send-it}. |
| 1578 | 1581 | ||
| 1582 | The function | ||
| 1583 | @code{message-send-mail-with-sendmail} pipes your article to the | ||
| 1584 | @code{sendmail} binary for further queuing and sending. When your local | ||
| 1585 | system is not configured for sending mail using @code{sendmail}, and you | ||
| 1586 | have access to a remote @acronym{SMTP} server, you can set | ||
| 1587 | @code{message-send-mail-function} to @code{smtpmail-send-it} and make | ||
| 1588 | sure to setup the @code{smtpmail} package correctly. An example: | ||
| 1589 | |||
| 1590 | @lisp | ||
| 1591 | (setq message-send-mail-function 'smtpmail-send-it | ||
| 1592 | smtpmail-default-smtp-server "YOUR SMTP HOST") | ||
| 1593 | @end lisp | ||
| 1594 | |||
| 1595 | To the thing similar to this, there is | ||
| 1596 | @code{message-smtpmail-send-it}. It is useful if your @acronym{ISP} | ||
| 1597 | requires the @acronym{POP}-before-@acronym{SMTP} authentication. | ||
| 1598 | @xref{POP before SMTP, , POP before SMTP, gnus, The Gnus Manual}. | ||
| 1599 | |||
| 1579 | @item message-mh-deletable-headers | 1600 | @item message-mh-deletable-headers |
| 1580 | @vindex message-mh-deletable-headers | 1601 | @vindex message-mh-deletable-headers |
| 1581 | Most versions of MH doesn't like being fed messages that contain the | 1602 | Most versions of MH doesn't like being fed messages that contain the |
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 7cf327570e3..fee37162942 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2008-01-08 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * gnus-bookmark.el (gnus-bookmark-mouse-available-p): Don't test for | ||
| 4 | display-color-p. Reported by Reiner Steib <Reiner.Steib@gmx.de>. | ||
| 5 | |||
| 6 | 2008-01-06 Reiner Steib <Reiner.Steib@gmx.de> | ||
| 7 | |||
| 8 | * gnus-group.el (gnus-group-gmane-group-download-format): New variable. | ||
| 9 | (gnus-group-read-ephemeral-gmane-group): New command. | ||
| 10 | |||
| 1 | 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> | 11 | 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> |
| 2 | 12 | ||
| 3 | * gnus.el (gnus-use-long-file-name): Remove reference to xenix. | 13 | * gnus.el (gnus-use-long-file-name): Remove reference to xenix. |
diff --git a/lisp/gnus/gnus-bookmark.el b/lisp/gnus/gnus-bookmark.el index 6341c8e48d8..41f9dd0baca 100644 --- a/lisp/gnus/gnus-bookmark.el +++ b/lisp/gnus/gnus-bookmark.el | |||
| @@ -174,8 +174,8 @@ So the cdr of each bookmark is an alist too.") | |||
| 174 | (defmacro gnus-bookmark-mouse-available-p () | 174 | (defmacro gnus-bookmark-mouse-available-p () |
| 175 | "Return non-nil if a mouse is available." | 175 | "Return non-nil if a mouse is available." |
| 176 | (if (featurep 'xemacs) | 176 | (if (featurep 'xemacs) |
| 177 | '(and (eq (device-class) 'color) (device-on-window-system-p)) | 177 | '(device-on-window-system-p) |
| 178 | '(and (display-color-p) (display-mouse-p)))) | 178 | '(display-mouse-p))) |
| 179 | 179 | ||
| 180 | (defun gnus-bookmark-remove-properties (string) | 180 | (defun gnus-bookmark-remove-properties (string) |
| 181 | "Remove all text properties from STRING." | 181 | "Remove all text properties from STRING." |
diff --git a/lisp/gnus/gnus-group.el b/lisp/gnus/gnus-group.el index 73d632591b5..2be0b6e5c80 100644 --- a/lisp/gnus/gnus-group.el +++ b/lisp/gnus/gnus-group.el | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | ;;; gnus-group.el --- group mode commands for Gnus | 1 | ;;; gnus-group.el --- group mode commands for Gnus |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 | ;; Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
| 4 | ;; 2005, 2006, 2007 Free Software Foundation, Inc. | 4 | ;; 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
| 5 | 5 | ||
| 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> | 6 | ;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 7 | ;; Keywords: news | 7 | ;; Keywords: news |
| @@ -2320,6 +2320,44 @@ Return the name of the group if selection was successful." | |||
| 2320 | (message "Quit reading the ephemeral group") | 2320 | (message "Quit reading the ephemeral group") |
| 2321 | nil))))) | 2321 | nil))))) |
| 2322 | 2322 | ||
| 2323 | (defvar gnus-group-gmane-group-download-format | ||
| 2324 | "http://download.gmane.org/%s/%s/%s") | ||
| 2325 | (autoload 'url-insert-file-contents "url-handlers") | ||
| 2326 | |||
| 2327 | ;; FIXME: Make gnus-group-gmane-group-download-format customizable. Add | ||
| 2328 | ;; documentation, menu, key bindings... | ||
| 2329 | |||
| 2330 | (defun gnus-group-read-ephemeral-gmane-group (group start end) | ||
| 2331 | "Read articles from Gmane group GROUP as an ephemeral group. | ||
| 2332 | START and END specify the articles range. The articles are | ||
| 2333 | downloaded via HTTP using the URL specified by | ||
| 2334 | `gnus-group-gmane-group-download-format'." | ||
| 2335 | ;; See <http://gmane.org/export.php> for more information. | ||
| 2336 | (interactive | ||
| 2337 | (list | ||
| 2338 | (gnus-group-completing-read "Gmane group: ") | ||
| 2339 | (read-number "Start article number: ") | ||
| 2340 | (read-number "End article number: "))) | ||
| 2341 | (when (< (- end start) 0) | ||
| 2342 | (error "Invalid range.")) | ||
| 2343 | (when (> (- end start) | ||
| 2344 | (min (or gnus-large-ephemeral-newsgroup 100) 100)) | ||
| 2345 | (unless (y-or-n-p | ||
| 2346 | (format "Large range (%s to %s), continue anyway? " | ||
| 2347 | start end)) | ||
| 2348 | (error "Range too large. Aborted."))) | ||
| 2349 | (let ((tmpfile (make-temp-file "gmane.gnus-temp-group-"))) | ||
| 2350 | (with-temp-file tmpfile | ||
| 2351 | (url-insert-file-contents | ||
| 2352 | (format gnus-group-gmane-group-download-format | ||
| 2353 | group start end)) | ||
| 2354 | (write-region (point-min) (point-max) tmpfile) | ||
| 2355 | (gnus-group-read-ephemeral-group | ||
| 2356 | "rs-gnus-read-gmane" | ||
| 2357 | `(nndoc ,tmpfile | ||
| 2358 | (nndoc-article-type guess)))) | ||
| 2359 | (delete-file tmpfile))) | ||
| 2360 | |||
| 2323 | (defun gnus-group-jump-to-group (group &optional prompt) | 2361 | (defun gnus-group-jump-to-group (group &optional prompt) |
| 2324 | "Jump to newsgroup GROUP. | 2362 | "Jump to newsgroup GROUP. |
| 2325 | 2363 | ||