[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tracking buffer positions across time, without markers (was Re: PL s
From: |
Clément Pit-Claudel |
Subject: |
Re: Tracking buffer positions across time, without markers (was Re: PL support) |
Date: |
Sat, 9 May 2020 23:45:13 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.7.0 |
On 09/05/2020 19.26, João Távora wrote:
> This is done with an idle timer, much the way that Flycheck
> works, I believe.
Yup, it's a longstanding issue in Flycheck ^^
> > A bit. But this works only if the interaction is fast enough, right? (Same
> > for syntax errors: positions may well be outdated by the time the errors
> > come back)
> By that time another request is probably already underway.
As long as the requests are fast. With slow checkers (typically, proof
assistants and automated reasoning tools, a single query can easily take a
minute — by that point lots can have changed in a buffer.
The APIs that make this work in Visual Studio (spans and snapshots) are
described here:
https://docs.microsoft.com/en-us/visualstudio/extensibility/inside-the-editor?view=vs-2019
I'd love to hear opinions on what the proper implementation of this would for
Emacs be.
- Tracking buffer positions across time, without markers (was Re: PL support), Clément Pit-Claudel, 2020/05/09
- Re: Tracking buffer positions across time, without markers (was Re: PL support), João Távora, 2020/05/09
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Clément Pit-Claudel, 2020/05/09
- Re: Tracking buffer positions across time, without markers (was Re: PL support), João Távora, 2020/05/09
- Re: Tracking buffer positions across time, without markers (was Re: PL support),
Clément Pit-Claudel <=
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Eli Zaretskii, 2020/05/10
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Clément Pit-Claudel, 2020/05/10
- RE: Tracking buffer positions across time, without markers (was Re: PL support), Drew Adams, 2020/05/10
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Eli Zaretskii, 2020/05/10
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Clément Pit-Claudel, 2020/05/10
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Eli Zaretskii, 2020/05/11
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Clément Pit-Claudel, 2020/05/11
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Stefan Monnier, 2020/05/11
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Stefan Monnier, 2020/05/10
- Re: Tracking buffer positions across time, without markers (was Re: PL support), Eli Zaretskii, 2020/05/10