ada-mode-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ada mode 6.2.1: ada-indent-comment-col-0 no longer honored


From: Stephen Leake
Subject: Re: Ada mode 6.2.1: ada-indent-comment-col-0 no longer honored
Date: Sun, 24 Nov 2019 14:05:25 -0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (windows-nt)

SCHOEPFLIN Markus <address@hidden> writes:

>> Stephen Leake <address@hidden> writes:
>> 
>> > Stephen Leake <address@hidden> writes:
>> >
>> >> Patch attached.
>> >
>> > Hmm. Now a comment in column 0 after the first line is indented when it
>> > should not be; I'll have to work on that.
>> 
>> Better patch attached.
>
> Applied, and the behaviour is much better now, thank you.

Ok, good.

> I still get some erratic invalid indentation of comments starting at
> column 0 in large source files (more than a few 1000 lines of code),
> but alas I did not yet find any reliable reproducer.
>
> The behaviour is quite strange: a comment somewhere in the middle of
> the file gets indented incorrectly, then I remove some other comment
> from the *end* of the file, then the same comment in the middle of the
> file stays at column 0 when I move it back. 

Except for your next sentence, this sounds like it might be related to
partial parse.

> There is no difference if I indent the whole file at once, or if I
> just press <TAB> in the line where the comment is located.

You can monitor what is being parsed by setting wisi-debug to 1 (or
higher).

-- 
-- Stephe



reply via email to

[Prev in Thread] Current Thread [Next in Thread]