diff options
| author | Michael Olson | 2009-01-04 00:03:05 +0000 |
|---|---|---|
| committer | Michael Olson | 2009-01-04 00:03:05 +0000 |
| commit | 9b2bac7163fef73662e0e854eb880fc89fef08d3 (patch) | |
| tree | c519f95247abb50b796e707580e602626c63af2e | |
| parent | bd7101497913c5bb68e4cf2d6bad86053c2d679c (diff) | |
| download | emacs-9b2bac7163fef73662e0e854eb880fc89fef08d3.tar.gz emacs-9b2bac7163fef73662e0e854eb880fc89fef08d3.zip | |
Gnus: Add explanations for recent changes to the code itself.
These are already documented in ChangeLog.
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 | ||||
| -rw-r--r-- | lisp/net/imap.el | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index a38d35444a3..b11a0b083d3 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -620,6 +620,7 @@ If EXAMINE is non-nil the group is selected read-only." | |||
| 620 | ;; to make it more clear. | 620 | ;; to make it more clear. |
| 621 | (mm-with-unibyte-buffer | 621 | (mm-with-unibyte-buffer |
| 622 | (buffer-disable-undo) | 622 | (buffer-disable-undo) |
| 623 | ;; headers can be nil if article is write-only | ||
| 623 | (when headers (insert headers)) | 624 | (when headers (insert headers)) |
| 624 | (let ((head (nnheader-parse-naked-head uid))) | 625 | (let ((head (nnheader-parse-naked-head uid))) |
| 625 | (mail-header-set-number head uid) | 626 | (mail-header-set-number head uid) |
| @@ -950,6 +951,7 @@ function is generally only called when Gnus is shutting down." | |||
| 950 | (erase-buffer) | 951 | (erase-buffer) |
| 951 | (let ((data (imap-fetch article part prop nil | 952 | (let ((data (imap-fetch article part prop nil |
| 952 | nnimap-server-buffer))) | 953 | nnimap-server-buffer))) |
| 954 | ;; data can be nil if article is write-only | ||
| 953 | (when data | 955 | (when data |
| 954 | (insert (nnimap-demule (if detail | 956 | (insert (nnimap-demule (if detail |
| 955 | (nth 2 (car data)) | 957 | (nth 2 (car data)) |
diff --git a/lisp/net/imap.el b/lisp/net/imap.el index 85afffc100b..8cb248aa513 100644 --- a/lisp/net/imap.el +++ b/lisp/net/imap.el | |||
| @@ -2493,6 +2493,8 @@ Return nil if no complete line has arrived." | |||
| 2493 | (when (eq (char-after) ?\() | 2493 | (when (eq (char-after) ?\() |
| 2494 | (let (uid flags envelope internaldate rfc822 rfc822header rfc822text | 2494 | (let (uid flags envelope internaldate rfc822 rfc822header rfc822text |
| 2495 | rfc822size body bodydetail bodystructure flags-empty) | 2495 | rfc822size body bodydetail bodystructure flags-empty) |
| 2496 | ;; Courier can insert spurious blank characters which will | ||
| 2497 | ;; confuse `read', so skip past them. | ||
| 2496 | (while (let ((moved (skip-chars-forward " \t"))) | 2498 | (while (let ((moved (skip-chars-forward " \t"))) |
| 2497 | (prog1 (not (eq (char-after) ?\))) | 2499 | (prog1 (not (eq (char-after) ?\))) |
| 2498 | (unless (= moved 0) (backward-char)))) | 2500 | (unless (= moved 0) (backward-char)))) |