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

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

bug#11982: 24.1.50; (Contains ERT Test) show-paren-mode doesn't work in


From: Vincent Lefevre
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 17:20:20 +0200
User-agent: Mutt/1.12.1+19 (078654a4) vl-117499 (2019-06-15)

On 2019-08-22 11:05:04 -0400, Noam Postavsky wrote:
> I can reproduce up to 25.3, but it seems to be fixed in 26.1.

No, not fixed in 26.1, where this depends on some context.
This is rather random, but here's a way to reproduce the
bug in Debian:

1. emacs-gtk -Q foo.c
   (where foo.c does not exist)

2. Paste "// Comments are good (aren't they?)"

3. Type C-M-p

I get an error:

forward-list: Scan error: "Unbalanced parentheses", 35, 1

This problem does not occur without the apostrophe.

-- 
Vincent Lefèvre <vincent@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)





reply via email to

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