+Sat Mar 22 15:42:53 1997 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
+
+ * gnus.el: Gnus v5.4.34 is released.
+
+Sat Mar 22 01:37:00 1997 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
+
+ * gnus-sum.el (gnus-summary-move-article): Understand 'junk.
+
+ * nnml.el (nnml-request-accept-article): Return 'junk when legal.
+
+ * gnus-sum.el (gnus-summary-respool-query): Message better, and
+ return right value.
+
+ * nnmail.el (nnmail-split-abbrev-alist): New `to' and `from'
+ abbrevs.
+
+Wed Mar 19 19:36:25 1997 Dewey M. Sasser <dewey@newvision.com>
+
+ * message.el (message-make-from): Changed so that
+ message-from-style value is captured from message buffer instead
+ of temp buffer.
+
+Sat Mar 22 00:47:39 1997 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
+
+ * gnus-srvr.el (gnus-browse-foreign-server): Understand server
+ names.
+
+ * gnus-group.el (gnus-group-browse-foreign-server): Down methodize
+ the server.
+
+Thu Mar 20 22:49:16 1997 Lars Magne Ingebrigtsen <larsi@ifi.uio.no>
+
+ * nnfolder.el (nnfolder-read-folder): Do checking if there are new
+ articles after the last nnfolder marker.
+
Thu Mar 20 17:33:54 1997 Lars Magne Ingebrigtsen <larsi@menja.ifi.uio.no>
* gnus.el: Gnus v5.4.33 is released.
"Address: "
(mapcar (lambda (server) (list server))
gnus-secondary-servers)))
- ;; We got a server name, so we find the method.
- (gnus-server-to-method how)))))
+ ;; We got a server name.
+ how))))
(gnus-browse-foreign-server method))
(defun gnus-group-set-info (info &optional method-only-group part)
["Select" gnus-browse-read-group t]
["Next" gnus-browse-next-group t]
["Prev" gnus-browse-next-group t]
- ["Exit" gnus-browse-exit t]
- ))
+ ["Exit" gnus-browse-exit t]))
(run-hooks 'gnus-browse-menu-hook)))
(defvar gnus-browse-current-method nil)
"Browse the server METHOD."
(setq gnus-browse-current-method method)
(setq gnus-browse-return-buffer return-buffer)
+ (when (stringp method)
+ (setq method (gnus-server-to-method method)))
(let ((gnus-select-method method)
groups group)
(gnus-message 5 "Connecting to %s..." (nth 1 method))
(set-buffer copy-buf)
;; First put the article in the destination group.
(gnus-request-article-this-buffer article gnus-newsgroup-name)
- (setq art-group
- (gnus-request-accept-article
- to-newsgroup select-method (not articles)))
- (setq new-xref (concat new-xref " " (car art-group)
- ":" (cdr art-group)))
- ;; Now we have the new Xrefs header, so we insert
- ;; it and replace the new article.
- (nnheader-replace-header "Xref" new-xref)
- (gnus-request-replace-article
- (cdr art-group) to-newsgroup (current-buffer))
- art-group)))))
- (if (not art-group)
- (gnus-message 1 "Couldn't %s article %s"
- (cadr (assq action names)) article)
+ (when (consp (setq art-group
+ (gnus-request-accept-article
+ to-newsgroup select-method (not articles))))
+ (setq new-xref (concat new-xref " " (car art-group)
+ ":" (cdr art-group)))
+ ;; Now we have the new Xrefs header, so we insert
+ ;; it and replace the new article.
+ (nnheader-replace-header "Xref" new-xref)
+ (gnus-request-replace-article
+ (cdr art-group) to-newsgroup (current-buffer))
+ art-group))))))
+ (cond
+ ((not art-group)
+ (gnus-message 1 "Couldn't %s article %s"
+ (cadr (assq action names)) article))
+ ((and (eq art-group 'junk)
+ (eq action 'move))
+ (gnus-summary-mark-article article gnus-canceled-mark)
+ (gnus-message 4 "Deleted article %s" article))
+ (t
(let* ((entry
(or
(gnus-gethash (car art-group) gnus-newsrc-hashtb)
(gnus-summary-goto-subject article)
(when (eq action 'move)
- (gnus-summary-mark-article article gnus-canceled-mark)))
+ (gnus-summary-mark-article article gnus-canceled-mark))))
(gnus-summary-remove-process-mark article))
;; Re-activate all groups that have been moved to.
(while to-groups
;;; Respooling
-(defun gnus-summary-respool-query ()
+(defun gnus-summary-respool-query (&optional silent)
"Query where the respool algorithm would put this article."
(interactive)
(gnus-set-global-variables)
(set-buffer gnus-original-article-buffer)
(save-restriction
(message-narrow-to-head)
- (message "This message would go to %s"
- (mapconcat 'car (nnmail-article-group 'identity) ", "))))))
+ (let ((groups (nnmail-article-group 'identity)))
+ (unless silent
+ (if groups
+ (message "This message would go to %s"
+ (mapconcat 'car groups ", "))
+ (message "This message would go to no groups"))
+ groups))))))
;; Summary marking commands.
:link '(custom-manual "(gnus)Exiting Gnus")
:group 'gnus)
-(defconst gnus-version-number "5.4.33"
+(defconst gnus-version-number "5.4.34"
"Version number for this version of Gnus.")
(defconst gnus-version (format "Gnus v%s" gnus-version-number)
:group 'message-buffers
:type 'function)
-;;;###autoload
(defcustom message-fcc-handler-function 'message-output
"*A function called to save outgoing articles.
This function will be called with the name of the file to store the
(defun message-make-from ()
"Make a From header."
- (let* ((login (message-make-address))
+ (let* ((style message-from-style)
+ (login (message-make-address))
(fullname
(or (and (boundp 'user-full-name)
user-full-name)
(save-excursion
(message-set-work-buffer)
(cond
- ((or (null message-from-style)
+ ((or (null style)
(equal fullname ""))
(insert login))
- ((or (eq message-from-style 'angles)
- (and (not (eq message-from-style 'parens))
+ ((or (eq style 'angles)
+ (and (not (eq style 'parens))
;; Use angles if no quoting is needed, or if parens would
;; need quoting too.
(or (not (string-match "[^- !#-'*+/-9=?A-Z^-~]" fullname))
(< maxid 2)))
(goto-char (point-max))
(unless (re-search-backward marker nil t)
+ (goto-char (point-min)))
+ (when (nnmail-search-unix-mail-delim)
(goto-char (point-min))))
;; Keep track of the active number on our own, and insert it back
(defcustom nnmail-split-abbrev-alist
'((any . "from\\|to\\|cc\\|sender\\|apparently-to\\|resent-from\\|resent-to\\|resent-cc")
- (mail . "mailer-daemon\\|postmaster\\|uucp"))
+ (mail . "mailer-daemon\\|postmaster\\|uucp")
+ (to . "to\\|cc\\|apparently-to\\|resent-to\\|resent-cc")
+ (from . "from\\|sender\\|resent-from"))
"Alist of abbreviations allowed in `nnmail-split-fancy'."
:group 'nnmail-split
:type '(repeat (cons :format "%v" symbol regexp)))
(and last (nnml-save-nov))))
(and
(nnmail-activate 'nnml)
- (setq result (car (nnml-save-mail
- (nnmail-article-group 'nnml-active-number))))
+ (if (not (setq result (nnmail-article-group 'nnml-active-number)))
+ (setq result 'junk)
+ (setq result (car (nnml-save-mail result))))
(when last
(nnmail-save-active nnml-group-alist nnml-active-file)
(when nnmail-cache-accepted-message-ids
\input texinfo @c -*-texinfo-*-
@setfilename gnus
-@settitle Gnus 5.4.33 Manual
+@settitle Gnus 5.4.34 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Gnus 5.4.33 Manual
+@title Gnus 5.4.34 Manual
@author by Lars Magne Ingebrigtsen
@page
spool or your mbox file. All at the same time, if you want to push your
luck.
-This manual corresponds to Gnus 5.4.33.
+This manual corresponds to Gnus 5.4.34.
@end ifinfo
(any "procmail@@informatik\\.rwth-aachen\\.de" "procmail.list")
(any "SmartList@@informatik\\.rwth-aachen\\.de" "SmartList.list")
;; People...
- (any "larsi@@ifi\\.uio\\.no" "people.Lars Magne Ingebrigtsen"))
+ (any "larsi@@ifi\\.uio\\.no" "people.Lars_Magne_Ingebrigtsen"))
;; Unmatched mail goes to the catch all group.
"misc.misc")
@end lisp
\input texinfo @c -*-texinfo-*-
@setfilename message
-@settitle Message 5.4.33 Manual
+@settitle Message 5.4.34 Manual
@synindex fn cp
@synindex vr cp
@synindex pg cp
@tex
@titlepage
-@title Message 5.4.33 Manual
+@title Message 5.4.34 Manual
@author by Lars Magne Ingebrigtsen
@page
* Key Index:: List of Message mode keys.
@end menu
-This manual corresponds to Message 5.4.33. Message is distributed with
+This manual corresponds to Message 5.4.34. Message is distributed with
the Gnus distribution bearing the same version number as this manual
has.