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,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 2002:a6b:815f:: with SMTP id c92-v6mr10785609iod.22.1526893042694; Mon, 21 May 2018 01:57:22 -0700 (PDT) X-Received: by 2002:a9d:5543:: with SMTP id h3-v6mr14054oti.13.1526893042581; Mon, 21 May 2018 01:57:22 -0700 (PDT) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!feeder.eternal-september.org!news.gegeweb.eu!gegeweb.org!news.redatomik.org!newsfeed.xs4all.nl!newsfeed9.news.xs4all.nl!85.12.16.68.MISMATCH!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer01.am4!peer.am4.highwinds-media.com!peer02.iad!feed-me.highwinds-media.com!news.highwinds-media.com!u74-v6no4357123itb.0!news-out.google.com!f20-v6ni5086itd.0!nntp.google.com!v8-v6no4406247itc.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 21 May 2018 01:57:22 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 2a02:c7d:3c35:b000:325a:3aff:fe0f:37a5 References: User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <7b813241-aed9-4a49-a89a-4cb7f7c8dbd3@googlegroups.com> Subject: Re: ada-mode failing at formatting still From: Lucretia Injection-Date: Mon, 21 May 2018 08:57:22 +0000 Content-Type: text/plain; charset="UTF-8" X-Received-Bytes: 2672 X-Received-Body-CRC: 1767261660 Xref: reader02.eternal-september.org comp.lang.ada:52533 Date: 2018-05-21T01:57:22-07:00 List-Id: On Monday, 21 May 2018 08:11:45 UTC+1, Simon Wright wrote: > Lucretia <> 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. I did, neither are working. I have emacs 26.1 and ada-mode 5.3.1 > > With point in an Ada buffer, (menu) Ada>Customize. Also, that doesn't show the lisp when I select it in ada-mode. > 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 Not working. > 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. I know. I'm beginning to think this might be a 26.1 and 5.3.1 problem. Luke.