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,XPRIO autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c1b4b86c91ace6ed,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-06-08 17:27:06 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeed.berkeley.edu!news-hog.berkeley.edu!ucberkeley!newshub.sdsu.edu!west.cox.net!cox.net!newspeer1-gui.server.ntli.net!ntli.net!news11-gui.server.ntli.net.POSTED!not-for-mail From: "chris.danx" Newsgroups: comp.lang.ada Subject: Ada Mode for Emacs X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Message-ID: Date: Sun, 9 Jun 2002 01:26:39 +0100 NNTP-Posting-Host: 80.5.140.234 X-Complaints-To: abuse@ntlworld.com X-Trace: news11-gui.server.ntli.net 1023582421 80.5.140.234 (Sun, 09 Jun 2002 01:27:01 BST) NNTP-Posting-Date: Sun, 09 Jun 2002 01:27:01 BST Organization: ntl Cablemodem News Service Xref: archiver1.google.com comp.lang.ada:25573 Date: 2002-06-09T01:26:39+01:00 List-Id: Hi, I'm having a spot of bother with Emacs and since I don't know if it's ada mode specific I thought I'd ask here rather than gnu.emacs.help (there are ppl here who use emacs IIRC). The problem is that when TAB is pressed it won't indent further than the previous line, and won't allow lines to be indented of my free will (indentations can be decreased but not increased). I did some digging and found an option Emacs->Editing->Indent->Tab Always Indent which controls the global behaviour. This is non-nil and works for non-Ada files. I haven't tried editing files for other languages, so I don't know if this is Ada mode specific. Does Ada mode override this setting, or is it a more general programming setting? I've tried fiddling with the Ada mode settings a little, but to no avail. Also looked through most of the customisation settings, but might have missed it. 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? Chris.