GNU bug report logs - #35144
26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure

Previous Next

Packages: ada-mode, emacs;

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

Date: Thu, 4 Apr 2019 15:16: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: Ludovic Brenta <ludovic <at> ludovic-brenta.org>
Subject: bug#35144: closed (close)
Date: Sun, 18 Aug 2019 16:56:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure

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 35144 <at> debbugs.gnu.org.

-- 
35144: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=35144
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stephen Leake <stephen_leake <at> stephe-leake.org>
To: 35144-close <at> debbugs.gnu.org
Subject: close
Date: Sun, 18 Aug 2019 09:55:36 -0700
-- 
-- Stephe

[Message part 3 (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 Constraint_Error in which_func_update for file
 containing only a procedure
Date: Thu, 04 Apr 2019 17:15:09 +0200
X-Debbugs-CC: ada-mode-users <at> nongnu.org
Package: emacs, ada-mode
Version: 26.1
Severity: minor

This bug exists only when wisi-partial-parse-threshold is zero,
which happens when ~/.emacs contains:

(add-hook 'ada-mode-hook
          (lambda ()
            "For ada-mode 6.1, force partial parsing in all buffers."
            (if (version< "6.0" (ada-mode-version))
              (setq wisi-partial-parse-threshold 0))))

Visit a file foo.adb consisting of:

procedure Foo is
begin
end Foo;

This immediately triggers this in the *Messages* buffer:

Error running timer ‘which-func-update’: (error "Error in 
which-func-update: (error \"unhandled exception: CONSTRAINT_ERROR: 
emacs_wisi_common_parse.adb:320 index check failed\")")

-- 
Ludovic Brenta.



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

Previous Next


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