Subject: bug#36102: closed (close)

From: [email-masked] (GNU bug Tracking System)
Date: Sun, 18 Aug 2019 16:58:03 +0000

Your bug report

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

which was filed against the emacs, ada-mode package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
36102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36102
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: close
From: Stephen Leake <[email-masked]>
To: [email-masked]
Date: Sun, 18 Aug 2019 09:57:31 -0700
List-Id: <debbugs-submit.debbugs.gnu.org>

-- 
-- Stephe

Subject: 26.1; ada-mode 6.1.0 re-parses the entire buffer to find the subprogram containing point
From: Ludovic Brenta <[email-masked]>
To: [email-masked]
Date: Wed, 05 Jun 2019 16:19:42 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

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.