From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Pankaj Jangid Newsgroups: gmane.emacs.help Subject: Any tricks to speedup nnimap? Date: Sun, 20 Oct 2019 00:54:18 +0530 Organization: Code is Great! Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="155685"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (darwin) To: Emacs mailing list Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 21:24:44 2019 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLuLD-000eNJ-Fq for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 21:24:43 +0200 Original-Received: from localhost ([::1]:35326 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLuLC-0000D9-0k for geh-help-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 15:24:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45134) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLuKx-0000AV-34 for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 15:24:28 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLuKw-0007Vb-3b for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 15:24:27 -0400 Original-Received: from mail-pf1-x436.google.com ([2607:f8b0:4864:20::436]:44713) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLuKv-0007Us-Ss for help-gnu-emacs@gnu.org; Sat, 19 Oct 2019 15:24:26 -0400 Original-Received: by mail-pf1-x436.google.com with SMTP id q21so5840047pfn.11 for ; Sat, 19 Oct 2019 12:24:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:organization:date:message-id:user-agent :mime-version; bh=f0j/WO941DHsLJp7YjcaiOeOTDSHebQYXgUgruAc84s=; b=L5juLtV9S9aR0IpE9ZURofT2QR5XJNS4JuqJfpw5ygOD/aqkZDjMzXWb8jtzPmjAX9 uJquVmprWclkQw+70+CZimEQj/IVxLq7EM7KunDR9PG8Tk+jGyycrfWuZ1YWeP+1AkA3 GbUTx9w3GUYLRoiub39pg47eb7EemurcTUi91RsbG2locZ89IQdBaBR6Rg7O14T4gL0A dhBOTYOC5AHMshybndIjudxEjXGIaQj7ADZESYEiXEYL7Q2jJGgU5pYYnKDfoqGMT/5t TBYKMWU8tawjrMmHtpQMcVlMhLZW6M1NiuRTjFT317GxM8OuxU9/CbsmBiI40zSS2xUV y8cQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:organization:date:message-id :user-agent:mime-version; bh=f0j/WO941DHsLJp7YjcaiOeOTDSHebQYXgUgruAc84s=; b=cNYUFrqGK1dwNDdXsrOM3IGKgNfnjZBhOJ72B7TJqJgs1/n7llIPFIIdXhYBhMpudF LXgBIHkXAYU3o0DEm80B7LL5whTYszJjY72iwnAwf40avCvcEQTxHySB4hbHpl+7zLa5 tXW6qjG2RQDi27EWJPhVlxT3U9/QYpcBNUE9Vs1FrHo58XzFiQj2JgpaIYCdUXpUwvUC hfxcsEZP9dU0WcKzmVeDHLescPKjVk3bTEhFxw2obTpcL10uRGNAUovnPOvzE0qgLKJT vWimWEFVkWQFPmffl7s9jBfeSd0HcHkZIfIRsa5a1KcxglBfQfaoZ6FbCRbu4g0LSmpa 12jw== X-Gm-Message-State: APjAAAWGAJqs+3Beq/liTC1alLOA39WgbZv+xk+0ik15AoAxxqMSlwOT tkNDYu54czc+08gP0lXMYnbYBCbtIg== X-Google-Smtp-Source: APXvYqxRuJk1or89O37U+8SJpaF9d827pwDzVSQ/ku7HVRHlYsR5sSf6DyyjavR2OaZlGw/Fuykwqw== X-Received: by 2002:a65:66c6:: with SMTP id c6mr16842340pgw.250.1571513064035; Sat, 19 Oct 2019 12:24:24 -0700 (PDT) Original-Received: from Pankajs-MacBook-Pro.local ([49.36.134.134]) by smtp.gmail.com with ESMTPSA id w2sm9819128pgr.78.2019.10.19.12.24.22 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 19 Oct 2019 12:24:23 -0700 (PDT) Original-Received: by Pankajs-MacBook-Pro.local (Postfix, from userid 501) id D231D203C6FA75; Sun, 20 Oct 2019 00:54:18 +0530 (IST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::436 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:121676 Archived-At: Hi, I am using Gnus to read news and emails. News is fine. Whenever I open an unread article, it opens in a snap. Really fast. Some prefetch mechanism is at play. I haven't done anything to speed up news. This is default behaviour in my Emacs 26.3 But when inside an nnimap group, it takes time to open an email. I press on any email then it connects to server to fetch. Is it possible to prefetch emails? I want the news like fast behaviour in reading emails. I have tried following things: ;; (1) globally (setq gnus-asynchronous t) (setq gnus-use-article-prefetch 30) ; this is default ;; (2) under nnimap server section (nnimap-fetch-partial-articles t) These (above) two approaches aren't working on emails. I have read some articles that recommend "mbsync" and "dovecot". But that is a dependency on external tools. I would prefer native emacs approach if it is possible. -- Regards, Pankaj Jangid