From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82114 Path: news.gmane.org!not-for-mail From: Greg Troxel Newsgroups: gmane.emacs.gnus.general Subject: recent imap regression Date: Mon, 06 Aug 2012 08:00:40 -0400 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: dough.gmane.org 1344254548 29484 80.91.229.3 (6 Aug 2012 12:02:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2012 12:02:28 +0000 (UTC) Cc: ding@gnus.org To: Julien Danjou Original-X-From: ding-owner+M30382@lists.math.uh.edu Mon Aug 06 14:02:28 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SyM0v-0007Oh-Am for ding-account@gmane.org; Mon, 06 Aug 2012 14:02:26 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1SyLzW-0004LD-6f; Mon, 06 Aug 2012 07:00:58 -0500 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1SyLzU-0004L7-KD for ding@lists.math.uh.edu; Mon, 06 Aug 2012 07:00:56 -0500 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1SyLzS-00088X-Ma for ding@lists.math.uh.edu; Mon, 06 Aug 2012 07:00:56 -0500 Original-Received: from linuxpal.mit.edu ([18.62.1.14]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1SyLzQ-0007PT-2D for ding@gnus.org; Mon, 06 Aug 2012 14:00:52 +0200 Original-Received: by linuxpal.mit.edu (Postfix, from userid 9545) id 9E91B16073; Mon, 6 Aug 2012 08:00:48 -0400 (EDT) OpenPGP: id=098ED60E User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/23.3 (berkeley-unix) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82114 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable I just updated to latest git, and it looks like these two changes: b12f45e int, nnimap: remove to-buffer in request-head 04ef222 gnus-int: add to-buffer parameter to gnus-request-head which were intended to be a change and a revert, ended up doing: diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 1bf8444..9e1cc6e 100644 =2D-- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,14 @@ +2012-08-06 Julien Danjou + + * nnimap.el (nnimap-request-article): Remove to-buffer argument. + + * gnus-int.el (gnus-request-head): Remove to-buffer argument, only + supported by nnimap actually. Reverts previous change. + + * gnus-int.el (gnus-request-head): Add an optional to-buffer parameter + to mimic `gnus-request-article' and enjoy backends the nn*-request-head + to-buffer argument that is already supported. + 2012-08-05 Julien Danjou =20 * gnus-demon.el (gnus-demon-add-handler, gnus-demon-remove-handler): diff --git a/lisp/nnimap.el b/lisp/nnimap.el index ebd268e..e195b42 100644 =2D-- a/lisp/nnimap.el +++ b/lisp/nnimap.el @@ -597,7 +597,7 @@ textual parts.") (nnheader-ms-strip-cr))) (cons group article))))))) =20 =2D(deffoo nnimap-request-head (article &optional group server to-buffer) +(deffoo nnimap-request-head (article &optional group server) (when group (setq group (nnimap-decode-gnus-group group))) (when (nnimap-change-group group server) @@ -610,7 +610,7 @@ textual parts.") article (format "UID FETCH %%d %s" (nnimap-header-parameters))) (let ((buffer (current-buffer))) =2D (with-current-buffer (or to-buffer nntp-server-buffer) + (with-current-buffer nntp-server-buffer (erase-buffer) (insert-buffer-substring buffer) (nnheader-ms-strip-cr) which results in the following when using delete. nnimap-request-move-article: Wrong number of arguments: #[(article &optiona= l group server) "=C2=83=C3=85!=C3=86 \"=C2=85Ar=C3=87 q=C2=88 ;=C2=83=1F=C3=88=09 # =C2=85@=C3=89 =C3=8A=C3=8B=C3=8C \"\"=C2=88pr q=C2=88=C3=8D =C2=88=C3=8E=0B!=C2=88=C3=8F = =C2=88 *B)=C2=87" [group server article buffer nntp-server-buffer nnimap-decode-gn= us-group nnimap-change-group nnimap-buffer nnimap-find-article-by-message-i= d nnimap-get-whole-article ...] 5], 4 --=-=-= Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (NetBSD) iEYEARECAAYFAlAfseoACgkQH9p66AmO1g7JOQCdFZ5ho/ZU19GPNl0/sf5HDUdB 7k8Anjy3PHVWE0hqxLu2jvxWybokDcHl =rliT -----END PGP SIGNATURE----- --=-=-=--