GNU bug report logs - #72487
calculator-electric-mode causes freeze on subsequent use of minibuffer

Previous Next

Package: emacs;

Reported by: Kevin J Witczak <kim.jet.wav <at> protonmail.ch>

Date: Tue, 6 Aug 2024 06:07:02 UTC

Severity: normal

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: martin rudalics <rudalics <at> gmx.at>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#72487: closed (calculator-electric-mode causes freeze on
 subsequent use of minibuffer)
Date: Sat, 21 Sep 2024 08:08:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 21 Sep 2024 10:07:14 +0200
with message-id <75198ecb-81c4-43fe-aec7-f82e86567662 <at> gmx.at>
and subject line Re: bug#72487: calculator-electric-mode causes freeze on subsequent use of minibuffer
has caused the debbugs.gnu.org bug report #72487,
regarding calculator-electric-mode causes freeze on subsequent use of minibuffer
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
72487: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=72487
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Kevin J Witczak <kim.jet.wav <at> protonmail.ch>
To: bug-gnu-emacs <at> gnu.org
Subject: calculator-electric-mode causes freeze on subsequent use of minibuffer
Date: Mon, 05 Aug 2024 22:41:57 +0000
When using the calculator function of GNU Emacs 31.0.50 (bug also found 
in 29.4), usage of `calculator-electric-mode' causes Emacs to hang on 
subsequent uses of the minibuffer.

Emacs -Q

M-: (setf calculator-electric-mode t) <RET>

M-x calcu <RET> q M-x M-p <RET>

Note that the freeze does not depend on specifically calling calculator 
a second time, and calculator may be repeated with C-x z without issue.

The freeze occurs specifically when the minibuffer exits a second time, 
even via C-g, before its contents are processed. Thus, for example, the 
following still yields a freeze:

Emacs -Q

M-: (setf calculator-electric-mode t) <RET>

M-x d-o-e <RET> kill-emacs <RET>

M-x calcu <RET> q M-x kill-emacs <RET>

Apparently, calculator-electric-mode leaves the minibuffer window in a 
broken state after first usage, rather than resetting it correctly.

Emacs must be killed externally at this point, and generally cannot be 
salvaged with C-g. It becomes trapped in a loop emitting terminal bells 
(seen with `visible-bell' mode on, or via a termscript from `-nw').



[Message part 3 (message/rfc822, inline)]
From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 72487-done <at> debbugs.gnu.org, kim.jet.wav <at> protonmail.ch
Subject: Re: bug#72487: calculator-electric-mode causes freeze on subsequent
 use of minibuffer
Date: Sat, 21 Sep 2024 10:07:14 +0200
> Installed on master.  If there are no further complaints, I'll close
> this bug in a couple of days.

Done.

martin



This bug report was last modified 335 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.