From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#39360: Add :extend attribute to show-paren-mode expression face Date: Fri, 07 Feb 2020 02:40:17 +0200 Organization: LINKOV.NET Message-ID: <87a75v2pse.fsf@mail.linkov.net> References: <8336bwm5xm.fsf@gnu.org> <834kwbljz9.fsf@gnu.org> <71cbf0ec-0c7b-3fc7-e5e0-835c41dbc069@gmail.com> <83zhe3k16v.fsf@gnu.org> <588a8fc9-ef6f-1987-6608-4493d8bed277@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="106872"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel , 39360@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 07 01:44:11 2020 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 1izrkh-000RiC-Gn for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Feb 2020 01:44:11 +0100 Original-Received: from localhost ([::1]:48398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izrkg-0003zq-Hs for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 19:44:10 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36254) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izrkZ-0003zk-Ay for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:44:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izrkY-0003LP-Cb for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:44:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42792) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izrkY-0003LL-8x for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:44:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izrkY-0003F6-7S for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:44:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2020 00:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 39360 X-GNU-PR-Package: emacs Original-Received: via spool by 39360-submit@debbugs.gnu.org id=B39360.158103618412381 (code B ref 39360); Fri, 07 Feb 2020 00:44:02 +0000 Original-Received: (at 39360) by debbugs.gnu.org; 7 Feb 2020 00:43:04 +0000 Original-Received: from localhost ([127.0.0.1]:48765 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izrjb-0003DW-MZ for submit@debbugs.gnu.org; Thu, 06 Feb 2020 19:43:03 -0500 Original-Received: from fossa.birch.relay.mailchannels.net ([23.83.209.62]:42330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izrja-0003Cu-QJ for 39360@debbugs.gnu.org; Thu, 06 Feb 2020 19:43:03 -0500 X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 28A0D40064E; Fri, 7 Feb 2020 00:43:01 +0000 (UTC) Original-Received: from pdx1-sub0-mail-a28.g.dreamhost.com (100-96-18-5.trex.outbound.svc.cluster.local [100.96.18.5]) (Authenticated sender: dreamhost) by relay.mailchannels.net (Postfix) with ESMTPA id AF14C400AE4; Fri, 7 Feb 2020 00:43:00 +0000 (UTC) X-Sender-Id: dreamhost|x-authsender|jurta@jurta.org Original-Received: from pdx1-sub0-mail-a28.g.dreamhost.com ([TEMPUNAVAIL]. [64.90.62.162]) (using TLSv1.2 with cipher DHE-RSA-AES256-GCM-SHA384) by 0.0.0.0:2500 (trex/5.18.5); Fri, 07 Feb 2020 00:43:01 +0000 X-MC-Relay: Neutral X-MailChannels-SenderId: dreamhost|x-authsender|jurta@jurta.org X-MailChannels-Auth-Id: dreamhost X-Spill-Dime: 5ae1ac8542443225_1581036180967_3242889031 X-MC-Loop-Signature: 1581036180967:3496119360 X-MC-Ingress-Time: 1581036180966 Original-Received: from pdx1-sub0-mail-a28.g.dreamhost.com (localhost [127.0.0.1]) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTP id DF5BC817E2; Thu, 6 Feb 2020 16:42:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=linkov.net; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=linkov.net; bh=UUrG1Eet9eNu/C9XAOebdelmlJg=; b= o9y7IqGCW+nrM51wXV/4JJSndmVFQuskMR4yF/aCALrub1NbPWVWo0hzEuwgSoeS 3jTjED84g7IpPER5DmLXE5ubfLCWrYIxtPbnIc3sy4BSJ/PvJDqV2d4sANy0V0+2 I3mh3yxHWTrCI/lNeJ2N+z57vIpp1+LiNGlJWElAp/A= Original-Received: from mail.jurta.org (m91-129-105-126.cust.tele2.ee [91.129.105.126]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: jurta@jurta.org) by pdx1-sub0-mail-a28.g.dreamhost.com (Postfix) with ESMTPSA id 159D4817C9; Thu, 6 Feb 2020 16:42:56 -0800 (PST) X-DH-BACKEND: pdx1-sub0-mail-a28 In-Reply-To: <588a8fc9-ef6f-1987-6608-4493d8bed277@yandex.ru> (Dmitry Gutov's message of "Fri, 7 Feb 2020 03:27:15 +0300") X-VR-OUT-STATUS: OK X-VR-OUT-SCORE: -100 X-VR-OUT-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgedugedrheeggddvhecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucggtfgfnhhsuhgsshgtrhhisggvpdfftffgtefojffquffvnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvffuohhfffgjkfgfgggtsehttdertddtredtnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecukfhppeeluddruddvledruddthedruddvieenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmhepmhhouggvpehsmhhtphdphhgvlhhopehmrghilhdrjhhurhhtrgdrohhrghdpihhnvghtpeeluddruddvledruddthedruddviedprhgvthhurhhnqdhprghthheplfhurhhiucfnihhnkhhovhcuoehjuhhriheslhhinhhkohhvrdhnvghtqedpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnrhgtphhtthhopegughhuthhovheshigrnhguvgigrdhruh X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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" Xref: news.gmane.io gmane.emacs.bugs:175734 Archived-At: >>>> The newline is inside the parentheses, but the empty space to the >>>> right of the newline is not part of the text. Why should it be >>>> highlighted? >>> For the same reason that the region highlight goes to the edge of the window, I think. >> We left the region as it was to avoid too strong outcry. In general, >> region should also not extend, IMO. > > How about the reasons of consistency? > > I'd be fine if region was not extended. But since we do extend it, why not > make other face defaults in similar situations consistent with that? There are not too many faces that could be extended for the same reason why the region face is extended. From all faces that I used only a few required customizing to add :extend t, namely: mm-uu-extract org-block org-block-begin-line xref-file-header (because I customized it to have a grey background color like in diff-mode)