From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.bugs Subject: bug#66128: 28.2; visible-bell breaks setterm --inversescreen on Date: Fri, 22 Sep 2023 22:18:14 +0200 Message-ID: <87h6nmvu61.fsf@neko.mail-host-address-is-not-set> References: <87zg1gk3eu.fsf@neko.mail-host-address-is-not-set> <83sf789l3w.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66128@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 22 22:19:11 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qjmcJ-00006E-Hh for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 22 Sep 2023 22:19:11 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjmc2-0006V0-1X; Fri, 22 Sep 2023 16:18:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjmbz-0006Uk-R9 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 16:18:51 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjmbz-0006Rc-J2 for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 16:18:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjmcA-0003MX-1V for bug-gnu-emacs@gnu.org; Fri, 22 Sep 2023 16:19:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tomas Hlavaty Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 22 Sep 2023 20:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66128 X-GNU-PR-Package: emacs Original-Received: via spool by 66128-submit@debbugs.gnu.org id=B66128.169541391712893 (code B ref 66128); Fri, 22 Sep 2023 20:19:02 +0000 Original-Received: (at 66128) by debbugs.gnu.org; 22 Sep 2023 20:18:37 +0000 Original-Received: from localhost ([127.0.0.1]:37322 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjmbj-0003Lr-1l for submit@debbugs.gnu.org; Fri, 22 Sep 2023 16:18:36 -0400 Original-Received: from logand.com ([37.48.87.44]:52192) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjmbd-0003Lf-E7 for 66128@debbugs.gnu.org; Fri, 22 Sep 2023 16:18:33 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 8220F19E7F8; Fri, 22 Sep 2023 22:18:17 +0200 (CEST) X-Mailer: emacs 28.2 (via feedmail 11-beta-1 I) In-Reply-To: <83sf789l3w.fsf@gnu.org> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271124 Archived-At: Hi Eli, thanks for the quick reply. On Thu 21 Sep 2023 at 08:00, Eli Zaretskii wrote: > Emacs just sends to the terminal the sequence defined by the "vb" > termcap capability. Is that not correct when the screen colors are > inverted? I do not know. > Is this perhaps the problem of the terminal? No, I get the same behaviour in xfce4-terminal and kitty, so this does not seem to be specific problem with the linux console. I think I wrote it in the bug report too, under an X based terminal: $ emacs -nw -Q --eval '(setq visible-bell t)' then press PgUp. > Btw, we always use the termcap's "vb", even when terminfo is > available; should we use the terminfo's "flash" instead? I do not know. Regards, Tomas