GNU bug report logs - #18112
24.4.50; emacs --daemon infinite loop in find_interval

Previous Next

Package: emacs;

Reported by: Mark Oteiza <mvoteiza <at> udel.edu>

Date: Fri, 25 Jul 2014 23:10:02 UTC

Severity: normal

Found in version 24.4.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Andreas Schwab <schwab <at> linux-m68k.org>
Cc: mvoteiza <at> udel.edu, 18112 <at> debbugs.gnu.org
Subject: bug#18112: 24.4.50; emacs --daemon infinite loop in find_interval
Date: Sat, 26 Jul 2014 11:22:22 +0300
> From: Andreas Schwab <schwab <at> linux-m68k.org>
> Cc: mvoteiza <at> udel.edu,  18112 <at> debbugs.gnu.org
> Date: Sat, 26 Jul 2014 10:15:58 +0200
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> > The loop is in redisplay, and the reason seems to be that get_tty_size
> > returns incorrect size after the second tmux pane is closed with ^D.
> > We get one line more than tmux leaves us (after usurping 1 line for
> > its status line).
> 
> Does get_tty_size actually look at the correct terminal (the one
> connected to the tty frame)?

See handle_window_change_signal: we loop through all the tty's, and
call get_tty_size for each one of them.

If this doesn't answer the question, please tell how to check that the
terminal is the correct one, and I will take a look.

Thanks.




This bug report was last modified 10 years and 285 days ago.

Previous Next


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