unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: dickey@his.com
Cc: 66128@debbugs.gnu.org, tom@logand.com
Subject: bug#66128: 28.2; visible-bell breaks setterm --inversescreen on
Date: Mon, 25 Sep 2023 11:50:39 +0300	[thread overview]
Message-ID: <835y3y3acg.fsf@gnu.org> (raw)
In-Reply-To: <ZRE/ukZg278YTIoj@prl-debianold-64.jexium-island.net> (message from Thomas Dickey on Mon, 25 Sep 2023 04:07:22 -0400)

> Date: Mon, 25 Sep 2023 04:07:22 -0400
> From: Thomas Dickey <dickey@his.com>
> Cc: dickey@his.com, tom@logand.com, 66128@debbugs.gnu.org
> 
> On Mon, Sep 25, 2023 at 08:03:38AM +0300, Eli Zaretskii wrote:
> ...
> > Thanks.  So Emacs should ideally reverse the sequence when the
> > terminal is in the reverse-video mode, or at least send the "\033[?5h"
> > sequence after sending "flash"?  But can Emacs know that the terminal
> > is in this mode at startup?
> 
> I don't see how - the usual way (an escape sequence which returns this
> information) is not documented for Linux in console_codes.
> 
> Lacking that, you'd rely upon the user to tell Emacs what to do.

I see.  I guess we will need to ask such users to customize the
inverse-video variable to a non-nil value, and then change
tty_ring_bell accordingly.

Thanks.





      reply	other threads:[~2023-09-25  8:50 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-20 20:14 bug#66128: 28.2; visible-bell breaks setterm --inversescreen on tom
2023-09-21  5:00 ` Eli Zaretskii
2023-09-22 20:18   ` Tomas Hlavaty
2023-09-23  5:38     ` Eli Zaretskii
2023-09-25  0:07       ` Thomas Dickey
2023-09-25  5:03         ` Eli Zaretskii
2023-09-25  8:07           ` Thomas Dickey
2023-09-25  8:50             ` 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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=835y3y3acg.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=66128@debbugs.gnu.org \
    --cc=dickey@his.com \
    --cc=tom@logand.com \
    /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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).