From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#39360: Add :extend attribute to show-paren-mode expression face Date: Fri, 7 Feb 2020 03:27:15 +0300 Message-ID: <588a8fc9-ef6f-1987-6608-4493d8bed277@yandex.ru> References: <8336bwm5xm.fsf@gnu.org> <834kwbljz9.fsf@gnu.org> <71cbf0ec-0c7b-3fc7-e5e0-835c41dbc069@gmail.com> <83zhe3k16v.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="42744"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0 Cc: 39360@debbugs.gnu.org To: Eli Zaretskii , =?UTF-8?Q?Cl=C3=A9ment?= Pit-Claudel Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Feb 07 01:28:19 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 1izrVI-000AyN-MF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 07 Feb 2020 01:28:16 +0100 Original-Received: from localhost ([::1]:48306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izrVH-00067d-EK for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 06 Feb 2020 19:28:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59480) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izrV6-00061W-HX for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:28:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izrV4-0004Tr-B4 for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:28:04 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42774) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1izrV4-0004T1-7O for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:28:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1izrV4-0002r9-2a for bug-gnu-emacs@gnu.org; Thu, 06 Feb 2020 19:28:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Feb 2020 00:28: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.158103524510937 (code B ref 39360); Fri, 07 Feb 2020 00:28:02 +0000 Original-Received: (at 39360) by debbugs.gnu.org; 7 Feb 2020 00:27:25 +0000 Original-Received: from localhost ([127.0.0.1]:48747 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izrUT-0002qL-Ej for submit@debbugs.gnu.org; Thu, 06 Feb 2020 19:27:25 -0500 Original-Received: from mail-lj1-f174.google.com ([209.85.208.174]:34011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izrUR-0002q8-Mm for 39360@debbugs.gnu.org; Thu, 06 Feb 2020 19:27:24 -0500 Original-Received: by mail-lj1-f174.google.com with SMTP id x7so259949ljc.1 for <39360@debbugs.gnu.org>; Thu, 06 Feb 2020 16:27:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=Gmmsz+kntvELKG24WE00c/fyQlUVtcREewLZQFtbtUs=; b=vUrGm/LgidtJqI5U1tsQYFkW2f5wTQmeu5EO4JqEHdtL8Pm8DznNf4sc2r+kjscRIc C6luCVtC5mfKUyZMBxiA1Sox9xkElQ6tuMugX1sGvly128V7dGVlkdHTxYTn3hRQuVM7 O66jgheXoxmWBnRchjBFz0VpC9/0LYvMXGNDeqrxCKc1kcWZS8us4ii3GIzMWTAmPY3F 4UlDfKf92iZy7KN1iBnVR/Rv0QMygsRHBRiFkVQNZW/d5sXPprn3iNKOJDgcAXyAWO1p q7M5li50KZL2Q0t1IofdvEGt0Ekoopui8qVF67kJIZz2QO0DXzn+9P2nssUrjoDIZv4q Cayw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=Gmmsz+kntvELKG24WE00c/fyQlUVtcREewLZQFtbtUs=; b=hOzq/aybbZllxBfZw4brf8wQFmfEh9gqu9+vRKqR1h4aVJSl7SsRgQmSCbvTawIX7w g5C/BHXEWXGx8x0PKY7Gq2bUm1e5ObNvDhqXpCDV+800FgBBBYpbQd3IKqADbHNXiyno cSmLcwRPJwg7VTZgWaS1l7T6eIsZOn2bDuJ/ev/GgJv8L+b5GwANNq1vsRTbBxdW8CZ1 CPLMO5TDBIWbdrch2MFbZS7ClUVz+2378wIPlIcw4rCSJrV16QJURfr+Id+5Xd6mz2yB CCF5WD4IYkr5h6+EqV1rs+eka7T4a7HA1vntgxOC4M2TIcx8GAgnjhZDt61VGRboY5nR Elag== X-Gm-Message-State: APjAAAXSvNA7cKuvLlQlOKSoQdlTbNVS+ygM+Ruoijv6Zzx0cbImq9OY B4+7NakASZNLqaUMjFdQdcOjn2952+U= X-Google-Smtp-Source: APXvYqwOX1a0EeY0eWcwupUF4HGufxSWIwEyA49vkn6jEqp/dlZKZvYuR+fjxVKmi4FA75p4PCJYKg== X-Received: by 2002:a05:651c:299:: with SMTP id b25mr3848437ljo.1.1581035237282; Thu, 06 Feb 2020 16:27:17 -0800 (PST) Original-Received: from [192.168.1.142] ([178.252.127.239]) by smtp.googlemail.com with ESMTPSA id h10sm364860ljc.39.2020.02.06.16.27.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 06 Feb 2020 16:27:16 -0800 (PST) In-Reply-To: <83zhe3k16v.fsf@gnu.org> Content-Language: en-US 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:175731 Archived-At: On 31.01.2020 20:03, Eli Zaretskii wrote: >>> 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?