diff options
| author | Lars Magne Ingebrigtsen | 2010-11-10 23:16:01 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-11-10 23:16:01 +0000 |
| commit | a7f6e5b9f0b7604b0790ccaf11de36b952480980 (patch) | |
| tree | 598c12281a40c267f81001a7970efd8b1e412d06 | |
| parent | afe2870bf57fd7c1a1224898881f546125d15ec5 (diff) | |
| download | emacs-a7f6e5b9f0b7604b0790ccaf11de36b952480980.tar.gz emacs-a7f6e5b9f0b7604b0790ccaf11de36b952480980.zip | |
nnimap.el (nnimap-update-info): Fix problem with `g' chopping of low-numbered articles.
message.el (message-resend): Don't disable encoding unless it's already encoded.
| -rw-r--r-- | lisp/gnus/ChangeLog | 8 | ||||
| -rw-r--r-- | lisp/gnus/message.el | 6 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 7 |
3 files changed, 18 insertions, 3 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 5eb6e138630..8afb226a404 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,11 @@ | |||
| 1 | 2010-11-10 Lars Magne Ingebrigtsen <larsi@gnus.org> | ||
| 2 | |||
| 3 | * message.el (message-resend): Don't disable encoding unless it's | ||
| 4 | already encoded. | ||
| 5 | |||
| 6 | * nnimap.el (nnimap-update-info): Fix problem with `g' chopping of | ||
| 7 | low-numbered articles. | ||
| 8 | |||
| 1 | 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org> | 9 | 2010-11-10 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 10 | ||
| 3 | * rfc2047.el (rfc2047-syntax-table): Simplify. | 11 | * rfc2047.el (rfc2047-syntax-table): Simplify. |
diff --git a/lisp/gnus/message.el b/lisp/gnus/message.el index be09d0856eb..07ffaf14fcb 100644 --- a/lisp/gnus/message.el +++ b/lisp/gnus/message.el | |||
| @@ -7432,7 +7432,11 @@ is for the internal use." | |||
| 7432 | (when (looking-at "From ") | 7432 | (when (looking-at "From ") |
| 7433 | (replace-match "X-From-Line: ")) | 7433 | (replace-match "X-From-Line: ")) |
| 7434 | ;; Send it. | 7434 | ;; Send it. |
| 7435 | (let ((message-inhibit-body-encoding t) | 7435 | (let ((message-inhibit-body-encoding |
| 7436 | ;; Don't do any further encoding if it looks like the | ||
| 7437 | ;; message has already been encoded. | ||
| 7438 | (let ((case-fold-search t)) | ||
| 7439 | (re-search-forward "^mime-version:" nil t))) | ||
| 7436 | (message-inhibit-ecomplete t) | 7440 | (message-inhibit-ecomplete t) |
| 7437 | message-required-mail-headers | 7441 | message-required-mail-headers |
| 7438 | message-generate-hashcash | 7442 | message-generate-hashcash |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 67e2c91c3a2..ed69c4cdab2 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1155,13 +1155,16 @@ textual parts.") | |||
| 1155 | (not (gnus-active group))) | 1155 | (not (gnus-active group))) |
| 1156 | (gnus-set-active group | 1156 | (gnus-set-active group |
| 1157 | (cond | 1157 | (cond |
| 1158 | (active | ||
| 1159 | (cons (min (or low (car active)) | ||
| 1160 | (car active)) | ||
| 1161 | (max (or high (cdr active)) | ||
| 1162 | (cdr active)))) | ||
| 1158 | ((and low high) | 1163 | ((and low high) |
| 1159 | (cons low high)) | 1164 | (cons low high)) |
| 1160 | (uidnext | 1165 | (uidnext |
| 1161 | ;; No articles in this group. | 1166 | ;; No articles in this group. |
| 1162 | (cons uidnext (1- uidnext))) | 1167 | (cons uidnext (1- uidnext))) |
| 1163 | (active | ||
| 1164 | active) | ||
| 1165 | (start-article | 1168 | (start-article |
| 1166 | (cons start-article (1- start-article))) | 1169 | (cons start-article (1- start-article))) |
| 1167 | (t | 1170 | (t |