comp.lang.ada
 help / color / mirror / Atom feed
From: Stephen Leake <stephen_leake@stephe-leake.org>
Subject: Re: Emacs Ada mode 5.0.1 available in Gnu ELPA
Date: Fri, 14 Feb 2014 08:10:42 -0600
Date: 2014-02-14T08:10:42-06:00	[thread overview]
Message-ID: <85r475wzrx.fsf@stephe-leake.org> (raw)
In-Reply-To: 1392326670.4276.180.camel@pascal.home.net

Pascal Obry <pascal@obry.net> writes:

> I found one annoying issue, it is not possible to define case exception.
> Emacs keep complaining that I have not defined the
> ada-case-exception-file even though I have set it in the customize
> module. Any idea?

I can reproduce that.

One work-around is to use an Emacs Ada mode project file, and set the
case exception file there. Apparently that's the only use case I tested.

Will be fixed in 5.0.2


Or, if you are up to patching elisp:

in ~/.emacs.d/elpa/ada-mode-5.0.1/ada-mode.el, change the start of
ada-case-create-exception to be:

  (interactive)
  (let ((casing (or (ada-prj-get 'casing)
		    (if (listp ada-case-exception-file)
			ada-case-exception-file
		      (list ada-case-exception-file)))))


Then do M-x byte-compile-file ada-mode.el

--
-- Stephe

  reply	other threads:[~2014-02-14 14:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-04 15:01 Emacs Ada mode 5.0.1 available in Gnu ELPA Stephen Leake
2014-02-05  7:23 ` Pascal Obry
2014-02-13 16:43 ` Lucretia
2014-02-13 16:45   ` Lucretia
2014-02-13 18:12   ` Simon Wright
2014-02-14 13:55   ` Stephen Leake
2014-02-16  8:34     ` Stephen Leake
2014-02-13 21:24 ` Pascal Obry
2014-02-14 14:10   ` Stephen Leake [this message]
2014-02-14 18:45     ` Pascal Obry
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox