GNU bug report logs - #78980
31.0.50; C-z crashes emacsclient -nw

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 9 Jul 2025 13:33:02 UTC

Severity: normal

Found in version 31.0.50

Full log


Message #32 received at 78980 <at> debbugs.gnu.org (full text, mbox):

From: Gerd Möllmann <gerd.moellmann <at> gmail.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 78980 <at> debbugs.gnu.org, Pip Cet <pipcet <at> protonmail.com>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: bug#78980: 31.0.50; C-z crashes emacsclient -nw
Date: Thu, 10 Jul 2025 17:08:37 +0200
martin rudalics <rudalics <at> gmx.at> writes:

>  > The functionality on GUIs sounds like we should have something like
>  >
>  >    bool is_displayed(struct frame *f) {
>  >        // Öeave window system frames alone
>  >        if (!is_tty_frame(f))
>  >            return true;
>  >        // Don't display if not marked visible.
>  >        if (!FRAME_VISIBLE_P(f))
>  >            return false;
>  >        // If marked visible but parent isn't displayed
>  >        const struct frame *oarent = FRAME_PARENT_FRAME(f);
>  >        return parent ? is_displayed(parent) : true;
>  >    }
>  >
>  > WDYT?
>
> But that's precisely what frame_redisplay_p is supposed to accomplish.
> Look at the patch below which further simplifies what Pip Cet proposed
> earlier.

Than I guess I've simply not understood what's going on. Or maybe the
problem is that a call to frame_redisplay_p is missing in
redisplay_interlal, where is_tty_root_frame_with_visible_child is
called? Anyway, I'll better shut up :-).




This bug report was last modified 64 days ago.

Previous Next


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