|
From: | Dmitry Gutov |
Subject: | bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal |
Date: | Wed, 16 Dec 2020 02:55:04 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 |
On 14.12.2020 13:03, João Távora wrote:
Feel free to push if you can't come up with anything better in ruby-mode.
Pushed, and closing, thanks.Regarding "doing the fix in the proper place", the alternative would be changing the implementation of thing-at-point--end-of-sexp.
But I'm not sure it's a well-defined function. It clearly special-cases characters with class "closing paren". And there's no clear counterpart for 'end' (even though it's a sexp closer in ruby-mode's syntax).
[Prev in Thread] | Current Thread | [Next in Thread] |