From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 24 Dec 2010 08:23:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 7722 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 7722@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.129317893922039 (code B ref -1); Fri, 24 Dec 2010 08:23:01 +0000 Received: (at submit) by debbugs.gnu.org; 24 Dec 2010 08:22:19 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW2un-0005jQ-Mb for submit@debbugs.gnu.org; Fri, 24 Dec 2010 03:22:19 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PW2uj-0005jD-9n for submit@debbugs.gnu.org; Fri, 24 Dec 2010 03:22:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW317-0004ZJ-OM for submit@debbugs.gnu.org; Fri, 24 Dec 2010 03:28:52 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:56258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW317-0004ZD-Fk for submit@debbugs.gnu.org; Fri, 24 Dec 2010 03:28:49 -0500 Received: from [140.186.70.92] (port=47759 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PW314-0005Qo-4G for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2010 03:28:49 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PW310-0004Xl-Q7 for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2010 03:28:46 -0500 Received: from deliver.uni-koblenz.de ([141.26.64.15]:16340) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PW310-0004XF-5t for bug-gnu-emacs@gnu.org; Fri, 24 Dec 2010 03:28:42 -0500 Received: from localhost (localhost [127.0.0.1]) by deliver.uni-koblenz.de (Postfix) with ESMTP id F40217801680 for ; Fri, 24 Dec 2010 09:28:40 +0100 (CET) Received: from deliver.uni-koblenz.de ([127.0.0.1]) by localhost (deliver.uni-koblenz.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 10388-04 for ; Fri, 24 Dec 2010 09:28:36 +0100 (CET) X-CHKRCPT: Envelopesender noch tassilo@member.fsf.org Received: from thinkpad (tsdh.uni-koblenz.de [141.26.67.142]) by deliver.uni-koblenz.de (Postfix) with ESMTP id 8F6D07801676 for ; Fri, 24 Dec 2010 09:28:36 +0100 (CET) From: Tassilo Horn Date: Fri, 24 Dec 2010 09:28:36 +0100 Message-ID: <87fwtnbmmj.fsf@member.fsf.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Virus-Scanned: amavisd-new at uni-koblenz.de X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Spam-Score: -6.5 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.5 (------) Orininally reported by Caligo in gmane.emacs.help (). He uses GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1), but the bug in still in the current bzr trunk. 1. emacs -Q bug.hpp 2. emacs loops infinitely using 100% CPU resources The offending file is that (according to the original reporter, the spaces and empty lines are needed): --8<---------------cut here---------------start------------->8--- class ConversionConsole : public QWidget{ private: typedef boost::array InputLines; typedef cons > > > > > > > > > > > > > > > > > > > > > ColorSpaces; }; --8<---------------cut here---------------end--------------->8--- In GNU Emacs 24.0.50.1 (x86_64-pc-linux-gnu) of 2010-12-21 on thinkpad Windowing system distributor `The X.Org Foundation', version 11.0.10902902 configured using `configure '--prefix=/usr' '--build=x86_64-pc-linux-gnu' '--host=x86_64-pc-linux-gnu' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--datadir=/usr/share' '--sysconfdir=/etc' '--localstatedir=/var/lib' '--libdir=/usr/lib64' '--program-suffix=-emacs-24' '--infodir=/usr/share/info/emacs-24' '--with-crt-dir=/usr/lib64' '--without-compress-info' '--with-sound' '--with-x' '--without-gconf' '--with-xml2' '--without-toolkit-scroll-bars' '--with-gif' '--with-jpeg' '--with-png' '--with-rsvg' '--with-tiff' '--with-xpm' '--with-imagemagick' '--with-xft' '--with-libotf' '--with-m17n-flt' '--with-x-toolkit=no' '--without-hesiod' '--without-kerberos' '--without-kerberos5' '--with-gpm' '--with-dbus' '--with-gnutls' '--without-selinux' 'build_alias=x86_64-pc-linux-gnu' 'host_alias=x86_64-pc-linux-gnu' 'CFLAGS=-march=native -O2 -pipe' 'LDFLAGS=-Wl,-O1 -Wl,--as-needed' 'CPPFLAGS='' 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: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default enable-multibyte-characters: t Major mode: Message Minor modes in effect: gnus-message-citation-mode: t diff-auto-refine-mode: t mml-mode: t global-auto-complete-mode: t auto-complete-mode: t yas/minor-mode: t recentf-mode: t window-number-meta-mode: t window-number-mode: t global-subword-mode: t subword-mode: t savehist-mode: t show-paren-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 Recent input: u d i n g SPC t h e SPC b a d SPC h p p SPC f i l e SPC u s i n g M-q SPC M - x SPC r e p - e m M-/ SPC z ? b C-c C-c C-g C-g SPC SPC SPC SPC SPC SPC F C-k N e x t SPC t i b e m e , SPC s i m p l y SPC c o p y SPC t h e SPC c o n t e n t s SPC o f SPC t h e SPC b u g SPC r e p o r t SPC b u f f e r SPC i n t o SPC y o u r SPC e m a c u s u a l SPC e m a i i l SPC c l e i i o e n t SPC a n d SPC s e n d SPC f r o m SPC t h a t . C-a C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k C-k I ' l l SPC d o . b M-x r e p o r t Recent messages: Sending... Sending news via Gmane using nntp... Wrote /home/horn/.gnus.d/News/archive/sent-postings/902 Sending...done Quit [2 times] Mark set [2 times] kill-line: End of buffer [3 times] [yas] snippet expanded. [yas] snippet 3 exited. Making completion list... Load-path shadows: ~/repos/el/gnus/lisp/sha1 hides /usr/share/emacs/24.0.50/lisp/sha1 ~/repos/el/gnus/lisp/password-cache hides /usr/share/emacs/24.0.50/lisp/password-cache ~/repos/el/gnus/lisp/md4 hides /usr/share/emacs/24.0.50/lisp/md4 ~/repos/el/gnus/lisp/hex-util hides /usr/share/emacs/24.0.50/lisp/hex-util ~/repos/el/gnus/lisp/format-spec hides /usr/share/emacs/24.0.50/lisp/format-spec ~/repos/el/gnus/lisp/color hides /usr/share/emacs/24.0.50/lisp/color ~/repos/el/gnus/lisp/dns-mode hides /usr/share/emacs/24.0.50/lisp/textmodes/dns-mode ~/repos/el/org-mode/lisp/org-xoxo hides /usr/share/emacs/24.0.50/lisp/org/org-xoxo ~/repos/el/org-mode/lisp/org-wl hides /usr/share/emacs/24.0.50/lisp/org/org-wl ~/repos/el/org-mode/lisp/org-w3m hides /usr/share/emacs/24.0.50/lisp/org/org-w3m ~/repos/el/org-mode/lisp/org-vm hides /usr/share/emacs/24.0.50/lisp/org/org-vm ~/repos/el/org-mode/lisp/org-table hides /usr/share/emacs/24.0.50/lisp/org/org-table ~/repos/el/org-mode/lisp/org-taskjuggler hides /usr/share/emacs/24.0.50/lisp/org/org-taskjuggler ~/repos/el/org-mode/lisp/org-timer hides /usr/share/emacs/24.0.50/lisp/org/org-timer ~/repos/el/org-mode/lisp/org-src hides /usr/share/emacs/24.0.50/lisp/org/org-src ~/repos/el/org-mode/lisp/org-remember hides /usr/share/emacs/24.0.50/lisp/org/org-remember ~/repos/el/org-mode/lisp/org-rmail hides /usr/share/emacs/24.0.50/lisp/org/org-rmail ~/repos/el/org-mode/lisp/org-publish hides /usr/share/emacs/24.0.50/lisp/org/org-publish ~/repos/el/org-mode/lisp/org-plot hides /usr/share/emacs/24.0.50/lisp/org/org-plot ~/repos/el/org-mode/lisp/org-protocol hides /usr/share/emacs/24.0.50/lisp/org/org-protocol ~/repos/el/org-mode/lisp/org-mouse hides /usr/share/emacs/24.0.50/lisp/org/org-mouse ~/repos/el/org-mode/lisp/org-mobile hides /usr/share/emacs/24.0.50/lisp/org/org-mobile ~/repos/el/org-mode/lisp/org-mks hides /usr/share/emacs/24.0.50/lisp/org/org-mks ~/repos/el/org-mode/lisp/org-mhe hides /usr/share/emacs/24.0.50/lisp/org/org-mhe ~/repos/el/org-mode/lisp/org-mew hides /usr/share/emacs/24.0.50/lisp/org/org-mew ~/repos/el/org-mode/lisp/org-mac-message hides /usr/share/emacs/24.0.50/lisp/org/org-mac-message ~/repos/el/org-mode/lisp/org-macs hides /usr/share/emacs/24.0.50/lisp/org/org-macs ~/repos/el/org-mode/lisp/org-latex hides /usr/share/emacs/24.0.50/lisp/org/org-latex ~/repos/el/org-mode/lisp/org-list hides /usr/share/emacs/24.0.50/lisp/org/org-list ~/repos/el/org-mode/lisp/org-jsinfo hides /usr/share/emacs/24.0.50/lisp/org/org-jsinfo ~/repos/el/org-mode/lisp/org-irc hides /usr/share/emacs/24.0.50/lisp/org/org-irc ~/repos/el/org-mode/lisp/org-inlinetask hides /usr/share/emacs/24.0.50/lisp/org/org-inlinetask ~/repos/el/org-mode/lisp/org-info hides /usr/share/emacs/24.0.50/lisp/org/org-info ~/repos/el/org-mode/lisp/org-install hides /usr/share/emacs/24.0.50/lisp/org/org-install ~/repos/el/org-mode/lisp/org-indent hides /usr/share/emacs/24.0.50/lisp/org/org-indent ~/repos/el/org-mode/lisp/org-id hides /usr/share/emacs/24.0.50/lisp/org/org-id ~/repos/el/org-mode/lisp/org-icalendar hides /usr/share/emacs/24.0.50/lisp/org/org-icalendar ~/repos/el/org-mode/lisp/org-html hides /usr/share/emacs/24.0.50/lisp/org/org-html ~/repos/el/org-mode/lisp/org-gnus hides /usr/share/emacs/24.0.50/lisp/org/org-gnus ~/repos/el/org-mode/lisp/org-habit hides /usr/share/emacs/24.0.50/lisp/org/org-habit ~/repos/el/org-mode/lisp/org hides /usr/share/emacs/24.0.50/lisp/org/org ~/repos/el/org-mode/lisp/org-freemind hides /usr/share/emacs/24.0.50/lisp/org/org-freemind ~/repos/el/org-mode/lisp/org-feed hides /usr/share/emacs/24.0.50/lisp/org/org-feed ~/repos/el/org-mode/lisp/org-footnote hides /usr/share/emacs/24.0.50/lisp/org/org-footnote ~/repos/el/org-mode/lisp/org-faces hides /usr/share/emacs/24.0.50/lisp/org/org-faces ~/repos/el/org-mode/lisp/org-exp hides /usr/share/emacs/24.0.50/lisp/org/org-exp ~/repos/el/org-mode/lisp/org-exp-blocks hides /usr/share/emacs/24.0.50/lisp/org/org-exp-blocks ~/repos/el/org-mode/lisp/org-docbook hides /usr/share/emacs/24.0.50/lisp/org/org-docbook ~/repos/el/org-mode/lisp/org-entities hides /usr/share/emacs/24.0.50/lisp/org/org-entities ~/repos/el/org-mode/lisp/org-docview hides /usr/share/emacs/24.0.50/lisp/org/org-docview ~/repos/el/org-mode/lisp/org-datetree hides /usr/share/emacs/24.0.50/lisp/org/org-datetree ~/repos/el/org-mode/lisp/org-ctags hides /usr/share/emacs/24.0.50/lisp/org/org-ctags ~/repos/el/org-mode/lisp/org-crypt hides /usr/share/emacs/24.0.50/lisp/org/org-crypt ~/repos/el/org-mode/lisp/org-colview hides /usr/share/emacs/24.0.50/lisp/org/org-colview ~/repos/el/org-mode/lisp/org-complete hides /usr/share/emacs/24.0.50/lisp/org/org-complete ~/repos/el/org-mode/lisp/org-compat hides /usr/share/emacs/24.0.50/lisp/org/org-compat ~/repos/el/org-mode/lisp/org-clock hides /usr/share/emacs/24.0.50/lisp/org/org-clock ~/repos/el/org-mode/lisp/org-capture hides /usr/share/emacs/24.0.50/lisp/org/org-capture ~/repos/el/org-mode/lisp/org-bibtex hides /usr/share/emacs/24.0.50/lisp/org/org-bibtex ~/repos/el/org-mode/lisp/org-bbdb hides /usr/share/emacs/24.0.50/lisp/org/org-bbdb ~/repos/el/org-mode/lisp/org-beamer hides /usr/share/emacs/24.0.50/lisp/org/org-beamer ~/repos/el/org-mode/lisp/org-attach hides /usr/share/emacs/24.0.50/lisp/org/org-attach ~/repos/el/org-mode/lisp/org-agenda hides /usr/share/emacs/24.0.50/lisp/org/org-agenda ~/repos/el/org-mode/lisp/org-ascii hides /usr/share/emacs/24.0.50/lisp/org/org-ascii ~/repos/el/org-mode/lisp/org-archive hides /usr/share/emacs/24.0.50/lisp/org/org-archive ~/repos/el/org-mode/lisp/ob-tangle hides /usr/share/emacs/24.0.50/lisp/org/ob-tangle ~/repos/el/org-mode/lisp/ob-table hides /usr/share/emacs/24.0.50/lisp/org/ob-table ~/repos/el/org-mode/lisp/ob-sqlite hides /usr/share/emacs/24.0.50/lisp/org/ob-sqlite ~/repos/el/org-mode/lisp/ob-sql hides /usr/share/emacs/24.0.50/lisp/org/ob-sql ~/repos/el/org-mode/lisp/ob-sh hides /usr/share/emacs/24.0.50/lisp/org/ob-sh ~/repos/el/org-mode/lisp/ob-screen hides /usr/share/emacs/24.0.50/lisp/org/ob-screen ~/repos/el/org-mode/lisp/ob-scheme hides /usr/share/emacs/24.0.50/lisp/org/ob-scheme ~/repos/el/org-mode/lisp/ob-sass hides /usr/share/emacs/24.0.50/lisp/org/ob-sass ~/repos/el/org-mode/lisp/ob-ruby hides /usr/share/emacs/24.0.50/lisp/org/ob-ruby ~/repos/el/org-mode/lisp/ob-R hides /usr/share/emacs/24.0.50/lisp/org/ob-R ~/repos/el/org-mode/lisp/ob-ref hides /usr/share/emacs/24.0.50/lisp/org/ob-ref ~/repos/el/org-mode/lisp/ob-python hides /usr/share/emacs/24.0.50/lisp/org/ob-python ~/repos/el/org-mode/lisp/ob-perl hides /usr/share/emacs/24.0.50/lisp/org/ob-perl ~/repos/el/org-mode/lisp/ob-plantuml hides /usr/share/emacs/24.0.50/lisp/org/ob-plantuml ~/repos/el/org-mode/lisp/ob-octave hides /usr/share/emacs/24.0.50/lisp/org/ob-octave ~/repos/el/org-mode/lisp/ob-org hides /usr/share/emacs/24.0.50/lisp/org/ob-org ~/repos/el/org-mode/lisp/ob-ocaml hides /usr/share/emacs/24.0.50/lisp/org/ob-ocaml ~/repos/el/org-mode/lisp/ob-matlab hides /usr/share/emacs/24.0.50/lisp/org/ob-matlab ~/repos/el/org-mode/lisp/ob-mscgen hides /usr/share/emacs/24.0.50/lisp/org/ob-mscgen ~/repos/el/org-mode/lisp/ob-exp hides /usr/share/emacs/24.0.50/lisp/org/ob-exp ~/repos/el/org-mode/lisp/ob-lisp hides /usr/share/emacs/24.0.50/lisp/org/ob-lisp ~/repos/el/org-mode/lisp/ob-lob hides /usr/share/emacs/24.0.50/lisp/org/ob-lob ~/repos/el/org-mode/lisp/ob-ledger hides /usr/share/emacs/24.0.50/lisp/org/ob-ledger ~/repos/el/org-mode/lisp/ob-latex hides /usr/share/emacs/24.0.50/lisp/org/ob-latex ~/repos/el/org-mode/lisp/ob-js hides /usr/share/emacs/24.0.50/lisp/org/ob-js ~/repos/el/org-mode/lisp/ob-keys hides /usr/share/emacs/24.0.50/lisp/org/ob-keys ~/repos/el/org-mode/lisp/ob-haskell hides /usr/share/emacs/24.0.50/lisp/org/ob-haskell ~/repos/el/org-mode/lisp/ob-gnuplot hides /usr/share/emacs/24.0.50/lisp/org/ob-gnuplot ~/repos/el/org-mode/lisp/ob hides /usr/share/emacs/24.0.50/lisp/org/ob ~/repos/el/org-mode/lisp/ob-emacs-lisp hides /usr/share/emacs/24.0.50/lisp/org/ob-emacs-lisp ~/repos/el/org-mode/lisp/ob-eval hides /usr/share/emacs/24.0.50/lisp/org/ob-eval ~/repos/el/org-mode/lisp/ob-dot hides /usr/share/emacs/24.0.50/lisp/org/ob-dot ~/repos/el/org-mode/lisp/ob-C hides /usr/share/emacs/24.0.50/lisp/org/ob-C ~/repos/el/org-mode/lisp/ob-ditaa hides /usr/share/emacs/24.0.50/lisp/org/ob-ditaa ~/repos/el/org-mode/lisp/ob-css hides /usr/share/emacs/24.0.50/lisp/org/ob-css ~/repos/el/org-mode/lisp/ob-comint hides /usr/share/emacs/24.0.50/lisp/org/ob-comint ~/repos/el/org-mode/lisp/ob-clojure hides /usr/share/emacs/24.0.50/lisp/org/ob-clojure ~/repos/el/org-mode/lisp/ob-calc hides /usr/share/emacs/24.0.50/lisp/org/ob-calc ~/repos/el/org-mode/lisp/ob-asymptote hides /usr/share/emacs/24.0.50/lisp/org/ob-asymptote ~/repos/el/gnus/lisp/tls hides /usr/share/emacs/24.0.50/lisp/net/tls ~/repos/el/gnus/lisp/sasl-ntlm hides /usr/share/emacs/24.0.50/lisp/net/sasl-ntlm ~/repos/el/gnus/lisp/sasl hides /usr/share/emacs/24.0.50/lisp/net/sasl ~/repos/el/gnus/lisp/sasl-digest hides /usr/share/emacs/24.0.50/lisp/net/sasl-digest ~/repos/el/gnus/lisp/sasl-cram hides /usr/share/emacs/24.0.50/lisp/net/sasl-cram ~/repos/el/gnus/lisp/ntlm hides /usr/share/emacs/24.0.50/lisp/net/ntlm ~/repos/el/gnus/lisp/netrc hides /usr/share/emacs/24.0.50/lisp/net/netrc ~/repos/el/gnus/lisp/imap hides /usr/share/emacs/24.0.50/lisp/net/imap ~/repos/el/gnus/lisp/hmac-md5 hides /usr/share/emacs/24.0.50/lisp/net/hmac-md5 ~/repos/el/gnus/lisp/hmac-def hides /usr/share/emacs/24.0.50/lisp/net/hmac-def ~/repos/el/gnus/lisp/dns hides /usr/share/emacs/24.0.50/lisp/net/dns ~/repos/el/gnus/lisp/dig hides /usr/share/emacs/24.0.50/lisp/net/dig ~/repos/el/gnus/lisp/uudecode hides /usr/share/emacs/24.0.50/lisp/mail/uudecode ~/repos/el/gnus/lisp/hashcash hides /usr/share/emacs/24.0.50/lisp/mail/hashcash ~/repos/el/gnus/lisp/binhex hides /usr/share/emacs/24.0.50/lisp/mail/binhex ~/repos/el/gnus/lisp/spam-wash hides /usr/share/emacs/24.0.50/lisp/gnus/spam-wash ~/repos/el/gnus/lisp/yenc hides /usr/share/emacs/24.0.50/lisp/gnus/yenc ~/repos/el/gnus/lisp/utf7 hides /usr/share/emacs/24.0.50/lisp/gnus/utf7 ~/repos/el/gnus/lisp/starttls hides /usr/share/emacs/24.0.50/lisp/gnus/starttls ~/repos/el/gnus/lisp/spam hides /usr/share/emacs/24.0.50/lisp/gnus/spam ~/repos/el/gnus/lisp/spam-stat hides /usr/share/emacs/24.0.50/lisp/gnus/spam-stat ~/repos/el/gnus/lisp/spam-report hides /usr/share/emacs/24.0.50/lisp/gnus/spam-report ~/repos/el/gnus/lisp/smiley hides /usr/share/emacs/24.0.50/lisp/gnus/smiley ~/repos/el/gnus/lisp/smime hides /usr/share/emacs/24.0.50/lisp/gnus/smime ~/repos/el/gnus/lisp/sieve-mode hides /usr/share/emacs/24.0.50/lisp/gnus/sieve-mode ~/repos/el/gnus/lisp/sieve-manage hides /usr/share/emacs/24.0.50/lisp/gnus/sieve-manage ~/repos/el/gnus/lisp/shr hides /usr/share/emacs/24.0.50/lisp/gnus/shr ~/repos/el/gnus/lisp/sieve hides /usr/share/emacs/24.0.50/lisp/gnus/sieve ~/repos/el/gnus/lisp/shr-color hides /usr/share/emacs/24.0.50/lisp/gnus/shr-color ~/repos/el/gnus/lisp/score-mode hides /usr/share/emacs/24.0.50/lisp/gnus/score-mode ~/repos/el/gnus/lisp/rtree hides /usr/share/emacs/24.0.50/lisp/gnus/rtree ~/repos/el/gnus/lisp/rfc2231 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2231 ~/repos/el/gnus/lisp/rfc2104 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2104 ~/repos/el/gnus/lisp/rfc2047 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2047 ~/repos/el/gnus/lisp/rfc2045 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc2045 ~/repos/el/gnus/lisp/rfc1843 hides /usr/share/emacs/24.0.50/lisp/gnus/rfc1843 ~/repos/el/gnus/lisp/qp hides /usr/share/emacs/24.0.50/lisp/gnus/qp ~/repos/el/gnus/lisp/proto-stream hides /usr/share/emacs/24.0.50/lisp/gnus/proto-stream ~/repos/el/gnus/lisp/pop3 hides /usr/share/emacs/24.0.50/lisp/gnus/pop3 ~/repos/el/gnus/lisp/nnvirtual hides /usr/share/emacs/24.0.50/lisp/gnus/nnvirtual ~/repos/el/gnus/lisp/nnweb hides /usr/share/emacs/24.0.50/lisp/gnus/nnweb ~/repos/el/gnus/lisp/nntp hides /usr/share/emacs/24.0.50/lisp/gnus/nntp ~/repos/el/gnus/lisp/nnrss hides /usr/share/emacs/24.0.50/lisp/gnus/nnrss ~/repos/el/gnus/lisp/nnregistry hides /usr/share/emacs/24.0.50/lisp/gnus/nnregistry ~/repos/el/gnus/lisp/nnspool hides /usr/share/emacs/24.0.50/lisp/gnus/nnspool ~/repos/el/gnus/lisp/nnoo hides /usr/share/emacs/24.0.50/lisp/gnus/nnoo ~/repos/el/gnus/lisp/nnml hides /usr/share/emacs/24.0.50/lisp/gnus/nnml ~/repos/el/gnus/lisp/nnnil hides /usr/share/emacs/24.0.50/lisp/gnus/nnnil ~/repos/el/gnus/lisp/nnmairix hides /usr/share/emacs/24.0.50/lisp/gnus/nnmairix ~/repos/el/gnus/lisp/nnmh hides /usr/share/emacs/24.0.50/lisp/gnus/nnmh ~/repos/el/gnus/lisp/nnmbox hides /usr/share/emacs/24.0.50/lisp/gnus/nnmbox ~/repos/el/gnus/lisp/nnmail hides /usr/share/emacs/24.0.50/lisp/gnus/nnmail ~/repos/el/gnus/lisp/nnmaildir hides /usr/share/emacs/24.0.50/lisp/gnus/nnmaildir ~/repos/el/gnus/lisp/nnir hides /usr/share/emacs/24.0.50/lisp/gnus/nnir ~/repos/el/gnus/lisp/nnimap hides /usr/share/emacs/24.0.50/lisp/gnus/nnimap ~/repos/el/gnus/lisp/nnheader hides /usr/share/emacs/24.0.50/lisp/gnus/nnheader ~/repos/el/gnus/lisp/nnfolder hides /usr/share/emacs/24.0.50/lisp/gnus/nnfolder ~/repos/el/gnus/lisp/nneething hides /usr/share/emacs/24.0.50/lisp/gnus/nneething ~/repos/el/gnus/lisp/nngateway hides /usr/share/emacs/24.0.50/lisp/gnus/nngateway ~/repos/el/gnus/lisp/nndoc hides /usr/share/emacs/24.0.50/lisp/gnus/nndoc ~/repos/el/gnus/lisp/nndraft hides /usr/share/emacs/24.0.50/lisp/gnus/nndraft ~/repos/el/gnus/lisp/nndir hides /usr/share/emacs/24.0.50/lisp/gnus/nndir ~/repos/el/gnus/lisp/nndiary hides /usr/share/emacs/24.0.50/lisp/gnus/nndiary ~/repos/el/gnus/lisp/nnagent hides /usr/share/emacs/24.0.50/lisp/gnus/nnagent ~/repos/el/gnus/lisp/nnbabyl hides /usr/share/emacs/24.0.50/lisp/gnus/nnbabyl ~/repos/el/gnus/lisp/mm-view hides /usr/share/emacs/24.0.50/lisp/gnus/mm-view ~/repos/el/gnus/lisp/mm-uu hides /usr/share/emacs/24.0.50/lisp/gnus/mm-uu ~/repos/el/gnus/lisp/mm-partial hides /usr/share/emacs/24.0.50/lisp/gnus/mm-partial ~/repos/el/gnus/lisp/mm-util hides /usr/share/emacs/24.0.50/lisp/gnus/mm-util ~/repos/el/gnus/lisp/mm-url hides /usr/share/emacs/24.0.50/lisp/gnus/mm-url ~/repos/el/gnus/lisp/mml-smime hides /usr/share/emacs/24.0.50/lisp/gnus/mml-smime ~/repos/el/gnus/lisp/mml hides /usr/share/emacs/24.0.50/lisp/gnus/mml ~/repos/el/gnus/lisp/mml-sec hides /usr/share/emacs/24.0.50/lisp/gnus/mml-sec ~/repos/el/gnus/lisp/mml2015 hides /usr/share/emacs/24.0.50/lisp/gnus/mml2015 ~/repos/el/gnus/lisp/mm-extern hides /usr/share/emacs/24.0.50/lisp/gnus/mm-extern ~/repos/el/gnus/lisp/mml1991 hides /usr/share/emacs/24.0.50/lisp/gnus/mml1991 ~/repos/el/gnus/lisp/mm-encode hides /usr/share/emacs/24.0.50/lisp/gnus/mm-encode ~/repos/el/gnus/lisp/mm-decode hides /usr/share/emacs/24.0.50/lisp/gnus/mm-decode ~/repos/el/gnus/lisp/mm-bodies hides /usr/share/emacs/24.0.50/lisp/gnus/mm-bodies ~/repos/el/gnus/lisp/message hides /usr/share/emacs/24.0.50/lisp/gnus/message ~/repos/el/gnus/lisp/legacy-gnus-agent hides /usr/share/emacs/24.0.50/lisp/gnus/legacy-gnus-agent ~/repos/el/gnus/lisp/messcompat hides /usr/share/emacs/24.0.50/lisp/gnus/messcompat ~/repos/el/gnus/lisp/mail-source hides /usr/share/emacs/24.0.50/lisp/gnus/mail-source ~/repos/el/gnus/lisp/mail-prsvr hides /usr/share/emacs/24.0.50/lisp/gnus/mail-prsvr ~/repos/el/gnus/lisp/mail-parse hides /usr/share/emacs/24.0.50/lisp/gnus/mail-parse ~/repos/el/gnus/lisp/mailcap hides /usr/share/emacs/24.0.50/lisp/gnus/mailcap ~/repos/el/gnus/lisp/gravatar hides /usr/share/emacs/24.0.50/lisp/gnus/gravatar ~/repos/el/gnus/lisp/ietf-drums hides /usr/share/emacs/24.0.50/lisp/gnus/ietf-drums ~/repos/el/gnus/lisp/html2text hides /usr/share/emacs/24.0.50/lisp/gnus/html2text ~/repos/el/gnus/lisp/gnus-vm hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-vm ~/repos/el/gnus/lisp/gnus-win hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-win ~/repos/el/gnus/lisp/gnus-uu hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-uu ~/repos/el/gnus/lisp/gnus-sum hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-sum ~/repos/el/gnus/lisp/gnus-util hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-util ~/repos/el/gnus/lisp/gnus-topic hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-topic ~/repos/el/gnus/lisp/gnus-undo hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-undo ~/repos/el/gnus/lisp/gnus-sync hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-sync ~/repos/el/gnus/lisp/gnus-start hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-start ~/repos/el/gnus/lisp/gnus-srvr hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-srvr ~/repos/el/gnus/lisp/gnus-sieve hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-sieve ~/repos/el/gnus/lisp/gnus-score hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-score ~/repos/el/gnus/lisp/gnus-spec hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-spec ~/repos/el/gnus/lisp/gnus-salt hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-salt ~/repos/el/gnus/lisp/gnus-setup hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-setup ~/repos/el/gnus/lisp/gnus-registry hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-registry ~/repos/el/gnus/lisp/gnus-picon hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-picon ~/repos/el/gnus/lisp/gnus-msg hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-msg ~/repos/el/gnus/lisp/gnus-range hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-range ~/repos/el/gnus/lisp/gnus-mlspl hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-mlspl ~/repos/el/gnus/lisp/gnus-ml hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-ml ~/repos/el/gnus/lisp/gnus-mh hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-mh ~/repos/el/gnus/lisp/gnus-int hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-int ~/repos/el/gnus/lisp/gnus-logic hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-logic ~/repos/el/gnus/lisp/gnus-kill hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-kill ~/repos/el/gnus/lisp/gnus-group hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-group ~/repos/el/gnus/lisp/gnus-html hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-html ~/repos/el/gnus/lisp/gnus-gravatar hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-gravatar ~/repos/el/gnus/lisp/gnus-fun hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-fun ~/repos/el/gnus/lisp/gnus-ems hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-ems ~/repos/el/gnus/lisp/gnus-draft hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-draft ~/repos/el/gnus/lisp/gnus-dup hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-dup ~/repos/el/gnus/lisp/gnus hides /usr/share/emacs/24.0.50/lisp/gnus/gnus ~/repos/el/gnus/lisp/gnus-eform hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-eform ~/repos/el/gnus/lisp/gnus-diary hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-diary ~/repos/el/gnus/lisp/gnus-dired hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-dired ~/repos/el/gnus/lisp/gnus-demon hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-demon ~/repos/el/gnus/lisp/gnus-delay hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-delay ~/repos/el/gnus/lisp/gnus-cus hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-cus ~/repos/el/gnus/lisp/gnus-cite hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-cite ~/repos/el/gnus/lisp/gnus-cache hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-cache ~/repos/el/gnus/lisp/gnus-bookmark hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-bookmark ~/repos/el/gnus/lisp/gnus-async hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-async ~/repos/el/gnus/lisp/gnus-bcklg hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-bcklg ~/repos/el/gnus/lisp/gnus-agent hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-agent ~/repos/el/gnus/lisp/gnus-art hides /usr/share/emacs/24.0.50/lisp/gnus/gnus-art ~/repos/el/gnus/lisp/deuglify hides /usr/share/emacs/24.0.50/lisp/gnus/deuglify ~/repos/el/gnus/lisp/gmm-utils hides /usr/share/emacs/24.0.50/lisp/gnus/gmm-utils ~/repos/el/gnus/lisp/flow-fill hides /usr/share/emacs/24.0.50/lisp/gnus/flow-fill ~/repos/el/gnus/lisp/ecomplete hides /usr/share/emacs/24.0.50/lisp/gnus/ecomplete ~/repos/el/gnus/lisp/compface hides /usr/share/emacs/24.0.50/lisp/gnus/compface ~/repos/el/gnus/lisp/canlock hides /usr/share/emacs/24.0.50/lisp/gnus/canlock ~/repos/el/gnus/lisp/auth-source hides /usr/share/emacs/24.0.50/lisp/gnus/auth-source ~/repos/el/gnus/lisp/.dir-locals hides /usr/share/emacs/24.0.50/lisp/gnus/.dir-locals ~/repos/el/gnus/lisp/time-date hides /usr/share/emacs/24.0.50/lisp/calendar/time-date ~/repos/el/gnus/lisp/parse-time hides /usr/share/emacs/24.0.50/lisp/calendar/parse-time ~/repos/el/gnus/lisp/pgg-pgp hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg-pgp ~/repos/el/gnus/lisp/pgg-pgp5 hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg-pgp5 ~/repos/el/gnus/lisp/pgg-parse hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg-parse ~/repos/el/gnus/lisp/pgg-gpg hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg-gpg ~/repos/el/gnus/lisp/pgg hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg ~/repos/el/gnus/lisp/pgg-def hides /usr/share/emacs/24.0.50/lisp/obsolete/pgg-def Features: (shadow emacsbug canlock sha1 hex-util bbdb-gui hippie-exp skeleton mailalias smtpmail newcomment qp mule-util xgit-dvc xgit xgit-annotate dvc-annotate xgit-log tla smerge-mode dvc-state dvc-config dvc-diff dvc-fileinfo diff tla-gnus dvc-gnus dvc-cmenu dvc-about dvc-version dvc-revlist bzr-core tla-core tla-autoconf tla-defs dvc-log vc vc-dispatcher dvc-unified dvc-tips ediff-merg ediff-diff ediff-wind ediff-help ediff-util ediff-mult ediff-init ediff xdarcs-core xgit-core xhg-core xmtn-minimal sort smiley ansi-color gnus-cite gnus-async gnus-bcklg gnus-ml nndraft nnmh utf-7 rot13 nnimap parse-time utf7 nnml bbdb-gnus bbdb-snarf nnnil gnus-agent gnus-srvr gnus-score score-mode nnvirtual gnus-cache gnus-demon nntp proto-stream starttls spam spam-stat bbdb-com gnus-uu yenc gnus-msg gnus-gravatar mail-extr gnus-art mm-uu mml2015 mm-view smime password-cache dig gravatar gnus-topic gnus-registry nnir gnus-sum macroexp nnoo gnus-group gnus-undo nnmail mail-source th-private gnus-start gnus-spec gnus-int gnus-range gnus-win eldoc go-mode-load flymake greqlscript-mode greql-mode tg-mode generic th-latex paredit dvc-autoloads dvc-core dvc-lisp dvc-buffers dvc-ui dvc-register dvc-utils dvc-emacs ewoc dvc-defs dvc-site magit diff-mode log-edit pcvs-util add-log magit-key-mode epa-file epa epg epg-config wtf cus-edit cus-start cus-load rdictcc org-location-google-maps google-maps google-maps-static google-maps-geocode google-maps-base json org-google-weather format-spec google-weather xml url-cache org-beamer solar cal-dst holidays hol-loaddefs appt diary-lib diary-loaddefs vc-git hl-line org-w3m org-irc org-jsinfo org-infojs org-html org-exp ob-exp org-exp-blocks org-info org-gnus org-docview org-bibtex org-bbdb org-protocol org-attach org-id org-agenda org ob-emacs-lisp ob-tangle ob-ref ob-lob ob-table org-footnote org-src ob-comint ob-keys ob ob-eval org-complete pcomplete org-list org-faces org-compat org-entities org-macs time-date org-install cal-menu calendar cal-loaddefs dired-x dired-aux highlight-symbol hi-lock th-boxquote boxquote rect ecomplete message idna sendmail rfc822 mml mml-sec mm-decode mm-bodies mm-encode mailabbrev gmm-utils mailheader info server auto-complete-config auto-complete popup yasnippet dropdown-list help-mode view disp-table noutline outline browse-kill-ring derived recentf tree-widget sr-speedbar speedbar sb-image ezimage dframe assoc anything-config warnings compile comint ring browse-url semantic/util-modes semantic/util semantic semantic/tag semantic/lex semantic/fw eieio byte-opt bytecomp byte-compile mode-local cedet imenu bookmark pp easymenu rx ffap thingatpt anything window-number easy-mmode uniquify subword saveplace savehist paren lusty-explorer dired cl edmacro kmacro advice help-fns advice-preload th-common mm-url gnus gnus-ems nnheader mail-utils wid-edit url-http tls url url-proxy url-privacy url-expand url-methods url-history mailcap url-auth mail-parse rfc2231 rfc2047 rfc2045 ietf-drums url-cookie url-util url-parse auth-source netrc gnus-util url-gw url-vars mm-util mail-prsvr windmove gnus-load site-gentoo preview-latex bbdb-autoloads bbdb regexp-opt timezone tex-site auto-loads tooltip ediff-hook vc-hooks lisp-float-type mwheel x-win x-dnd 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 loaddefs button minibuffer faces cus-face files text-properties overlay md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process dbusbind dynamic-setting font-render-setting x multi-tty emacs) From debbugs-submit-bounces@debbugs.gnu.org Sat Jan 22 15:26:10 2011 Received: (at control) by debbugs.gnu.org; 22 Jan 2011 20:26:10 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgk2E-0003QI-KQ for submit@debbugs.gnu.org; Sat, 22 Jan 2011 15:26:10 -0500 Received: from vm-emlprdomr-03.its.yale.edu ([130.132.50.144]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgk2C-0003Q6-JM for control@debbugs.gnu.org; Sat, 22 Jan 2011 15:26:08 -0500 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-03.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MKY5CG023997 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 22 Jan 2011 15:34:06 -0500 Received: by furball (Postfix, from userid 1000) id B3F7A1611FB; Sat, 22 Jan 2011 15:34:04 -0500 (EST) From: Chong Yidong To: control@debbugs.gnu.org Subject: severity 7722 serious Date: Sat, 22 Jan 2011 15:34:04 -0500 Message-ID: <87aaisn0eb.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.144 X-Spam-Score: -2.7 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) severity 7722 serious thanks From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 22 Jan 2011 20:30:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129572817013446 (code B ref 7722); Sat, 22 Jan 2011 20:30:03 +0000 Received: (at 7722) by debbugs.gnu.org; 22 Jan 2011 20:29:30 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgk5R-0003Up-RW for submit@debbugs.gnu.org; Sat, 22 Jan 2011 15:29:30 -0500 Received: from vm-emlprdomr-06.its.yale.edu ([130.132.50.147]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Pgk5Q-0003Uc-5N for 7722@debbugs.gnu.org; Sat, 22 Jan 2011 15:29:28 -0500 Received: from furball (c-71-192-165-84.hsd1.ct.comcast.net [71.192.165.84]) (authenticated bits=0) by vm-emlprdomr-06.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0MKbPHP027994 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Sat, 22 Jan 2011 15:37:25 -0500 Received: by furball (Postfix, from userid 1000) id 3B1F71611FB; Sat, 22 Jan 2011 15:37:24 -0500 (EST) From: Chong Yidong References: <87fwtnbmmj.fsf@member.fsf.org> Date: Sat, 22 Jan 2011 15:37:24 -0500 In-Reply-To: <87fwtnbmmj.fsf@member.fsf.org> (Tassilo Horn's message of "Fri, 24 Dec 2010 09:28:36 +0100") Message-ID: <87hbd0y8sb.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Scanned-By: MIMEDefang 2.71 on 130.132.50.147 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) --=-=-= Content-Type: text/plain Tassilo Horn writes: > Orininally reported by Caligo > > He uses GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1), > but the bug in still in the current bzr trunk. > > 1. emacs -Q bug.hpp > 2. emacs loops infinitely using 100% CPU resources > > The offending file is that (according to the original reporter, the > spaces and empty lines are needed): I can reproduce this (file attached for convenience). Alan, could you take a look? Looks like a loop in c-forward-<>-arglist-recur: Lisp Backtrace: "c-forward-<>-arglist-recur" (0xffff4528) "c-forward-<>-arglist-recur" (0xffff4708) "c-forward-<>-arglist-recur" (0xffff48e8) "c-forward-<>-arglist-recur" (0xffff4ac8) "c-forward-<>-arglist-recur" (0xffff4ca8) "c-forward-<>-arglist-recur" (0xffff4e88) "c-forward-<>-arglist-recur" (0xffff5068) "c-forward-<>-arglist-recur" (0xffff5248) "c-forward-<>-arglist-recur" (0xffff5428) "c-forward-<>-arglist-recur" (0xffff5608) "c-forward-<>-arglist-recur" (0xffff57e8) "c-forward-<>-arglist-recur" (0xffff59c8) "c-forward-<>-arglist-recur" (0xffff5ba8) "c-forward-<>-arglist-recur" (0xffff5d88) "byte-code" (0xffff5e60) "c-forward-<>-arglist" (0xffff6208) ---Type to continue, or q to quit--- "c-forward-name" (0xffff63e8) "c-forward-type" (0xffff65c8) "c-forward-decl-or-cast-1" (0xffff67f8) 0xee3c20 PVEC_COMPILED "c-find-decl-spots" (0xffff6bb8) "c-font-lock-declarations" (0xffff6dd8) "font-lock-fontify-keywords-region" (0xffff6fc8) "font-lock-default-fontify-region" (0xffff7198) "font-lock-fontify-region" (0xffff7440) "run-hook-with-args" (0xffff7438) "byte-code" (0xffff7520) "jit-lock-fontify-now" (0xffff7938) "jit-lock-function" (0xffff7cc8) --=-=-= Content-Type: text/x-c++hdr Content-Disposition: inline; filename=bug.hpp class ConversionConsole : public QWidget{ private: typedef boost::array InputLines; typedef cons > > > > > > > > > > > > > > > > > > > > > ColorSpaces; }; --=-=-=-- From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 27 Jan 2011 00:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129608923518654 (code B ref 7722); Thu, 27 Jan 2011 00:48:02 +0000 Received: (at 7722) by debbugs.gnu.org; 27 Jan 2011 00:47:15 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiG15-0004qp-2Z for submit@debbugs.gnu.org; Wed, 26 Jan 2011 19:47:15 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PiG13-0004qU-Hd for 7722@debbugs.gnu.org; Wed, 26 Jan 2011 19:47:13 -0500 Received: from furball (dhcp128036014126.central.yale.edu [128.36.14.126]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p0R0tJfb011410 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Wed, 26 Jan 2011 19:55:21 -0500 Received: by furball (Postfix, from userid 1000) id 1F92C160023; Wed, 26 Jan 2011 19:55:16 -0500 (EST) From: Chong Yidong References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> Date: Wed, 26 Jan 2011 19:55:15 -0500 In-Reply-To: <87hbd0y8sb.fsf@stupidchicken.com> (Chong Yidong's message of "Sat, 22 Jan 2011 15:37:24 -0500") Message-ID: <87k4hrcgi4.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) Chong Yidong writes: >> 1. emacs -Q bug.hpp >> 2. emacs loops infinitely using 100% CPU resources >> >> The offending file is that (according to the original reporter, the >> spaces and empty lines are needed): > > I can reproduce this (file attached for convenience). Alan, could you > take a look? Looks like a loop in c-forward-<>-arglist-recur: In the meantime, I have added the following hack/workaround to the emacs-23 branch, which seems to break the loop. Let me know if you find a fix that's safer (since we are well into the 23.3 pretest). *** lisp/progmodes/cc-engine.el 2011-01-02 23:50:46 +0000 --- lisp/progmodes/cc-engine.el 2011-01-27 00:49:22 +0000 *************** *** 4393,4398 **** --- 4393,4400 ---- (goto-char safe-pos) t))) + (defvar c-forward-<>-arglist-recur-depth) + (defun c-forward-<>-arglist (all-types) ;; The point is assumed to be at a "<". Try to treat it as the open ;; paren of an angle bracket arglist and move forward to the *************** *** 4418,4424 **** ;; If `c-record-type-identifiers' is set then activate ;; recording of any found types that constitute an argument in ;; the arglist. ! (c-record-found-types (if c-record-type-identifiers t))) (if (catch 'angle-bracket-arglist-escape (setq c-record-found-types (c-forward-<>-arglist-recur all-types))) --- 4420,4427 ---- ;; If `c-record-type-identifiers' is set then activate ;; recording of any found types that constitute an argument in ;; the arglist. ! (c-record-found-types (if c-record-type-identifiers t)) ! (c-forward-<>-arglist-recur--depth 0)) (if (catch 'angle-bracket-arglist-escape (setq c-record-found-types (c-forward-<>-arglist-recur all-types))) *************** *** 4434,4439 **** --- 4437,4450 ---- nil))) (defun c-forward-<>-arglist-recur (all-types) + + ;; Temporary workaround for Bug#7722. + (when (boundp 'c-forward-<>-arglist-recur--depth) + (if (> c-forward-<>-arglist-recur--depth 100) + (error "Max recursion depth reached in <> arglist") + (setq c-forward-<>-arglist-recur--depth + (1+ c-forward-<>-arglist-recur--depth)))) + ;; Recursive part of `c-forward-<>-arglist'. ;; ;; This function might do hidden buffer changes. From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Daniel Colascione Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 30 Jan 2011 21:16:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: bug-gnu-emacs@gnu.org Cc: 7722@debbugs.gnu.org, Alan Mackenzie , Tassilo Horn Received: via spool by submit@debbugs.gnu.org id=B.129642214223161 (code B ref -1); Sun, 30 Jan 2011 21:16:01 +0000 Received: (at submit) by debbugs.gnu.org; 30 Jan 2011 21:15:42 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjecX-00061W-Ou for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:15:42 -0500 Received: from eggs.gnu.org ([140.186.70.92]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PjecV-00061L-NW for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:15:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjekX-0002mO-ML for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:23:58 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_RP_MATCHES_RCVD, T_TO_NO_BRKTS_FREEMAIL autolearn=unavailable version=3.3.1 Received: from lists.gnu.org ([199.232.76.165]:38179) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjekX-0002mI-KO for submit@debbugs.gnu.org; Sun, 30 Jan 2011 16:23:57 -0500 Received: from [140.186.70.92] (port=60925 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PjekW-0005mG-He for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:23:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PjekV-0002le-89 for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:23:56 -0500 Received: from lo.gmane.org ([80.91.229.12]:38050) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PjekU-0002lR-U2 for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 16:23:55 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PjekS-0002iw-Ag for bug-gnu-emacs@gnu.org; Sun, 30 Jan 2011 22:23:52 +0100 Received: from c-67-183-23-114.hsd1.wa.comcast.net ([67.183.23.114]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Jan 2011 22:23:52 +0100 Received: from dan.colascione by c-67-183-23-114.hsd1.wa.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 30 Jan 2011 22:23:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Daniel Colascione Date: Sun, 30 Jan 2011 13:23:35 -0800 Lines: 27 Message-ID: <4D45D6D7.1000504@gmail.com> References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> <87k4hrcgi4.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-67-183-23-114.hsd1.wa.comcast.net User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 In-Reply-To: <87k4hrcgi4.fsf@stupidchicken.com> X-Enigmail-Version: 1.1.1 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 199.232.76.165 X-Spam-Score: -5.4 (-----) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -5.5 (-----) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 1/26/11 4:55 PM, Chong Yidong wrote: > Chong Yidong writes: > >>> 1. emacs -Q bug.hpp >>> 2. emacs loops infinitely using 100% CPU resources >>> >>> The offending file is that (according to the original reporter, the >>> spaces and empty lines are needed): >> >> I can reproduce this (file attached for convenience). Alan, could you >> take a look? Looks like a loop in c-forward-<>-arglist-recur: > > In the meantime, I have added the following hack/workaround to the > emacs-23 branch, which seems to break the loop. Let me know if you find > a fix that's safer (since we are well into the 23.3 pretest). Incidentally, I can't reproduce the problem with the trunk cc-mode. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iEYEARECAAYFAk1F1soACgkQ17c2LVA10VvtFACgi2KuRCq9m15aDx44xGtVTYGB Z3AAnjuVGnWv1P6gz4vItI5HOoSiVcMw =Emh5 -----END PGP SIGNATURE----- From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Fri, 04 Feb 2011 21:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Chong Yidong Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129685667828774 (code B ref 7722); Fri, 04 Feb 2011 21:58:01 +0000 Received: (at 7722) by debbugs.gnu.org; 4 Feb 2011 21:57:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlTfB-0007U3-IR for submit@debbugs.gnu.org; Fri, 04 Feb 2011 16:57:57 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PlTf8-0007Tr-Qg for 7722@debbugs.gnu.org; Fri, 04 Feb 2011 16:57:56 -0500 Received: (qmail 98766 invoked by uid 3782); 4 Feb 2011 22:06:26 -0000 Received: from acm.muc.de (pD9E5293C.dip.t-dialin.net [217.229.41.60]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Fri, 04 Feb 2011 23:06:24 +0100 Received: (qmail 4323 invoked by uid 1000); 4 Feb 2011 22:22:07 -0000 Date: Fri, 4 Feb 2011 22:22:07 +0000 Message-ID: <20110204222207.GA2424@muc.de> References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87hbd0y8sb.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) Hi there, Yidong, Tassilo, On Sat, Jan 22, 2011 at 03:37:24PM -0500, Chong Yidong wrote: > Tassilo Horn writes: > > Originally reported by Caligo > > He uses GNU Emacs 23.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.20.1), > > but the bug in still in the current bzr trunk. > > 1. emacs -Q bug.hpp > > 2. emacs loops infinitely using 100% CPU resources > > The offending file is that (according to the original reporter, the > > spaces and empty lines are needed): > I can reproduce this (file attached for convenience). Alan, could you > take a look? Looks like a loop in c-forward-<>-arglist-recur: It was indeed such a loop. It was caused by a 500n jit-lock boundary falling in the middle of a template construct, hence the "necessity" of all the whitespace to reproduce the failure. Here's a putative patch for the problem. I've refactored the offending function by replacing obscenely nested `if'-forms with a simple `cond'. I've also removed some narrowing (to the 500n limit) which should help jit-lock, hopefully without hurting too much elsewhere. Tassilo, would you try out the patch, please, and let me know how it goes. Thanks! === modified file 'lisp/progmodes/cc-engine.el' *** lisp/progmodes/cc-engine.el 2011-01-31 23:54:50 +0000 --- lisp/progmodes/cc-engine.el 2011-02-04 22:12:46 +0000 *************** *** 5455,5463 **** (goto-char start) nil)) ! (forward-char) (unless (looking-at c-<-op-cont-regexp) (while (and (progn (c-forward-syntactic-ws) --- 5455,5465 ---- (goto-char start) nil)) ! (forward-char) ; Forward over the opening '<'. (unless (looking-at c-<-op-cont-regexp) + ;; go forward one non-alphanumeric character (group) per iteration of + ;; this loop. (while (and (progn (c-forward-syntactic-ws) *************** *** 5486,5492 **** (c-forward-type) (c-forward-syntactic-ws)))))) ! (setq pos (point)) ;; Note: These regexps exploit the match order in \| so ;; that "<>" is matched by "<" rather than "[^>:-]>". --- 5488,5494 ---- (c-forward-type) (c-forward-syntactic-ws)))))) ! (setq pos (point)) ; e.g. first token inside the '<' ;; Note: These regexps exploit the match order in \| so ;; that "<>" is matched by "<" rather than "[^>:-]>". *************** *** 5522,5559 **** ;; Either an operator starting with '<' or a nested arglist. (setq pos (point)) (let (id-start id-end subres keyword-match) ! (if (if (looking-at c-<-op-cont-regexp) ! (setq tmp (match-end 0)) ! (setq tmp pos) ! (backward-char) ! (not ! (and ! ! (save-excursion ! ;; There's always an identifier before an angle ! ;; bracket arglist, or a keyword in ! ;; `c-<>-type-kwds' or `c-<>-arglist-kwds'. ! (c-backward-syntactic-ws) ! (setq id-end (point)) ! (c-simple-skip-symbol-backward) ! (when (or (setq keyword-match ! (looking-at c-opt-<>-sexp-key)) ! (not (looking-at c-keywords-regexp))) ! (setq id-start (point)))) ! ! (setq subres ! (let ((c-promote-possible-types t) ! (c-record-found-types t)) ! (c-forward-<>-arglist-recur ! (and keyword-match ! (c-keyword-member ! (c-keyword-sym (match-string 1)) ! 'c-<>-type-kwds))))) ! ))) ! ! ;; It was not an angle bracket arglist. ! (goto-char tmp) ! ;; It was an angle bracket arglist. (setq c-record-found-types subres) --- 5524,5558 ---- ;; Either an operator starting with '<' or a nested arglist. (setq pos (point)) (let (id-start id-end subres keyword-match) ! (cond ! ;; The '<' begins a multi-char operator. ! ((looking-at c-<-op-cont-regexp) ! (setq tmp (match-end 0)) ! (goto-char (match-end 0))) ! ;; We're at a nested <.....> ! ((progn ! (setq tmp pos) ! (backward-char) ; to the '<' ! (and ! (save-excursion ! ;; There's always an identifier before an angle ! ;; bracket arglist, or a keyword in `c-<>-type-kwds' ! ;; or `c-<>-arglist-kwds'. ! (c-backward-syntactic-ws) ! (setq id-end (point)) ! (c-simple-skip-symbol-backward) ! (when (or (setq keyword-match ! (looking-at c-opt-<>-sexp-key)) ! (not (looking-at c-keywords-regexp))) ! (setq id-start (point)))) ! (setq subres ! (let ((c-promote-possible-types t) ! (c-record-found-types t)) ! (c-forward-<>-arglist-recur ! (and keyword-match ! (c-keyword-member ! (c-keyword-sym (match-string 1)) ! 'c-<>-type-kwds))))))) ;; It was an angle bracket arglist. (setq c-record-found-types subres) *************** *** 5567,5574 **** (c-forward-syntactic-ws) (looking-at c-opt-identifier-concat-key))) (c-record-ref-id (cons id-start id-end)) ! (c-record-type-id (cons id-start id-end)))))) ! t) ((and (not c-restricted-<>-arglists) (or (and (eq (char-before) ?&) --- 5566,5578 ---- (c-forward-syntactic-ws) (looking-at c-opt-identifier-concat-key))) (c-record-ref-id (cons id-start id-end)) ! (c-record-type-id (cons id-start id-end))))) ! ! ;; At a "less than" operator. ! (t ! (forward-char) ! ))) ! t) ; carry on looping. ((and (not c-restricted-<>-arglists) (or (and (eq (char-before) ?&) === modified file 'lisp/progmodes/cc-fonts.el' *** lisp/progmodes/cc-fonts.el 2011-01-25 04:08:28 +0000 --- lisp/progmodes/cc-fonts.el 2011-02-04 22:10:01 +0000 *************** *** 1082,1088 **** (boundp 'parse-sexp-lookup-properties)))) ;; Below we fontify a whole declaration even when it crosses the limit, ! ;; to avoid gaps when lazy-lock fontifies the file a screenful at a ;; time. That is however annoying during editing, e.g. the following is ;; a common situation while the first line is being written: ;; --- 1082,1088 ---- (boundp 'parse-sexp-lookup-properties)))) ;; Below we fontify a whole declaration even when it crosses the limit, ! ;; to avoid gaps when jit/lazy-lock fontifies the file a block at a ;; time. That is however annoying during editing, e.g. the following is ;; a common situation while the first line is being written: ;; *************** *** 1094,1102 **** ;; "some_other_variable" as an identifier, and the latter will not ;; correct itself until the second line is changed. To avoid that we ;; narrow to the limit if the region to fontify is a single line. ! (narrow-to-region ! (point-min) ! (if (<= limit (c-point 'bonl)) (save-excursion ;; Narrow after any operator chars following the limit though, ;; since those characters can be useful in recognizing a --- 1094,1102 ---- ;; "some_other_variable" as an identifier, and the latter will not ;; correct itself until the second line is changed. To avoid that we ;; narrow to the limit if the region to fontify is a single line. ! (if (<= limit (c-point 'bonl)) ! (narrow-to-region ! (point-min) (save-excursion ;; Narrow after any operator chars following the limit though, ;; since those characters can be useful in recognizing a *************** *** 1104,1111 **** ;; after the header). (goto-char limit) (skip-chars-forward c-nonsymbol-chars) ! (point)) ! limit)) (c-find-decl-spots limit --- 1104,1110 ---- ;; after the header). (goto-char limit) (skip-chars-forward c-nonsymbol-chars) ! (point)))) (c-find-decl-spots limit -- Alan Mackenzie (Nuremberg, Germany). From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Tassilo Horn Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 06 Feb 2011 19:12:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7722@debbugs.gnu.org, Chong Yidong Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129701951815975 (code B ref 7722); Sun, 06 Feb 2011 19:12:01 +0000 Received: (at 7722) by debbugs.gnu.org; 6 Feb 2011 19:11:58 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmA1e-00049b-1V for submit@debbugs.gnu.org; Sun, 06 Feb 2011 14:11:58 -0500 Received: from out1.smtp.messagingengine.com ([66.111.4.25]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PmA1b-00049P-Te for 7722@debbugs.gnu.org; Sun, 06 Feb 2011 14:11:56 -0500 Received: from compute3.internal (compute3.nyi.mail.srv.osa [10.202.2.43]) by gateway1.messagingengine.com (Postfix) with ESMTP id 593412085F; Sun, 6 Feb 2011 14:20:32 -0500 (EST) Received: from frontend1.messagingengine.com ([10.202.2.160]) by compute3.internal (MEProxy); Sun, 06 Feb 2011 14:20:32 -0500 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=messagingengine.com; h=from:to:cc:subject:references:date:in-reply-to:message-id:mime-version:content-type; s=smtpout; bh=t37G1XTTMEpFuUdwBEQ3XkjtYzM=; b=tukJypp4YxrZFQJGqsX22ZU9h7okz6MSXOUKQIBTJC8Bk5i+PCMf8YoKyXQEzSN02tfXfUjy3gEsAL1rjudnyWuOc0Sk/hMshGur8x53TXR4Lc/RxX3BeQnrq0p3cDaPe2jb93agwGqG0aQ9nXuRBFVD7lcRIUkvRi5e1WrisVA= X-Sasl-enc: jXiCh+M/1AXmZeu7SfIrKBtTUsW8m8xX06PwCV3QJb78 1297020031 Received: from thinkpad (95-88-32-105-dynip.superkabel.de [95.88.32.105]) by mail.messagingengine.com (Postfix) with ESMTPA id 3DEAB405452; Sun, 6 Feb 2011 14:20:30 -0500 (EST) From: Tassilo Horn References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> <20110204222207.GA2424@muc.de> Date: Sun, 06 Feb 2011 20:20:30 +0100 In-Reply-To: <20110204222207.GA2424@muc.de> (Alan Mackenzie's message of "Fri, 4 Feb 2011 22:22:07 +0000") Message-ID: <87pqr56kch.fsf@member.fsf.org> User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -3.1 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -3.3 (---) Alan Mackenzie writes: Hi Alan, > Here's a putative patch for the problem. I've refactored the > offending function by replacing obscenely nested `if'-forms with a > simple `cond'. I've also removed some narrowing (to the 500n limit) > which should help jit-lock, hopefully without hurting too much > elsewhere. > > Tassilo, would you try out the patch, please, and let me know how it > goes. Thanks! Seems to work fine. I had no problems visiting that bad header file. Bye, Tassilo From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sat, 12 Feb 2011 01:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129747338025980 (code B ref 7722); Sat, 12 Feb 2011 01:17:02 +0000 Received: (at 7722) by debbugs.gnu.org; 12 Feb 2011 01:16:20 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po45z-0006kz-IO for submit@debbugs.gnu.org; Fri, 11 Feb 2011 20:16:19 -0500 Received: from vm-emlprdomr-05.its.yale.edu ([130.132.50.146]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Po45y-0006ko-9q for 7722@debbugs.gnu.org; Fri, 11 Feb 2011 20:16:18 -0500 Received: from furball (dhcp128036014062.central.yale.edu [128.36.14.62]) (authenticated bits=0) by vm-emlprdomr-05.its.yale.edu (8.14.4/8.14.4) with ESMTP id p1C1P8qr017085 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Fri, 11 Feb 2011 20:25:08 -0500 Received: by furball (Postfix, from userid 1000) id BCB2016055E; Fri, 11 Feb 2011 20:25:06 -0500 (EST) From: Chong Yidong References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> <20110204222207.GA2424@muc.de> Date: Fri, 11 Feb 2011 20:25:06 -0500 In-Reply-To: <20110204222207.GA2424@muc.de> (Alan Mackenzie's message of "Fri, 4 Feb 2011 22:22:07 +0000") Message-ID: <8739nu82od.fsf@stupidchicken.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 2.71 on 130.132.50.146 X-Spam-Score: -2.7 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.7 (--) Alan Mackenzie writes: > It was indeed such a loop. It was caused by a 500n jit-lock boundary > falling in the middle of a template construct, hence the "necessity" of > all the whitespace to reproduce the failure. > > Here's a putative patch for the problem. I've refactored the offending > function by replacing obscenely nested `if'-forms with a simple `cond'. > I've also removed some narrowing (to the 500n limit) which should help > jit-lock, hopefully without hurting too much elsewhere. > > Tassilo, would you try out the patch, please, and let me know how it > goes. Thanks! Thanks. This patch doesn't apply cleanly to the emacs-23 branch. Do you think we could apply it to the trunk, and just use the workaround in the branch (some of these logic changes don't look obvious to me)? From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Alan Mackenzie Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 13 Feb 2011 11:56:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Chong Yidong Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129759816131716 (code B ref 7722); Sun, 13 Feb 2011 11:56:02 +0000 Received: (at 7722) by debbugs.gnu.org; 13 Feb 2011 11:56:01 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoaYa-0008FV-CU for submit@debbugs.gnu.org; Sun, 13 Feb 2011 06:56:00 -0500 Received: from colin.muc.de ([193.149.48.1] helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PoaYX-0008FI-4j for 7722@debbugs.gnu.org; Sun, 13 Feb 2011 06:55:58 -0500 Received: (qmail 7003 invoked by uid 3782); 13 Feb 2011 12:04:50 -0000 Received: from acm.muc.de (pD9E53CC3.dip.t-dialin.net [217.229.60.195]) by colin2.muc.de (tmda-ofmipd) with ESMTP; Sun, 13 Feb 2011 13:04:48 +0100 Received: (qmail 4317 invoked by uid 1000); 13 Feb 2011 12:20:44 -0000 Date: Sun, 13 Feb 2011 12:20:44 +0000 Message-ID: <20110213122044.GB2078@muc.de> References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> <20110204222207.GA2424@muc.de> <8739nu82od.fsf@stupidchicken.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <8739nu82od.fsf@stupidchicken.com> User-Agent: Mutt/1.5.9i X-Delivery-Agent: TMDA/1.1.5 (Fettercairn) From: Alan Mackenzie X-Primary-Address: acm@muc.de X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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: -2.5 (--) Hi, Yidong! On Fri, Feb 11, 2011 at 08:25:06PM -0500, Chong Yidong wrote: > Alan Mackenzie writes: > > It was indeed such a loop. It was caused by a 500n jit-lock boundary > > falling in the middle of a template construct, hence the "necessity" of > > all the whitespace to reproduce the failure. > > Here's a putative patch for the problem. I've refactored the offending > > function by replacing obscenely nested `if'-forms with a simple `cond'. > > I've also removed some narrowing (to the 500n limit) which should help > > jit-lock, hopefully without hurting too much elsewhere. > > Tassilo, would you try out the patch, please, and let me know how it > > goes. Thanks! > Thanks. This patch doesn't apply cleanly to the emacs-23 branch. That surprises me. Would you like me to rework the patch so that it does? > Do you think we could apply it to the trunk, and just use the > workaround in the branch .... To be honest, I haven't really looked at the workaround. I suppose it would be OK. However, the patched version passed all the CC Mode regression tests (which are about half indentation, half font-locking), so I'm fairly confident about it. > .... (some of these logic changes don't look obvious to me)? One of the fixes was removing a `narrow-to-region' around the region being fontified. In a jit-lock 500-byte chunk, this had the effect of cutting necessary context off the end. The other change was basically to refactor, in which the infinite looping disappeared in the wash. Although I could get edebug going on this loop, the source was just too complicated to be worthwhile trying to understand in detail. (Believe me, I tried. :-) Incidentally, I'm not getting mail from emacs-devel or bug-gnu-emacs at the moment, and I've not got enough energy to do anything about it. Do you know anything specific which might be doing this to me? -- Alan Mackenzie (Nuremberg, Germany). From unknown Sun Aug 17 04:22:28 2025 X-Loop: help-debbugs@gnu.org Subject: bug#7722: 24.0.50; Finding this C++ header file drops emacs into a infinite loop Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 13 Feb 2011 20:33:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7722 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: To: Alan Mackenzie Cc: 7722@debbugs.gnu.org, Tassilo Horn Received: via spool by 7722-submit@debbugs.gnu.org id=B7722.129762917218977 (code B ref 7722); Sun, 13 Feb 2011 20:33:01 +0000 Received: (at 7722) by debbugs.gnu.org; 13 Feb 2011 20:32:52 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Poicl-0004w2-V2 for submit@debbugs.gnu.org; Sun, 13 Feb 2011 15:32:52 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Poick-0004vp-92 for 7722@debbugs.gnu.org; Sun, 13 Feb 2011 15:32:50 -0500 Received: from cyd by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PoilN-0001Eo-BA; Sun, 13 Feb 2011 15:41:45 -0500 From: Chong Yidong References: <87fwtnbmmj.fsf@member.fsf.org> <87hbd0y8sb.fsf@stupidchicken.com> <20110204222207.GA2424@muc.de> <8739nu82od.fsf@stupidchicken.com> <20110213122044.GB2078@muc.de> Date: Sun, 13 Feb 2011 15:41:45 -0500 In-Reply-To: <20110213122044.GB2078@muc.de> (Alan Mackenzie's message of "Sun, 13 Feb 2011 12:20:44 +0000") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Spam-Score: -6.6 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.6 (------) Alan Mackenzie writes: >> Thanks. This patch doesn't apply cleanly to the emacs-23 branch. > > That surprises me. Would you like me to rework the patch so that it > does? I took a stab at it, but I'm not familiar enough with the code to do the job. Here's an example of a mismatch. In your patch, you have: *************** *** 5486,5492 **** (c-forward-type) (c-forward-syntactic-ws)))))) ! (setq pos (point)) ;; Note: These regexps exploit the match order in \| so ;; that "<>" is matched by "<" rather than "[^>:-]>". --- 5488,5494 ---- (c-forward-type) (c-forward-syntactic-ws)))))) ! (setq pos (point)) ; e.g. first token inside the '<' ;; Note: These regexps exploit the match order in \| so ;; that "<>" is matched by "<" rather than "[^>:-]>". but in the branch, the relevant part of the code looks like this: ;; Must check for '>' at the very start separately, ;; since the regexp below has to avoid ">>" without ;; using \\=. (forward-char) t) ;; Note: These regexps exploit the match order in \| so ;; that "<>" is matched by "<" rather than "[^>:-]>". This code was altered during Nathaniel Flath's changes for Java 5 support, back in July, which was (rightly) not committed to the branch: revno: 100951 committer: Alan Mackenzie branch nick: trunk timestamp: Sat 2010-07-31 20:01:08 +0000 message: Enhance Java Mode to handle Java 5.0 (Tiger) and Java 6 (Mustang). Contributed by Nathaniel Flath. Any suggestions? :-/ From debbugs-submit-bounces@debbugs.gnu.org Wed Jun 29 17:14:37 2011 Received: (at control) by debbugs.gnu.org; 29 Jun 2011 21:14:37 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qc25l-0008TZ-7T for submit@debbugs.gnu.org; Wed, 29 Jun 2011 17:14:37 -0400 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1Qc25g-0008TK-2o for control@debbugs.gnu.org; Wed, 29 Jun 2011 17:14:36 -0400 Received: from rgm by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1Qc25a-0004YJ-Ht for control@debbugs.gnu.org; Wed, 29 Jun 2011 17:14:26 -0400 Date: Wed, 29 Jun 2011 17:14:26 -0400 Message-Id: Subject: control message for bug 7722 To: X-Mailer: mail (GNU Mailutils 2.1) From: Glenn Morris X-Spam-Score: -6.4 (------) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 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.4 (------) close 7722 24.1