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,start X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-29 03:35:05 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!newsfeed.cs.utexas.edu!geraldo.cc.utexas.edu!not-for-mail From: "Bobby D. Bryant" Newsgroups: comp.lang.ada Subject: Need help w/ ada-mode.el under Emacs 21. Date: Tue, 29 Jul 2003 04:28:20 -0600 Organization: dis- Message-ID: NNTP-Posting-Host: dial-14-16.ots.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: geraldo.cc.utexas.edu 1059474547 11323 128.83.204.224 (29 Jul 2003 10:29:07 GMT) X-Complaints-To: abuse@utexas.edu NNTP-Posting-Date: Tue, 29 Jul 2003 10:29:07 +0000 (UTC) User-Agent: Pan/0.14.0 (I'm Being Nibbled to Death by Cats!) Xref: archiver1.google.com comp.lang.ada:40933 Date: 2003-07-29T04:28:20-06:00 List-Id: 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. -- Bobby Bryant Austin, Texas