GNU bug report logs - #9461
24.0.50; Weird behaviour in "show-paren-mode"

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Wed, 7 Sep 2011 17:26:01 UTC

Severity: normal

Found in version 24.0.50

Done: Juri Linkov <juri <at> jurta.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Dani Moncayo <dmoncayo <at> gmail.com>
Cc: 9461 <at> debbugs.gnu.org
Subject: bug#9461: 24.0.50; Weird behaviour in "show-parent-mode"
Date: Wed, 07 Sep 2011 22:39:58 +0200
Dani Moncayo <dmoncayo <at> gmail.com> writes:

>>From "emacs -Q":
> 1. Create a new buffer: C-x b tmp <RET>
> 2. Turn "show-paren-mode" on: M-x show-paren-mode <RET>
> 3. Write "\(hello\)".
>
> The resulting buffer appearance is shown in the attached file.
>
> Why is Emacs trying to match the first "\" with the last ")"?

Because that's where scan-sexps moves to.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 13 years and 315 days ago.

Previous Next


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