From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Mattias_Engdeg=C3=A5rd?= Newsgroups: gmane.emacs.devel Subject: Re: Bug? Date: Wed, 3 May 2023 14:27:37 +0200 Message-ID: <44D75AFF-BA98-4189-8E20-3138FE6A2231@acm.org> References: <875y9aciir.fsf.ref@yahoo.com> <875y9aciir.fsf@yahoo.com> <9DC42D1F-2061-48ED-932B-9704538356C8@acm.org> <380B9B5B-9FB9-4A99-830B-117A33519D3A@acm.org> Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.15\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="26667"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel , Po Lu To: Shynur Xie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 03 14:28:30 2023 Return-path: Envelope-to: ged-emacs-devel@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 1puBau-0006hm-Pe for ged-emacs-devel@m.gmane-mx.org; Wed, 03 May 2023 14:28:28 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1puBaG-0004ug-K0; Wed, 03 May 2023 08:27:48 -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 1puBaF-0004ty-0e for emacs-devel@gnu.org; Wed, 03 May 2023 08:27:47 -0400 Original-Received: from mail33c50.megamailservers.eu ([91.136.10.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1puBaC-00045w-LI for emacs-devel@gnu.org; Wed, 03 May 2023 08:27:46 -0400 X-Authenticated-User: mattiase@bredband.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=megamailservers.eu; s=maildub; t=1683116860; bh=u13ubYV6uT4w6bzWI99T+vAOMwxv+VHBoOlaEXUcSp0=; h=Subject:From:In-Reply-To:Date:Cc:References:To:From; b=JhD7bkpqEYTjLpqjqrGawHTKgaQnyc7NSgoBZNnvHLvUo5lnouwGiJB1JGk/o5uOj 7loeYtW05pn1cIv0hBvv9zo6//jN0s+b31oObrSBQLv26QQVbzeT5Iw0cutlRoQ5eU 6P9kh+TVPdavrd35Az+VFoBK66hsvMA5njxT8Kyw= Feedback-ID: mattiase@acm.or Original-Received: from smtpclient.apple (c188-150-165-235.bredband.tele2.se [188.150.165.235]) (authenticated bits=0) by mail33c50.megamailservers.eu (8.14.9/8.13.1) with ESMTP id 343CRc80106536; Wed, 3 May 2023 12:27:39 +0000 In-Reply-To: X-Mailer: Apple Mail (2.3654.120.0.1.15) X-VADE-SPAMSTATE: clean X-VADE-SPAMSCORE: 0 X-VADE-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedvhedrfedvkedgheduucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecujffquffvqffrkfetpdfqfgfvpdfgpfggqdevhedtnecuuegrihhlohhuthemuceftddunecunecujfgurheptggguffhjgffvefgkfhfvffosehtqhhmtdhhtddvnecuhfhrohhmpeforghtthhirghsucfgnhhguggvghonrhguuceomhgrthhtihgrshgvsegrtghmrdhorhhgqeenucggtffrrghtthgvrhhnpeevkeffudejhfekhedvgfffieekgffhfedvkeeuffelgeefkeeulefhjeeifeekgfenucfkphepudekkedrudehtddrudeihedrvdefheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedukeekrdduhedtrdduieehrddvfeehpdhhvghlohepshhmthhptghlihgvnhhtrdgrphhplhgvpdhmrghilhhfrhhomhepmhgrthhtihgrshgvsegrtghmrdhorhhgpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepohhnvgdrlhgrshhtrdhkihhsshesohhuthhlohhokhdrtghomhdprhgtphhtthhopegvmhgrtghsqdguvghvvghlsehgnhhurdhorhhgpdhrtghpthhtoheplhhurghngh hruhhoseihrghhohhordgtohhm X-Origin-Country: SE Received-SPF: softfail client-ip=91.136.10.43; envelope-from=mattiase@acm.org; helo=mail33c50.megamailservers.eu X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:305778 Archived-At: 3 maj 2023 kl. 13.24 skrev Shynur Xie : >> Don't we have an existing suitable face to inherit from? >=20 > Do you mean to inherit from those faces that set colors separately for > light and dark backgrounds? Yes, and it's much easier for the user to customise a single "highlight" = face than dozens of them. There is a face literally named "highlight"; = would that do? If so, maybe we don't even need a new face at all. If you really want a new face that uses green text by default, something = like (defface blink-matching-paren-offscreen - '((t :foreground "green")) + '((((class color) (background light)) + :background "yellow") + (((class color) (background dark)) + :foreground "green")) would be an improvement. Full saturated green text pretty much requires = a dark background. >> I also noticed that when the closing bracket is comprised of >> multiple characters, only the first character is high-lit using that >> face. >=20 > That is the original behavior of `blink-matching-open' -- it only > highlights the first character. (What you expected is provided by > `show-paren-mode'.) Ah yes. In Emacs, there are always layers upon layers.