Am 28.09.2013 um 17:21 schrieb Stephen Leake: > I've pushed a revision with a first draft of ada-skel.el, implementing > the token expansion I discussed.
A few minor things about ada-skel.el; two bugs with possible fixes: 1. If . is the cursor, and Ada text is KEYWORD NAME . then ada-skel-expand needs to (skip-syntax-backwards " ") first, then it can continue and work properly. If the user has typed SPACE after NAME, it will have had the effect of casing NAME which otherwise does not happen (yet) during expansion, AFAICS. 2. The table ada-skel-token-alist lists its Ada keywords in lower case, and (assoc-string ... ada-skel-token-alist ...) is currently case-sensitive. Therefore, "IF" etc. in upper case are not associated. As a proof of concept, I have added control of verbosity of skeletons. The suggestion is that if current-prefix-arg has a value, then the skeleton that is picked from ada-skel-token-alist can be the second of actually two, if there are two. The second would insert more text, e.g. exception handlers. Finally, I am not seeing some of the mail on this list, I don't know why. I do see everything at gmane.org, so I can follow in any case. Not sure what is going on.
ada-skel.diff
Description: Binary data
_______________________________________________ Emacs-ada-mode mailing list [email protected] http://host114.hostmonster.com/mailman/listinfo/emacs-ada-mode_stephe-leake.org
