Simon Wright <[email protected]> writes: > On 4 Aug 2015, at 10:55, Stephen Leake <[email protected]> wrote: > >> With point in ada-mode.el ada-case-adjust, type C-u M-C-x; that compiles >> ada-case-adjust with debugging info. Then when you run M-: >> (ada-case-adjust), it will step thru it. That should tell us what is >> going on. > > (ada-case-keyword -1) calls (downcase-word -1), and the underscore is > a word delimiter.
Right, that's the bug. Ada has no keywords with _, so this never came up before. > Could we use downcase-region after identifying the whole keyword ada-after-keyword-p identifies the region; it's only called in one place, so it can be combined with ada-case-keyword. You could take a stab at writing test for this ;). -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
