Georg Bauhaus <[email protected]> writes:

>> Am 02.06.2015 um 13:11 schrieb Georg Bauhaus <[email protected]>:
>> 
>> When I wanted Emacs (24.5.1; mode version 5.1.8) to make me a body
>> of a task, (C-c C-b), 
>
> Ah, C-c C-e works better. 

Hmm. I'd rather it complained that ";" is not a recognized skeleton. But
good enough.

> Still C-c C-b has partial documentation
> that suggests it could be used here, indirectly at
> (defvar ada-goto-declaration-start

That's a stretch; the doc string for ada-make-subprogram-body clearly
says "subprogram". You have to read the code to see
ada-goto-declaration-start; that's cheating :).

I think the best solution is to have ada-make-subprogram-body throw an
error if it's not on a _subprogram_ spec, and recommend C-x C-e in the
error message.

Eventually we should obsolete ada-make-subprogram-body in favor of the
skeleton. But I'm still kind of attached to it; it was one of my
earliest Emacs hacks :).

-- 
-- Stephe

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

Reply via email to