Subject: 26.1; ada-mode 6.1.0 re-parses the entire buffer to find the subprogram containing point

From: Ludovic Brenta <[email-masked]>
Date: Wed, 05 Jun 2019 16:19:42 +0200

Package: emacs, ada-mode
X-Debbugs-CC: [email-masked]
Severity: minor

Hello,

When wisi-parse-threshold is less than the buffer size,
ada-mode should use partial parsing only for performance;
but when which-function-mode is active, it re-parses the
entire buffer between keystrokes, defeating the purpose
of partial parsing.  In fact, performance is worse as
both partial and complete parsing are performed.

Workaround: disable which-function-mode; this makes a
massive difference in performance and overall responsiveness.

-- 
Ludovic Brenta.