all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ludovic Brenta <ludovic@ludovic-brenta.org>
To: 35144@debbugs.gnu.org
Cc: ada-mode-users@nongnu.org
Subject: bug#35144: 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	[thread overview]
Message-ID: <12eb1cb9d9cf8d978b86109bf84ba9e5@ludovic-brenta.org> (raw)

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.





             reply	other threads:[~2019-04-04 15:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-04 15:15 Ludovic Brenta [this message]
2019-05-24 17:31 ` bug#35144: 26.1; ada-mode 6.1.0 Constraint_Error in which_func_update for file containing only a procedure 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=12eb1cb9d9cf8d978b86109bf84ba9e5@ludovic-brenta.org \
    --to=ludovic@ludovic-brenta.org \
    --cc=35144@debbugs.gnu.org \
    --cc=ada-mode-users@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.