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,2cac97ce4f4079eb X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-29 06:19:01 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!nntp.theplanet.net!inewsm1.nntp.theplanet.net!zen.net.uk!btnet-peer1!btnet-feed5!btnet!news.btopenworld.com!not-for-mail From: john@nospam.demon.co.uk (John McCabe) Newsgroups: comp.lang.ada Subject: Re: Need help w/ ada-mode.el under Emacs 21. Date: Tue, 29 Jul 2003 13:18:50 +0000 (UTC) Organization: BT Openworld Message-ID: <3f26746b.19331657@news.btclick.com> References: NNTP-Posting-Host: host217-37-177-69.in-addr.btopenworld.com X-Trace: sparta.btinternet.com 1059484730 21638 217.37.177.69 (29 Jul 2003 13:18:50 GMT) X-Complaints-To: news-complaints@lists.btinternet.com NNTP-Posting-Date: Tue, 29 Jul 2003 13:18:50 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Xref: archiver1.google.com comp.lang.ada:40943 Date: 2003-07-29T13:18:50+00:00 List-Id: On Tue, 29 Jul 2003 04:28:20 -0600, "Bobby D. Bryant" wrote: > >After a general system upgrade my Ada-mode for Emacs is behaving >differently, and I'm having trouble restoring the earlier behavior. > >The behavior that I want to suppress is that whenever you press return on >an empty line to create more whitespace I get an indentation on the new >line, and I want the cursor to stay at the left margin unless I press the >tab key. Previously it would guess an indentation if I were in the middle >of a declaration or a statement, but not otherwise, and that is the >behavior that I would like to restore. > >I see that I can suppress re-indentation of the *current* line by adding >(setq ada-indent-after-return nil) to my ~/.emacs, but that's not what I >want to change -- I want to change indentation of the line where the >cursor ends up after pressing return. Nor do I want to disable >indentation altogether; I just want to disable contextless indentation. >(While working on complicated problems I like to put "lose end" comments at >the left margin so I can find them more easily by skimming, and it's >really annoying to have to move every line back to the margin by hand.) > >Any help would be appreciated. Are you now using a different version of ada-mode than before? Has there been any change to your .emacs? John Best Regards John McCabe To reply by email replace 'nospam' with 'assen'