comparison lisp/gnus/gnus-sum.el @ 110465:b7b7e970d807

Merge changes made in Gnus trunk. gnus-group.el (gnus-group-line-format-alist): Have the ?U (unseen) spec inserr "*" if the group isn't active instead of 0. nnimap.el (nnimap-request-create-group): Implement. nnimap.el: Use the IMAP version of utf7-encode throughout. nnimap.el: Implement the nnimap article expunging interface method, and make it more general. gnus-group.el: Put back the nnimap autoloads needed to do the acl stuff. gnus-sum.el (gnus-summary-move-article): When respooling to the same method, this would bug out. nnimap.el (nnimap-request-group): When we have zero articles, return the right data to Gnus. nnimap.el (nnimap-request-expire-articles): Only delete articles immediately if the target is 'delete. nnmail.el (nnmail-expired-article-p): Allow returning the cutoff time for oldness in addition to being a predicate. nnimap.el: Implement nnimap expiry. nnimap.el (nnimap-request-move-article): Request the article before looking at what the Message-ID is. nnimap.el (nnimap-mark-and-expunge-incoming): Wait for the last sequence. gnus-sum.el (gnus-summary-move-article): Use gnus-server-equal to find out whether methods are equal. nnimap.el (nnimap-find-expired-articles): Don't refer to nnml-inhibit-expiry. nnmail.el (nnmail-expired-article-p): Fix typo: time-subtract. gnus-start.el (gnus-get-unread-articles): Fix the prefixed select method in the presence of many similar methods. When we have several similar methods, try to create as few extended methods as possible. gnus-sum.el (gnus-adjust-marked-articles): Hack to avoid adjusting marks for nnimap, which is seldom the right thing to do. gnus-int.el (gnus-open-server): Give a better error message in the "go offline" case. gnus-sum.el (gnus-adjust-marked-articles): Fix another typo. nnml.el (nnml-generate-nov-file): Fix variable name clobbering from previous patch. gnus-start.el (gnus-get-unread-articles): Get the extended method slightly later to avoid double-getting it.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Tue, 21 Sep 2010 23:13:46 +0000
parents de3a95d08649
children 1ad1adb298a3
comparison
equal deleted inserted replaced
110464:27917ce150c1 110465:b7b7e970d807
5848 (min (car active)) 5848 (min (car active))
5849 (max (cdr active)) 5849 (max (cdr active))
5850 (types gnus-article-mark-lists) 5850 (types gnus-article-mark-lists)
5851 marks var articles article mark mark-type 5851 marks var articles article mark mark-type
5852 bgn end) 5852 bgn end)
5853 ;; Hack to avoid adjusting marks for imap.
5854 (when (eq (car (gnus-find-method-for-group (gnus-info-group info)))
5855 'nnimap)
5856 (setq min 1))
5853 5857
5854 (dolist (marks marked-lists) 5858 (dolist (marks marked-lists)
5855 (setq mark (car marks) 5859 (setq mark (car marks)
5856 mark-type (gnus-article-mark-to-type mark) 5860 mark-type (gnus-article-mark-to-type mark)
5857 var (intern (format "gnus-newsgroup-%s" (car (rassq mark types))))) 5861 var (intern (format "gnus-newsgroup-%s" (car (rassq mark types)))))
9679 (gnus-dup-unsuppress-article article) 9683 (gnus-dup-unsuppress-article article)
9680 (let* ((from-method (gnus-find-method-for-group 9684 (let* ((from-method (gnus-find-method-for-group
9681 gnus-newsgroup-name)) 9685 gnus-newsgroup-name))
9682 (to-method (or select-method 9686 (to-method (or select-method
9683 (gnus-find-method-for-group to-newsgroup))) 9687 (gnus-find-method-for-group to-newsgroup)))
9684 (move-is-internal (gnus-method-equal from-method to-method))) 9688 (move-is-internal (gnus-server-equal from-method to-method)))
9685 (gnus-request-move-article 9689 (gnus-request-move-article
9686 article ; Article to move 9690 article ; Article to move
9687 gnus-newsgroup-name ; From newsgroup 9691 gnus-newsgroup-name ; From newsgroup
9688 (nth 1 (gnus-find-method-for-group 9692 (nth 1 (gnus-find-method-for-group
9689 gnus-newsgroup-name)) ; Server 9693 gnus-newsgroup-name)) ; Server
9690 (list 'gnus-request-accept-article 9694 (list 'gnus-request-accept-article
9691 to-newsgroup (list 'quote select-method) 9695 to-newsgroup (list 'quote select-method)
9692 (not articles) t) ; Accept form 9696 (not articles) t) ; Accept form
9693 (not articles) ; Only save nov last time 9697 (not articles) ; Only save nov last time
9694 (and move-is-internal 9698 (and move-is-internal
9695 (gnus-group-real-name to-newsgroup))))) ; is this move internal? 9699 to-newsgroup ; Not respooling
9700 (gnus-group-real-name to-newsgroup))))) ; Is this move internal?
9696 ;; Copy the article. 9701 ;; Copy the article.
9697 ((eq action 'copy) 9702 ((eq action 'copy)
9698 (with-current-buffer copy-buf 9703 (with-current-buffer copy-buf
9699 (when (gnus-request-article-this-buffer article gnus-newsgroup-name) 9704 (when (gnus-request-article-this-buffer article gnus-newsgroup-name)
9700 (save-restriction 9705 (save-restriction