GNU bug report logs - #11982
24.1.50; (Contains ERT Test) show-paren-mode doesn't work in C comments if there's a quote between the parenthesis (affects c-mode and modes derived from it)

Previous Next

Package: emacs;

Reported by: Rolando Pereira <rolando_pereira <at> sapo.pt>

Date: Wed, 18 Jul 2012 20:23:01 UTC

Severity: minor

Tags: confirmed, fixed

Found in versions 25.3, 25.2, 24.1.50

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Vincent Lefevre <vincent <at> vinc17.net>
To: 11982 <at> debbugs.gnu.org
Subject: bug#11982: 24.1.50; (Contains ERT Test) show-paren-mode doesn't work in C comments if there's a quote between the parenthesis (affects c-mode and modes derived from it)
Date: Thu, 22 Aug 2019 15:45:01 +0200
On 2012-07-18 21:16:17 +0100, Rolando Pereira wrote:
> In c-mode if you type the following comment with M-x show-paren-mode
> activated, the closing parenthesis is highlighted correctly:
> 
> // Lorem ipsum (dolor sit amet)
> 
> However, if the ' character appears inside the parenthesis, then
> show-paren-mode won't match them.
> 
> For example, when typing the following comment, show-paren-mode highlights
> the closing parenthesis using show-paren-mismatch:
> 
> // Comments are good (aren't they?)

I can reproduce this bug with Emacs 26.1 from the Debian package,
but the current development version seems fine. Has this bug been
fixed?

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)




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

Previous Next


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