From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joseph Vidal-Rosset Subject: Re: org-links for Gnus in imap with Gmail (for a convenient todo.org list) Date: Thu, 25 Jul 2019 19:24:25 +0200 Message-ID: <5d39e5ca.1c69fb81.409b9.4b42@mx.google.com> References: <5d39d7af.1c69fb81.2893e.8fde@mx.google.com> <87v9vqgiy6.fsf@ucl.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52783) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hqhTm-0005aN-7p for emacs-orgmode@gnu.org; Thu, 25 Jul 2019 13:24:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hqhTi-0007el-5I for emacs-orgmode@gnu.org; Thu, 25 Jul 2019 13:24:32 -0400 Received: from mail-wm1-x332.google.com ([2a00:1450:4864:20::332]:52572) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hqhTh-0007d9-SH for emacs-orgmode@gnu.org; Thu, 25 Jul 2019 13:24:30 -0400 Received: by mail-wm1-x332.google.com with SMTP id s3so45686792wms.2 for ; Thu, 25 Jul 2019 10:24:29 -0700 (PDT) In-Reply-To: <87v9vqgiy6.fsf@ucl.ac.uk> (Eric Fraga's message of "Thu, 25 Jul 2019 16:47:14 +0000") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: "Fraga, Eric" Cc: emacs-orgmode list Le jeu. 07/25/19 juil. 2019 =C3=A0 04:47:14 , "Fraga, Eri= c" a envoy=C3=A9 ce message: > On Thursday, 25 Jul 2019 at 18:24, Joseph Vidal-Rosset wrote: >> But for gnus-imap-gmail users, it is more difficult to get the same >> thing.=20 > > [...] > >> But I need to change the mention of INBOX in the link to John's >> email.=20 > > Why is that? If I create a link to an email from gmail using %a, this > seems to work (having just tested it). Am I missing something? I don't > often link to gmail messages as they are mostly junk emails (in my > case). I know that gmail does not really have imap folders but uses > tags (of a sort) to make it look like emails are in different folders > (or in more than one folder simultaneously) but INBOX seems to work for > me. > > Just curious. Thanks for your question Eric. :) Of course, INBOX works for you if you do not archive the message in All emails folder or elsewhere. If you move it from INBOX, in case where you like to have the cleanest INBOX that is the empty one, you won't get no more the email via this link. I wanted to have in IMAP the shortest list to see only three folders in my Gnus=20 INBOX [Gmail]/Tous les messages [Gmail]/Corbeille I have defined shortucts: key "Inser" archives email into [Gmail]/Tous les messages and "Suppr" sends email into [Gmail]/Corbeille.=20 The most tricky is to get the Summary [Gmail]/Tous les messages in a reasonable time, because with a lot of emails, Gnus in imap can be too slow. My solution is in this line:=20 (setq gnus-newsgroup-maximum-articles 70000) and it works.=20 For people who are reluctant to use offlineimap or mbsync and who therefore prefer Gnus over mu4e , it makes almost the same job, via imap. I can share of course all my setup and I am also curious of improving it. Best wishes, --=20 Jo.