From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 37620@debbugs.gnu.org
Subject: bug#37620: 26.1; ada-mode 6.2.1 partial parsing occasionally hangs while moving point
Date: Tue, 19 Nov 2019 15:52:33 +0100 [thread overview]
Message-ID: <309cbcef219aeba8d0383a37b1c1f211@ludovic-brenta.org> (raw)
In-Reply-To: <d3f67fe0ca09d61c42bf1dcfb55a5fc5@ludovic-brenta.org>
No, the machine is not particularly loaded. I believe the most
likely cause is "the code has a syntax error that is particularly
hard to correct"; but this is only because of partial parsing as
the entire file is syntactically correct.
I'll send you the next source file where this happens; maybe
you can reproduce.
Increasing wisi-process-time-out to more than 5 seconds does not
seem like a solution to me; parsing the entire buffer (resulting in
no syntax errors, no attempted recovery and no time-out) takes
less than that. Also, since we are only moving point in an
unmodified buffer, interactive use requires 0.1 s response time or
less. Therefore, perhaps a solution would be to /decrease/
wisi-process-time-out and automatically launch a full parse
whenever it happens; as long as the buffer remains unmodified, no
re-parsing will take place.
--
Ludovic Brenta.
next prev parent reply other threads:[~2019-11-19 14:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-04 13:31 bug#37620: 26.1; ada-mode 6.2.1 partial parsing occasionally hangs while moving point Ludovic Brenta
2019-10-22 21:11 ` bug#37620: update Stephen Leake
2019-11-19 14:52 ` Ludovic Brenta [this message]
2019-11-19 15:02 ` bug#37620: 26.1; ada-mode 6.2.1 partial parsing occasionally hangs while moving point Ludovic Brenta
2020-03-03 22:29 ` Stephen Leake
2020-06-07 21:25 ` bug#37620: closed by ada-mode version 7.1.3 Stephen Leake
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=309cbcef219aeba8d0383a37b1c1f211@ludovic-brenta.org \
--to=ludovic@ludovic-brenta.org \
--cc=37620@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).