unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#39360: Add :extend attribute to show-paren-mode expression face
@ 2020-01-30 21:08 Clément Pit-Claudel
  2020-01-30 23:35 ` Dmitry Gutov
                   ` (2 more replies)
  0 siblings, 3 replies; 26+ messages in thread
From: Clément Pit-Claudel @ 2020-01-30 21:08 UTC (permalink / raw)
  To: 39360

[-- Attachment #1: Type: text/plain, Size: 260 bytes --]

Hi all,

I've attached a patch to add :extend the show-paren-mode face applied to expressions.  Is that the right way to return to the previous behavior?
I might have missed discussions about this; is there a reason why :extend t isn't the default?

Clément.

[-- Attachment #2: 0001-Add-extend-face-property-to-show-paren-match-express.patch --]
[-- Type: text/x-patch, Size: 875 bytes --]

From 7f7221e35d48755c814e4ee3b08c298a8717d883 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Pit-Claudel?= <clement.pitclaudel@live.com>
Date: Thu, 30 Jan 2020 16:02:02 -0500
Subject: [PATCH] Add :extend face property to show-paren-match-expression

* lisp/faces.el (show-paren-match-expression): Add :extend attribute.
---
 lisp/faces.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 9a49ea8104..6a4cf2a2a2 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2841,7 +2841,7 @@ show-paren-match
   :group 'paren-showing-faces)
 
 (defface show-paren-match-expression
-  '((t :inherit show-paren-match))
+  '((t :inherit show-paren-match :extend t))
   "Face used for a matching paren when highlighting the whole expression.
 This face is used by `show-paren-mode'."
   :group 'paren-showing-faces
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2020-09-20 10:01 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-30 21:08 bug#39360: Add :extend attribute to show-paren-mode expression face Clément Pit-Claudel
2020-01-30 23:35 ` Dmitry Gutov
2020-01-31  7:38 ` Eli Zaretskii
2020-01-31 14:52   ` Clément Pit-Claudel
2020-01-31 15:32     ` Eli Zaretskii
2020-01-31 15:51       ` Clément Pit-Claudel
2020-01-31 17:03         ` Eli Zaretskii
2020-02-07  0:27           ` Dmitry Gutov
2020-02-07  0:40             ` Juri Linkov
2020-02-07  8:13               ` Eli Zaretskii
2020-02-07  8:02             ` Eli Zaretskii
2020-01-31 15:44     ` martin rudalics
2020-01-31 15:55       ` Eli Zaretskii
2020-01-31 16:12         ` Clément Pit-Claudel
2020-01-31 17:12           ` Eli Zaretskii
2020-01-31 17:19             ` Dmitry Gutov
2020-01-31 19:19               ` Eli Zaretskii
2020-01-31 17:22             ` Eli Zaretskii
2020-02-01 20:54               ` Clément Pit-Claudel
2020-01-31 16:45         ` martin rudalics
2020-01-31 16:03     ` Stephen Berman
2020-01-31 16:45       ` martin rudalics
2020-01-31 17:15         ` Eli Zaretskii
2020-01-31 17:07       ` Eli Zaretskii
2020-01-31 16:07     ` Stephen Berman
2020-09-20 10:01 ` Lars Ingebrigtsen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).