[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#8036: [PATCH] Prevent hide-show mode from getting confused by braces
From: |
Dima Kogan |
Subject: |
bug#8036: [PATCH] Prevent hide-show mode from getting confused by braces in comments |
Date: |
Sun, 13 Feb 2011 23:02:57 -0800 |
Emacs bug #700 (http://debbugs.gnu.org/cgi/bugreport.cgi?bug=700)
contained a patch by Dmitry Bolshakov addressing 2 issues in hide-show
minor mode. The fix to one of the issues got integrated into the code
base, but the other one fell through the cracks, I think. The issue it
fixes is to prevent hide-show mode from parsing braces inside comments.
These braces can confuse the parser, since they don't necessarily match
up.
I'm attaching Dmitry's test case that demonstrates the issue, and his patch to
fix it.
dima
unbalanced-braces-test.pl
Description: Perl program
hs.patch
Description: Text Data
- bug#8036: [PATCH] Prevent hide-show mode from getting confused by braces in comments,
Dima Kogan <=
- Message not available