On 4 Aug 2015, at 10:29, Stephen Leake <[email protected]> wrote:

> Simon Wright <[email protected]> writes:
> 
>> On 4 Aug 2015, at 09:00, Stephen Leake <[email protected]> 
>> wrote:
>> 
>>> "external_as_list" is in gpr-grammar.wy as a keyword. But it's not in
>>> gpr-font-lock-keywords (I just fixed that). So now it has the right
>>> face.
>>> 
>>> It stays lowercase for me.
>> 
>> I type “external” and the font is keyword-coloured.
>> 
>> I type the “_" and get External_
>> 
>> I type the “as_" and get External_As_
>> 
>> I type the “list “ and get External_As_list
> 
> Hmm. I think that means auto-case is not being invoked for space.
> 
> With point immediately after "list", what does M-: (ada-case-adjust)
> do?

I have it bound to eval-expression - I don’t have ada-case-adjust?

If I upcase the whole, put point after the LIST, and M-x 
ada-case-adust-at-point I get EXTERNAL_AS_list - something is confused about 
how far back the keyword extends!

> What does C-h k <space> report?

SPC runs the command ada-case-adjust-interactive, which is an
interactive Lisp closure in `ada-mode.el'.



_______________________________________________
Emacs-ada-mode mailing list
[email protected]
http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org

Reply via email to