help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Debugging SMIE for sh-script.el


From: Stefan Monnier
Subject: Re: Debugging SMIE for sh-script.el
Date: Thu, 02 Sep 2021 15:50:14 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> This means that our line has been indented by the default logic of
> smie-indent-exps. If we go through it we'll see that it's trying to align
> with the first arg of sexp which it thinks is "/bar". So in effect it's
> treating your expression as if it was:
>
> ({foo} /bar
>
>            --baz \ --quux)

Indeed, the problem seems to be in `sh-smie-sh-forward-token` where it
should skip over the whole of "${foo}/bar".


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]