From: Eli Zaretskii <eliz@gnu.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 18649@debbugs.gnu.org
Subject: bug#18649: 25.0.50; Closing TTY menus on MS-Windows
Date: Wed, 08 Oct 2014 16:57:26 +0300 [thread overview]
Message-ID: <8361fuk6k9.fsf@gnu.org> (raw)
In-Reply-To: <54353DA3.8020202@gmx.at>
> Date: Wed, 08 Oct 2014 15:35:31 +0200
> From: martin rudalics <rudalics@gmx.at>
> CC: 18649-done@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.?
prev parent reply other threads:[~2014-10-08 13:57 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-07 6:50 bug#18649: 25.0.50; Closing TTY menus on MS-Windows Dani Moncayo
2014-10-07 15:46 ` Eli Zaretskii
2014-10-07 19:58 ` Eli Zaretskii
2014-10-08 9:32 ` martin rudalics
2014-10-08 10:29 ` Eli Zaretskii
2014-10-08 12:49 ` Eli Zaretskii
2014-10-08 13:13 ` Dani Moncayo
2014-10-08 13:35 ` martin rudalics
2014-10-08 13:57 ` Eli Zaretskii [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=8361fuk6k9.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=18649@debbugs.gnu.org \
--cc=rudalics@gmx.at \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.