all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vasilij Schneidermann <mail@vasilij.de>
To: 16500@debbugs.gnu.org
Cc: Lars Ingebrigtsen <larsi@gnus.org>,
	Mikhail Gusarov <dottedmag@dottedmag.net>
Subject: bug#16500: 24.3.50; Wrong font-lock backquote highlighting in plan9 rc
Date: Sat, 3 Sep 2022 10:22:13 +0200	[thread overview]
Message-ID: <YxMOtSbqMah1bwqq@odonien> (raw)
In-Reply-To: <m2mwit4p8l.fsf@newton.dottedmag.net>

[-- Attachment #1: Type: text/plain, Size: 405 bytes --]

I've run into this bug while switching all my sh/bash scripts to rc and
used the following workaround:

    (defun my-sh-set-shell-hook ()
      (when (member sh-shell '(rc es))
        (modify-syntax-entry ?` ".")))
    
    (add-hook 'sh-set-shell-hook 'my-sh-set-shell-hook)

I doubt this warrants inclusion into sh-script.el as is, but should
demonstrate a possible approach how to fix it.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

  parent reply	other threads:[~2022-09-03  8:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-18  9:24 bug#16500: 24.3.50; Wrong font-lock backquote highlighting in plan9 rc variant of sh-mode Mikhail Gusarov
2019-10-30 13:55 ` Lars Ingebrigtsen
2022-09-03  8:22 ` Vasilij Schneidermann [this message]
2022-09-03 10:02   ` bug#16500: 24.3.50; Wrong font-lock backquote highlighting in plan9 rc 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=YxMOtSbqMah1bwqq@odonien \
    --to=mail@vasilij.de \
    --cc=16500@debbugs.gnu.org \
    --cc=dottedmag@dottedmag.net \
    --cc=larsi@gnus.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.