bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#43951: 26.3; Java-mode annotation indentation


From: John Olsson
Subject: bug#43951: 26.3; Java-mode annotation indentation
Date: Thu, 28 Jan 2021 08:11:31 +0100

I can now confirm that it was indeed my init file that caused the problems I 
described.

The cause of the problem was that I missed that I loaded a file (without any 
guard checking Emacs version!) that fixed the behavior in Emacs 26 and that fix 
was not compatible with Emacs 28... *sigh*

You can close this bug! :D

> On 28 Jan 2021, at 06:52, Pankaj Jangid <pankaj@codeisgreat.org> wrote:
> 
> John Olsson <johol@lysator.liu.se> writes:
> 
>> I can’t indent some lines (marked with “<=“ at the end of the line)
>> 
>> public class Foo
>> { <=
>> @Foo(a=true <=
>> b=false)
>> boolean foo = false; <=
>> } <=
>> 
>> When I try I get the error message 
>> 
>> Wrong type argument: integer-or-marker-p, t
>> 
>> in the mini-buffer. It is almost the inverse problem, the line I
>> previously got wrong indentation on indents correctly, but almost all
>> other lines fails to indent at all...
> 
> The above snippet is perfectly indented on my latest build (today). I
> suspect some customisation in your init.
> 
> Could you please try again after (setq debug-on-error t)?






reply via email to

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