From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Chris Siebenmann Newsgroups: gmane.emacs.bugs Subject: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error Date: Fri, 24 Nov 2023 22:18:16 -0500 Message-ID: <2935352.1700882296@apps0.cs.toronto.edu> References: <147777.1700879515@alto> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25623"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67361@debbugs.gnu.org, Chris Siebenmann , Eli Zaretskii , Bill Wohler To: Mike Kupfer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 25 09:18:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1r6nrq-0006RL-8o for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 25 Nov 2023 09:18:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1r6nrV-00044E-F9; Sat, 25 Nov 2023 03:18:01 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r6nrU-000443-BU for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 03:18:00 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1r6nrT-0002s3-Pa for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 03:18:00 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1r6nrY-0007cj-N2 for bug-gnu-emacs@gnu.org; Sat, 25 Nov 2023 03:18:04 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chris Siebenmann Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Nov 2023 08:18:04 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67361 X-GNU-PR-Package: emacs Original-Received: via spool by 67361-submit@debbugs.gnu.org id=B67361.170090026129228 (code B ref 67361); Sat, 25 Nov 2023 08:18:04 +0000 Original-Received: (at 67361) by debbugs.gnu.org; 25 Nov 2023 08:17:41 +0000 Original-Received: from localhost ([127.0.0.1]:37724 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6nrA-0007bE-87 for submit@debbugs.gnu.org; Sat, 25 Nov 2023 03:17:41 -0500 Original-Received: from cliff.cs.toronto.edu ([128.100.3.120]:41717) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6jBd-0007mv-2H for 67361@debbugs.gnu.org; Fri, 24 Nov 2023 22:18:31 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=cs.toronto.edu; s=cs202005; h=Message-ID:Date:Content-ID:Content-Type: MIME-Version:References:In-reply-to:Subject:cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=MS2BV6pjUG28MO4L6hhrwx+tHFv3JtLcZbSz6UTK3Y8=; b=v2isSvo/LiXYFqIJMxRVDvhvJs 0My5KRmTsgWGjrzHtUJQp2AaVXwKdXQA7LYn28jXz4QwwjEormf2nHE0SNBrhk6ewD3KJeGXiXlPE 2cQ9/nlDeZQLIWV2E+6YInyrDwQx8NRjJbTPlCimLlycDuS9rK+I7KJ8DfLED/+07tUJc+W1DMb++ 3V813tLBs93wD3KTn0IgfmBiZHT16vsuNe3pXoxGAYegjuQ4o1KbWHj97IaZ5UlQkDZwyv08K/eqb Tn2xVnae1EvASMQt5YN1uHq7bJC893/s0eWx035IQZNaCidsA1oiTtO5Vp7i4oY9aDdjVmW5rBSAj DrEJy3PA==; Original-Received: from apps0.cs.toronto.edu ([128.100.3.40] ident=postfix) by cliff.cs.toronto.edu with esmtp (Exim 4.95) (envelope-from ) id 1r6jD2-00DR1i-Ji; Fri, 24 Nov 2023 22:18:17 -0500 Original-Received: by apps0.cs.toronto.edu (Postfix, from userid 915) id A37806062F; Fri, 24 Nov 2023 22:18:16 -0500 (EST) Original-Received: from apps0.cs.toronto.edu (localhost [127.0.0.1]) by apps0.cs.toronto.edu (Postfix) with ESMTP id A1B1D60365; Fri, 24 Nov 2023 22:18:16 -0500 (EST) In-reply-to: <147777.1700879515@alto> Comments: In-reply-to Mike Kupfer message dated "Fri, 24 Nov 2023 18:31:55 -0800." Content-ID: <2935351.1700882296.1@apps0.cs.toronto.edu> X-Mailman-Approved-At: Sat, 25 Nov 2023 03:17:32 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:274920 Archived-At: > Using mh-speed-folder-map as the test for whether the speedbar is active > seems broken to me. Unfortunately, I don't use the speedbar, and I > don't understand the MH-E speedbar code all that well. So I'm not sure > what the right test is. There's a function mh-speed-flists-active-p, > but its docstring says > > "Check if speedbar is running with message counts enabled." > > Bill, is there a mode where the speedbar is running *without* message > counts enabled? Or can we just replace > > (when (boundp 'mh-speed-folder-map) > > with > > (if (mh-speed-flists-active-p) > > ? I believe there is such a mode. If you set mh-speed-update-interval to 0 and invoke the speedbar, you get a display of your MH folders but without any message counts, because MH-E isn't periodically running flists to find them out. You might sensibly use the speedbar this way if all of your email is put into +inbox (so nothing else will ever have unread messages and the counts of read messages are broadly uninteresting to you) and you use the speedbar as a handy way of navigating and visualizing a complex folder hierarchy. I believe that if the speedbar is active (which I believe is when speedbar-buffer is non-nil) and you're in MH-E, the speedbar will be showing your MH folder hierarchy instead of anything else. But I'm not 100% sure of this. The code in mh-speed certainly seems to expect to find MH's content in the speedbar buffer without further checks that I can see. - cks