[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ada mode 6.2.1: size clause not honoring ada-indent-broken
From: |
Stephen Leake |
Subject: |
Re: Ada mode 6.2.1: size clause not honoring ada-indent-broken |
Date: |
Thu, 05 Dec 2019 16:47:32 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt) |
SCHOEPFLIN Markus <address@hidden> writes:
> In the following code snippet, the line marked with (1) is
> unexpectedly not indented. Shouldn't it be indented by the value of
> ada-indent-broken?
Yes, this is a bug in ada.wy "aspect_clause"; it has no wisi-indent-action.
>
>
> ---%<---
> procedure TEST is
>
> type FOO_T is
> record
> N : INTEGER;
> end record;
>
> FOO_BYTE_SIZE : constant INTEGER := 4;
>
> for FOO_T'SIZE use
> FOO_BYTE_SIZE * 8; -- (1)
>
> begin
> null;
> end;
> --->%---
>
> The following customization variables are set in my .emacs:
>
> '(ada-auto-case t)
> '(ada-case-identifier (quote upper-case))
> '(ada-end-name-optional t)
> '(ada-indent 3)
> '(ada-indent-comment-col-0 t)
--
-- Stephe