GNU bug report logs - #18649
25.0.50; Closing TTY menus on MS-Windows

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Tue, 7 Oct 2014 06:52:01 UTC

Severity: normal

Found in version 25.0.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: martin rudalics <rudalics <at> gmx.at>
Cc: 18649 <at> debbugs.gnu.org
Subject: bug#18649: 25.0.50; Closing TTY menus on MS-Windows
Date: Wed, 08 Oct 2014 16:57:26 +0300
> Date: Wed, 08 Oct 2014 15:35:31 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> CC: 18649-done <at> debbugs.gnu.org
> 
>  >> BTW: Is there a way to turn `blink-cursor-mode' off on a TTY?
>  >
>  > No, it blinks "in hardware" (i.e., the terminal software does it).
>  > And there's no reason to disable it, because it should never do
>  > anything on a TTY.  Or do you have evidence to the contrary?
> 
> No.  I just wondered why the cursor disappeared (as Dani also observed)
> when doing C-g with an open menu.

Because the TTY menu code hides the cursor, and since C-g bypassed
that code, the part of it that restores the cursor after popping down
the menu didn't execute.  It has nothing to do with blink-cursor-mode.

> Ah, I seem to understand.  resize_frame_windows never gets called here
> because the size of the root window apparently doesn't change.  OTOH
> frame_windows_min_size gets called unconditionally.  So it's merely
> coincidental that this problem didn't hit us before.

Yes.  In general, calling change_frame_size from the input handler was
simply wrong.

> BTW, I call frame_windows_min_size unconditionally in order to detect
> the case where
> 
> (1) the frame size itself should be conceptually left unchanged, but
> 
> (2) something _within_ the frame changes (like adding a tool or scroll
>      bar) which requires a larger frame size to keep all windows of the
>      frame visible.
> 
> All this is unnecessary on TTYs.

Maybe, but who knows what happens with all the latest hot stuff, like
tmux etc.?




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

Previous Next


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