*** pub/sgnus/lisp/gnus.el Sat Apr 6 00:14:21 1996 --- sgnus/lisp/gnus.el Sat Apr 6 23:33:38 1996 *************** *** 1695,1701 **** "gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys)" "The mail address of the Gnus maintainers.") ! (defconst gnus-version "September Gnus v0.64" "Version number for this version of Gnus.") (defvar gnus-info-nodes --- 1695,1701 ---- "gnus-bug@ifi.uio.no (The Gnus Bugfixing Girls + Boys)" "The mail address of the Gnus maintainers.") ! (defconst gnus-version "September Gnus v0.65" "Version number for this version of Gnus.") (defvar gnus-info-nodes *************** *** 7353,7359 **** "Return whether ARTICLE is the last article in the buffer." (if (not (setq article (or article (gnus-summary-article-number)))) t ; All non-existant numbers are the last article. :-) ! (cdr (gnus-data-find-list article)))) (defun gnus-summary-insert-dummy-line (gnus-tmp-subject gnus-tmp-number) "Insert a dummy root in the summary buffer." --- 7353,7359 ---- "Return whether ARTICLE is the last article in the buffer." (if (not (setq article (or article (gnus-summary-article-number)))) t ; All non-existant numbers are the last article. :-) ! (not (cdr (gnus-data-find-list article))))) (defun gnus-summary-insert-dummy-line (gnus-tmp-subject gnus-tmp-number) "Insert a dummy root in the summary buffer." *************** *** 15596,15608 **** ;; These groups are foreign. Check the level. (when (<= (gnus-info-level info) foreign-level) (setq active (gnus-activate-group group 'scan)) ! (gnus-close-group group)) ;; These groups are native or secondary. (when (and (<= (gnus-info-level info) level) (not gnus-read-active-file)) (setq active (gnus-activate-group group 'scan)) ! (gnus-close-group group))) (if active (inline (gnus-get-unread-articles-in-group --- 15596,15609 ---- ;; These groups are foreign. Check the level. (when (<= (gnus-info-level info) foreign-level) (setq active (gnus-activate-group group 'scan)) ! (unless (inline (gnus-virtual-group-p group)) ! (inline (gnus-close-group group)))) ;; These groups are native or secondary. (when (and (<= (gnus-info-level info) level) (not gnus-read-active-file)) (setq active (gnus-activate-group group 'scan)) ! (inline (gnus-close-group group)))) (if active (inline (gnus-get-unread-articles-in-group *** pub/sgnus/lisp/message.el Sat Apr 6 00:14:22 1996 --- sgnus/lisp/message.el Sat Apr 6 22:03:04 1996 *************** *** 975,985 **** ;;; Sending messages ;;; ! (defun message-send-and-exit () "Send message like `message-send', then, if no errors, exit from mail buffer." ! (interactive) (let ((buf (current-buffer))) ! (when (message-send) (bury-buffer buf) (when (eq buf (current-buffer)) (message-bury buf))))) --- 975,985 ---- ;;; Sending messages ;;; ! (defun message-send-and-exit (&optional arg) "Send message like `message-send', then, if no errors, exit from mail buffer." ! (interactive "P") (let ((buf (current-buffer))) ! (when (message-send arg) (bury-buffer buf) (when (eq buf (current-buffer)) (message-bury buf))))) *************** *** 1645,1652 **** ;; `system-name' returned the right result. system-name) ;; We try `user-mail-address' as a backup. ! ((string-match "@\\(\\W+\\)\\(\\'\\|\\W\\)" user-mail-address) (match-string 1 user-mail-address)) (t (concat system-name ".i-have-a-misconfigured-system-so-shoot-me"))))) --- 1645,1655 ---- ;; `system-name' returned the right result. system-name) ;; We try `user-mail-address' as a backup. ! ((string-match "@\\([^\\s-]+\\)\\(\\'\\|\\W\\)" user-mail-address) (match-string 1 user-mail-address)) + ;; Try `mail-host-address'. + (mail-host-address mail-host-address) + ;; Default to this bogus thing. (t (concat system-name ".i-have-a-misconfigured-system-so-shoot-me"))))) *************** *** 1678,1684 **** (Distribution (message-make-distribution)) (Lines (message-make-lines)) (X-Newsreader message-newsreader) ! (X-Mailer message-mailer) (Expires (message-make-expires)) (case-fold-search t) header value elem) --- 1681,1688 ---- (Distribution (message-make-distribution)) (Lines (message-make-lines)) (X-Newsreader message-newsreader) ! (X-Mailer (and (not (mail-fetch-field "X-Newsreader")) ! message-mailer)) (Expires (message-make-expires)) (case-fold-search t) header value elem) *************** *** 1812,1818 **** (fill-region-as-paragraph begin (point)) ;; Tapdance around looong Message-IDs. (forward-line -1) ! (when (eolp) (message-delete-line)) (goto-char begin) (re-search-forward ":" nil t) --- 1816,1822 ---- (fill-region-as-paragraph begin (point)) ;; Tapdance around looong Message-IDs. (forward-line -1) ! (when (looking-at "[ \t]*$") (message-delete-line)) (goto-char begin) (re-search-forward ":" nil t) *************** *** 2110,2116 **** (list (cons 'Cc (if (equal (downcase mct) "always") (or reply-to from "") mct))))) ! cur))) ;;;###autoload (defun message-cancel-news () --- 2114,2125 ---- (list (cons 'Cc (if (equal (downcase mct) "always") (or reply-to from "") mct))))) ! ! cur) ! ! (setq message-reply-headers ! (vector 0 subject from date message-id references 0 0 "")))) ! ;;;###autoload (defun message-cancel-news () *************** *** 2147,2153 **** mail-header-separator "\n" "This is a cancel message from " from ".\n") (message "Canceling your article...") ! (funcall message-send-news-function) (message "Canceling your article...done") (kill-buffer buf)))) --- 2156,2163 ---- mail-header-separator "\n" "This is a cancel message from " from ".\n") (message "Canceling your article...") ! (let (message-syntax-checks) ! (funcall message-send-news-function)) (message "Canceling your article...done") (kill-buffer buf)))) *** pub/sgnus/lisp/nnvirtual.el Sat Apr 6 00:14:23 1996 --- sgnus/lisp/nnvirtual.el Sat Apr 6 23:33:36 1996 *************** *** 415,422 **** 'nconc (mapcar (lambda (g) ! (when (setq active (or (gnus-active g) ! (gnus-activate-group g))) (setq unreads (gnus-list-of-unread-articles g) marks (gnus-uncompress-marks (gnus-info-marks (gnus-get-info g)))) --- 415,421 ---- 'nconc (mapcar (lambda (g) ! (when (setq active (gnus-activate-group g)) (setq unreads (gnus-list-of-unread-articles g) marks (gnus-uncompress-marks (gnus-info-marks (gnus-get-info g)))) *************** *** 425,431 **** marks)) (setq div (/ (float (car active)) (if (zerop (cdr active)) ! 1 (cdr active)) )) (mapcar (lambda (n) (list (* div (- n (car active))) g n (and (memq n unreads) t) --- 424,430 ---- marks)) (setq div (/ (float (car active)) (if (zerop (cdr active)) ! 1 (cdr active)))) (mapcar (lambda (n) (list (* div (- n (car active))) g n (and (memq n unreads) t) *************** *** 434,440 **** nnvirtual-component-groups)) (lambda (m1 m2) (< (car m1) (car m2))))) ! (i 0)) (setq nnvirtual-mapping map) ;; Set the virtual article numbers. (while (setq m (pop map)) --- 433,439 ---- nnvirtual-component-groups)) (lambda (m1 m2) (< (car m1) (car m2))))) ! (i 0)) (setq nnvirtual-mapping map) ;; Set the virtual article numbers. (while (setq m (pop map)) *** pub/sgnus/lisp/ChangeLog Sat Apr 6 00:14:30 1996 --- sgnus/lisp/ChangeLog Sat Apr 6 22:29:37 1996 *************** *** 1,4 **** --- 1,26 ---- + Sat Apr 6 19:03:10 1996 Lars Magne Ingebrigtsen + + * nnvirtual.el (nnvirtual-close-group): Don't update component + groups so much. + + * message.el (message-make-fqdm): Wouldn't pick out the address + from `user-mail-address'. + (message-generate-headers): Don't insert X-Mailer if there is an + X-Newsreader. + (message-followup): Set `message-reply-headers'. + (message-send-and-exit): Pass prefix argument. + (message-cancel-news): Don't check syntax. + + Sat Apr 6 03:04:58 1996 Lars Magne Ingebrigtsen + + * gnus.el (gnus-summary-last-article-p): Reverse logic. + + * message.el (message-make-fqdm): Try mail-host-address. + (message-fill-header): Would insert blank lines. + Fri Apr 5 23:51:17 1996 Lars Magne Ingebrigtsen + + * gnus.el: September Gnus v0.64 is released. * message.el (message-send-and-exit): Don't bury buffer on unsucessful sending.