GNU bug report logs -
#31312
Segmentation fault with doom-emacs, NeoTree and Zoom
Previous Next
Reported by: Andrea Cardaci <cyrus.and <at> gmail.com>
Date: Sun, 29 Apr 2018 17:01:02 UTC
Severity: normal
Tags: confirmed, fixed
Fixed in version 26.1
Done: Noam Postavsky <npostavs <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
> Please push to the emacs-26 branch, and thanks.
Wouldn't it make sense to remove the previous check, like this?
--- i/src/xdisp.c
+++ w/src/xdisp.c
@@ -13924,11 +13924,6 @@ redisplay_internal (void)
/* Notice any pending interrupt request to change frame size. */
do_pending_window_change (true);
- /* do_pending_window_change could change the selected_window due to
- frame resizing which makes the selected window too small. */
- if (WINDOWP (selected_window) && (w = XWINDOW (selected_window)) != sw)
- sw = w;
-
/* Clear frames marked as garbaged. */
clear_garbaged_frames ();
@@ -13936,6 +13931,13 @@ redisplay_internal (void)
if (NILP (Vmemory_full))
prepare_menu_bars ();
+ /* do_pending_window_change could change the selected_window due to
+ frame resizing which makes the selected window too small.
+ prepare_menu_bars may call lisp hooks and hence also change the
+ selected_window. */
+ if (WINDOWP (selected_window) && (w = XWINDOW (selected_window)) != sw)
+ sw = w;
+
reconsider_clip_changes (w);
/* In most cases selected window displays current buffer. */
This bug report was last modified 7 years and 73 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.