From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#39360: Add :extend attribute to show-paren-mode expression face Date: Fri, 31 Jan 2020 19:15:43 +0200 Message-ID: <83sgjvk0n4.fsf@gnu.org> References: <8336bwm5xm.fsf@gnu.org> <87pnezehpe.fsf@gmx.net> <861e9506-628a-ced4-7332-179df6c10964@gmx.at> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="34123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: cpitclaudel@gmail.com, stephen.berman@gmx.net, 39360@debbugs.gnu.org To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jan 31 18:17:13 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 1ixZur-0008pX-2f for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jan 2020 18:17:13 +0100 Original-Received: from localhost ([::1]:56834 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixZuq-0006sy-57 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 31 Jan 2020 12:17:12 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60151) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ixZuh-0006sq-IT for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 12:17:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ixZug-00020b-Jl for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 12:17:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60265) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ixZug-00020D-Am for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 12:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ixZug-0006UA-6D for bug-gnu-emacs@gnu.org; Fri, 31 Jan 2020 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 31 Jan 2020 17:17: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.158049098024876 (code B ref 39360); Fri, 31 Jan 2020 17:17:02 +0000 Original-Received: (at 39360) by debbugs.gnu.org; 31 Jan 2020 17:16:20 +0000 Original-Received: from localhost ([127.0.0.1]:38005 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixZu0-0006TA-Iu for submit@debbugs.gnu.org; Fri, 31 Jan 2020 12:16:20 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ixZtz-0006Sy-86 for 39360@debbugs.gnu.org; Fri, 31 Jan 2020 12:16:19 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49601) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ixZtu-0000uz-2Y; Fri, 31 Jan 2020 12:16:14 -0500 Original-Received: from [176.228.60.248] (port=4690 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ixZti-0000UC-0w; Fri, 31 Jan 2020 12:16:12 -0500 In-reply-to: <861e9506-628a-ced4-7332-179df6c10964@gmx.at> (message from martin rudalics on Fri, 31 Jan 2020 17:45:39 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:175516 Archived-At: > From: martin rudalics > Date: Fri, 31 Jan 2020 17:45:39 +0100 > Cc: 39360@debbugs.gnu.org > > > What also looks weird and infelicitous to me is that a nonextending > > background color face on multiple lines shows up on the empty space at > > the beginning of a line, i.e., it appears to extend into this space, see > > attached screenshot. I think this only happens with white space > > characters, not with lines indented e.g. with wrap-prefix. It would be > > nice to treat all "empty" space the same in this respect. > > It would be nice to have that. But I doubt that it can be done. It can be done, it just isn't trivial. The implementation could be similar to trailing-whitespace (which isn't trivial, either). But again, I'm not sure we should discuss these changes so soon. The face-extension feature is not out of the woods yet, IMO.