--- Begin Message ---
Subject: |
dedicated face for parentheses in lisp modes |
Date: |
Wed, 12 Dec 2012 13:19:07 +0100 |
User-agent: |
mu4e 0.9.9.5-dev4; emacs 24.3.50.1 |
Hello
Could you please add a `paren-face' that could be used in lisp modes
(and possibly others) to dim (or highlight) parentheses. I am currently
using the attached library to do this but think it would make sense if
this functionality was built-in.
Being very simple `parenface.el' just unconditionally adds an additional
keyword to `[lisp|scheme]-font-lock-keywords' when loaded.
I see two ways of implementing this as part of Emacs.
1. Add the keyword to `[lisp|scheme]-font-lock-keywords-2' directly and
let `paren-face' inherit from `default'. Users who actually want
parens to be dimmed or highlight can then customize the former.
2. Define a local minor mode that adds the additional keywords.
I would prefer (1) but maybe that is not an option because it might
negatively affects font-lock's performance.
If this has to be a mode then I am happy to write it. I haven't done
so yet because `parenface.el' works fine for me and because I would
actually prefer (1).
Thanks for considering,
Jonas
parenface.el
Description: application/emacs-lisp
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#13156: dedicated face for parentheses in lisp modes |
Date: |
Mon, 12 Aug 2019 03:05:40 +0200 |
tags 13156 + wontfix
thanks
Stefan Monnier <address@hidden> writes:
>> Could you please add a `paren-face' that could be used in lisp modes
>> (and possibly others) to dim (or highlight) parentheses. I am currently
>> using the attached library to do this but think it would make sense if
>> this functionality was built-in.
>
> I don't think it's sufficiently useful in general.
Since this was rejected in 2012, I'm closing it as wontfix.
If anyone disagrees with that, feel free to reopen.
Thanks,
Stefan Kangas
--- End Message ---