From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lanning Newsgroups: gmane.emacs.bugs Subject: bug#22270: Indentation following a multi-line Java annotation not correct Date: Tue, 29 Dec 2015 16:56:51 -0800 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=001a113f9930a9a14e052813041d X-Trace: ger.gmane.org 1451437954 3394 80.91.229.3 (30 Dec 2015 01:12:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Dec 2015 01:12:34 +0000 (UTC) To: 22270@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Dec 30 02:12:19 2015 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 1aE5JI-0008CE-Eh for geb-bug-gnu-emacs@m.gmane.org; Wed, 30 Dec 2015 02:12:16 +0100 Original-Received: from localhost ([::1]:50819 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE5JG-0000nZ-IN for geb-bug-gnu-emacs@m.gmane.org; Tue, 29 Dec 2015 20:12:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE5J8-0000hV-ES for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 20:12:09 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE5J4-0005FK-Qx for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 20:12:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:41550) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE5J4-0005FG-Ne for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 20:12:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84) (envelope-from ) id 1aE5J4-0006bp-Jt for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 20:12:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lanning Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 30 Dec 2015 01:12:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 22270 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.145143790825364 (code B ref -1); Wed, 30 Dec 2015 01:12:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Dec 2015 01:11:48 +0000 Original-Received: from localhost ([127.0.0.1]:49150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE5Ip-0006ax-7t for submit@debbugs.gnu.org; Tue, 29 Dec 2015 20:11:48 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38707) by debbugs.gnu.org with esmtp (Exim 4.84) (envelope-from ) id 1aE54x-0004bN-KF for submit@debbugs.gnu.org; Tue, 29 Dec 2015 19:57:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE54o-0001px-Pi for submit@debbugs.gnu.org; Tue, 29 Dec 2015 19:57:22 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:46649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE54o-0001pr-LQ for submit@debbugs.gnu.org; Tue, 29 Dec 2015 19:57:18 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57876) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE54l-0004kS-4W for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 19:57:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aE54i-0001ov-0B for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 19:57:15 -0500 Original-Received: from mail-io0-x22d.google.com ([2607:f8b0:4001:c06::22d]:35779) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aE54h-0001oo-Nj for bug-gnu-emacs@gnu.org; Tue, 29 Dec 2015 19:57:11 -0500 Original-Received: by mail-io0-x22d.google.com with SMTP id 77so30916923ioc.2 for ; Tue, 29 Dec 2015 16:57:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=fCgCYFwFyP5vA8dnC/q2fAJM7YcEc111MZUUXdr7DR8=; b=F9449aq3JBVcN0Ghd1QHOOC83izHE/tRzYElYGDhVpWlHdg47FGM7y4dCki5LJqFKn DJUXR7nv7Ou9a3aa3TArjzyXxtM/BxCQFy9Dwqptc3xlR9FNH/txcKA6QhomZSPw9ATb mt6qdKw9lwQix56+uZPUhIyTLq6zGEHYKQNJhnUlHqSzRd98C/OiPUAo8n2Y3EdTHvhf IvkEuAWtTU7qugVO9u7K92ayxguGwMfm4BAXW3+E+6zV2Vn6FxWMT892ggd71BLIl02i 0gQ0KumXsy24mf3Q/UsKn+VGqxmqy552a/+TtlKWuDKR92ebnMxcpDMyz3Qd55HKyP1q 1eZA== X-Received: by 10.107.128.206 with SMTP id k75mr9733200ioi.76.1451437031266; Tue, 29 Dec 2015 16:57:11 -0800 (PST) Original-Received: by 10.64.72.99 with HTTP; Tue, 29 Dec 2015 16:56:51 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Mailman-Approved-At: Tue, 29 Dec 2015 20:11:44 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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:110996 Archived-At: --001a113f9930a9a14e052813041d Content-Type: text/plain; charset=UTF-8 In the file cc-engine the function c-guess-basic-syntax doesn't always properly handle indentation after a Java annotation. In the case where the annotation spans multiple lines, the following code in indented to be in-line with the last line of the annotation: @AnAnnotation(param1=1, param2=2) public void run() { } The problem is in the CASE 5N clause, where the code calls (c-add-syntax 'annotation-top-cont (c-point 'boi)) Instead of moving to the previous line, it should move to the beginning of the annotation (prog1 (c-add-syntax 'annotation-top-cont (progn (c-beginning-of-statement-1) (point))) (goto-char placeholder)) In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.6) of 2015-09-17 on lgw01-52, modified by Debian Windowing system distributor `The X.Org Foundation', version 11.0.11702000 System Description: Ubuntu 15.10 Configured using: `configure --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --build x86_64-linux-gnu --prefix=/usr --sharedstatedir=/var/lib --libexecdir=/usr/lib --localstatedir=/var/lib --infodir=/usr/share/info --mandir=/usr/share/man --with-pop=yes --enable-locallisppath=/etc/emacs24:/etc/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp --with-x=yes --with-x-toolkit=gtk3 --with-toolkit-scroll-bars 'CFLAGS=-g -O2 -fstack-protector-strong -Wformat -Werror=format-security -Wall' CPPFLAGS=-D_FORTIFY_SOURCE=2 'LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro'' Important settings: value of $LANG: en_US.UTF-8 value of $XMODIFIERS: @im=ibus locale-coding-system: utf-8-unix Major mode: Info Minor modes in effect: recentf-mode: t global-edit-server-edit-mode: t which-function-mode: t global-whitespace-mode: t global-srecode-minor-mode: t global-ede-mode: t diff-auto-refine-mode: t global-semantic-idle-completions-mode: t global-semantic-idle-scheduler-mode: t global-semantic-idle-summary-mode: t display-time-mode: t shell-dirtrack-mode: t global-semanticdb-minor-mode: t semantic-mode: t tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t buffer-read-only: t line-number-mode: t transient-mark-mode: t Recent messages: Undo! Auto-saving...done Quit Saving file /home/slanning/Templates/java-library/src/main/java/com/netflix/Foo.java... Wrote /home/slanning/Templates/java-library/src/main/java/com/netflix/Foo.java Mark set [4 times] Saving file /home/slanning/Templates/java-library/src/main/java/com/netflix/Foo.java... Wrote /home/slanning/Templates/java-library/src/main/java/com/netflix/Foo.java Composing main Info directory...done Mark saved where search started [2 times] Load-path shadows: /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-cycle hides /usr/share/emacs24/site-lisp/ecb/ecb-cycle /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-upgrade hides /usr/share/emacs24/site-lisp/ecb/ecb-upgrade /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-help hides /usr/share/emacs24/site-lisp/ecb/ecb-help /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-file-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-file-browser /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-semantic-wrapper hides /usr/share/emacs24/site-lisp/ecb/ecb-semantic-wrapper /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-eshell hides /usr/share/emacs24/site-lisp/ecb/ecb-eshell /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-layout-defs hides /usr/share/emacs24/site-lisp/ecb/ecb-layout-defs /home/slanning/.emacs.d/elpa/ecb-20140215.114/tree-buffer hides /usr/share/emacs24/site-lisp/ecb/tree-buffer /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-face hides /usr/share/emacs24/site-lisp/ecb/ecb-face /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-jde hides /usr/share/emacs24/site-lisp/ecb/ecb-jde /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-examples hides /usr/share/emacs24/site-lisp/ecb/ecb-examples /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-autogen hides /usr/share/emacs24/site-lisp/ecb/ecb-autogen /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-util hides /usr/share/emacs24/site-lisp/ecb/ecb-util /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-semantic hides /usr/share/emacs24/site-lisp/ecb/ecb-semantic /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-create-layout hides /usr/share/emacs24/site-lisp/ecb/ecb-create-layout /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-tod hides /usr/share/emacs24/site-lisp/ecb/ecb-tod /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-common-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-common-browser /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-compilation hides /usr/share/emacs24/site-lisp/ecb/ecb-compilation /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-navigate hides /usr/share/emacs24/site-lisp/ecb/ecb-navigate /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-layout hides /usr/share/emacs24/site-lisp/ecb/ecb-layout /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-advice-test hides /usr/share/emacs24/site-lisp/ecb/ecb-advice-test /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-symboldef hides /usr/share/emacs24/site-lisp/ecb/ecb-symboldef /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-method-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-method-browser /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-compatibility hides /usr/share/emacs24/site-lisp/ecb/ecb-compatibility /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb hides /usr/share/emacs24/site-lisp/ecb/ecb /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-mode-line hides /usr/share/emacs24/site-lisp/ecb/ecb-mode-line /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-speedbar hides /usr/share/emacs24/site-lisp/ecb/ecb-speedbar /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-buffertab hides /usr/share/emacs24/site-lisp/ecb/ecb-buffertab /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-winman-support hides /usr/share/emacs24/site-lisp/ecb/ecb-winman-support /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-autoloads hides /usr/share/emacs24/site-lisp/ecb/ecb-autoloads /home/slanning/.emacs.d/elpa/ecb-20140215.114/silentcomp hides /usr/share/emacs24/site-lisp/ecb/silentcomp /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-multiframe hides /usr/share/emacs24/site-lisp/ecb/ecb-multiframe /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-analyse hides /usr/share/emacs24/site-lisp/ecb/ecb-analyse /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-cedet-wrapper hides /usr/share/emacs24/site-lisp/ecb/ecb-cedet-wrapper /usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/share/emacs/site-lisp/debian-startup /usr/share/emacs24/site-lisp/flim/md4 hides /usr/share/emacs/24.5/lisp/md4 /usr/share/emacs24/site-lisp/flim/hex-util hides /usr/share/emacs/24.5/lisp/hex-util /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.5/lisp/net/sasl /usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/emacs/24.5/lisp/net/ntlm /usr/share/emacs24/site-lisp/flim/hmac-def hides /usr/share/emacs/24.5/lisp/net/hmac-def /usr/share/emacs24/site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.5/lisp/net/sasl-ntlm /usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs/24.5/lisp/net/sasl-digest /usr/share/emacs24/site-lisp/flim/hmac-md5 hides /usr/share/emacs/24.5/lisp/net/hmac-md5 /usr/share/emacs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.5/lisp/net/sasl-cram Features: (shadow sort mail-extr warnings mule-util time-stamp copyright tabify emacsbug sendmail semantic/ia semantic/analyze/refs semantic/edit jka-compr grep misearch multi-isearch ede/dired ede/emacs semantic/analyze/complete semantic/db-typecache semantic/complete eieio-opt find-func semantic/decorate/mode pp descr-text help-mode vc-git ede/cpp-root semantic/dep semantic/tag-file semantic/wisent/java-tags semantic/wisent/javat-wy jdee-prj-common gradle crm ggtags ewoc cc-langs flymake my-init my-init-display smL-theme init-display frame-cmds frame-fns avoid disp-table recentf edit-server org-install tramp tramp-compat auth-source gnus-util password-cache tramp-loaddefs trampver which-func cpp my-init-java auto-complete-config auto-complete popup semantic/db-global semantic/symref/global semantic/symref inversion cedet-global whitespace decompile jdee-checkstyle jdee-javadoc working jdee-javadoc-gen srecode/mode srecode/insert srecode/filters srecode/args srecode/find srecode/map srecode/ctxt srecode/compile srecode/dictionary srecode/table srecode ede/speedbar ede/files ede ede/base ede/auto ede/source eieio-speedbar eieio-custom server init-netflix skeleton init-gradle init-git magit-bisect magit-key-mode magit diff-mode log-edit message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 rfc2047 rfc2045 ietf-drums mm-util mail-prsvr mailabbrev gmm-utils mailheader pcvs-util add-log init-calc init-online-help init-shell init-perl init-jdee jdee-patches init-jdee-gen init-jdee-formatting init-jdibug jdibug jdibug-menu jdibug-run jdibug-ui jdibug-expr semantic/wisent semantic/wisent/wisent jdibug-java-expr-wy jdi jdwp jdibug-util bindat tree-mode elog jdee-refactor dired-aux dired-x dired jdee-xref jdee derived jdee-wiz jdee-project-file jdee-jdk-manager cl-macs jdee-jdb jdee-java-grammar jdee-which-method jdee-font-lock jdee-help jdee-gen tempo jdee-custom jdee-compile jdee-class jdee-file-util jdee-parse-class jdee-bsh jdee-plugins jdee-parse-expr jdee-bug jdee-run jdee-dbs jdee-dbo jdee-widgets tree-widget jdee-db jdee-open-source semantic/senator semantic/decorate pulse jdee-util arc-mode archive-mode jdee-import jdee-complete semantic/idle jdee-parse rx jdee-imenu semantic/imenu semantic/sb imenu semantic/db-file data-debug cedet-files semantic/java semantic/doc etags avl-tree jdee-annotations efc cus-edit cus-start cus-load cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine beanshell init-c init-sendmail feedmail mail-utils init-vm vcard vm-vcard vm-menu ps-print ps-def lpr vm-save vm-ps-print vm-autoload vm-autoloads vm-version vm-vars init-print init-hotlink init-unix cl package epg-config time w3m-load scala-mode-auto 50magit go-mode-autoloads ido ess-toolbar ess-mouse mouseme browse-url ess-menu ess-swv ess-noweb ess-noweb-font-lock-mode ess-bugs-l essd-els ess-sas-d ess-sas-l ess-sas-a shell pcomplete ess-sta-d ess-sta-l cc-vars cc-defs make-regexp ess-sp6-d ess-sp3-d ess-julia ess-r-d ess-r-completion ess-tracebug format-spec ess-roxy ess-help ess-developer eldoc ess-s-l ess ess-inf ess-mode ess-noweb-mode ess-utils ess-custom executable ess-compat ess-site erlang-start jabber-autoloads emacs-goodies-el emacs-goodies-custom emacs-goodies-loaddefs easy-mmode ecb edmacro kmacro ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload lisp-mnt ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde ecb-method-browser hideshow ecb-semantic-wrapper ecb-semantic ecb-file-browser ecb-speedbar ecb-layout compile comint ansi-color ecb-create-layout advice help-fns ecb-compilation ecb-common-browser speedbar sb-image dframe ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find semantic/db-ref semantic/analyze semantic/sort semantic/scope semantic/analyze/fcn semantic/db gv eieio-base semantic/format ezimage semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile cl-extra cconv eieio-core mode-local cedet wid-edit cl-loaddefs cl-lib ecb-util ring thingatpt info easymenu dash-functional dash time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind gfilenotify dynamic-setting system-font-setting font-render-setting move-toolbar gtk x-toolkit x multi-tty emacs) Memory information: ((conses 16 641400 27229) (symbols 48 69349 0) (miscs 40 558 837) (strings 32 237970 18648) (string-bytes 1 5062882) (vectors 16 55372) (vector-slots 8 880056 25901) (floats 8 508 640) (intervals 56 6431 37) (buffers 960 29) (heap 1024 64333 2328)) --001a113f9930a9a14e052813041d Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
In the file cc-engine the function c-guess-basic-synt= ax doesn't
always properly handle indentation after a Java an= notation.
In the case where the annotation spans multiple lines, = the
following code in indented to be in-line with the last line
of the annotation:

