From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Jean Louis Newsgroups: gmane.emacs.bugs Subject: bug#36714: 27.0.50; Gnus nnmaildir taking long time to recursively visit sub-Maildirs Date: Thu, 18 Jul 2019 21:43:11 +0200 Message-ID: <20190718194311.GA6908@protected.rcdrun.com> References: <86ftn37cvz.fsf@protected.rcdrun.com> <87sgr32mnq.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="55917"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Mutt/1.10.1 (2018-07-13) Cc: 36714@debbugs.gnu.org To: Eric Abrahamsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 19 01:52:09 2019 Return-path: Envelope-to: geb-bug-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 1hoGC0-000EQB-IY for geb-bug-gnu-emacs@m.gmane.org; Fri, 19 Jul 2019 01:52:08 +0200 Original-Received: from localhost ([::1]:41508 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoGBz-0001By-F0 for geb-bug-gnu-emacs@m.gmane.org; Thu, 18 Jul 2019 19:52:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54188) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hoGBv-0001Be-Fk for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 19:52:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hoGBu-0003mI-52 for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 19:52:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:46035) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hoGBt-0003mC-VT for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 19:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hoGBt-0004cQ-TU for bug-gnu-emacs@gnu.org; Thu, 18 Jul 2019 19:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jean Louis Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 18 Jul 2019 23:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 36714 X-GNU-PR-Package: emacs Original-Received: via spool by 36714-submit@debbugs.gnu.org id=B36714.156349391817738 (code B ref 36714); Thu, 18 Jul 2019 23:52:01 +0000 Original-Received: (at 36714) by debbugs.gnu.org; 18 Jul 2019 23:51:58 +0000 Original-Received: from localhost ([127.0.0.1]:54856 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoGBp-0004c1-Jw for submit@debbugs.gnu.org; Thu, 18 Jul 2019 19:51:58 -0400 Original-Received: from stw1.rcdrun.com ([217.170.207.13]:59217) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hoGBn-0004bi-0U for 36714@debbugs.gnu.org; Thu, 18 Jul 2019 19:51:55 -0400 Original-Received: from protected.rcdrun.com (localhost [::1]) (AUTH: PLAIN admin, TLS: TLS1.2,256bits,ECDHE_RSA_AES_256_GCM_SHA384) by stw1.rcdrun.com with ESMTPSA; Thu, 18 Jul 2019 12:43:12 -0700 id 0000000000020351.000000005D30CBD0.00003FE0 Original-Received: from localhost (protected.rcdrun.com [local]) by protected.rcdrun.com (OpenSMTPD) with ESMTPA id 1a7baadc; Thu, 18 Jul 2019 19:43:11 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87sgr32mnq.fsf@ericabrahamsen.net> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:163351 Archived-At: * Eric Abrahamsen [2019-07-18 21:01]: > I think you're right, and in a sense it is definitely a bug, but a lot > of people have run into this and I've seen some saying there's not much > to be done. So that didn't sound very encouraging. > > Could you do M-x toggle-debug-on-quit, start up Gnus, let it hang for a > bit, then do C-g and post the resulting backtrace here? It's fairly > obvious what's going on, but it would be good to > see the specifics. Debugger entered--Lisp error: (quit) file-name-as-directory("/home/data1/protected/Maildir/info@codepink.org/.n...") nnmaildir--scan("info@codepink.org" nil # nil "/home/data1/protected/Maildir/" directory-files) nnmaildir-request-scan(find-new-groups "") nnmaildir-request-list("") nnmaildir-request-newgroups("Thu, 18 Jul 2019 18:11:09 +0200" "") gnus-request-newgroups("Thu, 18 Jul 2019 18:11:09 +0200" (nnmaildir "" (directory "~/Maildir"))) gnus-ask-server-for-new-groups() gnus-find-new-newsgroups() gnus-setup-news(nil nil nil) #f(compiled-function () #)() gnus-1(nil nil nil) gnus(nil) funcall-interactively(gnus nil) call-interactively(gnus record nil) command-execute(gnus record) execute-extended-command(nil "gnus" "gnus") funcall-interactively(execute-extended-command nil "gnus" "gnus") call-interactively(execute-extended-command nil nil) command-execute(execute-extended-command) > The nnmaildir servers keep track of their directory modtime, which is > both set and read only once, in `nnmaildir-request-scan'. So at least it > should be fairly easy to see what's happening there. Gnus doesn't save > the modtimes, though -- perhaps a potential solution could involve > saving the maildir modtimes in newsrc.eld. Can that scan be turned off as option? I do not even need to list the folders. I just want to read the main ~/Maildir folder but not sub-Maildirs within Gnus. And then when at some point of time, when I need to access the Maildir folder I should be able to have function to give it folder directory and that folder is being read, and that I can view messages and reply to them. Any clues? I would like to have that feature from plain Emacs without extra packages, just to list, read Maildirs, refile Maildirs, and be able to reply. Does that functionality exists within Gnus or nnmaildir, even if not plainly visible? > > And my other question is, is there a way to quickly access > > Maildir/email2@example.com by using Gnus? Some function maybe to just > > write the email address or fetch it from database, and to open the > > Maildir with nnmaildir? > > I'm not entirely sure what you mean here, but one suggestion I have is > to create four different nnmaildir select methods, one for each of your > email addresses. I think that's how Gnus is expecting this sort of thing > to be set up, and it might make it easier for you to access, as well. Would that be possible on the fly? For example I have email address on screen, find it at point and quickly switch to Maildir by email address? Jean