comp.lang.ada
 help / color / mirror / Atom feed
From: Lucretia <laguest9000@googlemail.com>
Subject: Re: ada-mode failing at formatting still
Date: Sun, 20 May 2018 13:42:17 -0700 (PDT)
Date: 2018-05-20T13:42:17-07:00	[thread overview]
Message-ID: <a4b90791-6a21-4b64-8842-4a116894be36@googlegroups.com> (raw)
In-Reply-To: <lya7su9j22.fsf@pushface.org>

On Sunday, 20 May 2018 21:19:21 UTC+1, Simon Wright  wrote:
> Lucretia <> writes:
> 
> > I thought I'd reinstall emacs and try ada-mode again, but it's failing
> > to format properly.
> >
> > https://bpaste.net/show/5cb547ca16cc was formatted using ada-mode, for
> > some reason it won't indent the Label properly.
> 
> Because ada-indent-label is defaulted to -3. If you customise it to 0,
> -gnaty won't complain any more.


Yeah, just found it thanks.

Do you know how to stop it auto casing keywords?

I have this in my .emacs file:

(defun my-ada-mode-hook ()
  (setq ada-case-keyword lower-case)
  (setq ada-label-indent 0))

But neither are working.

I don't know lisp, I will learn, but I just want this working.

Thanks,
Luke

  reply	other threads:[~2018-05-20 20:42 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-20 18:51 ada-mode failing at formatting still Lucretia
2018-05-20 18:59 ` Dan'l Miller
2018-05-20 19:03   ` Lucretia
2018-05-20 19:18     ` Dan'l Miller
2018-05-20 23:55   ` Shark8
2018-05-21  0:19   ` Paul Rubin
2018-05-21  3:28     ` Dan'l Miller
2018-05-21  3:37       ` Paul Rubin
2018-05-20 20:19 ` Simon Wright
2018-05-20 20:42   ` Lucretia [this message]
2018-05-20 21:07     ` Dan'l Miller
2018-05-21  6:49       ` Simon Wright
2018-05-21  7:11     ` Simon Wright
2018-05-21  8:57       ` Lucretia
2018-05-21 12:31         ` Simon Wright
2018-05-21 12:51           ` Lucretia
2018-05-21 13:35           ` Simon Wright
2018-05-21  7:18     ` Simon Wright
2018-05-21  8:59       ` Lucretia
2018-05-20 20:19 ` Lucretia
2018-05-21 16:35 ` Lucretia
2018-05-21 16:37   ` Dan'l Miller
replies disabled

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