GNU bug report logs - #6391
23.2; Wrong face with here-docs in sh-mode

Previous Next

Package: emacs;

Reported by: Ralf Doering <rdoering <at> netsys-it.de>

Date: Thu, 10 Jun 2010 15:53:02 UTC

Severity: minor

Tags: confirmed

Merged with 46501

Found in versions 23.2, 25.2, 26.3

Full log


View this message in rfc822 format

From: Dale Mellor <debian-bugs-ffbwxg <at> rdmp.org>
To: 6391 <at> debbugs.gnu.org
Subject: bug#6391: emacs: Wrong face with here-docs in sh-mode
Date: Sat, 21 Mar 2020 22:42:00 +0000
On Sat, 2020-03-21 at 18:07 +0000, Dale Mellor wrote:
> Subject: Re: Bug#6391: emacs: Wrong face with here-docs in sh-mode
> 
> This bug is still present (since 2010!) in emacs-26.3.
> 
> Note that many of the previous comments are off the mark; it doesn't
> matter what characters make up the end marker, it is simply the
> presence of '-' at the start of the opening marker which triggers
> the 
> problem.
> 
> It would be really nice if someone would increase the severity of
> this
> bug.  The feature described may not be used very often, but when it
> is
> used the bug is a bit of a nightmare, and means that syntax
> highlighting of a shell script has to be turned off completely.

  Okay, I've made the error of combining '\' and '-' in the wrong
order, i.e. cat <<\-EOF...

  I can confirm that when these special characters are used in the
correct sequence, emacs highlighting works as it should, and this bug
is mostly fixed (but not for the '+++' case, which I think is probably
also wrong anyway).

  Sorry for the confusion, the bug can be considered closed as far as I
am concerned.





This bug report was last modified 2 years and 361 days ago.

Previous Next


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