Hi,

When I wanted Emacs (24.5.1; mode version 5.1.8) to make me a body
of a task, (C-c C-b), it created something that doesn’t seem
right, maybe on two accounts. Apparently, ada-goto-declaration-start
is employed in the process. This, then, if invoked as C-c <, fails to
move to the beginning of the task’s declaration. It moves back to
before "package“. But OTOH, C-c C-b does create something that
resembles some task body text, but it’s done in the wrong place.

package body Tasking is

   task body TA is
   begin
      null;
   end TA;

   task TB;  -- cursor is after ';‘, type C-c C-b

end Tasking;

Giving:

package body Tasking is

   task body TA is
   begin
   null
   is begin
   null;
   end Tasking;

end TA;

task TB;

end Tasking;



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

Reply via email to