From unknown Sat Jul 19 11:26:31 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#67361 <67361@debbugs.gnu.org> To: bug#67361 <67361@debbugs.gnu.org> Subject: Status: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error Reply-To: bug#67361 <67361@debbugs.gnu.org> Date: Sat, 19 Jul 2025 18:26:31 +0000 retitle 67361 29.1; MH-E: creating a new folder can sometimes fail with a L= isp error reassign 67361 emacs submitter 67361 Chris Siebenmann severity 67361 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 03:25:14 2023 Received: (at submit) by debbugs.gnu.org; 22 Nov 2023 08:25:14 +0000 Received: from localhost ([127.0.0.1]:57952 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5iXp-00030w-PL for submit@debbugs.gnu.org; Wed, 22 Nov 2023 03:25:14 -0500 Received: from lists.gnu.org ([2001:470:142::17]:35026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5cJ2-00066y-MD for submit@debbugs.gnu.org; Tue, 21 Nov 2023 20:45:33 -0500 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 1r5cIo-0003iU-Qt for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 20:45:18 -0500 Received: from cliff.cs.toronto.edu ([128.100.3.120]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5cIk-0007Eg-BT for bug-gnu-emacs@gnu.org; Tue, 21 Nov 2023 20:45:17 -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: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:In-Reply-To:References; bh=5GTT+xi00QxHoKgKaRpbnZJQEc9LCpfEPAKuHcUgZcU=; b=cCWh4gKdnIA91qe0HoiVcm5ER9 lZDgsm3/kDoaCy7xWrdeyXh/JsfqX/k3BEOwZiHsALYvrbXWtoF95ie+BZFkNVe+fNcyauTCrlNuC DXlUFt2E2BZLDp6me7D258D62fsQ8OYNRXltio/1U7b4inb9iE4T1sfMPaaOoxmMMutd6YDgNw/gT GbKZxHmDCdR/iaixrcszRuV4iugZMvRqzQJhzt8B62dMmEthuxX8QQedevE9Lj3BO9M0Wixn14SQW sfFnD+AHgJllYJT1jd+ufx145itkkqCvZNevmFO7uJ1sXU/IWJgeKbt2ULaLItjt54iEA55916YNz yzgUObTg==; 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 1r5cKJ-009sdt-Q7; Tue, 21 Nov 2023 20:45:12 -0500 Received: by apps0.cs.toronto.edu (Postfix, from userid 915) id D695560296; Tue, 21 Nov 2023 20:45:11 -0500 (EST) Received: from apps0.cs.toronto.edu (localhost [127.0.0.1]) by apps0.cs.toronto.edu (Postfix) with ESMTP id D544B6023B; Tue, 21 Nov 2023 20:45:11 -0500 (EST) From: Chris Siebenmann To: bug-gnu-emacs@gnu.org Subject: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2410848.1700617511.1@apps0.cs.toronto.edu> Date: Tue, 21 Nov 2023 20:45:11 -0500 Message-ID: <2410849.1700617511@apps0.cs.toronto.edu> Received-SPF: pass client-ip=128.100.3.120; envelope-from=cks.emacsbugs-01@cs.toronto.edu; helo=cliff.cs.toronto.edu X-Spam_score_int: -19 X-Spam_score: -2.0 X-Spam_bar: -- X-Spam_report: (-2.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.6 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 22 Nov 2023 03:25:09 -0500 Cc: cks.emacsbugs-01@cs.toronto.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.4 (/) Under some conditions, creating a new (N)MH folder in MH-E can fail with a Lisp error of 'Wrong type argument: stringp, nil'. This happens if for some reason you have loaded/required mh-speed.el but have not created a speedbar. Reproduction in 'emacs -Q', assuming you have NMH set up: * enter MH-E with M-x mh-rmail * widen to your entire inbox so you have something to refile, 'F r'. * require mh-speed: M-: (require 'mh-soeed) * select a message and refile with 'o'. When asked for the target folder, enter one that doesn't exist, say '+anewtestfolder'. Say y to have this folder created. * the refile will abort with the minibuffer message showing 'Wrong type argument: stringp, nil' The full *Messages* buffer contents are (for my test, with a slightly different folder path): Folder +misc/anewtestfolder does not exist. Create it? (y or n) y Creating +misc/anewtestfolder mh-prompt-for-folder: Wrong type argument: stringp, nil I believe the root cause of this problem is that mh-prompt-for-folder calls mh-speed-add-folder if 'mh-speed-folder-map is bound: (when (boundp 'mh-speed-folder-map) (mh-speed-add-folder folder-name)) However, mh-speed-add-folder requires that speedbar-buffer exists, as it starts with: (with-current-buffer speedbar-buffer ....) In edebug, it is this with-current-buffer call that appears to fail and produce the error message when called with no speedbar displayed and speedbar-buffer nil. Requiring or loading mh-speed without a speedbuffer displayed is probably unusual, but I need to do it in order to customize some aspects of my MH-E speedbar interface. NOTE: I have reproduced this in 'emacs -Q', but this bug report is filed from within my regular Emacs and MH-E environment, with multiple third party packages and load-file shadowing and so on. You can ignore those parts of this report. In GNU Emacs 29.1 (build 2, x86_64-pc-linux-gnu, GTK+ Version 3.24.33, cairo version 1.16.0) of 2023-10-30 built on comps3 Windowing system distributor 'The X.Org Foundation', version 11.0.12014000 System Description: Ubuntu 22.04.3 LTS Configured using: 'configure --prefix /u/cks/lib/x64-linux/emacs-29.1 --without-gsettings --with-x --with-x-toolkit=gtk3 --with-json --with-tree-sitter --with-native-compilation=aot' Configured features: ACL CAIRO DBUS FREETYPE GIF GLIB GMP GNUTLS GPM HARFBUZZ JPEG JSON LCMS2 LIBOTF LIBSELINUX LIBSYSTEMD LIBXML2 M17N_FLT MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM XINPUT2 XPM GTK3 ZLIB Important settings: value of $LC_COLLATE: C value of $LC_CTYPE: en_US.UTF-8 locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: smartparens-mode: t global-corfu-mode: t corfu-mode: t marginalia-mode: t vertico-mouse-mode: t vertico-multiform-mode: t vertico-mode: t which-key-mode: t global-flycheck-mode: t flycheck-mode: t backward-forward-mode: t override-global-mode: t tooltip-mode: t global-eldoc-mode: t eldoc-mode: t show-paren-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t line-number-mode: t indent-tabs-mode: t transient-mark-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t Load-path shadows: /u/cks/.emacs.d/elpa/transient-20231121.1154/transient hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/transient /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-core hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-core /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-diminish hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-diminish /u/cks/.emacs.d/elpa/bind-key-20230203.2004/bind-key hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/bind-key /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-lint hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-lint /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-jump hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-jump /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-delight hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-delight /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-bind-key hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-bind-key /u/cks/.emacs.d/elpa/use-package-20230426.2324/use-package-ensure hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/use-package/use-package-ensure /u/cks/.emacs.d/elpa/project-0.10.0/project hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/progmodes/project /u/cks/.emacs.d/elpa/seq-2.24/seq hides /u/cks/lib/x64-linux/emacs-29.1/share/emacs/29.1/lisp/emacs-lisp/seq Features: (shadow mh-identity mh-letter emacsbug orderless project consult bookmark textsec uni-scripts idna-mapping ucs-normalize uni-confusable textsec-check shr-color color mule-util qp mm-archive mail-extr mh-seq mh-inc hl-line mh-tool-bar flyspell ispell mh-xface mh-cks mh-cks-speed mh-speed speedbar ezimage dframe gnus-icalendar org-capture org-refile org ob ob-tangle ob-ref ob-lob ob-table ob-exp org-macro org-src ob-comint org-pcomplete pcomplete comint ansi-osc ring org-list org-footnote org-faces org-entities noutline outline ob-emacs-lisp ob-core ob-eval org-cycle org-table ol org-fold org-fold-core org-keys oc org-loaddefs org-version org-compat org-macs format-spec icalendar diary-lib diary-loaddefs cal-menu calendar cal-loaddefs mh-utils mh-mime mh-acros mh-show gnus-cite gnus-art mm-uu mml2015 gnus-sum shr pixel-fill kinsoku url-file svg dom gnus-group gnus-undo gnus-start gnus-dbus dbus xml gnus-cloud nnimap nnmail mail-source utf7 nnoo parse-time iso8601 gnus-spec gnus-int message yank-media dired dired-loaddefs rfc822 mailabbrev gmm-utils mailheader gnus-win gnus-range gnus nnheader range wid-edit mh-comp sendmail mail-utils mh-gnus mml mm-view mml-smime mml-sec epa derived epg rfc6068 epg-config smime gnutls puny dig mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mh-folder which-func imenu gnus-util text-property-search time-date mh-scan mh-e mh-buffers mh-loaddefs goto-addr comp comp-cstr warnings icons smartparens advice loadhist thingatpt .emacs corfu marginalia vertico-mouse vertico-multiform vertico compat which-key flycheck ansi-color find-func rx dash backward-forward edmacro kmacro cl-extra help-mode pp diminish use-package use-package-ensure use-package-delight use-package-diminish use-package-bind-key bind-key easy-mmode use-package-core finder-inf company-autoloads consult-flycheck-autoloads consult-flyspell-autoloads consult-lsp-autoloads corfu-autoloads embark-consult-autoloads consult-autoloads embark-autoloads evil-autoloads expand-region-autoloads flycheck-golangci-lint-autoloads flycheck-autoloads fold-this-autoloads go-mode-autoloads goto-chg-autoloads lsp-ui-autoloads lsp-mode-autoloads magit-autoloads pcase git-commit-autoloads magit-section-autoloads marginalia-autoloads orderless-autoloads project-autoloads markdown-mode-autoloads f-autoloads rust-mode-autoloads smartparens-autoloads transient-autoloads try-autoloads vertico-autoloads vundo-autoloads which-key-autoloads with-editor-autoloads info compat-autoloads seq-autoloads yaml-mode-autoloads package browse-url url url-proxy url-privacy url-expand url-methods url-history url-cookie generate-lisp-file url-domsuf url-util mailcap url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs password-cache json subr-x map byte-opt gv bytecomp byte-compile url-vars cl-loaddefs cl-lib rmc iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel term/x-win x-win term/common-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list replace newcomment text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch easymenu timer select scroll-bar mouse jit-lock font-lock syntax font-core term/tty-colors frame minibuffer nadvice seq simple cl-generic indonesian philippine cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese composite emoji-zwj charscript charprop case-table epa-hook jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs theme-loaddefs faces cus-face macroexp files window text-properties overlay sha1 md5 base64 format env code-pages mule custom widget keymap hashtable-print-readable backquote threads dbusbind inotify lcms2 dynamic-setting font-render-setting cairo move-toolbar gtk x-toolkit xinput2 x multi-tty make-network-process native-compile emacs) Memory information: ((conses 16 712854 301161) (symbols 48 33375 30) (strings 32 182335 53947) (string-bytes 1 5543861) (vectors 16 81476) (vector-slots 8 1411017 522310) (floats 8 495 1417) (intervals 56 4586 1703) (buffers 984 24)) From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 09:42:12 2023 Received: (at 67361) by debbugs.gnu.org; 22 Nov 2023 14:42:12 +0000 Received: from localhost ([127.0.0.1]:58554 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5oQe-0004Nf-0B for submit@debbugs.gnu.org; Wed, 22 Nov 2023 09:42:12 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:34312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5oQb-0004NP-Rs for 67361@debbugs.gnu.org; Wed, 22 Nov 2023 09:42:10 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1r5oQS-0007VK-MS; Wed, 22 Nov 2023 09:42:00 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=Qz4vtr8SKiUYqe2kDMCEhDG4v3mLWWMJPHxz9LF1q+Q=; b=ZOvh+WwSNt3G jQMQcuXWr80QRC/3sLoKu42C5TXG+o1CtBQ1JoQpGfbYU81S9i6iiM8mzvbAFFqRaAY12QGYWcdAa 3zm5hXaLiIaHiwX9d3ipLRxkoPGsLDpFQy3/R/0KSYgvsSYncHLSTw00f37+c66tdR4Mq32MIUDwB RYs4Hj5mSClj7yhSTTdM6XyLuHrk3MCeNRtUw9x1dAuNM5B9eeuWBcEsXioufUL754ifKCPksuGCo QuPQ4bYP/GJn3NamDWNuQlwcFmvJNA0I4TTPjG+qhh1RhONa6ujnab69tWG2Sv+Rkfjb7uBewkPwX oT9FUON6Om3RAzr1k19QQQ==; Date: Wed, 22 Nov 2023 16:41:51 +0200 Message-Id: <83jzq9hmts.fsf@gnu.org> From: Eli Zaretskii To: Chris Siebenmann , Bill Wohler In-Reply-To: <2410849.1700617511@apps0.cs.toronto.edu> (message from Chris Siebenmann on Tue, 21 Nov 2023 20:45:11 -0500) Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error References: <2410849.1700617511@apps0.cs.toronto.edu> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, cks.emacsbugs-01@cs.toronto.edu X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Cc: cks.emacsbugs-01@cs.toronto.edu > From: Chris Siebenmann > Date: Tue, 21 Nov 2023 20:45:11 -0500 > > Under some conditions, creating a new (N)MH folder in MH-E can fail with > a Lisp error of 'Wrong type argument: stringp, nil'. This happens if for > some reason you have loaded/required mh-speed.el but have not created a > speedbar. > > Reproduction in 'emacs -Q', assuming you have NMH set up: > > * enter MH-E with M-x mh-rmail > * widen to your entire inbox so you have something to refile, 'F r'. > * require mh-speed: M-: (require 'mh-soeed) > * select a message and refile with 'o'. When asked for the target > folder, enter one that doesn't exist, say '+anewtestfolder'. Say y to > have this folder created. > * the refile will abort with the minibuffer message showing 'Wrong type > argument: stringp, nil' > > The full *Messages* buffer contents are (for my test, with a slightly > different folder path): > Folder +misc/anewtestfolder does not exist. Create it? (y or n) y > Creating +misc/anewtestfolder > mh-prompt-for-folder: Wrong type argument: stringp, nil > > I believe the root cause of this problem is that mh-prompt-for-folder > calls mh-speed-add-folder if 'mh-speed-folder-map is bound: > (when (boundp 'mh-speed-folder-map) > (mh-speed-add-folder folder-name)) > > However, mh-speed-add-folder requires that speedbar-buffer exists, as it > starts with: > (with-current-buffer speedbar-buffer > ....) > > In edebug, it is this with-current-buffer call that appears to fail and > produce the error message when called with no speedbar displayed and > speedbar-buffer nil. > > Requiring or loading mh-speed without a speedbuffer displayed is > probably unusual, but I need to do it in order to customize some aspects > of my MH-E speedbar interface. > > NOTE: I have reproduced this in 'emacs -Q', but this bug report is filed > from within my regular Emacs and MH-E environment, with multiple third > party packages and load-file shadowing and so on. You can ignore those > parts of this report. Adding Bill. I'm not sure if it is better to report MH-E-related bugs here or submit the reports to https://sourceforge.net/p/mh-e/bugs/. From debbugs-submit-bounces@debbugs.gnu.org Wed Nov 22 11:31:18 2023 Received: (at 67361) by debbugs.gnu.org; 22 Nov 2023 16:31:18 +0000 Received: from localhost ([127.0.0.1]:59789 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5q8E-0007tf-FI for submit@debbugs.gnu.org; Wed, 22 Nov 2023 11:31:18 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:48566 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r5q8C-0007tU-BF for 67361@debbugs.gnu.org; Wed, 22 Nov 2023 11:31:17 -0500 Received: from alto (135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 3AMGUtYo061291 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 22 Nov 2023 08:31:00 -0800 (PST) (envelope-from kupfer@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged) claimed to be alto From: Mike Kupfer To: Chris Siebenmann Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-Reply-To: Your message of "Wed, 22 Nov 2023 16:41:51 +0200." <83jzq9hmts.fsf@gnu.org> X-Mailer: MH-E 8.6+git; nmh 1.7.1; Emacs 29.1.90 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <11468.1700670655.1@alto> Date: Wed, 22 Nov 2023 08:30:55 -0800 Message-ID: <11469.1700670655@alto> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, Eli Zaretskii , Bill Wohler X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > > From: Chris Siebenmann > > Date: Tue, 21 Nov 2023 20:45:11 -0500 > > > > Under some conditions, creating a new (N)MH folder in MH-E can fail with > > a Lisp error of 'Wrong type argument: stringp, nil'. This happens if for > > some reason you have loaded/required mh-speed.el but have not created a > > speedbar. This sounds familiar. I don't use the speedbar, but I sometimes hit this issue and find that (boundp 'mh-speed-folder-map) returns t. I thought there was an open bug for this already, but I'm not finding it. I'll look some more over the holiday weekend. mike From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 21:32:22 2023 Received: (at 67361) by debbugs.gnu.org; 25 Nov 2023 02:32:22 +0000 Received: from localhost ([127.0.0.1]:37539 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6iSz-0006Xu-Tl for submit@debbugs.gnu.org; Fri, 24 Nov 2023 21:32:22 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:35278 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6iSw-0006Xd-Qn for 67361@debbugs.gnu.org; Fri, 24 Nov 2023 21:32:20 -0500 Received: from alto (135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 3AP2VtM9069976 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Nov 2023 18:32:01 -0800 (PST) (envelope-from kupfer@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged) claimed to be alto From: Mike Kupfer To: Chris Siebenmann , Bill Wohler Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-Reply-To: My message of "Wed, 22 Nov 2023 08:30:55 -0800." <11469.1700670655@alto> X-Mailer: MH-E 8.6+git; nmh 1.7.1; Emacs 29.1.90 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <147776.1700879515.1@alto> Date: Fri, 24 Nov 2023 18:31:55 -0800 Message-ID: <147777.1700879515@alto> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Mike Kupfer wrote: > > > From: Chris Siebenmann > > > Date: Tue, 21 Nov 2023 20:45:11 -0500 > > > > > > Under some conditions, creating a new (N)MH folder in MH-E can fail with > > > a Lisp error of 'Wrong type argument: stringp, nil'. This happens if for > > > some reason you have loaded/required mh-speed.el but have not created a > > > speedbar. > > This sounds familiar. I don't use the speedbar, but I sometimes hit > this issue and find that (boundp 'mh-speed-folder-map) returns t. I > thought there was an open bug for this already, but I'm not finding it. > I'll look some more over the holiday weekend. I'm sure I've run into this problem in the past, but I can't find any record of it. Not in debbugs.gnu.org, not in the SourceForge bug tracker, not in my email archives. Hmph. Still, I agree with Chris's root cause analysis: > I believe the root cause of this problem is that mh-prompt-for-folder > calls mh-speed-add-folder if 'mh-speed-folder-map is bound: > (when (boundp 'mh-speed-folder-map) > (mh-speed-add-folder folder-name)) > > However, mh-speed-add-folder requires that speedbar-buffer exists, as it > starts with: > (with-current-buffer speedbar-buffer > ....) The same issue appears in 2 other places: - mh-kill-folder, calling mh-speed-invalidate-map - mh-index-new-folder, calling mh-speed-add-folder I'm not entirely sure how I have ended up with mh-speed-folder-map bound in the past. It might be from trying to get the help information for something that's defined in mh-speed.el--that seems to cause mh-speed to be loaded, which causes mh-speed-folder-map to be initialized. 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) ? mike From debbugs-submit-bounces@debbugs.gnu.org Fri Nov 24 22:57:25 2023 Received: (at 67361) by debbugs.gnu.org; 25 Nov 2023 03:57:25 +0000 Received: from localhost ([127.0.0.1]:37583 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6jnJ-0000Ng-2O for submit@debbugs.gnu.org; Fri, 24 Nov 2023 22:57:25 -0500 Received: from shell1.rawbw.com ([198.144.192.42]:52966 ident=root) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1r6jnF-0000NW-MU for 67361@debbugs.gnu.org; Fri, 24 Nov 2023 22:57:24 -0500 Received: from alto (135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged)) (authenticated bits=0) by shell1.rawbw.com (8.15.1/8.15.1) with ESMTPSA id 3AP3uxJc086095 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 24 Nov 2023 19:57:04 -0800 (PST) (envelope-from kupfer@rawbw.com) X-Authentication-Warning: shell1.rawbw.com: Host 135-180-173-181.dsl.dynamic.sonic.net [135.180.173.181] (may be forged) claimed to be alto From: Mike Kupfer To: Chris Siebenmann , Bill Wohler , Eli Zaretskii Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-Reply-To: Your message of "Fri, 24 Nov 2023 22:18:16 -0500." <2935352.1700882296@apps0.cs.toronto.edu> X-Mailer: MH-E 8.6+git; nmh 1.7.1; Emacs 29.1.90 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <160445.1700884619.1@alto> Date: Fri, 24 Nov 2023 19:56:59 -0800 Message-ID: <160446.1700884619@alto> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Chris Siebenmann wrote: > 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. I've lightly tested the patch below and not seen any problems. What do you guys think about it? mike diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el --- a/lisp/mh-e/mh-funcs.el +++ b/lisp/mh-e/mh-funcs.el @@ -108,7 +108,7 @@ (window-config mh-previous-window-config)) (mh-set-folder-modified-p t) ; lock folder to kill it (mh-exec-cmd-daemon "rmf" 'mh-rmf-daemon folder) - (when (boundp 'mh-speed-folder-map) + (when (and (boundp 'speedbar-buffer) speedbar-buffer) (mh-speed-invalidate-map folder)) (mh-remove-from-sub-folders-cache folder) (mh-set-folder-modified-p nil) ; so kill-buffer doesn't complain diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el --- a/lisp/mh-e/mh-search.el +++ b/lisp/mh-e/mh-search.el @@ -1569,7 +1569,7 @@ (save-excursion (mh-exec-cmd-quiet nil "rmf" chosen-name)) (mh-exec-cmd-quiet nil "folder" "-create" "-fast" chosen-name) (mh-remove-from-sub-folders-cache chosen-name) - (when (boundp 'mh-speed-folder-map) + (when (and (boundp 'speedbar-buffer) speedbar-buffer) (mh-speed-add-folder chosen-name)) chosen-name)) diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el --- a/lisp/mh-e/mh-utils.el +++ b/lisp/mh-e/mh-utils.el @@ -795,7 +795,7 @@ (message "Creating %s" folder-name) (mh-exec-cmd-error nil "folder" folder-name) (mh-remove-from-sub-folders-cache folder-name) - (when (boundp 'mh-speed-folder-map) + (when (and (boundp 'speedbar-buffer) speedbar-buffer) (mh-speed-add-folder folder-name)) (message "Creating %s...done" folder-name)) (new-file-flag From debbugs-submit-bounces@debbugs.gnu.org Sat Nov 25 03:17:41 2023 Received: (at 67361) by debbugs.gnu.org; 25 Nov 2023 08:17:41 +0000 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 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==; 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 Received: by apps0.cs.toronto.edu (Postfix, from userid 915) id A37806062F; Fri, 24 Nov 2023 22:18:16 -0500 (EST) 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) From: Chris Siebenmann To: Mike Kupfer Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-reply-to: <147777.1700879515@alto> References: <147777.1700879515@alto> Comments: In-reply-to Mike Kupfer message dated "Fri, 24 Nov 2023 18:31:55 -0800." MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2935351.1700882296.1@apps0.cs.toronto.edu> Date: Fri, 24 Nov 2023 22:18:16 -0500 Message-ID: <2935352.1700882296@apps0.cs.toronto.edu> X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 X-Mailman-Approved-At: Sat, 25 Nov 2023 03:17:32 -0500 Cc: 67361@debbugs.gnu.org, Chris Siebenmann , Eli Zaretskii , Bill Wohler X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > 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 From debbugs-submit-bounces@debbugs.gnu.org Sat Dec 30 18:34:15 2023 Received: (at 67361) by debbugs.gnu.org; 30 Dec 2023 23:34:15 +0000 Received: from localhost ([127.0.0.1]:45247 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJiqN-00021C-0w for submit@debbugs.gnu.org; Sat, 30 Dec 2023 18:34:15 -0500 Received: from se3b-lax1.servconfig.com ([192.249.122.52]:36525) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJiqG-00020t-IK for 67361@debbugs.gnu.org; Sat, 30 Dec 2023 18:34:13 -0500 Received: from ecbiz329.inmotionhosting.com ([209.182.198.38]) by se3-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1rJiq6-0006ox-2B; Sat, 30 Dec 2023 18:34:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References: In-reply-to:Subject:From:cc:To:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=PneiwsXbQ0o3oNFcyVWEd5XZiy2u+CuRX8svyO+f0+k=; b=gnT/bivZdgkyHZceBrJner2QZM vfd5I2qMWWfgNX5iMbM6YPiieZZSG0MVM2QrKxQDf/veJEKdWZ2aTBIL/fzjVmn72mXsqW+DL+sh3 nulggkS6mUVJR3JbG14QZ1/MJMf6fAr3dkFGBo5vFcuSS8sswHza8pddPSafcELvvisDZ+FfY/IDW LMRTr4qFfZGZ7xcch3FuEzjqpc7Fg2m9OnrPVI2WmtmAbRAlSFBEYCela4qWyGgCDG+Frd29UkkZU 8TUdCcnQoZWy02ngPrWdpr5sz3t6oZoQ267Zgk9IJC5KKuSjTEoVy2ib+c86RGdO711zQW5p2v1oH oRnbh7zQ==; Received: from [24.4.147.188] (port=42538 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rJiq3-00B65K-1Z; Sat, 30 Dec 2023 18:33:55 -0500 Received: by olgas.newt.com (Postfix, from userid 1000) id 91E69381F05; Sat, 30 Dec 2023 15:33:54 -0800 (PST) To: Mike Kupfer From: Bill Wohler Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-reply-to: <160446.1700884619@alto> References: <160446.1700884619@alto> Comments: In-reply-to Mike Kupfer message dated "Fri, 24 Nov 2023 19:56:59 -0800." Organization: Newt Software X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1851817.1703979234.1@olgas.newt.com> Date: Sat, 30 Dec 2023 15:33:54 -0800 Message-ID: <1851818.1703979234@olgas.newt.com> X-Get-Message-Sender-Via: ecbiz329.inmotionhosting.com: authenticated_id: wohler@newt.com X-Authenticated-Sender: ecbiz329.inmotionhosting.com: wohler@newt.com X-Originating-IP: 209.182.198.38 X-SpamExperts-Domain: ecbiz329.inmotionhosting.com X-SpamExperts-Username: 209.182.198.38 Authentication-Results: servconfig.com; auth=pass smtp.auth=209.182.198.38@ecbiz329.inmotionhosting.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.16) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT8za+VHhmzvfYlBMrcEySFuPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wPNj8CRzrsGB7ugNp6dkMIG6S2l0Sq0XyAP7CL22R+h+zb pTmR3UMMzVofDFwaANpMBhQwZ4U+dP0cDUdUHxwFkzGIyEDKB5+tuM/BiYkNNtjLQNCIemmyp7tp LvZV4fGqkaWbbOMJrh1zQUl46B+CYkduHVxMU+FPhTgkrzPHlQK/NzaQ0kU5LIjXaSmvljzrv6uv y67bPy9KnwerIPD7+EJh3GmpTMtirFB1CX1Gmfdp637QXBUN6CLyeuzX+S3o06Pbn32ePf/zaJyv Vrl2ZVV1JLevYUOVh4MQQup+muhEQjf02DvD6NbBWC62Mac2JrO8Qv8RArq2MwWaNnh+UuIF2yn0 3s7TS3ghm2vgBpb5Pn6ftQZVK9K8EAjn37sUg69eDYNe2itClT3S7bjQUCo5PZJsLcY5FmNhp+JD xofgBwPJRy2KP3xL3XdLYqV41APOGyRuqKbOun7vlQzhwfhpspQKRAIBFcUdSV85+USmicW4BKeo lukxoVI4SaNoMMMh30z0ou3Uma6ICBqohxGGNNFI1AuNleg/0I92t9xCHahZfsjvoDKdqQReE7op ol7/zxbDwFIVzeFgpWdBcxw3qqhc+N6cuEg4XWh5Fr6ZVfVJh06xHbGQIHpvkjtIMBrtljuxZklv aEUUFavsuWteB8cJdGGVwL3ei/c5MZpKmLbRp5hwod2JBq60vmYawPUpK3ub+Dr5UYldD3d9Nj+o a4bUWaUNnGyX2uCjMvrx9dCnn+/6Go4u/ldLpgl/Wc6jKwntT54qXsSLxlBkVgUVN12b1Ctfih74 /Kdn2qgEJMOByqR8EQT7FXdxI554E15usQ//keD/UYabYf/5IO87qdFTzz3sMf8kGPRBlSk/mAVo EKhEsmVemmRV0ic3qPpsHq5MFUfo2uY0SpCk9R/2gMGq0KWAzmMf+ibVDt9uJP0AE1vUX79zSV3l xtWci8JLiiOdckUewCJrmQRcOQ8tJCJ9UvsROnRGuCE0jtSp5CTDUulBw9BK37ZxUTl36nNkv/WW KmaaKiu4cETNXauaOf0AZELl8kYqfTZmxLIfS4AWBUPD6l7HYWHtTp6D9bEIDEhetY9iC7XPl+rz X-Report-Abuse-To: spam@se1-lax1.servconfig.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, Chris Siebenmann , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Chris, you are correct. Even if you start up the speedbar before starting MH-E, MH-E will then update the old speedbar view with an MH view when a MH-E folder becomes active. Mike, if you've been running this patch without problems, I'd say commit it and resolve this issue. Testing for an existing speedbar-buffer seems like a stronger test than mh-speed-folder-map. I just applied the patch and hasn't broken anything thus far. I even used the speedbar :-). Mike Kupfer wrote: > Chris Siebenmann wrote: > > > 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. > > I've lightly tested the patch below and not seen any problems. What do > you guys think about it? > > mike > > diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el > --- a/lisp/mh-e/mh-funcs.el > +++ b/lisp/mh-e/mh-funcs.el > @@ -108,7 +108,7 @@ > (window-config mh-previous-window-config)) > (mh-set-folder-modified-p t) ; lock folder to kill it > (mh-exec-cmd-daemon "rmf" 'mh-rmf-daemon folder) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-invalidate-map folder)) > (mh-remove-from-sub-folders-cache folder) > (mh-set-folder-modified-p nil) ; so kill-buffer doesn't complain > diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el > --- a/lisp/mh-e/mh-search.el > +++ b/lisp/mh-e/mh-search.el > @@ -1569,7 +1569,7 @@ > (save-excursion (mh-exec-cmd-quiet nil "rmf" chosen-name)) > (mh-exec-cmd-quiet nil "folder" "-create" "-fast" chosen-name) > (mh-remove-from-sub-folders-cache chosen-name) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-add-folder chosen-name)) > chosen-name)) > > diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el > --- a/lisp/mh-e/mh-utils.el > +++ b/lisp/mh-e/mh-utils.el > @@ -795,7 +795,7 @@ > (message "Creating %s" folder-name) > (mh-exec-cmd-error nil "folder" folder-name) > (mh-remove-from-sub-folders-cache folder-name) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-add-folder folder-name)) > (message "Creating %s...done" folder-name)) > (new-file-flag > -- Bill Wohler aka http://www.newt.com/wohler/, GnuPG ID:610BD9AD From debbugs-submit-bounces@debbugs.gnu.org Sun Dec 31 11:50:15 2023 Received: (at 67361) by debbugs.gnu.org; 31 Dec 2023 16:50:15 +0000 Received: from localhost ([127.0.0.1]:46947 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJz0w-0000EV-L2 for submit@debbugs.gnu.org; Sun, 31 Dec 2023 11:50:14 -0500 Received: from se1d-lax1.servconfig.com ([173.231.224.4]:33307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rJz0u-0000EE-2m for 67361@debbugs.gnu.org; Sun, 31 Dec 2023 11:50:12 -0500 Received: from ecbiz329.inmotionhosting.com ([209.182.198.38]) by se1-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1rJz0j-0003bC-1O; Sun, 31 Dec 2023 11:50:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References: In-reply-to:Subject:From:cc:to:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=X04xGt7vzRPO9+TiMkxlwLELH7GJty4gt8a1uWP1RRg=; b=4eyIxxwxPqmN7g5gWyk7k8bQmR JNsFPOlGAGkqbxSI+8Hkrt3R9uzi3rqbNquqAWH7QBGokgoF4bG1G0Sz8r+J8eQwPUUaJQqDDq7dl tPyyTemE5SVDhj6p4LnnQ19chvNy/nE6EQS9gtr4BtuF7H2Gc0cjMOwnk1xq7Eyu0y8seq5aaiaQ/ SfEQ4QI9Usj35ZHH5FqoH0DDB+MGMTQBESwFSaEDxuGzEm+o9En1Svo3iMsCDzv2TufPgZKNWBYnv Dt55lHZGndoYzV3dHC8HV+iFMMRiyma4CbCe+yhggCF/XMbUTI3F75j6mFHbFj5Q4Rw6BCG/16E6W SUqmm2Tg==; Received: from [24.4.147.188] (port=34982 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rJz0g-007qOK-1Z; Sun, 31 Dec 2023 11:49:58 -0500 Received: by olgas.newt.com (Postfix, from userid 1000) id 8C0D0381F0B; Sun, 31 Dec 2023 08:49:57 -0800 (PST) to: Eli Zaretskii From: Bill Wohler Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-reply-to: <1851818.1703979234@olgas.newt.com> References: <160446.1700884619@alto> <1851818.1703979234@olgas.newt.com> Comments: In-reply-to Bill Wohler message dated "Sat, 30 Dec 2023 15:33:54 -0800." Organization: Newt Software X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1955572.1704041397.1@olgas.newt.com> Date: Sun, 31 Dec 2023 08:49:57 -0800 Message-ID: <1955573.1704041397@olgas.newt.com> X-Get-Message-Sender-Via: ecbiz329.inmotionhosting.com: authenticated_id: wohler@newt.com X-Authenticated-Sender: ecbiz329.inmotionhosting.com: wohler@newt.com X-Originating-IP: 209.182.198.38 X-SpamExperts-Domain: ecbiz329.inmotionhosting.com X-SpamExperts-Username: 209.182.198.38 Authentication-Results: servconfig.com; auth=pass smtp.auth=209.182.198.38@ecbiz329.inmotionhosting.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.15) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/wOoYFXAgufomGorIKqbGTPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wPNj8CRzrsGB7ugNp6dkMIG6S2l0Sq0XyAP7CL22R+h+zb pTmR3UMMzVofDFwaANpMBhQwZ4U+dP0cDUdUHxwFkzGIyEDKB5+tuM/BiYkNNtjLQNCIemmyp7tp LvZV4fGqkaWbbOMJrh1zQUl46B+CEXjmdC19RISbUVExxIb/WwK/NzaQ0kU5LIjXaSmvljzrv6uv y67bPy9KnwerIPD7+EJh3GmpTMtirFB1CX1Gmfdp637QXBUN6CLyeuzX+S3o06Pbn32ePf/zaJyv Vrl22Fq4PIYRM2YjdL8S1nd55uhEQjf02DvD6NbBWC62Mac2JrO8Qv8RArq2MwWaNnh+UuIF2yn0 3s7TS3ghm2vgBpb5Pn6ftQZVK9K8EAjn37sUg69eDYNe2itClT3S7bjQUCo5PZJsLcY5FmNhp+JD xofgBwPJRy2KP3xL3XdLYqV41APOGyRuqKbOun7vlQzhwfhpspQKRAIBFcUdSV85+USmicW4BKeo lukxoVI4SaNoMMMh30z0ou3Uma6ICBqohxGGNNFI1AuNleg/0I92t9xCHahZfsjvoDKdqQReE7op ol7/zxbDwFIVzeFgpWdBcxw3qqhc+N6cuEg4XWh5FnI+iOwHYQ26Uf19ptInnZ07g4XCZwDxzVXm zjuq/LLL3C29EBiQQIBnyH1UGI+ggJpKmLbRp5hwod2JBq60vmYawPUpK3ub+Dr5UYldD3d9Nj+o a4bUWaUNnGyX2uCjMvrx9dCnn+/6Go4u/ldLpgl/Wc6jKwntT54qXsSLxlBkVgUVN12b1Ctfih74 /Kdn2qgEJMOByqR8EQT7FXdxI57JCOcNgDrXsYLWRAuQqWWpD+BehrvsIFQ3uthkbWH/kyk/mAVo EKhEsmVemmRV0ic3qPpsHq5MFUfo2uY0SpCk9R/2gMGq0KWAzmMf+ibVDt9uJP0AE1vUX79zSV3l xtWci8JLiiOdckUewCJrmQRcOQ8tJCJ9UvsROnRGuCE0jtSp5CTDUulBw9BK37ZxUTl36nNkv/WW KmaaKiu4cETNXauaOf0AZELl8kYqfTZmxLIfS4AWBUPD6l7HYWHtTp6D9bEIDEhetY9iC7XPl+rz X-Report-Abuse-To: spam@se1-lax1.servconfig.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, Chris Siebenmann , Mike Kupfer X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Eli, Would you prefer if I applied Mike's patch to the emacs-29 branch or master? > diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el > --- a/lisp/mh-e/mh-funcs.el > +++ b/lisp/mh-e/mh-funcs.el > @@ -108,7 +108,7 @@ > (window-config mh-previous-window-config)) > (mh-set-folder-modified-p t) ; lock folder to kill it > (mh-exec-cmd-daemon "rmf" 'mh-rmf-daemon folder) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-invalidate-map folder)) > (mh-remove-from-sub-folders-cache folder) > (mh-set-folder-modified-p nil) ; so kill-buffer doesn't complain > diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el > --- a/lisp/mh-e/mh-search.el > +++ b/lisp/mh-e/mh-search.el > @@ -1569,7 +1569,7 @@ > (save-excursion (mh-exec-cmd-quiet nil "rmf" chosen-name)) > (mh-exec-cmd-quiet nil "folder" "-create" "-fast" chosen-name) > (mh-remove-from-sub-folders-cache chosen-name) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-add-folder chosen-name)) > chosen-name)) > > diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el > --- a/lisp/mh-e/mh-utils.el > +++ b/lisp/mh-e/mh-utils.el > @@ -795,7 +795,7 @@ > (message "Creating %s" folder-name) > (mh-exec-cmd-error nil "folder" folder-name) > (mh-remove-from-sub-folders-cache folder-name) > - (when (boundp 'mh-speed-folder-map) > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > (mh-speed-add-folder folder-name)) > (message "Creating %s...done" folder-name)) > (new-file-flag > -- Bill Wohler aka http://www.newt.com/wohler/, GnuPG ID:610BD9AD From debbugs-submit-bounces@debbugs.gnu.org Mon Jan 15 20:35:02 2024 Received: (at 67361-done) by debbugs.gnu.org; 16 Jan 2024 01:35:02 +0000 Received: from localhost ([127.0.0.1]:47329 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPYM1-0007gM-Qu for submit@debbugs.gnu.org; Mon, 15 Jan 2024 20:35:02 -0500 Received: from se3b-lax1.servconfig.com ([192.249.122.52]:44115) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPYLz-0007g1-6v for 67361-done@debbugs.gnu.org; Mon, 15 Jan 2024 20:35:00 -0500 Received: from ecbiz329.inmotionhosting.com ([209.182.198.38]) by se3-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1rPYLp-0005rg-4j; Mon, 15 Jan 2024 20:34:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References: In-reply-to:Subject:From:cc:to:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zJ8W45ZszVVcyOR9qkKrn2J6w/PlYt9rD1RA6oKr8hg=; b=0pC1ssLZAgd0zGrknEQswiT/+J 8fJ6RJ0IE2fpPAlYgumgsWlYgeIDhGhD5NlCgSaJ/aFEvBp/h92QfcF/9xOC+yOtGkBpq8zlD1xUi AegqG+cePw6epK7gBh6bRQnk+WmsHdZDNTWkDO3LgztOAD5TKRxyam93IP5mN9UmPOfn753IekB+e 7V1MoVzDVwMdmab/y4NQ/8Wq1U+6cwLpvsuJbDDbYPVh3fvIyQXj1lp4jLigkjehZ5orC6bitysq7 pl/J1Yv+INoNMc2T/OhBLWZUBNdXzAtzBBlnRRShXtzoDjfsiugU6obFQgyvTxi9wQU0NYSY1gn5Y 3lDglaag==; Received: from [24.4.147.188] (port=49292 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rPYLm-007otZ-2W; Mon, 15 Jan 2024 20:34:46 -0500 Received: by olgas.newt.com (Postfix, from userid 1000) id CB8863801E5; Mon, 15 Jan 2024 17:34:45 -0800 (PST) to: Mike Kupfer From: Bill Wohler Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-reply-to: <1955573.1704041397@olgas.newt.com> References: <160446.1700884619@alto> <1851818.1703979234@olgas.newt.com> <1955573.1704041397@olgas.newt.com> Comments: In-reply-to Bill Wohler message dated "Sun, 31 Dec 2023 08:49:57 -0800." Organization: Newt Software X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 30.0.50 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1260336.1705368885.1@olgas.newt.com> Date: Mon, 15 Jan 2024 17:34:45 -0800 Message-ID: <1260337.1705368885@olgas.newt.com> X-Get-Message-Sender-Via: ecbiz329.inmotionhosting.com: authenticated_id: wohler@newt.com X-Authenticated-Sender: ecbiz329.inmotionhosting.com: wohler@newt.com X-Originating-IP: 209.182.198.38 X-SpamExperts-Domain: ecbiz329.inmotionhosting.com X-SpamExperts-Username: 209.182.198.38 Authentication-Results: servconfig.com; auth=pass smtp.auth=209.182.198.38@ecbiz329.inmotionhosting.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.16) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT9CTdnYPibPmF/yUdg0oAOQPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wPNj8CRzrsGB7ugNp6dkMIG6S2l0Sq0XyAP7CL22R+h/uV PBTvnCS6aOf9BAhr5R4TNSX1uoIb0gIkZe6Pzu/MBuHFwnYCArBRzMFnEeJLg1fAs/Wc1KK7phgi u0B+I2x5A33YqjRZVc0l6NYB64DuU8RRvnTiWBGtKmTaojS5beKVse1sVhWabI0/+PN3sILx5az0 mkvsWTWJuNLvaP2ibx+b8THYEHBXngG3ifOo0K0Hq2Yq3kiTbuD0cwOb1O+IPzzNlAxIW2hG67RT dhoz8U54yHbe0U2Q73dIPYtLRUPqZ+EdrzwFo9mhzGK28QoqsSU1eEJ38AbSul7a8WX0WVJj2Vs1 JHaNDG7dka7qJOw5oeaBgdVBryyzJvpGKm8bg9rs4R35XN1aqe7My6+BQe8GxUu+RS9OCqhCZHL5 8cLQRSRtv40LmX9es44v85dByP8Eme+T/S5K46G5SoefydCHbXiP8026XAyPTLJld9ezYqxGMqsK jARq8PBC4qjx72WjKJV+yqpy4XQKmR67/CQiBEBc2/a+8vGZkOazMyDt3yfQxlhCaKc8coJFU+8p OMQJvQ/Ck3iiU+4DQAj38VcpxSBd167NiiR0DMS/Tyn0bmSht/vVpFCIkbcxahknn0Xcn0dUSC7j BXxmJBSRBABoKGq59W7NH/bPkWd92bOx2rG31DknxK3lKbNUvNuQfG23qugpuonMX0X2QE9o1CC2 O+YzoA1PzVeOnMbNQ2INT0dr2CCK8x4keM0lbkDlGj5shn9kaQwHtvhsW211ibHWZK5jNNb6/3eh eRhQh56pUawMzk3CKqs8vk0sSj701I3yoKqFxvEbkId//5z/CCtGs1SZcbU+9v6YdQbwalFfEoXm 0/FPF8PR0w363lm4sAir8Klh/gUxSuPf3lZxGdskXepYL/r6A8qmuVBn8klZzgvBOyU0TuwSg59B 3SWbggNXFykH5KmcrJO3aZqa8f0uGtNher8+V8dmZz5OXM+1WXutSEaRV4P262ngQnpHzq3YSILo bAzCzsa++jPAOjvyzKE0GxQ1LmdVrVtUCsur8EGNVvoaJk0VkjwYwC6ci8JLiiOdckUewCJrmQRc dj8luXC7km26QtXP9s02LA== X-Report-Abuse-To: spam@se1-lax1.servconfig.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361-done Cc: 67361-done@debbugs.gnu.org, Chris Siebenmann , Eli Zaretskii X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Version 30.0.50 Thanks for your patch, Mike. I did not receive approval to commit this patch to the release branch, so I committed your patch to master and closed the bug. Bill Wohler wrote: > Eli, > > Would you prefer if I applied Mike's patch to the emacs-29 branch or > master? > > > diff --git a/lisp/mh-e/mh-funcs.el b/lisp/mh-e/mh-funcs.el > > --- a/lisp/mh-e/mh-funcs.el > > +++ b/lisp/mh-e/mh-funcs.el > > @@ -108,7 +108,7 @@ > > (window-config mh-previous-window-config)) > > (mh-set-folder-modified-p t) ; lock folder to kill it > > (mh-exec-cmd-daemon "rmf" 'mh-rmf-daemon folder) > > - (when (boundp 'mh-speed-folder-map) > > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > > (mh-speed-invalidate-map folder)) > > (mh-remove-from-sub-folders-cache folder) > > (mh-set-folder-modified-p nil) ; so kill-buffer doesn't complain > > diff --git a/lisp/mh-e/mh-search.el b/lisp/mh-e/mh-search.el > > --- a/lisp/mh-e/mh-search.el > > +++ b/lisp/mh-e/mh-search.el > > @@ -1569,7 +1569,7 @@ > > (save-excursion (mh-exec-cmd-quiet nil "rmf" chosen-name)) > > (mh-exec-cmd-quiet nil "folder" "-create" "-fast" chosen-name) > > (mh-remove-from-sub-folders-cache chosen-name) > > - (when (boundp 'mh-speed-folder-map) > > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > > (mh-speed-add-folder chosen-name)) > > chosen-name)) > > > > diff --git a/lisp/mh-e/mh-utils.el b/lisp/mh-e/mh-utils.el > > --- a/lisp/mh-e/mh-utils.el > > +++ b/lisp/mh-e/mh-utils.el > > @@ -795,7 +795,7 @@ > > (message "Creating %s" folder-name) > > (mh-exec-cmd-error nil "folder" folder-name) > > (mh-remove-from-sub-folders-cache folder-name) > > - (when (boundp 'mh-speed-folder-map) > > + (when (and (boundp 'speedbar-buffer) speedbar-buffer) > > (mh-speed-add-folder folder-name)) > > (message "Creating %s...done" folder-name)) > > (new-file-flag > > > > -- > Bill Wohler aka > http://www.newt.com/wohler/, GnuPG ID:610BD9AD -- Bill Wohler aka http://www.newt.com/wohler/, GnuPG ID:610BD9AD From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 16 07:25:00 2024 Received: (at 67361) by debbugs.gnu.org; 16 Jan 2024 12:25:00 +0000 Received: from localhost ([127.0.0.1]:47988 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPiV2-0006oV-7i for submit@debbugs.gnu.org; Tue, 16 Jan 2024 07:25:00 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:56714) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rPiV0-0006lW-3O for 67361@debbugs.gnu.org; Tue, 16 Jan 2024 07:24:58 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rPiUr-0008Dd-MY; Tue, 16 Jan 2024 07:24:50 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=+SGayDNFTdg6OGZykQmdKEXHW/8Ha3DFurTTtwN7E98=; b=bf/DwjLNEplp 9WFvSdAVvjnBDRL/+g6H1vJaPi23kUcP2ahCsBtAqCVhLNJmVranUUJjp39lOG49EZtl08/QdD6c+ N3kyqPruoKX56/z0im8aylUKJb9Dl0cQavVm1fU0Mq35wWboBdKA6gER2nMbHdDRuJ3/KRiJTtZks ykHJWgMbWbde4/54TwnZoTliyzST2bNrhJLcbar+++748IfBdHnghI3nq+rODstc8hu/Yh0MA4hnc h95UbdbkvYN4qkiBkzYyH9yHf8c99QCxZo1C/moW0wqtaWXhvmSyhzdX4xyxD/2mAUhY4CiwP/bwP 77ve5aOpHFzbl55EL4y3hA==; Date: Tue, 16 Jan 2024 14:24:38 +0200 Message-Id: <83h6jdcvp5.fsf@gnu.org> From: Eli Zaretskii To: Bill Wohler In-Reply-To: <1260337.1705368885@olgas.newt.com> (message from Bill Wohler on Mon, 15 Jan 2024 17:34:45 -0800) Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error References: <160446.1700884619@alto> <1851818.1703979234@olgas.newt.com> <1955573.1704041397@olgas.newt.com> <1260337.1705368885@olgas.newt.com> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, cks.emacsbugs-01@cs.toronto.edu, kupfer@rawbw.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > cc: Chris Siebenmann , > 67361-done@debbugs.gnu.org, Eli Zaretskii > From: Bill Wohler > Comments: In-reply-to Bill Wohler > message dated "Sun, 31 Dec 2023 08:49:57 -0800." > Date: Mon, 15 Jan 2024 17:34:45 -0800 > > Version 30.0.50 > > Thanks for your patch, Mike. > > I did not receive approval to commit this patch to the release branch, > so I committed your patch to master and closed the bug. Apologies, I somehow missed your request. This is okay for emacs-29, so I've now cherry-picked it to the release branch. Thanks. From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 17 11:47:47 2024 Received: (at 67361) by debbugs.gnu.org; 17 Jan 2024 16:47:47 +0000 Received: from localhost ([127.0.0.1]:53156 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ94t-0006MB-1b for submit@debbugs.gnu.org; Wed, 17 Jan 2024 11:47:47 -0500 Received: from se3b-lax1.servconfig.com ([192.249.122.52]:44655) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rQ94p-0006LE-7h for 67361@debbugs.gnu.org; Wed, 17 Jan 2024 11:47:45 -0500 Received: from ecbiz329.inmotionhosting.com ([209.182.198.38]) by se3-lax1.servconfig.com with esmtps (TLSv1.2:AES128-GCM-SHA256:128) (Exim 4.92) (envelope-from ) id 1rQ94e-0003nH-8f; Wed, 17 Jan 2024 11:47:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=newt.com; s=default; h=Message-ID:Date:Content-ID:Content-Type:MIME-Version:References: In-reply-to:Subject:From:cc:To:Sender:Reply-To:Content-Transfer-Encoding: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=UZRoWKBb2BP9QFXBp7G1bg6M+Vhne+n3iD4zd6DxQ9s=; b=VnCTSz4pc6ZTDNd3B5TPucUPVu VYtdRbynDjMvZkDoYyq3XYWvPmrh78ADcY0FEQWAbgOtB8tV3uvbmOO0U17hEna5Jwy0lfOsHkcrS HedA+xxT3U2m5plTpJWMegjHcSsjGvEYBYE8y2gwt9mSKD7beD1wtzpWfB1AScftsY758zWUIKmVs JhsWQY/5iiouUvthVbSXlZrZJQx3nb/8C8icNO4APWuYkxgXCErLziFv0tdzWj7XmqkVc+xUFewOm DeR7/NFLF276zftYPoTZsdZVUd4RRYVlhpd5IEewhUNNYtrwGhhrv0OAU/SBPQXfo/aRo0s4+xuZi EyR8lwyw==; Received: from [24.4.147.188] (port=47558 helo=olgas.newt.com) by ecbiz329.inmotionhosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1rQ94b-0089vN-2W; Wed, 17 Jan 2024 11:47:29 -0500 Received: by olgas.newt.com (Postfix, from userid 1000) id A3AD638089B; Wed, 17 Jan 2024 08:47:28 -0800 (PST) To: Eli Zaretskii From: Bill Wohler Subject: Re: bug#67361: 29.1; MH-E: creating a new folder can sometimes fail with a Lisp error In-reply-to: <83h6jdcvp5.fsf@gnu.org> References: <160446.1700884619@alto> <1851818.1703979234@olgas.newt.com> <1955573.1704041397@olgas.newt.com> <1260337.1705368885@olgas.newt.com> <83h6jdcvp5.fsf@gnu.org> Comments: In-reply-to Eli Zaretskii message dated "Tue, 16 Jan 2024 14:24:38 +0200." Organization: Newt Software X-Mailer: MH-E 8.6+git; nmh 1.8-RC2; Emacs 29.1.90 X-Image-URL: http://www.newt.com/wohler/images/bill-diving.png MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1524031.1705510048.1@olgas.newt.com> Date: Wed, 17 Jan 2024 08:47:28 -0800 Message-ID: <1524032.1705510048@olgas.newt.com> X-Get-Message-Sender-Via: ecbiz329.inmotionhosting.com: authenticated_id: wohler@newt.com X-Authenticated-Sender: ecbiz329.inmotionhosting.com: wohler@newt.com X-Originating-IP: 209.182.198.38 X-SpamExperts-Domain: ecbiz329.inmotionhosting.com X-SpamExperts-Username: 209.182.198.38 Authentication-Results: servconfig.com; auth=pass smtp.auth=209.182.198.38@ecbiz329.inmotionhosting.com X-SpamExperts-Outgoing-Class: ham X-SpamExperts-Outgoing-Evidence: Combined (0.13) X-Recommended-Action: accept X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT8mo9BOaAhLzFCOvmX6zVG1PUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5wPNj8CRzrsGB7ugNp6dkMIG6S2l0Sq0XyAP7CL22R+h+zb pTmR3UMMzVofDFwaANpMBhQwZ4U+dP0cDUdUHxwFkzGIyEDKB5+tuM/BiYkNNtjLQNCIemmyp7tp LvZV4fGqkaWbbOMJrh1zQUl46B+C2UDGttxN/Y8qd3PAxBNj4gK/NzaQ0kU5LIjXaSmvljzrv6uv y67bPy9KnwerIPD7+EJh3GmpTMtirFB1CX1GmfEXoB+UdBML9lbEOqDeKsTJngkvCOyDcbNW+P/j 9rn2ZVV1JLevYUOVh4MQQup+muhEQjf02DvD6NbBWC62Mac2JrO8Qv8RArq2MwWaNnh+UuIF2yn0 3s7TS3ghm2vgBpb5Pn6ftQZVK9K8EAjn37sUg69eDYNe2itClT3S7bjQUCo5PZJsLcY5FmNhp+JD xofgBwPJRy2KP3xL3XdLYqV41APOGyRuqKbOun7vlQzhwfhpspQKRAIBFcUdSV85+USmicW4BKeo lukxoVI4SaNoMMMh30z0ou3Uma6ICBqohxGGNNFI1AuNleg/0I92t9xCHahZfsjvoDKdqQReE7op ol7/zxbDwFIVzeFgpWdBcxw3qqhc+N6cuEg4XWh5Fn14aI8LhlWgnPWxiAfmLVt1967YxRe6RZoR +2iJYFgkGHyFJrRBQ0ZTy3hKri5A85pKmLbRp5hwod2JBq60vmYawPUpK3ub+Dr5UYldD3d9Nj+o a4bUWaUNnGyX2uCjMvrx9dCnn+/6Go4u/ldLpgl/Wc6jKwntT54qXsSLxlBkVgUVN12b1Ctfih74 /Kdn2qgEJMOByqR8EQT7FXdxI54uRcZPODhbNLXNj/QBAfdNsastlYhn5PD5yB+V+TqAWyk/mAVo EKhEsmVemmRV0ic3qPpsHq5MFUfo2uY0SpCk9R/2gMGq0KWAzmMf+ibVDt9uJP0AE1vUX79zSV3l xtWci8JLiiOdckUewCJrmQRcOQ8tJCJ9UvsROnRGuCE0jtSp5CTDUulBw9BK37ZxUTl36nNkv/WW KmaaKiu4cETNXauaOf0AZELl8kYqfTZmxLIfS4AWBUPD6l7HYWHtTp6D9bEIDEhetY9iC7XPl+rz X-Report-Abuse-To: spam@se1-lax1.servconfig.com X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 67361 Cc: 67361@debbugs.gnu.org, cks.emacsbugs-01@cs.toronto.edu, kupfer@rawbw.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) OK, thanks! Eli Zaretskii wrote: > > cc: Chris Siebenmann , > > 67361-done@debbugs.gnu.org, Eli Zaretskii > > From: Bill Wohler > > Comments: In-reply-to Bill Wohler > > message dated "Sun, 31 Dec 2023 08:49:57 -0800." > > Date: Mon, 15 Jan 2024 17:34:45 -0800 > > > > Version 30.0.50 > > > > Thanks for your patch, Mike. > > > > I did not receive approval to commit this patch to the release branch, > > so I committed your patch to master and closed the bug. > > Apologies, I somehow missed your request. > > This is okay for emacs-29, so I've now cherry-picked it to the release > branch. > > Thanks. > -- Bill Wohler aka http://www.newt.com/wohler/, GnuPG ID:610BD9AD From unknown Sat Jul 19 11:26:31 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 15 Feb 2024 12:24:12 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator