unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Paul Pogonyshev <pogonyshev@gmail.com>
To: 19385@debbugs.gnu.org
Subject: bug#19385: default align rules doesn't know about Java arrays
Date: Mon, 15 Dec 2014 15:06:32 +0100	[thread overview]
Message-ID: <CAG7Bpapc2Pj2Q8EWmqdh6_y4-5ePOJAAhX2JjWpwew1ykO3daw@mail.gmail.com> (raw)

[-- 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 --]

             reply	other threads:[~2014-12-15 14:06 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-15 14:06 Paul Pogonyshev [this message]
2020-12-28  1:47 ` bug#19385: default align rules doesn't know about Java arrays Lars Ingebrigtsen

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=CAG7Bpapc2Pj2Q8EWmqdh6_y4-5ePOJAAhX2JjWpwew1ykO3daw@mail.gmail.com \
    --to=pogonyshev@gmail.com \
    --cc=19385@debbugs.gnu.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).