Simon Wright <[email protected]> writes:
On 29 Dec 2013, at 19:06, [email protected] wrote:
Simon Wright <[email protected]> writes:
If I customize it as above (actually, to a list containing
~/.emacs_case_exceptions), restart Emacs, and load a .gpr file then
everything works just fine.
.gpr files don't use auto-case, so I don't understand why you "load"
(I
assume you mean "visit" in Emacs terminology) a .gpr file.
No, I meant using “Find and select project …” (i.e.
ada-build-prompt-select-prj-file)
Until this is done, the current project is nil, so (ada-prj-get
‘casing) returns nil, so no case exception file(s) get loaded.
Right, this is expected.
You might open a .adb and start editing, without first selecting a
project file; that gives the wrong casing, and possibly other settings
are not right either. So you just have to remember to select a project
file first; I do that by opening the right Makefile.
I suppose we could have all functions that use ada-prj-get prompt for a
project file if there isn't one. I don't have a good use case for
editing without a project file; anyone else? Some newbies might find it
overwhelming, so we'd have to make that mode optional.
--
-- Stephe
_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org