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: Nikolay Kudryavtsev
Subject: Re: Debugging SMIE for sh-script.el
Date: Sun, 5 Sep 2021 21:01:08 +0300
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0

I do understand that, but the default (smie-indent-calculate) cycle being inadequate for the current use case is where we started at. I'm just saying that since someone has already introduced a custom function (sh-smie--indent-continuation) for dealing with this particular use case, we might as well implement whatever proper logic is required within it.

Actually, I'm not even sure if introducing (sh-smie--indent-continuation) was warranted, since we could just have implemented a (:after . "\")  rule, but I'm probably missing some particular use case or caveat requiring it.




reply via email to

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