GNU bug report logs - #13156
dedicated face for parentheses in lisp modes

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Wed, 12 Dec 2012 12:21:02 UTC

Severity: wishlist

Tags: wontfix

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jonas Bernoulli <jonas <at> bernoul.li>
Subject: bug#13156: closed (Re: bug#13156: dedicated face for parentheses
 in lisp modes)
Date: Mon, 12 Aug 2019 01:06:03 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#13156: dedicated face for parentheses in lisp modes

which was filed against the emacs package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 13156 <at> debbugs.gnu.org.

-- 
13156: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13156
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefan Kangas <stefan <at> marxist.se>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: Jonas Bernoulli <jonas <at> bernoul.li>, 13156-done <at> debbugs.gnu.org
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 <monnier <at> iro.umontreal.ca> 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

[Message part 3 (message/rfc822, inline)]
From: Jonas Bernoulli <jonas <at> bernoul.li>
To: bug-gnu-emacs <at> gnu.org
Subject: dedicated face for parentheses in lisp modes
Date: Wed, 12 Dec 2012 13:19:07 +0100
[Message part 4 (text/plain, inline)]
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 (application/emacs-lisp, attachment)]

This bug report was last modified 5 years and 289 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.