|
From: | Stefan Monnier |
Subject: | bug#19342: auto-fill scan-error in sh-mode |
Date: | Thu, 05 May 2022 16:03:21 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
> Any comments? Looks OK to me. Tho maybe in the interest of minimizing the indentation depth (and the amount of text changes in the patch), maybe we could just use something like: (let ((newcol (condition-case nil (smie-indent-calculate) (scan-error (point-max)))) [...] where `point-max` is just a large enough value that the subsequent computation of `newgain` leads to skipping this choice. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |