all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dale Mellor <debian-bugs-ffbwxg@rdmp.org>
To: 6391@debbugs.gnu.org
Subject: bug#6391: emacs: Wrong face with here-docs in sh-mode
Date: Sat, 21 Mar 2020 22:42:00 +0000	[thread overview]
Message-ID: <5eb0243fe1be1a23b6353b7308360a44c7ff5a6b.camel@rdmp.org> (raw)
In-Reply-To: <ac3b7d936e1ceca5cec8d63ebe4afd54d6b148ce.camel@rdmp.org>

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.






  parent reply	other threads:[~2020-03-21 22:42 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1aac0e111e0356d84eb3c968b1fe553547298abe.camel@rdmp.org>
2010-06-10 14:10 ` bug#6391: 23.2; Wrong face with here-docs in sh-mode Ralf Doering
2010-06-11  3:34   ` Glenn Morris
2010-06-11  8:22     ` Andreas Schwab
2010-06-14 17:50       ` Glenn Morris
2020-03-21 18:07   ` bug#6391: emacs: " Dale Mellor
2020-03-21 21:53     ` Noam Postavsky
2020-03-21 22:42     ` Dale Mellor [this message]
2020-03-21 23:54       ` Noam Postavsky

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5eb0243fe1be1a23b6353b7308360a44c7ff5a6b.camel@rdmp.org \
    --to=debian-bugs-ffbwxg@rdmp.org \
    --cc=6391@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.