GNU bug report logs - #29967
24.5; Bash syntax highlighting: wrong closing double quote mark

Previous Next

Package: emacs;

Reported by: Sam Kuper <sam.kuper <at> uclmail.net>

Date: Wed, 3 Jan 2018 20:48:02 UTC

Severity: normal

Found in version 24.5

Fixed in version 25.1

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #8 received at 29967 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Sam Kuper <sam.kuper <at> uclmail.net>
Cc: 29967 <at> debbugs.gnu.org
Subject: Re: bug#29967: 24.5;
 Bash syntax highlighting: wrong closing double quote mark
Date: Wed, 03 Jan 2018 22:00:20 +0100
On Jan 03 2018, Sam Kuper <sam.kuper <at> uclmail.net> wrote:

> --text follows this line--
>
> - Run `emacs -Q emacs_syntax_highlighting_bug.bash` (the latter file is
>   attached).
>
> - Note the double quote mark on line 5.
>
> - Emacs incorrectly assumes that the corresponding closing double
>   quote mark is the one on line 10, but in fact it is the one on line 11.
>
> - As a result, the rest of the script (i.e. beyond the double
>   quote mark on line 10) has incorrect syntax highlighting.

That works correctly for me in Emacs 26, so it appears to be fixed
already.

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 7 years and 134 days ago.

Previous Next


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