From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#15465: CC-mode misaligns enums that implement an interface in Java Date: Sun, 13 Oct 2013 21:38:38 +0000 Message-ID: <20131013213838.GB2498@acm.acm> References: <20130928173323.GA11317@acm.acm> <20130929150345.GD3161@acm.acm> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1381700489 27152 80.91.229.3 (13 Oct 2013 21:41:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 13 Oct 2013 21:41:29 +0000 (UTC) Cc: 15465@debbugs.gnu.org To: Paul Pogonyshev Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 13 23:41:32 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 1VVTPm-0003Jr-EO for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Oct 2013 23:41:30 +0200 Original-Received: from localhost ([::1]:34601 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVTPl-0006nF-Cp for geb-bug-gnu-emacs@m.gmane.org; Sun, 13 Oct 2013 17:41:29 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42029) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVTPc-0006mF-9I for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2013 17:41:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VVTPW-0003Or-I6 for bug-gnu-emacs@gnu.org; Sun, 13 Oct 2013 17:41:20 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60827) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VVTPK-0003Nu-U2; Sun, 13 Oct 2013 17:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1VVTPK-00025b-Dz; Sun, 13 Oct 2013 17:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 13 Oct 2013 21:41: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.13817004347987 (code B ref 15465); Sun, 13 Oct 2013 21:41:02 +0000 Original-Received: (at 15465) by debbugs.gnu.org; 13 Oct 2013 21:40:34 +0000 Original-Received: from localhost ([127.0.0.1]:46613 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVTOr-00024l-Pi for submit@debbugs.gnu.org; Sun, 13 Oct 2013 17:40:34 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:46341 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1VVTOp-00024b-7m for 15465@debbugs.gnu.org; Sun, 13 Oct 2013 17:40:32 -0400 Original-Received: (qmail 7326 invoked by uid 3782); 13 Oct 2013 21:40:29 -0000 Original-Received: from acm.muc.de (pD9519254.dip0.t-ipconnect.de [217.81.146.84]) by colin.muc.de (tmda-ofmipd) with ESMTP; Sun, 13 Oct 2013 23:40:28 +0200 Original-Received: (qmail 20486 invoked by uid 1000); 13 Oct 2013 21:38:38 -0000 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de 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:79230 Archived-At: Hello, Paul. On Mon, Sep 30, 2013 at 09:23:53AM +0200, Paul Pogonyshev wrote: > Sorry, it doesn't apply. I don't understand what's gone wrong here. Anyway, I've just committed that patch to the Emacs trunk (revision #114650). Perhaps you could try out this latest fix too, and let me know if there are any more problems in this area. Thanks! > Paul -- Alan Mackenzie (Nuremberg, Germany). > On 29 September 2013 17:03, Alan Mackenzie wrote: > > > On Sat, Sep 28, 2013 at 09:15:52PM +0200, Paul Pogonyshev wrote: > > > > I've committed a fix, revision #114474, to the bzr trunk. Could > > > > you try out the change, please, and either confirm it fixes the > > > > bug properly, or tell me what hasn't yet been fixed. > > > > > Thank you. The case I initially mentioned works properly now, also with > > > multiple implemented interfaces. However, it seems to not know about > > > interfaces with generics: > > > > > public enum X implements Y > > > { > > > A, > > > B; > > > } > > > > Here's a better patch than the one from last night, which was > > demonstrably buggy. It should apply cleanly to the current trunk. > > Please let me know how thoroughly it works. > > > >