I have (toggle-frame-maximized)
in my init file. If I enable the ospl-mode
(btw very handy mode) given in the answer https://emacs.stackexchange.com/a/473/, then I minimize the frame, Emacs (GNU Emacs 24.5.1) get frozen. Any idea why this happens? I also checked this with emacs -Q
the same happens.
Edit 1: The OS is windows, for minimizing I click on the middle icon of the bar of emacs window (see the image below)
Edit 2: It seems that I have localized the problem a little more, if I do the following steps Emacs get frozen (unresponsive), I am wondering if other people can test the following steps to see what happens for them.
- Start with
emacs -Q
- Eval
(toggle-frame-maximized)
Then Eval all of
(visual-line-mode 1) (setq right-margin-width (- (window-body-width) fill-column)) (set-window-buffer (selected-window) (current-buffer))
Click on the icon which looks like a
double overlapping squares
(see the above image, the icon between-
andX
).
C-g
one or more times to get Emacs to unfreeze and become functional again? [Perhaps it's a never-ending loop issue -- there are three (3)while
loops in the linked thread.] – lawlist Aug 13 '15 at 17:17C-g
or evenC-]
, emacs is still frozen. – Name Aug 13 '15 at 18:14emacs -Q
then please consider filing a bug:M-x report-emacs-bug
. Of course, you will want to dig into theospl-mode
code a bit to simplify the recipe. IOW, preferably, the recipe won't require loading that library. But if you can't do that then still consider filing a bug report. Emacs should not "freeze". (But determine what "freeze" means - if it is just in an infloop due to the code inospl-mode
then that's probably a library problem, not an Emacs problem.) – Drew Aug 13 '15 at 18:28