[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r104834: gnus-draft.el (gnus-draft-cl
From: |
Katsumi Yamaoka |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r104834: gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing articles as unread rather than the ones that active asserts. |
Date: |
Fri, 01 Jul 2011 07:29:00 +0000 |
User-agent: |
Bazaar (2.3.1) |
------------------------------------------------------------
revno: 104834
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Fri 2011-07-01 07:29:00 +0000
message:
gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually
existing articles as unread rather than the ones that active asserts.
modified:
lisp/gnus/ChangeLog
lisp/gnus/gnus-draft.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog 2011-07-01 05:20:09 +0000
+++ b/lisp/gnus/ChangeLog 2011-07-01 07:29:00 +0000
@@ -1,3 +1,9 @@
+2011-07-01 Katsumi Yamaoka <address@hidden>
+
+ * gnus-draft.el (gnus-draft-clear-marks): Revert last change;
+ mark actually existing articles as unread rather than the ones that
+ active asserts.
+
2011-07-01 Paul Eggert <address@hidden>
* nntp.el (nntp-record-command):
=== modified file 'lisp/gnus/gnus-draft.el'
--- a/lisp/gnus/gnus-draft.el 2011-07-01 04:08:50 +0000
+++ b/lisp/gnus/gnus-draft.el 2011-07-01 07:29:00 +0000
@@ -325,18 +325,9 @@
(error "The draft %s is under edit" file)))))
(defun gnus-draft-clear-marks ()
- (setq gnus-newsgroup-marked nil
- gnus-newsgroup-unreads (gnus-uncompress-range
- (gnus-active gnus-newsgroup-name)))
- ;; Mark articles except for deleted ones as unread.
- (let (rest)
- (dolist (article gnus-newsgroup-reads)
- (when (and (consp article)
- (eq (cdr article) gnus-canceled-mark))
- (push article rest)
- (setq gnus-newsgroup-unreads
- (delq (car article) gnus-newsgroup-unreads))))
- (setq gnus-newsgroup-reads (nreverse rest))))
+ (setq gnus-newsgroup-reads nil
+ gnus-newsgroup-marked nil
+ gnus-newsgroup-unreads (nndraft-articles)))
(provide 'gnus-draft)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r104834: gnus-draft.el (gnus-draft-clear-marks): Revert last change; mark actually existing articles as unread rather than the ones that active asserts.,
Katsumi Yamaoka <=