[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region
From: |
João Távora |
Subject: |
bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal |
Date: |
Fri, 18 Dec 2020 15:26:26 +0000 |
On Fri, Dec 18, 2020 at 3:22 PM Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> On 18.12.2020 13:42, João Távora wrote:
>
> > I think this is rather a thingatpt.el issue, which makes no mention of
> > match-data destruction. Regardless, it's decent enough to do that in
> > flymake-diag-region so I pushed save-match-data a bit higher.
>
> By default we assume that any function can destroy match-data (and only
> a certain set doesn't).
By that reasoning the problem should be solved in whoever called
flymake-diag-region and wrongly assumed it would keep match data.
Doesn't a seem very friendly API tho (and no idea who it was, anyway).
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, (continued)
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/12
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Lars Ingebrigtsen, 2020/12/13
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, João Távora, 2020/12/13
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/13
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, João Távora, 2020/12/14
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/15
- Message not available
- Message not available
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Glenn Morris, 2020/12/17
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/17
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, João Távora, 2020/12/18
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/18
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal,
João Távora <=
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, Dmitry Gutov, 2020/12/18
- bug#29193: 26.0.90; Using (thing-at-point 'sexp) in flymake-diag-region might be suboptimal, João Távora, 2020/12/18