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 06:21:49 +0100

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

Something fishy is going on here.

> On 28 Jan 2021, at 04:32, Lars Ingebrigtsen <larsi@gnus.org> wrote:
> 
> John Olsson <johol@lysator.liu.se> writes:
> 
>> Sorry for spamming. :(
>> I used GNU Emacs 28.0.50 (build 1, x86_64-w64-mingw32) of 2021-01-15
> 
> [...]
> 
>>> I can reproduce this in Emacs 27.1, but not in Emacs 28, so I'm going to
>>> go ahead and guess that this has been fixed recently, and I'm closing
>>> this bug report.  If you can still see this in Emacs 28, please respond
>>> to the debbugs address and we'll reopen.
> 
> Sorry; I don't quite follow -- are you still seeing this issue, or does
> the indentation in the example work as expected for you in Emacs 28?
> 
> -- 
> (domestic pets only, the antidote for overdose, milk.)
> bloggy blog: http://lars.ingebrigtsen.no






reply via email to

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