* bug#19385: default align rules doesn't know about Java arrays
@ 2014-12-15 14:06 Paul Pogonyshev
2020-12-28 1:47 ` Lars Ingebrigtsen
0 siblings, 1 reply; 2+ messages in thread
From: Paul Pogonyshev @ 2014-12-15 14:06 UTC (permalink / raw)
To: 19385
[-- Attachment #1: Type: text/plain, Size: 650 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 955 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
* bug#19385: default align rules doesn't know about Java arrays
2014-12-15 14:06 bug#19385: default align rules doesn't know about Java arrays Paul Pogonyshev
@ 2020-12-28 1:47 ` Lars Ingebrigtsen
0 siblings, 0 replies; 2+ messages in thread
From: Lars Ingebrigtsen @ 2020-12-28 1:47 UTC (permalink / raw)
To: Paul Pogonyshev; +Cc: 19385
Paul Pogonyshev <pogonyshev@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
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-12-28 1:47 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-12-15 14:06 bug#19385: default align rules doesn't know about Java arrays Paul Pogonyshev
2020-12-28 1:47 ` Lars Ingebrigtsen
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).