From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Pogonyshev Newsgroups: gmane.emacs.bugs Subject: bug#15465: CC-mode misaligns enums that implement an interface in Java Date: Mon, 21 Oct 2013 13:00:22 +0200 Message-ID: References: <20130928173323.GA11317@acm.acm> <20130929150345.GD3161@acm.acm> <20131013213838.GB2498@acm.acm> <20131020143707.GB3484@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=089e012277b4cb3e7a04e93e30a5 X-Trace: ger.gmane.org 1382353280 31740 80.91.229.3 (21 Oct 2013 11:01:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 21 Oct 2013 11:01:20 +0000 (UTC) Cc: 15465@debbugs.gnu.org To: Alan Mackenzie Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 21 13:01:24 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1VYDEg-0006Tv-Tm for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 13:01:23 +0200 Original-Received: from localhost ([::1]:39369 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYDEg-0004fA-Fk for geb-bug-gnu-emacs@m.gmane.org; Mon, 21 Oct 2013 07:01:22 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYDEY-0004f1-9j for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 07:01:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VYDET-0003jr-LU for bug-gnu-emacs@gnu.org; Mon, 21 Oct 2013 07:01:14 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46099) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VYDEO-0003jK-5I; Mon, 21 Oct 2013 07:01:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VYDEN-0000Kb-0G; Mon, 21 Oct 2013 07:01:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Paul Pogonyshev Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Mon, 21 Oct 2013 11:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 15465 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 15465-submit@debbugs.gnu.org id=B15465.13823532391244 (code B ref 15465); Mon, 21 Oct 2013 11:01:02 +0000 Original-Received: (at 15465) by debbugs.gnu.org; 21 Oct 2013 11:00:39 +0000 Original-Received: from localhost ([127.0.0.1]:60118 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYDDy-0000Jy-1G for submit@debbugs.gnu.org; Mon, 21 Oct 2013 07:00:38 -0400 Original-Received: from mail-oa0-f45.google.com ([209.85.219.45]:34613) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VYDDu-0000Ji-TQ for 15465@debbugs.gnu.org; Mon, 21 Oct 2013 07:00:35 -0400 Original-Received: by mail-oa0-f45.google.com with SMTP id i4so4884892oah.18 for <15465@debbugs.gnu.org>; Mon, 21 Oct 2013 04:00:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=Pw7FeZp6oexpoAI2fv4ICt1PmeOKMbEWl80Aq6orDhA=; b=QfVHmujTmaNYurDXMKhxE7AkS532J9DYQiATr0I1goCSBThz430r7fn3NdiZOYRyr9 RW+1UZhu3d1+cBR79y47pC1fpYnaVIH5B1P2WcABifUmm3mhvqHBwnQ6opFp8mf2cJXG hY0ynp5NjVClPz0hDnescyT5mSj6aQ3LrPxuNsn4cwIL6nPePQGO/D/ih6ex8XVnApl1 PdhakHgDZRpI7kByNzLB1JBiaoTk37F2w22KkqzMFhfBU+LsXtgcslBdy50dx+oGRpSx h9pFRVTwANnczTA7g5tk2bHDl9DKgGYQZE+cr+vUJwlw5RCtX7DfRPPngRpAVXXO75Za LWGw== X-Received: by 10.60.103.106 with SMTP id fv10mr1166031oeb.44.1382353222711; Mon, 21 Oct 2013 04:00:22 -0700 (PDT) Original-Received: by 10.182.200.163 with HTTP; Mon, 21 Oct 2013 04:00:22 -0700 (PDT) In-Reply-To: <20131020143707.GB3484@acm.acm> X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:79447 Archived-At: --089e012277b4cb3e7a04e93e30a5 Content-Type: text/plain; charset=UTF-8 Yes, now it works fine on my real code. Thank you. Paul On 20 October 2013 16:37, Alan Mackenzie wrote: > Hello, Paul. > > On Mon, Oct 14, 2013 at 11:19:39AM +0200, Paul Pogonyshev wrote: > > Um, it seems to be worse than before. I guess your first patch worked > > better, at least for my cases. > > > E.g. now I have: > > > public enum X implements Y, Z > > { > > A, > > B; > > } > > Ah, yes, comma separated lists. I've committed another fix, revision > #114729, that perhaps gets it right now. Would you please do the usual. > > > On a side note, enum methods (and constructors --- yes, enums can > > optionally have those) are fontified as variable names, though that is of > > course less important than indentation. > > It still needs to be fixed. Thanks for the pointer. > > > Paul > > -- > Alan Mackenzie (Nuremberg, Germany). > --089e012277b4cb3e7a04e93e30a5 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Yes, now it works fine on my real code. Thank you.
Paul


On 20 October 2013 16:37, Alan Mackenzie <= acm@muc.de> w= rote:
Hello, Paul.

On Mon, Oct 14, 2013 at 11:19:39AM +0200, Paul Pogonyshev wrote:
> Um, it seems to be worse than before. I guess your first patch worked<= br> > better, at least for my cases.

> E.g. now I have:

> public enum X implements Y, Z
> {
> =C2=A0 =C2=A0 A,
> =C2=A0 =C2=A0 =C2=A0 =C2=A0 B;
> }

Ah, yes, comma separated lists. =C2=A0I've committed another fix,= revision
#114729, that perhaps gets it right now. =C2=A0Would you please do the usua= l.

> On a side note, enum methods (and constructors --- yes, enums can
> optionally have those) are fontified as variable names, though that is= of
> course less important than indentation.

It still needs to be fixed. =C2=A0Thanks for the pointer.

> Paul

--
Alan Mackenzie (Nuremberg, Germany).

--089e012277b4cb3e7a04e93e30a5--