From unknown Mon Aug 18 08:27:33 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#13100 <13100@debbugs.gnu.org> To: bug#13100 <13100@debbugs.gnu.org> Subject: Status: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long Reply-To: bug#13100 <13100@debbugs.gnu.org> Date: Mon, 18 Aug 2025 15:27:33 +0000 retitle 13100 24.2; c-guess-basic-syntax of cc-engine returned wrong syntac= tic context if init list of C++ class constructor is too long reassign 13100 emacs,cc-mode submitter 13100 Yangyingchao severity 13100 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Thu Dec 06 01:07:34 2012 Received: (at submit) by debbugs.gnu.org; 6 Dec 2012 06:07:34 +0000 Received: from localhost ([127.0.0.1]:55710 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgUcO-0002MM-LU for submit@debbugs.gnu.org; Thu, 06 Dec 2012 01:07:34 -0500 Received: from eggs.gnu.org ([208.118.235.92]:51368) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TgSCE-0006aX-0L for submit@debbugs.gnu.org; Wed, 05 Dec 2012 22:32:24 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgSBy-0000h5-Vx for submit@debbugs.gnu.org; Wed, 05 Dec 2012 22:32:11 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_LOW,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:33697) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgSBy-0000gt-S5 for submit@debbugs.gnu.org; Wed, 05 Dec 2012 22:32:06 -0500 Received: from eggs.gnu.org ([208.118.235.92]:34490) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgSBv-0001fj-0M for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 22:32:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TgSBq-0000dd-Ug for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 22:32:02 -0500 Received: from mail-pa0-f41.google.com ([209.85.220.41]:44528) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TgSBq-0000dY-Kl for bug-gnu-emacs@gnu.org; Wed, 05 Dec 2012 22:31:58 -0500 Received: by mail-pa0-f41.google.com with SMTP id bj3so4038424pad.0 for ; Wed, 05 Dec 2012 19:31:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; bh=KclCjuwpO/jpslrxpCGGSV5t+eQ2FKV67pjQYlpMVzo=; b=iR4aWOWrV90O7pxetmChuqTi/ekr0U4t0RtqufNbaNiu4jVHXeaKukPnXdItYJ4+Ya 7xVBfIICoyfMq4ywTAl4hqdlXcWjZx1nFVUzMJiZO8EpHDaqIsW9bVYPkpfweBj1A1vD i7HaJgLXk56VZGyFDUO6zmAkAPQc+oF+m58QRL+BZIye1Rb/soz97Sk+7SarwAWEtdvL ohO+Kyq+MjIKnh8VZNLE7MGzEaZPOFz41GGWv+LVGUDXEoMOlCz6nE0CKXCYX8cOgI0v 6ravFDP5382CLkLvHiqdV5XhCsVQyHgMToTzFjoja4PA1OT90oVl6b61dg2bAxkyNpTg wR1w== Received: by 10.69.1.71 with SMTP id be7mr2235294pbd.45.1354764717655; Wed, 05 Dec 2012 19:31:57 -0800 (PST) Received: from [192.168.84.30] ([60.29.171.35]) by mx.google.com with ESMTPS id ju7sm3958866pbb.60.2012.12.05.19.31.52 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 05 Dec 2012 19:31:56 -0800 (PST) From: Yangyingchao Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Subject: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long Date: Thu, 6 Dec 2012 11:31:48 +0800 Message-Id: To: bug-gnu-emacs@gnu.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Thu, 06 Dec 2012 01:07:31 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Features: In GNU Emacs 24.2.1 (x86_64-apple-darwin11, NS apple-appkit-1138.51) of 2012-11-19 on yiyang-macmini Windowing system distributor `Apple', version 10.3.1138 Configured using: `configure '--prefix=3D/opt/Funtoo/usr' '--build=3Dx86_64-apple-darwin11'= '--host=3Dx86_64-apple-darwin11' '--mandir=3D/opt/Funtoo/usr/share/man' '--infodir=3D/opt/Funtoo/usr/share/info' '--datadir=3D/opt/Funtoo/usr/share' '--sysconfdir=3D/opt/Funtoo/etc' '--localstatedir=3D/opt/Funtoo/var/lib' '--disable-dependency-tracking' '--program-suffix=3D-emacs-24' '--infodir=3D/opt/Funtoo/usr/share/info/emacs-24' = '--enable-locallisppath=3D/opt/Funtoo/etc/emacs:/opt/Funtoo/usr/share/emac= s/site-lisp' '--with-crt-dir=3D/usr/lib' '--with-gameuser=3Dgames' '--without-compress-info' '--disable-maintainer-mode' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--without-gpm' '--without-dbus' '--with-gnutls' '--with-xml2' '--without-selinux' '--with-wide-int' '--without-sound' '--with-ns' '--disable-ns-self-contained' '--without-x' 'GENTOO_PACKAGE=3Dapp-editors/emacs-24.2' 'build_alias=3Dx86_64-apple-darwin11' = 'host_alias=3Dx86_64-apple-darwin11' 'CFLAGS=3D-O2 -pipe -march=3Dnocona' 'LDFLAGS=3D-Wl,-dead_strip_dylibs' 'CPPFLAGS=3D'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: nil value of $XMODIFIERS: nil locale-coding-system: nil default enable-multibyte-characters: t Major mode: C++/l Minor modes in effect: yas-global-mode: t yas-minor-mode: t auto-insert-mode: t global-auto-complete-mode: t auto-complete-mode: t xgtags-mode: t semantic-mru-bookmark-mode: t semantic-idle-summary-mode: t semantic-idle-scheduler-mode: t semantic-decoration-mode: t senator-minor-mode: t which-function-mode: t semantic-show-parser-state-mode: t hide-ifdef-mode: t global-undo-tree-mode: t undo-tree-mode: t shell-dirtrack-mode: t diff-auto-refine-mode: t flyspell-mode: t recentf-mode: t icomplete-mode: t global-edit-server-edit-mode: t display-time-mode: t global-cwarn-mode: t cwarn-mode: t show-paren-mode: t auto-image-file-mode: t tooltip-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 column-number-mode: t line-number-mode: t transient-mark-mode: t abbrev-mode: t Recent input: C-n C-o C-y C-k C-x C-s C-p C-p C-p C-p C-p M-f M-f=20 M-f M-f M-f C-a C-, C-v C-v C-s s t d : : C-f C-b =20 M-f M-f M-f M-f C-f C-f C-f C-f C-f C-f =20 M-b M-f M-f M-f M-f M-f M-b M-f M-f=20 M-f M-f M-f M-f M-b C-a C-n C-p C-p C-n C-n=20 C-n C-n C-. C-p C-p C-p C-SPC M-v C-p C-p C-p C-p C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-l C-p C-p C-w=20 C-. C-o C-o C-y M-v C-p C-p C-p C-p C-p C-p C-p C-p=20 C-p C-p C-p C-p C-p / / SPC @ t o d C-a C-SPC C-. C-w=20 C-x C-s C-p C-, M-x d e l e t r a=20 C-x C-s C-x C-f F r a m e L =20 L C-v C-v C-, C-s \ r C-a C-l=20 C-n C-n C-n C-e C-b C-b C-b C-b \ r C-x C-q \ r C-a=20 C-p C-p C-p C-p C-p C-SPC C-n C-g C-n C-k C-k C-p C-k=20 C-p C-e SPC C-d C-a C-n C-k C-k C-x C-s C-x o C-a C-p=20 C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-p C-n C-n=20 C-n C-a C-n C-n C-n C-n C-n C-l C-a C-SPC C-n C-n C-n=20 C-n C-n C-n C-n C-n C-n C-w C-x C-s C-o c o n s t SPC=20 v e c L a y e r P t r C-e & SPC l a y e r s SPC=20 =3D SPC m _ p L a y M-n =20 l a y e r P - > G e t L M-n M-n M-n=20 ( C-e ; C-o Recent messages: Mark set [6 times] Wrote = /Users/Work/scm_tj/tyang_scm_tj/client/c/core/nbservices/feature_111107_ma= p3d/src/map/layermanager/UnifiedLayerManager.cpp [3 times] [yas] snippet expanded. [2 times] [yas] Snippet 0 exited. [3 times] Auto-saving...done Hiding... Hiding done Hiding... Hiding done Open = /opt/Funtoo/usr/lib/gcc/x86_64-apple-darwin11/4.2.1/include/g++-v4/tr1/boo= st_shared_ptr.h Load-path shadows: /Users/yiyang/.emacs.d/site-lisp/graphviz-dot-mode/graphviz-dot-mode = hides /Users/yiyang/.emacs.d/site-lisp/misc/graphviz-dot-mode /Users/yiyang/.emacs.d/site-lisp/cflow/cflow-mode hides = /Users/yiyang/.emacs.d/site-lisp/prog/cflow-mode /Users/yiyang/.emacs.d/site-lisp/dropdown-list/dropdown-list hides = /Users/yiyang/.emacs.d/site-lisp/yasnippet/dropdown-list ~/.emacs.d/site-lisp/modified/ede-linux hides = /Users/yiyang/.emacs.d/site-lisp/cedet/ede/ede-linux /Users/yiyang/.emacs.d/site-lisp/speedbar/speedbar-loaddefs hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/speedbar-loaddefs /Users/yiyang/.emacs.d/site-lisp/speedbar/speedbar-load hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/speedbar-load /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-w3 hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-w3 /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-texinfo hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-texinfo /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-rmail hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-rmail /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-info hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-info /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-html hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-html /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-gud hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-gud /Users/yiyang/.emacs.d/site-lisp/speedbar/sb-ant hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-ant /Users/yiyang/.emacs.d/site-lisp/speedbar/rpm hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/rpm /Users/yiyang/.emacs.d/site-lisp/speedbar/bigclock hides = /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/bigclock /Users/yiyang/.emacs.d/site-lisp/magit/rebase-mode hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/rebase-mode /Users/yiyang/.emacs.d/site-lisp/magit/magit hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit /Users/yiyang/.emacs.d/site-lisp/magit/magit-wip hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-wip /Users/yiyang/.emacs.d/site-lisp/magit/magit-topgit hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-topgit /Users/yiyang/.emacs.d/site-lisp/magit/magit-svn hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-svn /Users/yiyang/.emacs.d/site-lisp/magit/magit-stgit hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-stgit /Users/yiyang/.emacs.d/site-lisp/magit/magit-key-mode hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-key-mode /Users/yiyang/.emacs.d/site-lisp/magit/magit-blame hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-blame /Users/yiyang/.emacs.d/site-lisp/magit/magit-bisect hides = /Users/yiyang/.emacs.d/site-lisp/version-control/magit/magit-bisect = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/html-mode/.yas-= setup hides = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/objc-mode/.yas-= setup = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/html-mode/.yas-= setup hides = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/rails-mode/.yas= -setup = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/html-mode/.yas-= setup hides = /Users/yiyang/.emacs.d/site-lisp/yasnippet/extras/imported/ruby-mode/.yas-= setup /Users/yiyang/.emacs.d/site-lisp/prog/cmake-mode hides = /opt/Funtoo/usr/share/emacs/site-lisp/cmake/cmake-mode /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/speedbar hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/speedbar /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/sb-image hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/sb-image /Users/yiyang/.emacs.d/site-lisp/cedet/common/ezimage hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/ezimage /Users/yiyang/.emacs.d/site-lisp/cedet/speedbar/dframe hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/dframe ~/.emacs.d/site-lisp/modified/flyspell hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/textmodes/flyspell ~/.emacs.d/site-lisp/modified/flymake hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/progmodes/flymake /Users/yiyang/.emacs.d/site-lisp/w3m/attic/rfc2368 hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/mail/rfc2368 /Users/yiyang/.emacs.d/site-lisp/magit/.dir-locals hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/gnus/.dir-locals /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio-speedbar hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio-speedbar /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio-opt hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio-opt /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio-datadebug hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio-datadebug /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio-custom hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio-custom /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/eieio-base hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/eieio-base /Users/yiyang/.emacs.d/site-lisp/cedet/eieio/chart hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/emacs-lisp/chart /Users/yiyang/.emacs.d/site-lisp/cedet/srecode/srecode hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/srecode /Users/yiyang/.emacs.d/site-lisp/cedet/semantic/semantic hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/semantic /Users/yiyang/.emacs.d/site-lisp/cedet/common/pulse hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/pulse /Users/yiyang/.emacs.d/site-lisp/cedet/common/mode-local hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/mode-local /Users/yiyang/.emacs.d/site-lisp/cedet/common/inversion hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/inversion /Users/yiyang/.emacs.d/site-lisp/cedet/ede/ede hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/ede /Users/yiyang/.emacs.d/site-lisp/cedet/common/data-debug hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/data-debug /Users/yiyang/.emacs.d/site-lisp/cedet/common/cedet hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/cedet /Users/yiyang/.emacs.d/site-lisp/cedet/common/cedet-idutils hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/cedet-idutils /Users/yiyang/.emacs.d/site-lisp/cedet/common/cedet-global hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/cedet-global /Users/yiyang/.emacs.d/site-lisp/cedet/common/cedet-files hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/cedet-files /Users/yiyang/.emacs.d/site-lisp/cedet/common/cedet-cscope hides = /opt/Funtoo/usr/share/emacs/24.2/lisp/cedet/cedet-cscope (shadow sort mail-extr ede-emacs emacsbug message rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mail-utils skeleton semantic-tag-write misearch multi-isearch semanticdb-typecache pp ede-locate locate vc-git semantic-tag-file semanticdb-file cedet-files semantic-el semantic-bovine bovine-debug semantic-debug 99-proj 999-proj-qt 991-proj-map3d ede-cpp-root server 10-emacs-custome 02-rc-keybindings rect-mark artist picture rect 06-rc-complete auto-complete-config yasnippet dropdown-list autoinsert 03-rc-prog-mode kconfig-mode protobuf-mode cmake-mode batch-mode powershell-mode flymake cflow-mode 100-private p4 auto-header member-function ctypes sourcepair auto-complete popup xgtags ecb newcomment ecb-symboldef ecb-analyse ecb-compatibility ecb-winman-support ecb-autogen autoload ecb-tod ecb-cycle ecb-eshell ecb-help ecb-jde efc ecb-method-browser ecb-semantic ecb-file-browser ecb-speedbar ecb-layout compile ecb-create-layout ecb-compilation ecb-common-browser ecb-navigate ecb-mode-line ecb-face tree-buffer ecb-upgrade ecb-cedet-wrapper ecb-util silentcomp srecode-mode srecode-insert srecode-args srecode-find srecode-ctxt srecode-compile srecode-table cogre-srecode semantic-edit srecode-template-mode srecode-template srecode-template-wy semantic-wisent wisent srecode-dictionary srecode-map semantic-m3 cedet-m3 semantic-mru-bookmark semantic-idle eldoc semantic-ectag-util semanticdb-global semantic-symref-global semantic-symref cedet-global semanticdb-mode semantic-decorate-include semanticdb-find semantic-decorate-mode semantic-decorate semantic-analyze-refs semantic-analyze-complete semantic-ia pulse senator which-func semantic-imenu semantic-sb imenu semantic-c semantic-gcc semantic-dep semantic-c-by semantic-lex-spp eieio-opt help-mode view cedet cedet-contrib-load contrib-loaddefs cogre-load cogre-loaddefs speedbar-load speedbar-loaddefs sb-info ede-load ede-loaddefs ede-speedbar ede-files ede ede-base ede-auto eieio-speedbar eieio-custom ede-source srecode-load srecode srecode-loaddefs semantic-load semantic-ia-sb semantic-analyze semantic-scope semantic-analyze-fcn semantic-sort semanticdb-javap cedet-java semanticdb-el semanticdb-ref semantic-find semanticdb eieio-base semantic-ctxt semantic-format semantic-util-modes semantic-util semantic semantic-lex semantic-tag-ls semantic-tag working fame semantic-fw semantic-loaddefs mode-local find-func eieio-load eieio-loaddefs cedet-load cedet-compat cedet-loaddefs hideif 05-rc-misc kluge esh-io stringtemplate-mode undo-tree doc-read disp-table w3m browse-url doc-view jka-compr image-mode timezone w3m-hist w3m-fb bookmark-w3m w3m-ems w3m-ccl ccl w3m-favicon w3m-image w3m-proc w3m-util tramp tramp-compat auth-source eieio inversion gnus-util mm-util mail-prsvr password-cache shell tramp-loaddefs sb-rfcview rfcview browse-kill-ring magit-bisect magit-key-mode magit diff-mode log-edit pcvs-util add-log 50magit highlight-utility hi-lock thingatpt ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff ls-lisp wdired dired-x dired yyc/flyspell ispell woman man sr-speedbar sb-html sb-texinfo speedbar sb-image ezimage dframe assoc session recentf tree-widget wid-edit make-mode ido icomplete 04-rc-other-modes logviewer fold-dwim hideshow edit-server org byte-opt warnings bytecomp byte-compile cconv macroexp ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-pcomplete pcomplete comint ansi-color ring org-list org-faces org-compat org-entities org-macs noutline outline format-spec cal-menu calendar cal-loaddefs org-install httpcode texmathp preview info reporter desktop tex-buf font-latex prv-emacs latex derived tex-style tex easy-mmode cl tex-site 01-rc-functions rx advice help-fns advice-preload edmacro kmacro time cwarn cc-mode cc-fonts easymenu cc-guess cc-menus cc-cmds cc-styles cc-align cc-engine cc-vars cc-defs paren avoid regexp-opt image-file site-gentoo time-date tooltip ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image fringe lisp-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 loaddefs button faces cus-face files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process ns multi-tty emacs) Date: Thu, 06 Dec 2012 11:30:15 +0800 Message-ID: --text follows this line-- I'm a c++ programer, and sometimes I need to initialize lots of member = fields during in a constructor. Sometimes when the init list is too = long, cc mode will treat some member-init-cont as topmost-init-cont, and = then gives a wrong indention.=20 After some debuging, I found this change:=20 http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00152.html. In this change, In CASE 5B, search limit is restricted to 500. This, = sometimes, is not enough. Best Regards Tubo= From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 12:46:16 2019 Received: (at 13100) by debbugs.gnu.org; 30 Sep 2019 16:46:16 +0000 Received: from localhost ([127.0.0.1]:60392 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEyoQ-000357-BA for submit@debbugs.gnu.org; Mon, 30 Sep 2019 12:46:15 -0400 Received: from mail-pf1-f182.google.com ([209.85.210.182]:46035) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iEyoO-0002yP-5u for 13100@debbugs.gnu.org; Mon, 30 Sep 2019 12:46:13 -0400 Received: by mail-pf1-f182.google.com with SMTP id y72so5913723pfb.12 for <13100@debbugs.gnu.org>; Mon, 30 Sep 2019 09:46:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=rcHAc9CgL/ibXJDZwfN64q3NHOqWS1OkiLcCR3JPlKI=; b=c23uhAHM+6dw1ydAnLqv4VQnJ584PR5HQwdLsR2IiKIBkKwOHzZkOInCBuD0SUme6W vgp22b7jZ3nSF2jEANiebcN5hf4MAhI9ssHk0xgpqDlDj7MiTfOrX3TdPLRkI5KRGoOT lZZvH0QV9ohbL5ptc4HCmCNsVA03wmgslvTzVteIXOS/1I6IdA5d2DZfcTPFPhvdv7Jm cHbxeu/U9INSmNaxgBKiRPgQQcrY1tg06zUdqjiY/23Tq7YfjQy4pbplWIhBSFBqWSzo 5kesYYLr7Ezmb5oexfDXVTmO050cyBF+Pe35DrBNXAmAwSFrdBPG9Yaik0WfcQ5qzfkY 0n/A== X-Gm-Message-State: APjAAAUyLq+xSUDU891w5kC/rzRx/xecaxwRYC/0aki76JSAvQPK4XNB YxgzARJB9zQNVbSTELif6f+3qUPiYjwWjqgvcDU= X-Google-Smtp-Source: APXvYqzYnz5q2yLE/r3S/20nvB9B8y0IseZZYbYpTCJbxJMqBKeT7ISIAWqxC1kM/6NAzWVIF7eL6OYWUm9a4ESsKjA= X-Received: by 2002:a63:1310:: with SMTP id i16mr23450739pgl.200.1569861966456; Mon, 30 Sep 2019 09:46:06 -0700 (PDT) MIME-Version: 1.0 From: Stefan Kangas Date: Mon, 30 Sep 2019 18:45:54 +0200 Message-ID: Subject: Re: bug#13100: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long To: Yangyingchao Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 13100 Cc: Alan Mackenzie , 13100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Yangyingchao writes: > I'm a c++ programer, and sometimes I need to initialize lots of member fields during in a constructor. Sometimes when the init list is too long, cc mode will treat some member-init-cont as topmost-init-cont, and then gives a wrong indention. > > After some debuging, I found this change: > > http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00152.html. > > In this change, In CASE 5B, search limit is restricted to 500. This, sometimes, is not enough. > > Best Regards > Tubo That was almost 7 years ago. Is this still an issue? Best regards, Stefan Kangas From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 14:42:54 2019 Received: (at 13100) by debbugs.gnu.org; 30 Sep 2019 18:42:54 +0000 Received: from localhost ([127.0.0.1]:60502 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF0dK-0002bj-9a for submit@debbugs.gnu.org; Mon, 30 Sep 2019 14:42:54 -0400 Received: from colin.muc.de ([193.149.48.1]:27096 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iF0dI-0002ba-Mk for 13100@debbugs.gnu.org; Mon, 30 Sep 2019 14:42:53 -0400 Received: (qmail 59342 invoked by uid 3782); 30 Sep 2019 18:42:50 -0000 Received: from acm.muc.de (p4FE15E39.dip0.t-ipconnect.de [79.225.94.57]) by colin.muc.de (tmda-ofmipd) with ESMTP; Mon, 30 Sep 2019 20:42:47 +0200 Received: (qmail 4824 invoked by uid 1000); 30 Sep 2019 18:42:47 -0000 Date: Mon, 30 Sep 2019 18:42:47 +0000 To: Stefan Kangas Subject: Re: bug#13100: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long Message-ID: <20190930184247.GB4761@ACM> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Delivery-Agent: TMDA/1.1.12 (Macallan) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 13100 Cc: Yangyingchao , 13100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello, Stefan. On Mon, Sep 30, 2019 at 18:45:54 +0200, Stefan Kangas wrote: > Yangyingchao writes: > > I'm a c++ programer, and sometimes I need to initialize lots of > > member fields during in a constructor. Sometimes when the init list > > is too long, cc mode will treat some member-init-cont as > > topmost-init-cont, and then gives a wrong indention. > > After some debuging, I found this change: > > http://lists.gnu.org/archive/html/emacs-diffs/2012-03/msg00152.html. > > In this change, In CASE 5B, search limit is restricted to 500. This, > > sometimes, is not enough. > > Best Regards > > Tubo > That was almost 7 years ago. Is this still an issue? No. This was solved in response to another bug report by commit 3d1c39faa4744f87838ecd07fdf01787d5235186 Tue Apr 30 16:19:14 2013 +0000 Handle arbitrarily long C++ member initialisation lists. Please feel free to close this bug report. > Best regards, > Stefan Kangas -- Alan Mackenzie (Nuremberg, Germany). From debbugs-submit-bounces@debbugs.gnu.org Mon Sep 30 16:29:18 2019 Received: (at 13100) by debbugs.gnu.org; 30 Sep 2019 20:29:18 +0000 Received: from localhost ([127.0.0.1]:60562 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF2II-0005L0-8E for submit@debbugs.gnu.org; Mon, 30 Sep 2019 16:29:18 -0400 Received: from mail-pl1-f195.google.com ([209.85.214.195]:46119) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iF2IG-0005Kh-3O for 13100@debbugs.gnu.org; Mon, 30 Sep 2019 16:29:16 -0400 Received: by mail-pl1-f195.google.com with SMTP id q24so4327621plr.13 for <13100@debbugs.gnu.org>; Mon, 30 Sep 2019 13:29:16 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=cJTZZNjRGbnkb1DQlUVcGczWAkkzQl6zF1gh1VtXkj0=; b=b6CElngCDLVgJGyOtIZmRvn7/Nyeluh2ANv+3vnL/s5EZ+yXpUxxNtRdLOg1Ok4weE VW25URKWLyFm7iJf+h3dBxHTzNoBglbycF603hWbRx8URbDps4EDgXKvfVuq/2KTZm9h 8X0w3R0grKuZHGbWDt8jxEd/3UjHz96xvy2FBh9V+qG24Rg+BsyCYndpW/p2zyDSXWQX sQHM/QubStHbHYbjBomtay4owAw+6oGzzJhjtorP9YHw2IJFl5UfKqhYIMNIeIIZh+ii P2DM+Ys+k3FrL9ijYh8EHafdBoUCT9eRJcqjjpaHEJmbK7wfeORV9eMxro238yBaSL14 96Ww== X-Gm-Message-State: APjAAAVwuMHoIYj7/GRFL2kumMqQT7CmbKAALFam7veuNlnw8PU5m3+V WueANxRGyXLVCRxpjTA80ZfFXbsXh8jdoW2zqYY= X-Google-Smtp-Source: APXvYqwSXVT+H+2SJd72RDXO6fGZnkCZIy42zXRc4KMp8jMTpIXZ6bE5xIl0lHl9OTNMlXaVhdIp6wp0WPmtxUPPNas= X-Received: by 2002:a17:902:d88f:: with SMTP id b15mr21149695plz.251.1569875350356; Mon, 30 Sep 2019 13:29:10 -0700 (PDT) MIME-Version: 1.0 References: <20190930184247.GB4761@ACM> In-Reply-To: <20190930184247.GB4761@ACM> From: Stefan Kangas Date: Mon, 30 Sep 2019 22:28:59 +0200 Message-ID: Subject: Re: bug#13100: 24.2; c-guess-basic-syntax of cc-engine returned wrong syntactic context if init list of C++ class constructor is too long To: Alan Mackenzie Content-Type: text/plain; charset="UTF-8" X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: 13100 Cc: Yangyingchao , 13100@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) close 13100 24.4 quit Alan Mackenzie writes: > > That was almost 7 years ago. Is this still an issue? > > No. This was solved in response to another bug report by commit > > 3d1c39faa4744f87838ecd07fdf01787d5235186 > Tue Apr 30 16:19:14 2013 +0000 > Handle arbitrarily long C++ member initialisation lists. > > Please feel free to close this bug report. Thank you for that; closed. Best regards, Stefan Kangas From unknown Mon Aug 18 08:27:33 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 29 Oct 2019 11:24:04 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator