From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/84724 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.gnus.general Subject: Re: Using gnus with gmail: almost there Date: Thu, 31 Jul 2014 07:56:32 +0200 Message-ID: <87d2cm9ilr.fsf@gnu.org> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1406786386 26695 80.91.229.3 (31 Jul 2014 05:59:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 31 Jul 2014 05:59:46 +0000 (UTC) Cc: ding@gnus.org To: Carlos Original-X-From: ding-owner+M32967@lists.math.uh.edu Thu Jul 31 07:59:38 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 1XCjOr-0003dO-Tz for ding-account@gmane.org; Thu, 31 Jul 2014 07:59:38 +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 1XCjO5-0002A2-5Z; Thu, 31 Jul 2014 00:58:49 -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 1XCjNu-00029r-F4 for ding@lists.math.uh.edu; Thu, 31 Jul 2014 00:58:38 -0500 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 1XCjNs-0007dV-UP for ding@lists.math.uh.edu; Thu, 31 Jul 2014 00:58:37 -0500 Original-Received: from deliver.uni-koblenz.de ([141.26.64.15]) by quimby.gnus.org with esmtp (Exim 4.80) (envelope-from ) id 1XCjNr-000748-8w for ding@gnus.org; Thu, 31 Jul 2014 07:58:35 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 1C7551A8415; Thu, 31 Jul 2014 07:58:35 +0200 (CEST) X-Virus-Scanned: amavisd-new at uni-koblenz.de Original-Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bdhgr0sAisbX; Thu, 31 Jul 2014 07:58:34 +0200 (CEST) X-CHKRCPT: Envelopesender noch tsdh@gnu.org Original-Received: from thinkpad-t440p (dhcp109.uni-koblenz.de [141.26.71.109]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by deliver.uni-koblenz.de (Postfix) with ESMTPSA id 964901A8414; Thu, 31 Jul 2014 07:58:34 +0200 (CEST) Mail-Followup-To: Carlos , ding@gnus.org In-Reply-To: (Carlos's message of "Tue, 29 Jul 2014 13:09:48 +0000 (UTC)") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (gnu/linux) X-Spam-Score: -4.9 (----) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:84724 Archived-At: Carlos writes: Hi Carlos, > 1) I would like to include my sent emails in the threads where they > belong, like in the "conversation" view gmail offers. I do the same. > There is a suggestion somewhere in the net to create a virtual group > merging the inbox and the sent mail groups, but this will only work > for threads in the inbox. Another option is to add a copy of any sent > mail to the current group, i.e. something like: > > (setq gnus-message-archive-group (lambda (g) (concat "nnimap+gmail:" g))) > > But this has some problems: 1.i) I don't know how to do this *only* for t= he=20 > gmail server. 1.ii) Obviously it doesn't work for emails sent from the=20 > webmail. > > Nevertheless, being able to solve 1.i alone would be very good news for m= e. Have a look at the `gcc-self' group parameter. ,----[ (info "(gnus)Group Parameters") ] | =E2=80=98gcc-self=E2=80=99 | If =E2=80=98(gcc-self . t)=E2=80=99 is present in the group paramete= r list, newly | composed messages will be =E2=80=98Gcc=E2=80=99=E2=80=99d to the cur= rent group. If | =E2=80=98(gcc-self . none)=E2=80=99 is present, no =E2=80=98Gcc:=E2= =80=99 header will be generated, | if =E2=80=98(gcc-self . "string")=E2=80=99 is present, this string w= ill be inserted | literally as a =E2=80=98gcc=E2=80=99 header. This parameter takes p= recedence over | any default =E2=80=98Gcc=E2=80=99 rules as described later (*note Ar= chived | Messages::), with the exception for messages to resend. |=20 | *Caveat*: Adding =E2=80=98(gcc-self . t)=E2=80=99 to the parameter l= ist of =E2=80=98nntp=E2=80=99 | groups (or the like) isn=E2=80=99t valid. An =E2=80=98nntp=E2=80=99= server doesn=E2=80=99t accept | articles. `---- Here's my gcc-self related settings: --8<---------------cut here---------------start------------->8--- (setq gnus-parameters `((,(rx "nnimap+") (gcc-self . t)) ;; Mailing List exceptions (,(rx "nnimap+Uni:ml/") (gcc-self . "nnimap+Uni:Sent")) (,(rx "nnimap+Fastmail:INBOX.mailinglists.") (gcc-self . "nnimap+Fastmail:INBOX.Sent Items")))) --8<---------------cut here---------------end--------------->8--- So I gcc the current group for all my IMAP accounts, except for mailing list groups, where I gcc the account's sent mail folder. To have that only for your Gmail account, you would change the regex to something like ,(rx "nnimap+Gmail") or whatever you've named your gmail account. > 2) I would like to postpone a message directly to a remote group > (ideally, the gmail drafts folder). Currently I'm able to locally > postpone a message and then move it to the remote group. A way to > automate this is what I can't come with (or, better, to directly store > the draft in the remote group, which I'm afraid is not possible). I think this question pops up here once in a while, but so far nobody seems to have implemented that feature. Bye, Tassilo