comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: ada-mode failing at formatting still
Date: Mon, 21 May 2018 08:11:42 +0100
Date: 2018-05-21T08:11:42+01:00	[thread overview]
Message-ID: <lyzi0t8oup.fsf@pushface.org> (raw)
In-Reply-To: a4b90791-6a21-4b64-8842-4a116894be36@googlegroups.com

Lucretia <laguest9000@googlemail.com> writes:

> 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.

Which Emacs & ada-mode versions are you using? I have Emacs 25.3.1,
ada-mode 5.3.1 (via elpa).

Best to use customize.

With point in an Ada buffer, (menu) Ada>Customize.

The casing defaults are, from ada-mode.el,

ada-auto-case t (automatically change case of preceding word while
typing)

ada-case-keyword 'lower-case

ada-case-identifier 'mixed-case (actually Title_Case)

ada-case-strict t (allow CamelCase; if nil, -> Camelcase)

------------------------------------------------------------------------

Down at the bottom of the Ada group customization page, there are
links to the Build and Indentation customization groups.


  parent reply	other threads:[~2018-05-21  7:11 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
2018-05-20 21:07     ` Dan'l Miller
2018-05-21  6:49       ` Simon Wright
2018-05-21  7:11     ` Simon Wright [this message]
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