Simon Wright <[email protected]> writes: > On 15 Jan 2016, at 18:00, Stephen Leake <[email protected]> > wrote: > >>> Indeed, I do not care about the actual indentation, only about the >>> exception. >>> >>> The comma as a single token in a line was an incident, but it was >>> buried within a 100-lines long expression function. It was difficult >>> to spot, especially when the indentation just did not work. >> >> This suggests that we should have "others" clauses in all case >> statements, that return an indention of 0 (or something similar) instead >> of throwing errors, to avoid similar problems. They could still throw >> errors if wisi-debug > 0. > > Perhaps there should be a warning message anyway?
Depends on whether the default indentation is actually a problem. For the current case of the isolated comma, 0 would be good, because it would make the comma and following lines stand out. >(absent sending the > developers mail to tell them about the problem!) I think we can rely on the users to do that. -- -- Stephe _______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
