emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#13156: closed (dedicated face for parentheses in l


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#13156: closed (dedicated face for parentheses in lisp modes)
Date: Mon, 12 Aug 2019 01:06:03 +0000

Your message dated Mon, 12 Aug 2019 03:05:40 +0200
with message-id <address@hidden>
and subject line Re: bug#13156: dedicated face for parentheses in lisp modes
has caused the debbugs.gnu.org bug report #13156,
regarding dedicated face for parentheses in lisp modes
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden.)


-- 
13156: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13156
GNU Bug Tracking System
Contact address@hidden with problems
--- 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

Attachment: 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]