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

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

elisp-mode: quoted parenthesis spuriously highlights matching close pare


From: Alan Mackenzie
Subject: elisp-mode: quoted parenthesis spuriously highlights matching close paren.
Date: 10 Mar 2002 00:09:38 +0100
Date: Sat, 9 Mar 2002 20:21:31 +0000
User-agent: tin/1.4.5-20010409 ("One More Nightmare") (UNIX) (Linux/2.0.35 (i686))

Emacs 21.1, emacs-lisp-mode.

I have show-paren-mode enabled.

With point at the open parenthesis at position 2 in this line:

        (memq (char-before) '(?\; ?} ?\())
                             1         23 


the close parenthesis at position 3 is spuriously highlighted as its
mate.  Since the open-paren at 2 is merely a character constant, emacs
shouldn't attempt to match it with any close paren.

When point is placed after the close parenthesis at 3, it's correct
partner, at position 1, is highlighted.
 
-- 
Alan Mackenzie (Munich, Germany)
Email: aacm@muuc.dee; to decode, wherever there is a repeated letter
(like "aa"), remove half of them (leaving, say, "a").




reply via email to

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