emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/gnus/gnus-group.el


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/gnus/gnus-group.el
Date: Tue, 19 Oct 2004 18:46:48 -0400

Index: emacs/lisp/gnus/gnus-group.el
diff -c emacs/lisp/gnus/gnus-group.el:1.29 emacs/lisp/gnus/gnus-group.el:1.30
*** emacs/lisp/gnus/gnus-group.el:1.29  Mon Oct 18 22:23:43 2004
--- emacs/lisp/gnus/gnus-group.el       Tue Oct 19 22:38:27 2004
***************
*** 44,56 ****
  (eval-when-compile (require 'mm-url))
  
  (defcustom gnus-group-archive-directory
!   "address@hidden:/pub/emacs/ding-list/"
    "*The address of the (ding) archives."
    :group 'gnus-group-foreign
    :type 'directory)
  
  (defcustom gnus-group-recent-archive-directory
!   "address@hidden:/pub/emacs/ding-list-recent/"
    "*The address of the most recent (ding) articles."
    :group 'gnus-group-foreign
    :type 'directory)
--- 44,56 ----
  (eval-when-compile (require 'mm-url))
  
  (defcustom gnus-group-archive-directory
!   "/address@hidden:/pub/emacs/ding-list/"
    "*The address of the (ding) archives."
    :group 'gnus-group-foreign
    :type 'directory)
  
  (defcustom gnus-group-recent-archive-directory
!   "/address@hidden:/pub/emacs/ding-list-recent/"
    "*The address of the most recent (ding) articles."
    :group 'gnus-group-foreign
    :type 'directory)
***************
*** 2283,2290 ****
        (lambda (group)
          (gnus-group-delete-group group nil t))))))
  
- (defvar gnus-cache-active-altered)
- 
  (defun gnus-group-delete-group (group &optional force no-prompt)
    "Delete the current group.  Only meaningful with editable groups.
  If FORCE (the prefix) is non-nil, all the articles in the group will
--- 2283,2288 ----
***************
*** 2314,2323 ****
          (gnus-group-goto-group group)
          (gnus-group-kill-group 1 t)
          (gnus-sethash group nil gnus-active-hashtb)
-         (if (boundp 'gnus-cache-active-hashtb)
-             (when gnus-cache-active-hashtb
-               (gnus-sethash group nil gnus-cache-active-hashtb)
-               (setq gnus-cache-active-altered t)))
          t))
      (gnus-group-position-point)))
  
--- 2312,2317 ----
***************
*** 3133,3139 ****
    (let* ((entry (gnus-gethash group gnus-newsrc-hashtb))
         (num (car entry))
         (marks (nth 3 (nth 2 entry)))
!        (unread (gnus-list-of-unread-articles group)))
      ;; Remove entries for this group.
      (nnmail-purge-split-history (gnus-group-real-name group))
      ;; Do the updating only if the newsgroup isn't killed.
--- 3127,3133 ----
    (let* ((entry (gnus-gethash group gnus-newsrc-hashtb))
         (num (car entry))
         (marks (nth 3 (nth 2 entry)))
!        (unread (gnus-sequence-of-unread-articles group)))
      ;; Remove entries for this group.
      (nnmail-purge-split-history (gnus-group-real-name group))
      ;; Do the updating only if the newsgroup isn't killed.
***************
*** 3146,3161 ****
                                                 'del '(tick))
                                           (list (cdr (assq 'dormant marks))
                                                 'del '(dormant))))
!       (setq unread (gnus-uncompress-range
!                     (gnus-range-add (gnus-range-add
!                                      unread (cdr (assq 'dormant marks)))
!                                     (cdr (assq 'tick marks)))))
        (gnus-add-marked-articles group 'tick nil nil 'force)
        (gnus-add-marked-articles group 'dormant nil nil 'force))
        ;; Do auto-expirable marks if that's required.
        (when (gnus-group-auto-expirable-p group)
!       (gnus-add-marked-articles group 'expire unread)
!       (gnus-request-set-mark group (list (list unread 'add '(expire)))))
        (let ((gnus-newsgroup-name group))
        (gnus-run-hooks 'gnus-group-catchup-group-hook))
        num)))
--- 3140,3156 ----
                                                 'del '(tick))
                                           (list (cdr (assq 'dormant marks))
                                                 'del '(dormant))))
!       (setq unread (gnus-range-add (gnus-range-add
!                                     unread (cdr (assq 'dormant marks)))
!                                    (cdr (assq 'tick marks))))
        (gnus-add-marked-articles group 'tick nil nil 'force)
        (gnus-add-marked-articles group 'dormant nil nil 'force))
        ;; Do auto-expirable marks if that's required.
        (when (gnus-group-auto-expirable-p group)
!         (gnus-range-map (lambda (article)
!                           (gnus-add-marked-articles group 'expire (list 
article))
!                           (gnus-request-set-mark group (list (list (list 
article) 'add '(expire)))))
!                         unread))
        (let ((gnus-newsgroup-name group))
        (gnus-run-hooks 'gnus-group-catchup-group-hook))
        num)))
***************
*** 3517,3523 ****
    ;; First we make sure that we have really read the active file.
    (unless (gnus-read-active-file-p)
      (let ((gnus-read-active-file t)
!         (gnus-agent nil))             ; Trick the agent into ignoring the 
active file.
        (gnus-read-active-file)))
    ;; Find all groups and sort them.
    (let ((groups
--- 3512,3518 ----
    ;; First we make sure that we have really read the active file.
    (unless (gnus-read-active-file-p)
      (let ((gnus-read-active-file t)
!         (gnus-agent gnus-plugged)); If we're actually plugged, store the 
active file in the agent.
        (gnus-read-active-file)))
    ;; Find all groups and sort them.
    (let ((groups




reply via email to

[Prev in Thread] Current Thread [Next in Thread]