From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c1b4b86c91ace6ed X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-09 04:43:42 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newspeer.clara.net!news.clara.net!news-hub.cableinet.net!blueyonder!amsnews01.chello.com!news01.chello.no!Norway.EU.net!uninett.no!ntnu.no!not-for-mail From: Preben Randhol Newsgroups: comp.lang.ada Subject: Re: Ada Mode for Emacs Date: Sun, 9 Jun 2002 11:43:42 +0000 (UTC) Organization: Norwegian university of science and technology Message-ID: References: NNTP-Posting-Host: kiuk0156.chembio.ntnu.no X-Trace: tyfon.itea.ntnu.no 1023623022 19609 129.241.83.82 (9 Jun 2002 11:43:42 GMT) X-Complaints-To: usenet@itea.ntnu.no NNTP-Posting-Date: Sun, 9 Jun 2002 11:43:42 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) X-Received-Date: Sun, 09 Jun 2002 13:43:42 MET DST (news01.chello.no) Xref: archiver1.google.com comp.lang.ada:25589 Date: 2002-06-09T11:43:42+00:00 List-Id: On 09 Jun 2002 12:08:53 +0100, Simon Wright wrote: > "chris.danx" writes: > >> This is most annoying since it doesn't allow information to be >> formatted in a neat way, comments in particular: >> >> e.g. >> >> -- author: Bob >> -- date: 7th June 2002 >> -- last modified: 7th June 2002 >> >> >> The alternative emacs is currenlty imposing just looks silly. Any >> ideas? I think you will get more help on a emacs news group. > However, having been using ada-mode and cc-mode (well, most > programming modes) for quite a while now (not sure how long, 6 years?) > I find the way they behave so very helpful that I'm prepared to put up > with the minor inconvenience of comment formatting of the sort you > describe. In the "old days" when I used Emacs (before converting to vim) I seem to remember that one of the modes had a function that overrode this the indentation. I think the macro was tied to Ctrl-Tab or sth and it put in spaces in stead of a Tab character. So that in the case above one just press Ctrl-Tab to jump to the place where the name should be written. If there isn't such a macro I guess some at a emacs news group will give you one in two seconds time :-) Preben