From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/85257 Path: news.gmane.org!not-for-mail From: Trevor Murphy Newsgroups: gmane.emacs.gnus.general Subject: [RFC 2/3] Request Gmail labels in IMAP headers Date: Mon, 10 Nov 2014 20:09:22 -0500 Message-ID: <1415668163-29280-3-git-send-email-trevor.m.murphy@gmail.com> References: <1415668163-29280-1-git-send-email-trevor.m.murphy@gmail.com> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1415668233 29090 80.91.229.3 (11 Nov 2014 01:10:33 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Nov 2014 01:10:33 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M33502@lists.math.uh.edu Tue Nov 11 02:10:26 2014 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 1XnzyR-0004VD-Q9 for ding-account@gmane.org; Tue, 11 Nov 2014 02:10:24 +0100 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 1Xnzxs-0003in-R0; Mon, 10 Nov 2014 19:09:49 -0600 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 1Xnzxq-0003i0-4T for ding@lists.math.uh.edu; Mon, 10 Nov 2014 19:09:46 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) (envelope-from ) id 1Xnzxp-0004R2-9K for ding@lists.math.uh.edu; Mon, 10 Nov 2014 19:09:45 -0600 Original-Received: from mail-yk0-f176.google.com ([209.85.160.176]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1Xnzxn-0005rU-PK for ding@gnus.org; Tue, 11 Nov 2014 02:09:43 +0100 Original-Received: by mail-yk0-f176.google.com with SMTP id 9so3091722ykp.7 for ; Mon, 10 Nov 2014 17:09:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id:in-reply-to:references; bh=JugPV6R5lQuILDXvFeALpi4HWLnJ/6Ie9iUIUC2gkws=; b=mNluKVNj/uSbr5Y5UQZJm3CWV5+Nokcm1Uc0SHia6znlct/MDtElBxGwvm7ruLNEjv q4HdAs0wobGT4ZRIqokG1X6YbDQmmaF8VlEOObsjXa7e/H1UbrBfRtFxPuTZzEdRb1uV QnR443uzZHIiLPWTUiXTbrcQhrh0tAVJx1qz5DFYMROs21pFzLcGaSFIIw5yEGI1hHWO 7RGcT6wHYe/PsQ9sJCzkp/hXUm78qYeiRN/QXBe0RNT6Ko4jU5uF24lS/FDnX23d3RbD iJUJ5iq2UE4H2H08cSn39VN7QTCcrF/Pfw+LRMk3bbyuLVyxF0oXIx0gTtiKSyRIy379 w2XQ== X-Received: by 10.236.30.227 with SMTP id k63mr34477369yha.28.1415668177918; Mon, 10 Nov 2014 17:09:37 -0800 (PST) Original-Received: from organize.localdomain (z65-50-91-81.ips.direcpath.com. [65.50.91.81]) by mx.google.com with ESMTPSA id i60sm10088853yha.3.2014.11.10.17.09.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Nov 2014 17:09:37 -0800 (PST) X-Mailer: git-send-email 2.1.3 In-Reply-To: <1415668163-29280-1-git-send-email-trevor.m.murphy@gmail.com> X-Spam-Score: -3.0 (---) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:85257 Archived-At: --- lisp/gnus/nnimap.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 390ccd5..5eb812a 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -169,6 +169,8 @@ textual parts.") (let (l) (push "UID" l) (push "RFC822.SIZE" l) + (when (nnimap-capability "X-GM-EXT-1") + (push "X-GM-LABELS" l)) (push "BODYSTRUCTURE" l) (push (format (if (nnimap-ver4-p) -- 2.1.3