aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Ingebrigtsen2012-02-12 22:20:48 +0000
committerKatsumi Yamaoka2012-02-12 22:20:48 +0000
commit4eff9c1abb072f0769c6b7dcb7233903d6c6e761 (patch)
tree9f47eeaa187a0e1e911d35e22c4dd709f89350db /lisp
parentfa9958a67ebe5b7d5783288d464f8b10c28dce4f (diff)
downloademacs-4eff9c1abb072f0769c6b7dcb7233903d6c6e761.tar.gz
emacs-4eff9c1abb072f0769c6b7dcb7233903d6c6e761.zip
Merge changes made in No Gnus
nnml.el (nnml-request-compact-group): Delete the marks file after compaction (bug#10800). gnus-art.el (gnus-stop-downloads): Stop `url-queue' downloads on group exit. nnimap.el (nnimap-parse-flags): Parse correctly when we have mixed QRESYNC/FETCH output.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/gnus/ChangeLog11
-rw-r--r--lisp/gnus/gnus-art.el4
-rw-r--r--lisp/gnus/gnus-sum.el2
-rw-r--r--lisp/gnus/nnimap.el7
-rw-r--r--lisp/gnus/nnml.el3
5 files changed, 25 insertions, 2 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog
index e5d49365042..09861b95606 100644
--- a/lisp/gnus/ChangeLog
+++ b/lisp/gnus/ChangeLog
@@ -1,3 +1,14 @@
12012-02-12 Lars Ingebrigtsen <larsi@gnus.org>
2
3 * nnml.el (nnml-request-compact-group): Delete the marks file after
4 compaction (bug#10800).
5
6 * gnus-art.el (gnus-stop-downloads): Stop `url-queue' downloads on
7 group exit.
8
9 * nnimap.el (nnimap-parse-flags): Parse correctly when we have mixed
10 QRESYNC/FETCH output.
11
12012-02-11 Glenn Morris <rgm@gnu.org> 122012-02-11 Glenn Morris <rgm@gnu.org>
2 13
3 * sieve-manage.el (sieve-manage-default-stream): 14 * sieve-manage.el (sieve-manage-default-stream):
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el
index b282afd961c..048f8956567 100644
--- a/lisp/gnus/gnus-art.el
+++ b/lisp/gnus/gnus-art.el
@@ -4582,6 +4582,10 @@ commands:
4582 (when (eq (elt timer 5) 'image-animate-timeout) 4582 (when (eq (elt timer 5) 'image-animate-timeout)
4583 (cancel-timer timer)))) 4583 (cancel-timer timer))))
4584 4584
4585(defun gnus-stop-downloads ()
4586 (when (boundp 'url-queue)
4587 (set (intern "url-queue" obarray) nil)))
4588
4585;; Set article window start at LINE, where LINE is the number of lines 4589;; Set article window start at LINE, where LINE is the number of lines
4586;; from the head of the article. 4590;; from the head of the article.
4587(defun gnus-article-set-window-start (&optional line) 4591(defun gnus-article-set-window-start (&optional line)
diff --git a/lisp/gnus/gnus-sum.el b/lisp/gnus/gnus-sum.el
index 4316efacea6..8ae8d0b8ae2 100644
--- a/lisp/gnus/gnus-sum.el
+++ b/lisp/gnus/gnus-sum.el
@@ -7319,6 +7319,7 @@ If FORCE (the prefix), also save the .newsrc file(s)."
7319 (when (gnus-buffer-live-p gnus-article-buffer) 7319 (when (gnus-buffer-live-p gnus-article-buffer)
7320 (with-current-buffer gnus-article-buffer 7320 (with-current-buffer gnus-article-buffer
7321 (gnus-article-stop-animations) 7321 (gnus-article-stop-animations)
7322 (gnus-stop-downloads)
7322 (mm-destroy-parts gnus-article-mime-handles) 7323 (mm-destroy-parts gnus-article-mime-handles)
7323 ;; Set it to nil for safety reason. 7324 ;; Set it to nil for safety reason.
7324 (setq gnus-article-mime-handle-alist nil) 7325 (setq gnus-article-mime-handle-alist nil)
@@ -9656,6 +9657,7 @@ C-u g', show the raw article."
9656 (when (gnus-buffer-live-p gnus-article-buffer) 9657 (when (gnus-buffer-live-p gnus-article-buffer)
9657 (with-current-buffer gnus-article-buffer 9658 (with-current-buffer gnus-article-buffer
9658 (gnus-article-stop-animations) 9659 (gnus-article-stop-animations)
9660 (gnus-stop-downloads)
9659 (mm-destroy-parts gnus-article-mime-handles) 9661 (mm-destroy-parts gnus-article-mime-handles)
9660 ;; Set it to nil for safety reason. 9662 ;; Set it to nil for safety reason.
9661 (setq gnus-article-mime-handle-alist nil) 9663 (setq gnus-article-mime-handle-alist nil)
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el
index de4d248c624..73f9b917e7b 100644
--- a/lisp/gnus/nnimap.el
+++ b/lisp/gnus/nnimap.el
@@ -1539,7 +1539,8 @@ textual parts.")
1539 1539
1540(defun nnimap-parse-flags (sequences) 1540(defun nnimap-parse-flags (sequences)
1541 (goto-char (point-min)) 1541 (goto-char (point-min))
1542 ;; Change \Delete etc to %Delete, so that the reader can read it. 1542 ;; Change \Delete etc to %Delete, so that the Emacs Lisp reader can
1543 ;; read it.
1543 (subst-char-in-region (point-min) (point-max) 1544 (subst-char-in-region (point-min) (point-max)
1544 ?\\ ?% t) 1545 ?\\ ?% t)
1545 ;; Remove any MODSEQ entries in the buffer, because they may contain 1546 ;; Remove any MODSEQ entries in the buffer, because they may contain
@@ -1610,7 +1611,9 @@ textual parts.")
1610 vanished highestmodseq) 1611 vanished highestmodseq)
1611 articles) 1612 articles)
1612 groups) 1613 groups)
1613 (goto-char end) 1614 (if (eq flag-sequence 'qresync)
1615 (goto-char end)
1616 (setq end (point)))
1614 (setq articles nil)))) 1617 (setq articles nil))))
1615 groups)) 1618 groups))
1616 1619
diff --git a/lisp/gnus/nnml.el b/lisp/gnus/nnml.el
index acb23ed1693..b8652600ae7 100644
--- a/lisp/gnus/nnml.el
+++ b/lisp/gnus/nnml.el
@@ -1298,6 +1298,9 @@ Use the nov database for the current group if available."
1298 (nnml-save-nov) 1298 (nnml-save-nov)
1299 ;; b/ Save the active file: 1299 ;; b/ Save the active file:
1300 (nnmail-save-active nnml-group-alist nnml-active-file) 1300 (nnmail-save-active nnml-group-alist nnml-active-file)
1301 (let ((marks (nnml-group-pathname group nnml-marks-file-name server)))
1302 (when (file-exists-p marks)
1303 (delete-file marks)))
1301 t))))) 1304 t)))))
1302 1305
1303(defun nnml-request-compact (&optional server) 1306(defun nnml-request-compact (&optional server)