unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#72745: `bash-mode` doesn't recognize comments inside command substitution
@ 2024-08-21 13:02 shynur .
  2024-08-24  9:19 ` Eli Zaretskii
  0 siblings, 1 reply; 4+ messages in thread
From: shynur . @ 2024-08-21 13:02 UTC (permalink / raw)
  To: 72745

Reproduce:
  1. echo -e 'echo $(echo 42  # print 42)\n)' > /tmp/a.bash
     Content of `/tmp/a.bash`:
          echo $(echo 42  # print 42)                                                                                         
          )
  2. emacs -Q, version 29.4
  3. eval: (set-face-italic font-lock-comment-face t)
  4. Open file `/tmp/a.bash`.

Only the first `)` is italic; "# print 42" is not.




^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-08-24 15:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-21 13:02 bug#72745: `bash-mode` doesn't recognize comments inside command substitution shynur .
2024-08-24  9:19 ` Eli Zaretskii
2024-08-24 15:12   ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-08-24 15:28     ` Eli Zaretskii

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).