From bd2826856b4ba145b05ec08789711da40016f951 Mon Sep 17 00:00:00 2001 From: shuhei-k Date: Sun, 8 Mar 1998 19:18:06 +0000 Subject: [PATCH] Importing gnus-5.6.1 --- GNUS-NEWS | 36 +++++++++++++- lisp/ChangeLog | 12 +++++ lisp/gnus-agent.el | 87 -------------------------------- lisp/gnus-eform.el | 1 - lisp/gnus.el | 5 +- lisp/nntp.el | 1 + texi/ChangeLog | 1 + texi/Makefile.in | 3 ++ texi/gnus.texi | 141 ++++++++++++++++++++++++++++++++++++++++++++++++++-- texi/message.texi | 6 +-- 10 files changed, 195 insertions(+), 98 deletions(-) diff --git a/GNUS-NEWS b/GNUS-NEWS index e4a0a67..bef3a3a 100644 --- a/GNUS-NEWS +++ b/GNUS-NEWS @@ -1,6 +1,6 @@ ** Gnus changes. -*** The Gnus alpha distribution no longer bundles Custom and Widget. +*** The Gnus distribution no longer bundles Custom and Widget. If your Emacs doesn't come with these libraries, fetch them from . You also then need to add the following to the lisp/dgnushack.el file: @@ -63,3 +63,37 @@ rewrite them to use `face-spec-set' instead. *** New command to translate M******** sm*rtq**t*s into proper text -- `W d'. +*** For easier debugging of nntp, you can set `nntp-record-commands' +to a non-nil value. + +*** nntp now uses ~/.authinfo, a .netrc-like file, for controlling +where and how to send AUTHINFO to NNTP servers. + +*** A command for editing group parameters from the summary buffer +has been added. + +*** A history of where mails have been split is available. + +*** A new article date command has been added -- `article-date-iso8601'. + +*** Subjects can be simplified when threading by setting +`gnus-score-thread-simplify'. + +*** A new function for citing in Message has been added -- +`message-cite-original-without-signature'. + +*** `article-strip-all-blank-lines' -- new article command. + +*** A new Message command to kill to the end of the article has +been added. + +*** A minimum adaptive score can be specified by using the +`gnus-adaptive-word-minimum' variable. + +*** The "lapsed date" article header can be kept continually +updated by the `gnus-start-date-timer' command. + +*** Web listserv archives can be read with the nnlistserv backend. + +*** Old dejanews archives can now be read by nnweb. + diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6b2a1b3..8376c9d 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,15 @@ +Sun Mar 8 00:00:04 1998 Lars Magne Ingebrigtsen + + * gnus.el: Gnus v5.6.1 is released. + +Sat Mar 7 22:15:46 1998 Lars Magne Ingebrigtsen + + * gnus.el (gnus-edit-form-buffer): Moved here. + + * gnus-agent.el (gnus-agent-expire-old): Removed. + (gnus-agent-expire-directory): Ditto. + (gnus-agent-expire-group): Even more ditto. + Sat Mar 7 21:59:18 1998 Lars Magne Ingebrigtsen * gnus.el: Quassia Gnus v0.37 is released. diff --git a/lisp/gnus-agent.el b/lisp/gnus-agent.el index 039dbf3..b705341 100644 --- a/lisp/gnus-agent.el +++ b/lisp/gnus-agent.el @@ -1274,93 +1274,6 @@ The following commands are available: (gnus-delete-line)) (gnus-agent-save-history) (gnus-agent-close-history))))) - -(defun gnus-agent-expire-old () - "Expire all old articles." - (interactive) - (let ((methods gnus-agent-covered-methods) - (alist (cdr gnus-newsrc-alist)) - gnus-command-method ofiles info method file group) - (while (setq gnus-command-method (pop methods)) - (setq ofiles (nconc ofiles (gnus-agent-expire-directory - (gnus-agent-directory))))) - (while (setq info (pop alist)) - (when (and (gnus-agent-method-p - (setq gnus-command-method - (gnus-find-method-for-group - (setq group (gnus-info-group info))))) - (member - (setq file - (concat - (gnus-agent-directory) - (gnus-agent-group-path group) "/.overview")) - ofiles)) - (setq ofiles (delete file ofiles)) - (gnus-agent-expire-group file group))) - (while ofiles - (gnus-agent-expire-group (pop ofiles))))) - -(defun gnus-agent-expire-directory (dir) - "Expire all groups in DIR recursively." - (when (file-directory-p dir) - (let ((files (directory-files dir t)) - file ofiles) - (while (setq file (pop files)) - (cond - ((member (file-name-nondirectory file) '("." "..")) - ;; Do nothing. - ) - ((file-directory-p file) - ;; Recurse. - (setq ofiles (nconc ofiles (gnus-agent-expire-directory file)))) - ((string-match "\\.overview$" file) - ;; Expire group. - (push file ofiles)))) - ofiles))) - -(defun gnus-agent-expire-group (overview &optional group) - "Expire articles in OVERVIEW." - (gnus-message 5 "Expiring %s..." overview) - (let ((odate (- (gnus-time-to-day (current-time)) 4)) - (dir (file-name-directory overview)) - (info (when group (gnus-get-info group))) - headers article file point unreads) - (gnus-agent-load-alist nil dir) - (when info - (setq unreads - (nconc - (gnus-list-of-unread-articles group) - (gnus-uncompress-range - (cdr (assq 'tick (gnus-info-marks info)))) - (gnus-uncompress-range - (cdr (assq 'dormant (gnus-info-marks info))))))) - (nnheader-temp-write overview - (insert-file-contents overview) - (goto-char (point-min)) - (while (not (eobp)) - (setq point (point)) - (condition-case () - (setq headers (inline (nnheader-parse-nov))) - (error - (goto-char point) - (gnus-delete-line) - (setq headers nil))) - (when headers - (unless (memq (setq article (mail-header-number headers)) unreads) - (if (not (< (inline - (gnus-time-to-day - (inline (nnmail-date-to-time - (mail-header-date headers))))) - odate)) - (forward-line 1) - (gnus-delete-line) - (setq gnus-agent-article-alist - (delq (assq article gnus-agent-article-alist) - gnus-agent-article-alist)) - (when (file-exists-p - (setq file (concat dir (number-to-string article)))) - (delete-file file)))))) - (gnus-agent-save-alist nil nil nil dir)))) ;;;###autoload (defun gnus-agent-batch () diff --git a/lisp/gnus-eform.el b/lisp/gnus-eform.el index 7cb3f7c..c872a9a 100644 --- a/lisp/gnus-eform.el +++ b/lisp/gnus-eform.el @@ -49,7 +49,6 @@ ;;; Internal variables (defvar gnus-edit-form-done-function nil) -(defvar gnus-edit-form-buffer "*Gnus edit form*") (defvar gnus-edit-form-mode-map nil) (unless gnus-edit-form-mode-map diff --git a/lisp/gnus.el b/lisp/gnus.el index 01df41b..15b2bc5 100644 --- a/lisp/gnus.el +++ b/lisp/gnus.el @@ -246,10 +246,10 @@ is restarted, and sometimes reloaded." :link '(custom-manual "(gnus)Exiting Gnus") :group 'gnus) -(defconst gnus-version-number "0.37" +(defconst gnus-version-number "5.6.1" "Version number for this version of Gnus.") -(defconst gnus-version (format "Quassia Gnus v%s" gnus-version-number) +(defconst gnus-version (format "Gnus v%s" gnus-version-number) "Version string for this version of Gnus.") (defcustom gnus-inhibit-startup-message nil @@ -1374,6 +1374,7 @@ want." (defvar gnus-original-article-buffer " *Original Article*") (defvar gnus-newsgroup-name nil) (defvar gnus-ephemeral-servers nil) +(defvar gnus-edit-form-buffer "*Gnus edit form*") (defvar gnus-agent nil "Whether we want to use the Gnus agent or not.") diff --git a/lisp/nntp.el b/lisp/nntp.el index 40131f6..36c5ba2 100644 --- a/lisp/nntp.el +++ b/lisp/nntp.el @@ -236,6 +236,7 @@ server there that you can connect to. See also "Record the command STRING." (save-excursion (set-buffer (get-buffer-create "*nntp-log*")) + (goto-char (point-max)) (insert (format-time-string "%Y%m%dT%H%M%S" (current-time)) " " nntp-address " " string "\n"))) diff --git a/texi/ChangeLog b/texi/ChangeLog index 9f4c2c7..15943b4 100644 --- a/texi/ChangeLog +++ b/texi/ChangeLog @@ -3,6 +3,7 @@ Sat Mar 7 17:09:49 1998 Lars Magne Ingebrigtsen * gnus.texi: Took direntries out again, since makeinfo doesn't understand them. (Agent Expiry): New. + (Quassia Gnus): New. Sat Mar 7 16:14:10 1998 Dan Christensen diff --git a/texi/Makefile.in b/texi/Makefile.in index 2fc3cec..b8eb937 100644 --- a/texi/Makefile.in +++ b/texi/Makefile.in @@ -13,6 +13,9 @@ XINFOSWI=-l texinfmt -f texinfo-every-node-update -f texinfo-format-buffer -f sa LATEX=latex DVIPS=dvips PERL=perl +INSTALL = @INSTALL@ +INSTALL_DATA = @INSTALL_DATA@ +SHELL = /bin/sh all: gnus message diff --git a/texi/gnus.texi b/texi/gnus.texi index 2398fce..dcc40e1 100644 --- a/texi/gnus.texi +++ b/texi/gnus.texi @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @setfilename gnus -@settitle Quassia Gnus 0.37 Manual +@settitle Gnus 5.6.1 Manual @synindex fn cp @synindex vr cp @synindex pg cp @@ -316,7 +316,7 @@ into another language, under the above conditions for modified versions. @tex @titlepage -@title Quassia Gnus 0.37 Manual +@title Gnus 5.6.1 Manual @author by Lars Magne Ingebrigtsen @page @@ -352,7 +352,7 @@ can be gotten by any nefarious means you can think of---@sc{nntp}, local spool or your mbox file. All at the same time, if you want to push your luck. -This manual corresponds to Quassia Gnus 0.37. +This manual corresponds to Gnus 5.6.1. @end ifinfo @@ -15457,7 +15457,8 @@ David Moore---rewrite of @file{nnvirtual.el} and many other things. Kevin Davidson---came up with the name @dfn{ding}, so blame him. @item -François Pinard---many, many interesting and thorough bug reports. +François Pinard---many, many interesting and thorough bug reports, as +well as autoconf support. @end itemize @@ -15641,6 +15642,7 @@ actually are people who are using Gnus. Who'd'a thunk it! * ding Gnus:: New things in Gnus 5.0/5.1, the first new Gnus. * September Gnus:: The Thing Formally Known As Gnus 5.3/5.3. * Red Gnus:: Third time best---Gnus 5.4/5.5. +* Quassia Gnus:: Two times two is four, or Gnus 5.6.1.7. @end menu These lists are, of course, just @emph{short} overviews of the @@ -16172,6 +16174,137 @@ Emphasized text can be properly fontisized: @end itemize +@node Quassia Gnus +@subsubsection Quassia Gnus + +New features in Gnus 5.6.1.7: + +@itemize @bullet + +@item +New functionality for using Gnus as an offline newsreader has been +added. A plethora of new commands and modes have been added. See +@pxref{Gnus Unplugged} for the full story. + +@item + The @code{nndraft} backend has returned, but works differently than +before. All Message buffers are now also articles in the @code{nndraft} +group, which is created automatically. + +@item +@code{gnus-alter-header-function} can now be used to alter header +values. + +@item + @code{gnus-summary-goto-article} now accept Message-ID's. + +@item + A new Message command for deleting text in the body of a message +outside the region: @kbd{C-c C-v}. + +@item + You can now post to component group in @code{nnvirtual} groups with +@kbd{C-u C-c C-c}. + +@item + @code{nntp-rlogin-program}---new variable to ease customization. + +@item + @code{C-u C-c C-c} in @code{gnus-article-edit-mode} will now inhibit +re-highlighting of the article buffer. + +@item + New element in @code{gnus-boring-article-headers}---@code{long-to}. + +@item + @kbd{M-i} symbolic prefix command. See the section "Symbolic +Prefixes" in the Gnus manual for details. + +@item + @kbd{L} and @kbd{I} in the summary buffer now take the symbolic prefix +@kbd{a} to add the score rule to the "all.SCORE" file. + +@item + @code{gnus-simplify-subject-functions} variable to allow greater +control over simplification. + +@item + @kbd{A T}---new command for fetching the current thread. + +@item + @kbd{/ T}---new command for including the current thread in the +limit. + +@item + @kbd{M-RET} is a new Message command for breaking cited text. + +@item + @samp{\\1}-expressions are now valid in @code{nnmail-split-methods}. + +@item + The @code{custom-face-lookup} function has been removed. +If you used this function in your initialization files, you must +rewrite them to use @code{face-spec-set} instead. + +@item + Cancelling now uses the current select method. Symbolic prefix +@kbd{a} forces normal posting method. + +@item + New command to translate M@item +@item +** sm*rtq**t*s into proper text---@kbd{W d}. + +@item + For easier debugging of @code{nntp}, you can set +@code{nntp-record-commands} to a non-@code{nil} value. + +@item + @code{nntp} now uses @file{~/.authinfo}, a @file{.netrc}-like file, for +controlling where and how to send @sc{authinfo} to @sc{nntp} servers. + +@item + A command for editing group parameters from the summary buffer +has been added. + +@item + A history of where mails have been split is available. + +@item + A new article date command has been added---@code{article-date-iso8601}. + +@item + Subjects can be simplified when threading by setting +@code{gnus-score-thread-simplify}. + +@item + A new function for citing in Message has been +added---@code{message-cite-original-without-signature}. + +@item + @code{article-strip-all-blank-lines}---new article command. + +@item + A new Message command to kill to the end of the article has +been added. + +@item + A minimum adaptive score can be specified by using the +@code{gnus-adaptive-word-minimum} variable. + +@item + The "lapsed date" article header can be kept continually +updated by the @code{gnus-start-date-timer} command. + +@item + Web listserv archives can be read with the @code{nnlistserv} backend. + +@item + Old dejanews archives can now be read by @code{nnweb}. + +@end itemize + + @node Newest Features @subsection Newest Features @cindex todo diff --git a/texi/message.texi b/texi/message.texi index afdedbd..5cda811 100644 --- a/texi/message.texi +++ b/texi/message.texi @@ -1,7 +1,7 @@ \input texinfo @c -*-texinfo-*- @setfilename message -@settitle Message 0.37 Manual +@settitle Message 5.6.1 Manual @synindex fn cp @synindex vr cp @synindex pg cp @@ -42,7 +42,7 @@ into another language, under the above conditions for modified versions. @tex @titlepage -@title Message 0.37 Manual +@title Message 5.6.1 Manual @author by Lars Magne Ingebrigtsen @page @@ -83,7 +83,7 @@ Message mode buffers. * Key Index:: List of Message mode keys. @end menu -This manual corresponds to Message 0.37. Message is distributed with +This manual corresponds to Message 5.6.1. Message is distributed with the Gnus distribution bearing the same version number as this manual has. -- 1.7.10.4