GNU bug report logs -
#46501
Shell-script mode vs here-docs
Previous Next
To reply to this bug, email your comments to 46501 AT debbugs.gnu.org.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#46501
; Package
emacs
.
(Sun, 14 Feb 2021 02:16:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 14 Feb 2021 02:16:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
$ 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"
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#46501
; Package
emacs
.
(Fri, 17 Jun 2022 13:50:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 46501 <at> debbugs.gnu.org (full text, mbox):
積丹尼 Dan Jacobson <jidanni <at> 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
Forcibly Merged 6391 46501.
Request was from
Lars Ingebrigtsen <larsi <at> gnus.org>
to
control <at> debbugs.gnu.org
.
(Fri, 17 Jun 2022 13:50:02 GMT)
Full text and
rfc822 format available.
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.