GNU bug report logs -
#17386
24.3.90; emacs_abort in cmcheckmagic
Previous Next
Reported by: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Date: Fri, 2 May 2014 05:09:02 UTC
Severity: normal
Tags: moreinfo
Found in version 24.3.90
Done: Nicolas Richard <theonewiththeevillook <at> yahoo.fr>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Perhaps it was counting lines in the frame that lived in tmux-over-gdb
>> (tmux uses one line). Would that make sense ?
>
> Sorry, I have no idea what tmux-over-gdb can do to that. I'd be
> surprised if it changed Emacs's idea of screen dimensions, though.
tmux shows some sort of status line, which means that the client
(emacs-in-gdb in my case) sees one line less.
I tried this experiment in a maximized gnome-terminal on my laptop:
$ gdb emacs
(gdb) r -nw -Q
hit: C-z
(gdb) p FrameRows(current_tty)
$1 = 43
now with tmux, still in a maximized gnome-terminal :
$ tmux # this will show a "status line" from tmux in gnome-terminal
$ gdb emacs
(gdb) r -nw -Q
hit: C-z
(gdb) p FrameRows(current_tty)
$1 = 42
So it does change the screen dimensions.
I tried splitting tmux (because of the related bug bug#16674) :
(gdb) p FrameRows(current_tty)
$4 = 20
(that's in the lower pane ; in the one above the answer is 21)
--
Nico.
This bug report was last modified 3 years and 81 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.