all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
To: 46501@debbugs.gnu.org
Subject: bug#46501: Shell-script mode vs here-docs
Date: Sun, 14 Feb 2021 08:36:53 +0800	[thread overview]
Message-ID: <87v9avwkm2.8.fsf@jidanni.org> (raw)

$ 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"





             reply	other threads:[~2021-02-14  0:36 UTC|newest]

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

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=87v9avwkm2.8.fsf@jidanni.org \
    --to=jidanni@jidanni.org \
    --cc=46501@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.