unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: John Olsson <johol@lysator.liu.se>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 43951@debbugs.gnu.org
Subject: bug#43951: 26.3; Java-mode annotation indentation
Date: Thu, 28 Jan 2021 06:21:49 +0100	[thread overview]
Message-ID: <BBA0A541-D779-4061-AC35-B554FA57B4CC@lysator.liu.se> (raw)
In-Reply-To: <87lfcd68k3.fsf@gnus.org>

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	other threads:[~2021-01-28  5:21 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-12 12:28 bug#43951: 26.3; Java-mode annotation indentation johol
2020-10-12 13:11 ` Pankaj Jangid
2021-01-27  5:34 ` Lars Ingebrigtsen
2021-01-27 17:12   ` John Olsson
2021-01-28  3:31     ` Lars Ingebrigtsen
2021-01-28  5:21       ` John Olsson [this message]
2021-01-28  5:52         ` Pankaj Jangid
2021-01-28  7:11           ` John Olsson
2021-01-28  7:25             ` Lars Ingebrigtsen
2021-01-28  7:56               ` Pankaj Jangid

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=BBA0A541-D779-4061-AC35-B554FA57B4CC@lysator.liu.se \
    --to=johol@lysator.liu.se \
    --cc=43951@debbugs.gnu.org \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).