GNU bug report logs - #29193
26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal

Previous Next

Package: emacs;

Reported by: Dmitry Gutov <dgutov <at> yandex.ru>

Date: Tue, 7 Nov 2017 15:29:01 UTC

Severity: minor

Found in version 26.0.90

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


Message #23 received at 29193 <at> debbugs.gnu.org (full text, mbox):

From: João Távora <joaotavora <at> gmail.com>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: Lars Ingebrigtsen <larsi <at> gnus.org>, 29193 <at> debbugs.gnu.org
Subject: Re: bug#29193: 26.0.90; Using (thing-at-point 'sexp) in
 flymake-diag-region might be suboptimal
Date: Mon, 14 Dec 2020 11:03:13 +0000
On Sun, Dec 13, 2020 at 8:55 PM Dmitry Gutov <dgutov <at> yandex.ru> wrote:
>
> On 13.12.2020 15:19, João Távora wrote:
> > -                         (sexp-end (ignore-errors (end-of-thing 'sexp)))
> > +                         (sexp-end (or (ignore-errors (end-of-thing 'sexp))
> > +                                       (ignore-errors (end-of-thing 'symbol))))
>
> That seems to fix it, thank you.

Feel free to push if you can't come up with anything better in ruby-mode.

João




This bug report was last modified 4 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.