> But with my very limited knowledge of indentation problem, I do not see
> a case
> where the indentation at the cursor position cannot be decided (always ?
> most of the time?) only by looking at  what is before the cursor.

There are some cases, though. For instance, most people would want to
align the following block of comments on the following 'else':


  if Blah then 
       null;
  --  otherwise, let's do something else
  else
      null;
  end if;

But the look-ahead is limited in this case. And by the way GPS does not handle
this case either.



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

Reply via email to