diff options
| author | Gnus developers | 2011-02-19 09:45:07 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2011-02-19 09:45:07 +0000 |
| commit | 56e96bed349771df1df56546450a21afc75c00d3 (patch) | |
| tree | c59584aa8799c6edfeec18ebd52f2d33a7c3318c | |
| parent | 2db8710ecfe0d9998ce2272dbfbe17593b4a6123 (diff) | |
| download | emacs-56e96bed349771df1df56546450a21afc75c00d3.tar.gz emacs-56e96bed349771df1df56546450a21afc75c00d3.zip | |
nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" outputs from the server.
gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook later so that bbdb can hook in easier.
| -rw-r--r-- | lisp/gnus/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/gnus/gnus-art.el | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 |
3 files changed, 13 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index af25ecae6ba..576cec2ca82 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,13 @@ | |||
| 1 | 2011-02-19 Lars Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-parse-copied-articles): Allow for "<foo> OK" | ||
| 4 | outputs from the server. | ||
| 5 | |||
| 6 | 2011-02-18 Antoine Levitt <antoine.levitt@gmail.com> (tiny change) | ||
| 7 | |||
| 8 | * gnus-art.el (gnus-article-prepare): Run gnus-article-prepare-hook | ||
| 9 | later so that bbdb can hook in easier. | ||
| 10 | |||
| 1 | 2011-02-18 Lars Ingebrigtsen <larsi@gnus.org> | 11 | 2011-02-18 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 12 | ||
| 3 | * auth-source.el (auth-source-search): Don't try to create credentials | 13 | * auth-source.el (auth-source-search): Don't try to create credentials |
diff --git a/lisp/gnus/gnus-art.el b/lisp/gnus/gnus-art.el index 82ad4974fd4..533b0100ae5 100644 --- a/lisp/gnus/gnus-art.el +++ b/lisp/gnus/gnus-art.el | |||
| @@ -4637,6 +4637,7 @@ If ALL-HEADERS is non-nil, no headers are hidden." | |||
| 4637 | (forward-line -1)) | 4637 | (forward-line -1)) |
| 4638 | (set-window-point (get-buffer-window (current-buffer)) (point)) | 4638 | (set-window-point (get-buffer-window (current-buffer)) (point)) |
| 4639 | (gnus-configure-windows 'article) | 4639 | (gnus-configure-windows 'article) |
| 4640 | (gnus-run-hooks 'gnus-article-prepare-hook) | ||
| 4640 | t)))))) | 4641 | t)))))) |
| 4641 | 4642 | ||
| 4642 | ;;;###autoload | 4643 | ;;;###autoload |
| @@ -4654,8 +4655,7 @@ If ALL-HEADERS is non-nil, no headers are hidden." | |||
| 4654 | gnus-article-image-alist nil) | 4655 | gnus-article-image-alist nil) |
| 4655 | (gnus-run-hooks 'gnus-tmp-internal-hook) | 4656 | (gnus-run-hooks 'gnus-tmp-internal-hook) |
| 4656 | (when gnus-display-mime-function | 4657 | (when gnus-display-mime-function |
| 4657 | (funcall gnus-display-mime-function)) | 4658 | (funcall gnus-display-mime-function)))) |
| 4658 | (gnus-run-hooks 'gnus-article-prepare-hook))) | ||
| 4659 | 4659 | ||
| 4660 | ;;; | 4660 | ;;; |
| 4661 | ;;; Gnus Sticky Article Mode | 4661 | ;;; Gnus Sticky Article Mode |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 9c93ee8bbd9..6b726b23756 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1823,7 +1823,7 @@ textual parts.") | |||
| 1823 | (defun nnimap-parse-copied-articles (sequences) | 1823 | (defun nnimap-parse-copied-articles (sequences) |
| 1824 | (let (sequence copied range) | 1824 | (let (sequence copied range) |
| 1825 | (goto-char (point-min)) | 1825 | (goto-char (point-min)) |
| 1826 | (while (re-search-forward "^\\([0-9]+\\) OK " nil t) | 1826 | (while (re-search-forward "^\\([0-9]+\\) OK\\b" nil t) |
| 1827 | (setq sequence (string-to-number (match-string 1))) | 1827 | (setq sequence (string-to-number (match-string 1))) |
| 1828 | (when (setq range (cadr (assq sequence sequences))) | 1828 | (when (setq range (cadr (assq sequence sequences))) |
| 1829 | (push (gnus-uncompress-range range) copied))) | 1829 | (push (gnus-uncompress-range range) copied))) |