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.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 36102 in the body.
You can then email your comments to 36102 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org:
bug#36102; Package emacs, ada-mode. (Wed, 05 Jun 2019 14:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
New bug report received and forwarded. Copy sent to ada-mode-users <at> nongnu.org, bug-gnu-emacs <at> gnu.org. (Wed, 05 Jun 2019 14:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

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.




Reply sent to Stephen Leake <stephen_leake <at> stephe-leake.org>:
You have taken responsibility. (Sun, 18 Aug 2019 16:58:02 GMT) Full text and rfc822 format available.

Notification sent to Ludovic Brenta <ludovic <at> ludovic-brenta.org>:
bug acknowledged by developer. (Sun, 18 Aug 2019 16:58:03 GMT) Full text and rfc822 format available.

Message #10 received at 36102-close <at> debbugs.gnu.org (full text, mbox):

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




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 16 Sep 2019 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 224 days ago.

Previous Next


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