Jérémy Piffret <[email protected]> writes: > Hi, > > When trying to align something like > > Long_Long_Name_Var_1 := val_1; > Private_xxx := val_2; > > the text doesn't change.
I can't reproduce this with default settings, but see below. > "Private" is seen as part of ada-align-region-separate (same thing >happens > with others keywords of this list). > > I get a correct result when adding [^_] at the end of the > ada-align-region-separate (line 592 with version 5.1.7) > - "\\)\\>\\)")) > + "\\)\\>\\)[^_]")) The "\\>" is "end of word". Ah; if you change _ to have punctuation syntax (as I do normally, but not when I tested above), then the two ":=" are not aligned, because _ matches "\\>". I believe the proper patch is: - "\\)\\>\\)")) + "\\)\\>[^_]\\)")) Thanks for the report. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
