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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Jonas Bernoulli <jonas <at> bernoul.li>
Cc: 13156 <at> debbugs.gnu.org
Subject: bug#13156: dedicated face for parentheses in lisp modes
Date: Tue, 18 Dec 2012 10:32:47 -0500
> 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.

> Being very simple `parenface.el' just unconditionally adds an additional
> keyword to `[lisp|scheme]-font-lock-keywords' when loaded.

It could use font-lock-add-keywords.

BTW, if all parens are displayed the same, then you can also use the
buffer-display-table.

> 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).

Having it as a separate mode would make more sense, yes.


        Stefan




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.