GNU bug report logs - #36102
26.1; ada-mode 6.1.0 re-parses the entire buffer to find the subprogram containing point

Previous Next

Packages: emacs, ada-mode;

Reported by: Ludovic Brenta <ludovic <at> ludovic-brenta.org>

Date: Wed, 5 Jun 2019 14:21:02 UTC

Severity: minor

Found in version 26.1

Done: Stephen Leake <stephen_leake <at> stephe-leake.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Stephen Leake <stephen_leake <at> stephe-leake.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#36102: closed (26.1; ada-mode 6.1.0 re-parses the entire
 buffer to find the subprogram containing point)
Date: Sun, 18 Aug 2019 16:58:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sun, 18 Aug 2019 09:57:31 -0700
with message-id <86imqutnr8.fsf <at> stephe-leake.org>
and subject line close
has caused the debbugs.gnu.org bug report #36102,
regarding 26.1; ada-mode 6.1.0 re-parses the entire buffer to find the subprogram containing point
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
36102: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=36102
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 26.1; ada-mode 6.1.0 re-parses the entire buffer to find the
 subprogram containing point
Date: Wed, 05 Jun 2019 16:19:42 +0200
Package: emacs, ada-mode
X-Debbugs-CC: ada-mode-users <at> nongnu.org
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.


[Message part 3 (message/rfc822, inline)]
From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 36102-close <at> debbugs.gnu.org
Subject: close
Date: Sun, 18 Aug 2019 09:57:31 -0700
-- 
-- Stephe


This bug report was last modified 5 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.