[gnus git] branch master updated: n0-17-283-gc8aed86 =3= (gnus-group-name-charset): Always return `utf-7' when decoding nnimap groups. ; Don't save `gnus-format-specs' in the newsrc file. ; * nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to overflows.
Lars Magne Ingebrigtsen <[email protected]>
| Newsgroups | gmane.emacs.gnus.cvs |
|---|---|
| Message-ID | <[email protected]> |
via c8aed865eb5085877f731243608c5746eaf3d9c2 (commit)
via bf16a0a6c5580f2155ce62102c303e5d7dc6e07e (commit)
via b8ed311d42bbff7b71ae195cbd8c9fde6c374c56 (commit)
from 736f1d43670dfff814c888ce40ed540ab35c5706 (commit)
- Log -----------------------------------------------------------------
commit c8aed865eb5085877f731243608c5746eaf3d9c2
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sun Sep 11 00:40:54 2011 +0200
(gnus-group-name-charset): Always return `utf-7' when decoding nnimap groups.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3280df0..fcc228d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,8 @@
2011-09-10 Lars Magne Ingebrigtsen <[email protected]>
+ * gnus-group.el (gnus-group-name-charset): Always return `utf-7' when
+ decoding nnimap groups.
+
* gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the
newsrc file. It doesn't seem like an important optimisation any more.
diff --git a/lisp/gnus-group.el b/lisp/gnus-group.el
index bf83fd7..4921fa3 100644
--- a/lisp/gnus-group.el
+++ b/lisp/gnus-group.el
@@ -1193,7 +1193,7 @@ The following commands are available:
(unless (eq major-mode 'gnus-group-mode)
(gnus-group-mode)))
-(defun gnus-group-name-charset (method group)
+(defun gnus-group-name-charset (method group &optional always-charset-p)
(unless method
(setq method (gnus-find-method-for-group group)))
(when (stringp method)
@@ -1201,7 +1201,9 @@ The following commands are available:
(if (eq (car method) 'nnimap)
;; IMAP groups should not be encoded, since they do the encoding
;; in utf7 in the protocol.
- nil
+ (if always-charset-p
+ 'utf-7
+ nil)
(let ((item (or (assoc method gnus-group-name-charset-method-alist)
(and (consp method)
(assoc (list (car method) (cadr method))
diff --git a/lisp/gnus-srvr.el b/lisp/gnus-srvr.el
index ec98b2f..7fcdb20 100644
--- a/lisp/gnus-srvr.el
+++ b/lisp/gnus-srvr.el
@@ -860,7 +860,7 @@ claim them."
name
(mm-decode-coding-string
name
- (inline (gnus-group-name-charset method name)))))))
+ (inline (gnus-group-name-charset method name t)))))))
(list 'gnus-group name)
)))
(switch-to-buffer (current-buffer)))
commit bf16a0a6c5580f2155ce62102c303e5d7dc6e07e
Author: Lars Magne Ingebrigtsen <[email protected]>
Date: Sun Sep 11 00:03:19 2011 +0200
Don't save `gnus-format-specs' in the newsrc file.
It doesn't seem like an important optimisation any more.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 3dfbe0e..3280df0 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-10 Lars Magne Ingebrigtsen <[email protected]>
+
+ * gnus.el (gnus-variable-list): Don't save `gnus-format-specs' in the
+ newsrc file. It doesn't seem like an important optimisation any more.
+
2011-09-10 Dave Abrahams <[email protected]> (tiny change)
* nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to
diff --git a/lisp/gnus.el b/lisp/gnus.el
index b5f7b72..8f10e23 100644
--- a/lisp/gnus.el
+++ b/lisp/gnus.el
@@ -2690,8 +2690,7 @@ such as a mark that says whether an article is stored in the cache
gnus-newsrc-last-checked-date
gnus-newsrc-alist gnus-server-alist
gnus-killed-list gnus-zombie-list
- gnus-topic-topology gnus-topic-alist
- gnus-format-specs)
+ gnus-topic-topology gnus-topic-alist)
"Gnus variables saved in the quick startup file.")
(defvar gnus-newsrc-alist nil
commit b8ed311d42bbff7b71ae195cbd8c9fde6c374c56
Author: Dave Abrahams <[email protected]>
Date: Sat Sep 10 23:59:02 2011 +0200
* nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to overflows.
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 7328f41..3dfbe0e 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2011-09-10 Dave Abrahams <[email protected]> (tiny change)
+
+ * nnimap.el (nnimap-transform-headers): Fix regexp to be less prone to
+ overflows.
+
2011-09-10 Lars Magne Ingebrigtsen <[email protected]>
* gnus.el (gnus-article-mark-lists): Remove `recent'.
diff --git a/lisp/nnimap.el b/lisp/nnimap.el
index 52c4b3c..cd76885 100644
--- a/lisp/nnimap.el
+++ b/lisp/nnimap.el
@@ -190,7 +190,7 @@ textual parts.")
(let (article bytes lines size string)
(block nil
(while (not (eobp))
- (while (not (looking-at "\\* [0-9]+ FETCH.+UID \\([0-9]+\\)"))
+ (while (not (looking-at "\\* [0-9]+ FETCH.+?UID \\([0-9]+\\)"))
(delete-region (point) (progn (forward-line 1) (point)))
(when (eobp)
(return)))
-----------------------------------------------------------------------
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we listed those
revisions in full, above.
Summary of changes:
lisp/ChangeLog | 13 +++++++++++++
lisp/gnus-group.el | 6 ++++--
lisp/gnus-srvr.el | 2 +-
lisp/gnus.el | 3 +--
lisp/nnimap.el | 2 +-
5 files changed, 20 insertions(+), 6 deletions(-)
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Gnus Project".
The branch, master has been updated
hooks/post-receive
--
Gnus Project