comp.lang.ada
 help / color / mirror / Atom feed
From: john@nospam.demon.co.uk (John McCabe)
Subject: Re: Need help w/ ada-mode.el under Emacs 21.
Date: Tue, 29 Jul 2003 13:18:50 +0000 (UTC)
Date: 2003-07-29T13:18:50+00:00	[thread overview]
Message-ID: <3f26746b.19331657@news.btclick.com> (raw)
In-Reply-To: pan.2003.07.29.10.28.18.354682@mail.utexas.edu

On Tue, 29 Jul 2003 04:28:20 -0600, "Bobby D. Bryant"
<bdbryant@mail.utexas.edu> 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'



  reply	other threads:[~2003-07-29 13:18 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-29 10:28 Need help w/ ada-mode.el under Emacs 21 Bobby D. Bryant
2003-07-29 13:18 ` John McCabe [this message]
2003-07-29 13:44   ` Bobby D. Bryant
2003-07-29 13:58     ` John McCabe
2003-07-30  7:44       ` J�r�me Haguet
2003-07-30 10:06         ` John McCabe
2003-07-29 14:20 ` Stephen Leake
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox