GNU bug report logs - #19385
default align rules doesn't know about Java arrays

Previous Next

Package: emacs;

Reported by: Paul Pogonyshev <pogonyshev <at> gmail.com>

Date: Mon, 15 Dec 2014 14:07:02 UTC

Severity: minor

Tags: fixed

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 19385 in the body.
You can then email your comments to 19385 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#19385; Package emacs. (Mon, 15 Dec 2014 14:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Paul Pogonyshev <pogonyshev <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Mon, 15 Dec 2014 14:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Paul Pogonyshev <pogonyshev <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: default align rules doesn't know about Java arrays
Date: Mon, 15 Dec 2014 15:06:32 +0100
[Message part 1 (text/plain, inline)]
To reproduce:

$ emacs -q

Type the following in a Java buffer:

class X
{
    String field1;
    String[] field2;
    int field3;
    int[] field4;
    X field5;
    X[] field6;
}

Select the six field lines and 'M-x align' them:

class X
{
    String    field1;
    String[] field2;
    int        field3;
    int[] field4;
    X        field5;
    X[] field6;
}

Expected result:

class X
{
    String    field1;
    String[]    field2;
    int        field3;
    int[]    field4;
    X        field5;
    X[]        field6;
}

Emacs version (just compiled trunk): GNU Emacs 25.0.50.1
(x86_64-unknown-linux-gnu, GTK+ Version 3.10.9) of 2014-12-15
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#19385; Package emacs. (Mon, 28 Dec 2020 01:48:01 GMT) Full text and rfc822 format available.

Message #8 received at 19385 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Paul Pogonyshev <pogonyshev <at> gmail.com>
Cc: 19385 <at> debbugs.gnu.org
Subject: Re: bug#19385: default align rules doesn't know about Java arrays
Date: Mon, 28 Dec 2020 02:47:45 +0100
Paul Pogonyshev <pogonyshev <at> gmail.com> writes:

> Type the following in a Java buffer:
>
> class X
> {
>     String field1;
>     String[] field2;
>     int field3;
>     int[] field4;
>     X field5;
>     X[] field6;
> }
>
> Select the six field lines and 'M-x align' them:

This should now be fixed in Emacs 28.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 28 Dec 2020 01:49:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 19385 <at> debbugs.gnu.org and Paul Pogonyshev <pogonyshev <at> gmail.com> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 28 Dec 2020 01:49:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 25 Jan 2021 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 91 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.