unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure
@ 2019-04-04 15:15 Ludovic Brenta
  2019-05-24 17:31 ` Stephen Leake
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Ludovic Brenta @ 2019-04-04 15:15 UTC (permalink / raw)
  To: 35144; +Cc: ada-mode-users

X-Debbugs-CC: ada-mode-users@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.





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure
  2019-04-04 15:15 bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure Ludovic Brenta
@ 2019-05-24 17:31 ` Stephen Leake
  2019-08-18 16:55 ` bug#35144: Fixed in ada-mode 6.1.1 Stephen Leake
  2019-08-18 16:55 ` bug#35144: close Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2019-05-24 17:31 UTC (permalink / raw)
  To: Ludovic Brenta; +Cc: 35144, ada-mode-users

Fixed in development branch.
-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35144: Fixed in ada-mode 6.1.1
  2019-04-04 15:15 bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure Ludovic Brenta
  2019-05-24 17:31 ` Stephen Leake
@ 2019-08-18 16:55 ` Stephen Leake
  2019-08-18 16:55 ` bug#35144: close Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2019-08-18 16:55 UTC (permalink / raw)
  To: 35144

Fixed in ada-mode 6.1.1
-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#35144: close
  2019-04-04 15:15 bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure Ludovic Brenta
  2019-05-24 17:31 ` Stephen Leake
  2019-08-18 16:55 ` bug#35144: Fixed in ada-mode 6.1.1 Stephen Leake
@ 2019-08-18 16:55 ` Stephen Leake
  2 siblings, 0 replies; 4+ messages in thread
From: Stephen Leake @ 2019-08-18 16:55 UTC (permalink / raw)
  To: 35144-close


-- 
-- Stephe





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2019-08-18 16:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-04 15:15 bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure Ludovic Brenta
2019-05-24 17:31 ` Stephen Leake
2019-08-18 16:55 ` bug#35144: Fixed in ada-mode 6.1.1 Stephen Leake
2019-08-18 16:55 ` bug#35144: close Stephen Leake

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).