unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 46501@debbugs.gnu.org
Subject: bug#46501: Shell-script mode vs here-docs
Date: Fri, 17 Jun 2022 15:48:58 +0200	[thread overview]
Message-ID: <874k0j8kol.fsf@gnus.org> (raw)
In-Reply-To: <87v9avwkm2.8.fsf@jidanni.org> ("積丹尼 Dan Jacobson"'s message of "Sun, 14 Feb 2021 08:36:53 +0800")

積丹尼 Dan Jacobson <jidanni@jidanni.org> writes:

> $ cat s.sh
> #!/bin/bash
> xxx=yyy
> #Here Shell-script mode should make the $(beep) into the same color as
> the rest of the line:
> cat <<\EOF
> Bla Bla $xxx $(beep)
> EOF
> #And here Shell-script mode should make $xxx a different color than
> the rest of the line:
> cat <<EOF
> Bla Bla $xxx $(beep)
> EOF
> #By the way, in this comment, $(beep) should be the same color as the
> rest of the comment.
> $ emacs -Q s.sh
> (By the way, changing /bin/bash to /bin/sh above fixes most of the
> problems.)
> emacs-version "27.1"

This looks like a duplicate of bug#6391, so I've now merged them.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2022-06-17 13:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-14  0:36 bug#46501: Shell-script mode vs here-docs 積丹尼 Dan Jacobson
2022-06-17 13:48 ` Lars Ingebrigtsen [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=874k0j8kol.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=46501@debbugs.gnu.org \
    --cc=jidanni@jidanni.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).