=C2=A0 =C2=A0 @AnAnnot= ation(param1=3D1,
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 =C2=A0 param2=3D2)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 public void run() {
=C2=A0 =C2=A0 }

The problem is in the CASE 5N clause, where the cod= e calls
=C2=A0 =C2=A0 (c-add-syntax 'annotation-top-cont (c-p= oint 'boi))
Instead of moving to the previous line, it should= move to the
beginning of the annotation
=C2=A0 =C2=A0 = (prog1
=C2=A0 =C2=A0 =C2=A0 =C2=A0 (c-add-syntax 'annotation-= top-cont (progn (c-beginning-of-statement-1) (point)))
=C2=A0 =C2= =A0 =C2=A0 (goto-char placeholder))


In GNU Emacs 24.5.1 (x86_64-pc-linux-gnu, GTK+ Version 3.16.6)
= =C2=A0of 2015-09-17 on lgw01-52, modified by Debian
Windowing sys= tem distributor `The X.Org Foundation', version 11.0.11702000
System Description: Ubun= tu 15.10

Configured using:
=C2=A0`config= ure --build x86_64-linux-gnu --prefix=3D/usr
=C2=A0--sharedstated= ir=3D/var/lib --libexecdir=3D/usr/lib
=C2=A0--localstatedir=3D/va= r/lib --infodir=3D/usr/share/info
=C2=A0--mandir=3D/usr/share/man= --with-pop=3Dyes
=C2=A0--enable-locallisppath=3D/etc/emacs24:/et= c/emacs:/usr/local/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-l= isp:/usr/share/emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
= =C2=A0--build x86_64-linux-gnu --prefix=3D/usr --sharedstatedir=3D/var/lib<= /div>
=C2=A0--libexecdir=3D/usr/lib --localstatedir=3D/var/lib
=C2=A0--infodir=3D/usr/share/info --mandir=3D/usr/share/man --with-pop=3D= yes
=C2=A0--enable-locallisppath=3D/etc/emacs24:/etc/emacs:/usr/l= ocal/share/emacs/24.5/site-lisp:/usr/local/share/emacs/site-lisp:/usr/share= /emacs/24.5/site-lisp:/usr/share/emacs/site-lisp
=C2=A0--with-x= =3Dyes --with-x-toolkit=3Dgtk3 --with-toolkit-scroll-bars
=C2=A0&= #39;CFLAGS=3D-g -O2 -fstack-protector-strong -Wformat
=C2=A0-Werr= or=3Dformat-security -Wall' CPPFLAGS=3D-D_FORTIFY_SOURCE=3D2
= =C2=A0'LDFLAGS=3D-Wl,-Bsymbolic-functions -Wl,-z,relro''
<= div>
Important settings:
=C2=A0 value of $LANG: en_= US.UTF-8
=C2=A0 value of $XMODIFIERS: @im=3Dibus
=C2=A0= locale-coding-system: utf-8-unix

Major mode: Info=

Minor modes in effect:
=C2=A0 recentf-m= ode: t
=C2=A0 global-edit-server-edit-mode: t
=C2=A0 wh= ich-function-mode: t
=C2=A0 global-whitespace-mode: t
= =C2=A0 global-srecode-minor-mode: t
=C2=A0 global-ede-mode: t
=C2=A0 diff-auto-refine-mode: t
=C2=A0 global-semantic-idl= e-completions-mode: t
=C2=A0 global-semantic-idle-scheduler-mode:= t
=C2=A0 global-semantic-idle-summary-mode: t
=C2=A0 d= isplay-time-mode: t
=C2=A0 shell-dirtrack-mode: t
=C2= =A0 global-semanticdb-minor-mode: t
=C2=A0 semantic-mode: t
=
=C2=A0 tooltip-mode: t
=C2=A0 electric-indent-mode: t
<= div>=C2=A0 mouse-wheel-mode: t
=C2=A0 menu-bar-mode: t
= =C2=A0 file-name-shadow-mode: t
=C2=A0 global-font-lock-mode: t
=C2=A0 font-lock-mode: t
=C2=A0 blink-cursor-mode: t
=C2=A0 auto-composition-mode: t
=C2=A0 auto-encryption-mod= e: t
=C2=A0 auto-compression-mode: t
=C2=A0 buffer-read= -only: t
=C2=A0 line-number-mode: t
=C2=A0 transient-ma= rk-mode: t

Recent messages:
Undo!
<= div>Auto-saving...done
Quit
Saving file /home/slanning/= Templates/java-library/src/main/java/com/netflix/Foo.java...
Wrot= e /home/slanning/Templates/java-library/src/main/java/com/netflix/Foo.java<= /div>
Mark set [4 times]
Saving file /home/slanning/Templates= /java-library/src/main/java/com/netflix/Foo.java...
Wrote /home/s= lanning/Templates/java-library/src/main/java/com/netflix/Foo.java
Composing main Info directory...done
Mark saved where search sta= rted [2 times]

Load-path shadows:
/home/= slanning/.emacs.d/elpa/ecb-20140215.114/ecb-cycle hides /usr/share/emacs24/= site-lisp/ecb/ecb-cycle
/home/slanning/.emacs.d/elpa/ecb-20140215= .114/ecb-upgrade hides /usr/share/emacs24/site-lisp/ecb/ecb-upgrade
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-help hides /usr/share/= emacs24/site-lisp/ecb/ecb-help
/home/slanning/.emacs.d/elpa/ecb-2= 0140215.114/ecb-file-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-fil= e-browser
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-seman= tic-wrapper hides /usr/share/emacs24/site-lisp/ecb/ecb-semantic-wrapper
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-eshell hides /usr/= share/emacs24/site-lisp/ecb/ecb-eshell
/home/slanning/.emacs.d/el= pa/ecb-20140215.114/ecb-layout-defs hides /usr/share/emacs24/site-lisp/ecb/= ecb-layout-defs
/home/slanning/.emacs.d/elpa/ecb-20140215.114/tre= e-buffer hides /usr/share/emacs24/site-lisp/ecb/tree-buffer
/home= /slanning/.emacs.d/elpa/ecb-20140215.114/ecb-face hides /usr/share/emacs24/= site-lisp/ecb/ecb-face
/home/slanning/.emacs.d/elpa/ecb-20140215.= 114/ecb-jde hides /usr/share/emacs24/site-lisp/ecb/ecb-jde
/home/= slanning/.emacs.d/elpa/ecb-20140215.114/ecb-examples hides /usr/share/emacs= 24/site-lisp/ecb/ecb-examples
/home/slanning/.emacs.d/elpa/ecb-20= 140215.114/ecb-autogen hides /usr/share/emacs24/site-lisp/ecb/ecb-autogen
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-util hides /usr/= share/emacs24/site-lisp/ecb/ecb-util
/home/slanning/.emacs.d/elpa= /ecb-20140215.114/ecb-semantic hides /usr/share/emacs24/site-lisp/ecb/ecb-s= emantic
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-create-= layout hides /usr/share/emacs24/site-lisp/ecb/ecb-create-layout
/= home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-tod hides /usr/share/emacs= 24/site-lisp/ecb/ecb-tod
/home/slanning/.emacs.d/elpa/ecb-2014021= 5.114/ecb-common-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-common-= browser
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-compila= tion hides /usr/share/emacs24/site-lisp/ecb/ecb-compilation
/home= /slanning/.emacs.d/elpa/ecb-20140215.114/ecb-navigate hides /usr/share/emac= s24/site-lisp/ecb/ecb-navigate
/home/slanning/.emacs.d/elpa/ecb-2= 0140215.114/ecb-layout hides /usr/share/emacs24/site-lisp/ecb/ecb-layout
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-advice-test hides= /usr/share/emacs24/site-lisp/ecb/ecb-advice-test
/home/slanning/= .emacs.d/elpa/ecb-20140215.114/ecb-symboldef hides /usr/share/emacs24/site-= lisp/ecb/ecb-symboldef
/home/slanning/.emacs.d/elpa/ecb-20140215.= 114/ecb-method-browser hides /usr/share/emacs24/site-lisp/ecb/ecb-method-br= owser
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-compatibi= lity hides /usr/share/emacs24/site-lisp/ecb/ecb-compatibility
/ho= me/slanning/.emacs.d/elpa/ecb-20140215.114/ecb hides /usr/share/emacs24/sit= e-lisp/ecb/ecb
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-= mode-line hides /usr/share/emacs24/site-lisp/ecb/ecb-mode-line
/h= ome/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-speedbar hides /usr/share/e= macs24/site-lisp/ecb/ecb-speedbar
/home/slanning/.emacs.d/elpa/ec= b-20140215.114/ecb-buffertab hides /usr/share/emacs24/site-lisp/ecb/ecb-buf= fertab
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-winman-s= upport hides /usr/share/emacs24/site-lisp/ecb/ecb-winman-support
= /home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-autoloads hides /usr/shar= e/emacs24/site-lisp/ecb/ecb-autoloads
/home/slanning/.emacs.d/elp= a/ecb-20140215.114/silentcomp hides /usr/share/emacs24/site-lisp/ecb/silent= comp
/home/slanning/.emacs.d/elpa/ecb-20140215.114/ecb-multiframe= hides /usr/share/emacs24/site-lisp/ecb/ecb-multiframe
/home/slan= ning/.emacs.d/elpa/ecb-20140215.114/ecb-analyse hides /usr/share/emacs24/si= te-lisp/ecb/ecb-analyse
/home/slanning/.emacs.d/elpa/ecb-20140215= .114/ecb-cedet-wrapper hides /usr/share/emacs24/site-lisp/ecb/ecb-cedet-wra= pper
/usr/share/emacs/24.5/site-lisp/debian-startup hides /usr/sh= are/emacs/site-lisp/debian-startup
/usr/share/emacs24/site-lisp/f= lim/md4 hides /usr/share/emacs/24.5/lisp/md4
/usr/share/emacs24/s= ite-lisp/flim/hex-util hides /usr/share/emacs/24.5/lisp/hex-util
= /usr/share/emacs24/site-lisp/flim/sasl hides /usr/share/emacs/24.5/lisp/net= /sasl
/usr/share/emacs24/site-lisp/flim/ntlm hides /usr/share/ema= cs/24.5/lisp/net/ntlm
/usr/share/emacs24/site-lisp/flim/hmac-def = hides /usr/share/emacs/24.5/lisp/net/hmac-def
/usr/share/emacs24/= site-lisp/flim/sasl-ntlm hides /usr/share/emacs/24.5/lisp/net/sasl-ntlm
/usr/share/emacs24/site-lisp/flim/sasl-digest hides /usr/share/emacs= /24.5/lisp/net/sasl-digest
/usr/share/emacs24/site-lisp/flim/hmac= -md5 hides /usr/share/emacs/24.5/lisp/net/hmac-md5
/usr/share/ema= cs24/site-lisp/flim/sasl-cram hides /usr/share/emacs/24.5/lisp/net/sasl-cra= m

Features:
(shadow sort mail-extr warni= ngs mule-util time-stamp copyright tabify
emacsbug sendmail seman= tic/ia semantic/analyze/refs semantic/edit
jka-compr grep misearc= h multi-isearch ede/dired ede/emacs
semantic/analyze/complete sem= antic/db-typecache semantic/complete
eieio-opt find-func semantic= /decorate/mode pp descr-text help-mode
vc-git ede/cpp-root semant= ic/dep semantic/tag-file
semantic/wisent/java-tags semantic/wisen= t/javat-wy jdee-prj-common
gradle crm ggtags ewoc cc-langs flymak= e my-init my-init-display
smL-theme init-display frame-cmds frame= -fns avoid disp-table recentf
edit-server org-install tramp tramp= -compat auth-source gnus-util
password-cache tramp-loaddefs tramp= ver which-func cpp my-init-java
auto-complete-config auto-complet= e popup semantic/db-global
semantic/symref/global semantic/symref= inversion cedet-global whitespace
decompile jdee-checkstyle jdee= -javadoc working jdee-javadoc-gen
srecode/mode srecode/insert sre= code/filters srecode/args srecode/find
srecode/map srecode/ctxt s= recode/compile srecode/dictionary
srecode/table srecode ede/speed= bar ede/files ede ede/base ede/auto
ede/source eieio-speedbar eie= io-custom server init-netflix skeleton
init-gradle init-git magit= -bisect magit-key-mode magit diff-mode
log-edit message rfc822 mm= l mml-sec mm-decode mm-bodies mm-encode
mail-parse rfc2231 rfc204= 7 rfc2045 ietf-drums mm-util mail-prsvr
mailabbrev gmm-utils mail= header pcvs-util add-log init-calc
init-online-help init-shell in= it-perl init-jdee jdee-patches
init-jdee-gen init-jdee-formatting= init-jdibug jdibug jdibug-menu
jdibug-run jdibug-ui jdibug-expr = semantic/wisent semantic/wisent/wisent
jdibug-java-expr-wy jdi jd= wp jdibug-util bindat tree-mode elog
jdee-refactor dired-aux dire= d-x dired jdee-xref jdee derived jdee-wiz
jdee-project-file jdee-= jdk-manager cl-macs jdee-jdb jdee-java-grammar
jdee-which-method = jdee-font-lock jdee-help jdee-gen tempo jdee-custom
jdee-compile = jdee-class jdee-file-util jdee-parse-class jdee-bsh
jdee-plugins = jdee-parse-expr jdee-bug jdee-run jdee-dbs jdee-dbo
jdee-widgets = tree-widget jdee-db jdee-open-source semantic/senator
semantic/de= corate pulse jdee-util arc-mode archive-mode jdee-import
jdee-com= plete semantic/idle jdee-parse rx jdee-imenu semantic/imenu
seman= tic/sb imenu semantic/db-file data-debug cedet-files semantic/java
semantic/doc etags avl-tree jdee-annotations efc cus-edit cus-start
=
cus-load cc-mode cc-fonts cc-guess cc-menus cc-cmds cc-styles cc-align=
cc-engine beanshell init-c init-sendmail feedmail mail-utils ini= t-vm
vcard vm-vcard vm-menu ps-print ps-def lpr vm-save vm-ps-pri= nt
vm-autoload vm-autoloads vm-version vm-vars init-print init-ho= tlink
init-unix cl package epg-config time w3m-load scala-mode-au= to 50magit
go-mode-autoloads ido ess-toolbar ess-mouse mouseme br= owse-url ess-menu
ess-swv ess-noweb ess-noweb-font-lock-mode ess-= bugs-l essd-els ess-sas-d
ess-sas-l ess-sas-a shell pcomplete ess= -sta-d ess-sta-l cc-vars cc-defs
make-regexp ess-sp6-d ess-sp3-d = ess-julia ess-r-d ess-r-completion
ess-tracebug format-spec ess-r= oxy ess-help ess-developer eldoc ess-s-l
ess ess-inf ess-mode ess= -noweb-mode ess-utils ess-custom executable
ess-compat ess-site e= rlang-start jabber-autoloads emacs-goodies-el
emacs-goodies-custo= m emacs-goodies-loaddefs easy-mmode ecb edmacro
kmacro ecb-symbol= def ecb-analyse ecb-compatibility ecb-winman-support
ecb-autogen = autoload lisp-mnt ecb-tod ecb-cycle ecb-eshell ecb-help
ecb-jde e= cb-method-browser hideshow ecb-semantic-wrapper ecb-semantic
ecb-= file-browser ecb-speedbar ecb-layout compile comint ansi-color
ec= b-create-layout advice help-fns ecb-compilation ecb-common-browser
speedbar sb-image dframe ecb-navigate ecb-mode-line ecb-face tree-buffer<= /div>
ecb-upgrade ecb-cedet-wrapper semantic/db-mode semantic/db-find
semantic/db-ref semantic/analyze semantic/sort semantic/scope
semantic/analyze/fcn semantic/db gv eieio-base semantic/format ezimag= e
semantic/tag-ls semantic/find semantic/ctxt semantic/util-modes=
semantic/util semantic semantic/tag semantic/lex semantic/fw eie= io
byte-opt bytecomp byte-compile cl-extra cconv eieio-core mode-= local
cedet wid-edit cl-loaddefs cl-lib ecb-util ring thingatpt i= nfo easymenu
dash-functional dash time-date tooltip electric uniq= uify ediff-hook
vc-hooks lisp-float-type mwheel x-win x-dnd tool-= bar dnd fontset image
regexp-opt fringe tabulated-list newcomment= lisp-mode prog-mode register
page menu-bar rfn-eshadow timer sel= ect scroll-bar mouse jit-lock
font-lock syntax facemenu font-core= frame cham georgian utf-8-lang
misc-lang vietnamese tibetan thai= tai-viet lao korean japanese hebrew
greek romanian slovak czech = european ethiopic indian cyrillic chinese
case-table epa-hook jka= -cmpr-hook help simple abbrev minibuffer nadvice
loaddefs button = faces cus-face macroexp files text-properties overlay
sha1 md5 ba= se64 format env code-pages mule custom widget
hashtable-print-rea= dable backquote make-network-process dbusbind
gfilenotify dynamic= -setting system-font-setting font-render-setting
move-toolbar gtk= x-toolkit x multi-tty emacs)

Memory information:<= /div>
((conses 16 641400 27229)
=C2=A0(symbols 48 69349 0)
=C2=A0(miscs 40 558 837)
=C2=A0(strings 32 237970 18648)<= /div>
=C2=A0(string-bytes 1 5062882)
=C2=A0(vectors 16 55372)=
=C2=A0(vector-slots 8 880056 25901)
=C2=A0(floats 8 50= 8 640)
=C2=A0(intervals 56 6431 37)
=C2=A0(buffers 960 = 29)
=C2=A0(heap 1024 64333 2328))

--001a113f9930a9a14e052813041d--