GNU bug report logs -
#72487
calculator-electric-mode causes freeze on subsequent use of minibuffer
Previous Next
Full log
View this message in rfc822 format
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').
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.