From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#11430: 24.0.96; Customizing `inverse-video' has no effect on session Date: Sun, 23 Jun 2024 11:52:25 -0700 Message-ID: References: <87sirsewrg.fsf@building.gnus.org> <87lfszihrv.fsf@skangas.se> <12b63a55-3b24-4e61-962a-29754f2e0b84@default> <87k18jxtb9.fsf@marxist.se> <835zk2k3w2.fsf@gnu.org> <875z87mat3.fsf@gnus.org> <83lfh3xhub.fsf@gnu.org> <87lfh1j41y.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000008058bd061b932ad8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5381"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 11430@debbugs.gnu.org, Eli Zaretskii , drew.adams@oracle.com To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jun 23 20:54:23 2024 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 1sLSM3-0001C1-2T for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 23 Jun 2024 20:54:23 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sLSLj-0001xR-Ga; Sun, 23 Jun 2024 14:54:03 -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 1sLSLh-0001x5-Tb for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 14:54:01 -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 1sLSLh-0006Z0-L8 for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 14:54:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sLSLh-0001sy-UL for bug-gnu-emacs@gnu.org; Sun, 23 Jun 2024 14:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 23 Jun 2024 18:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11430 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed moreinfo Original-Received: via spool by 11430-submit@debbugs.gnu.org id=B11430.17191688187203 (code B ref 11430); Sun, 23 Jun 2024 18:54:01 +0000 Original-Received: (at 11430) by debbugs.gnu.org; 23 Jun 2024 18:53:38 +0000 Original-Received: from localhost ([127.0.0.1]:45684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLSLJ-0001rz-6J for submit@debbugs.gnu.org; Sun, 23 Jun 2024 14:53:37 -0400 Original-Received: from mail-ed1-f50.google.com ([209.85.208.50]:50257) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sLSLG-0001rX-45 for 11430@debbugs.gnu.org; Sun, 23 Jun 2024 14:53:35 -0400 Original-Received: by mail-ed1-f50.google.com with SMTP id 4fb4d7f45d1cf-57cc1c00b97so3375076a12.0 for <11430@debbugs.gnu.org>; Sun, 23 Jun 2024 11:53:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719168748; x=1719773548; darn=debbugs.gnu.org; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date:message-id:reply-to; bh=IlAn35KyFkoVfcbN1nFbwGQaatXTJRhbzA21/9+P04M=; b=nOi6TOHeT2N2uVS2s0MGPdGgN5l6x0EuEOnbylNsmYPSNi8ZMvVwiGYkTdQXcJKPkC a7YwOQgSBDp2MMahBaI/2N1VVOmLtsbf1YFsI4CjrGfvaC9XrPq30ZZhZI7DAZMTiXjU 0MMp5+49r8xQ71+LQA9JCq754LTkeSwsEljpjCexIl+ZpiQwhvBaJG9DzEUyIlL8qf77 NC6Wv6pGzCdb6wBcpvrCzHGKd6bQOjS0rN7M3WqrUatywD8ML0/6BYFfDmhgIShU7DYR QroRX11OshTZyXZd3N0BpTnuo+SXfwp61mgv6v6/XdAWITSQJc5mW9zik1m93gtkd4mF 0YoA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719168748; x=1719773548; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=IlAn35KyFkoVfcbN1nFbwGQaatXTJRhbzA21/9+P04M=; b=ectMZUXC7MMcKuFaRgojqBzufk5+4rYN2OEXctfMx89GKba3ixaJLqJCas00QiZPuB 3dklVtqPd6xVb9Ja2OnRzV/yyR8YJEdm06u1JpxzdisVOtwmkt4lYYW4sWjCbsrCI8Oc G/YHVBiwRQjXWO+48B2htqPck8AeULBsv8KVTzDzA/g1etO0udoTOGvnE163ZKwIsaI4 NJ+tSShyI6AWO5fyXDBCEAKAvH/drPELQygzSZT/gRbWQGb/cHd1OTpsUHvjkVMMSfT7 +WV9YTiGfXqBROo1bO1khPE0GaZL1stD8g+LqA5qs/Vsno/YdP/FQO99PW+f8Nm+rzlb zP+Q== X-Forwarded-Encrypted: i=1; AJvYcCW5BaJNQP0OSCmDw54R/S2qlDBXTqM2JcUYJ9+cF/rodFmRCqDyWX7wixZZrMkvgHzojOf0jkc9bgOkpssPcgXiQo9g+vQ= X-Gm-Message-State: AOJu0YwzmOmUxvnNzR4rDNQmM18ygkj+4rCiOfl1yZ35OYwUYef/taqs e/jK0DzshVR3XvtVGYD8UpEieOgRv/r2Kmbx0npQpSPa3WQl3hkzqQtAKIplpm+d2GxNXAgscBU VNAby7/lehilCJVVfOBD2M+B39zI= X-Google-Smtp-Source: AGHT+IEPoM5E1ZRdK9sKbMIRZctI2xnXfYtGU8qNYWzHrfxwi/iuXodNRV8krIHR4phc3RVlnHqFW5jiwMMqRo5osVE= X-Received: by 2002:a50:aad0:0:b0:578:649e:e63e with SMTP id 4fb4d7f45d1cf-57d4bd71842mr1637057a12.16.1719168747450; Sun, 23 Jun 2024 11:52:27 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 23 Jun 2024 11:52:25 -0700 In-Reply-To: <87lfh1j41y.fsf@gnus.org> (Lars Ingebrigtsen's message of "Tue, 22 Sep 2020 16:10:01 +0200") 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:287800 Archived-At: --0000000000008058bd061b932ad8 Content-Type: text/plain; charset="UTF-8" tags 11430 + patch thanks Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >> I'm asking not to remove it yet. Maybe one of these days I will find >> time to work on this. It bugs me (pun intended) that this veteran >> feature stopped working on TTY frames. > > My point is that now -- 20 years after this stopped working -- we should > step back a bit and look at whether this functionality (which must at > this remove be seen to be a new feature) makes sense. > > And I don't think it does much. Setting a variable that makes the Emacs > display go inverse? That's just kinda odd. (That was four years ago.) The attached patch obsoletes 'inverse-video' and makes the variable into a no-op. --0000000000008058bd061b932ad8 Content-Type: text/x-diff; charset="US-ASCII"; name="0001-Make-inverse-video-obsolete.patch" Content-Disposition: attachment; filename="0001-Make-inverse-video-obsolete.patch" Content-Transfer-Encoding: base64 X-Attachment-Id: b0de9ddd6986d890_0.1 RnJvbSAyMzU5ZmRkMGY0ZDM2NTMzODUzNzA0Y2QwMjNjMWRkMjExNTkxN2MyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBTdW4sIDIzIEp1biAyMDI0IDE5OjUxOjIzICswMjAwClN1YmplY3Q6IFtQQVRDSF0g TWFrZSAnaW52ZXJzZS12aWRlbycgb2Jzb2xldGUKCiogc3JjL2Rpc3BuZXcuYyAoc3ltc19vZl9k aXNwbGF5KSA8aW52ZXJzZS12aWRlbz46CiogbGlzcC9zdWJyLmVsIChpbnZlcnNlLXZpZGVvKTog RGVjbGFyZSB2YXJpYWJsZSBhcyBvYnNvbGV0ZS4KKiBzcmMvbXNkb3MuYyAoSVRfc2V0X2ZhY2Up OiBEb24ndCB1c2UgYWJvdmUgdmFyaWFibGUuCiogbGlzcC9jdXMtc3RhcnQuZWwgKHN0YW5kYXJk KTogUmVtb3ZlIHZhcmlhYmxlICdpbnZlcnNlLXZpZGVvJwoqIHNyYy90ZXJtLmMgKHR0eV9iYWNr Z3JvdW5kX2hpZ2hsaWdodCwgdHR5X2hpZ2hsaWdodF9pZl9kZXNpcmVkKToKSW5saW5lIGNhbGxz IHRvICd0dHlfdHVybl9vZmZfaGlnaGxpZ2h0JyBhbmQgZGVsZXRlIGZ1bmN0aW9ucy4KVXBkYXRl IGFsbCBjYWxsZXJzLiAgKEJ1ZyMxMTQzMCkKLS0tCiBldGMvTkVXUyAgICAgICAgICB8ICA0ICsr KysKIGxpc3AvY3VzLXN0YXJ0LmVsIHwgIDEgLQogbGlz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