From unknown Sat Jun 21 05:15:43 2025 X-Loop: don@donarmstrong.com Subject: bug#213: Emacs hangs (font-lock-mode) Reply-To: "Albert =?UTF-8?Q?Neum=C3=BCller"?= , 213@debbugs.gnu.org Resent-From: "Albert =?UTF-8?Q?Neum=C3=BCller"?= Original-Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Resent-To: bug-submit-list@lists.donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 10 May 2008 18:55:03 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 213 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Received: via spool by submit@emacsbugs.donarmstrong.com id=B.121044527319287 (code B ref -1); Sat, 10 May 2008 18:55:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 May 2008 18:47:53 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4AIli6I019281 for ; Sat, 10 May 2008 11:47:46 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 5EBD62CFCE8; Sat, 10 May 2008 14:47:44 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 291E72CFCE6 for ; Sat, 10 May 2008 14:47:44 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id F17A83B8B6A for ; Sat, 10 May 2008 14:47:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:58742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juu6c-0006fi-JK for monnier@iro.umontreal.ca; Sat, 10 May 2008 14:47:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ju1LL-00047D-19 for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ju1LJ-000471-Cd for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:09 -0400 Received: from [199.232.76.173] (port=48437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju1LJ-00046y-66 for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:09 -0400 Received: from mx20.gnu.org ([199.232.41.8]:4322) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ju1LH-0008Ef-VB for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:08 -0400 Received: from rv-out-0708.google.com ([209.85.198.249]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ju1LG-0003qB-1y for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:06 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1054433rvb.6 for ; Thu, 08 May 2008 01:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=qP8Rm5S6bCIp2rR9MVHW2JrN4I0NCW+vPEkEuGYPdcs=; b=YsgcD5vWbm5X4/y+JQEyE0XJZnlojMqXEaevq6IC8iieK2bE9y8ifkjKp3qxwVzMVhruTUEoRJpJzJQfx+jXBkedZuEOl34OMZRYCnQ0GiYmTsXPbNaFyxNRXXHU7+g7pl2hwe3IK/jhDUXss3ELkzl2Bs6awqt4wLUSrVUBH5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QfGHpfL90QMA1L92iP3wkwaunALjfGHRqP+cUEaGorHROuh5SmxnHUw8rGM4FL+0IWdzS5jD1EmUgtRY/3gMlcIPMPgIEibyDZmi90Pt83yM2DD4sWNa+KtJT9ME9Es4FCsrpW8PcFf9iWeDT9xp+05fp4HYAFYZaHSahY0Vk24= Received: by 10.142.69.12 with SMTP id r12mr1284892wfa.42.1210234742197; Thu, 08 May 2008 01:19:02 -0700 (PDT) Received: by 10.142.47.13 with HTTP; Thu, 8 May 2008 01:19:02 -0700 (PDT) Message-ID: Date: Thu, 8 May 2008 10:19:02 +0200 From: "Albert =?UTF-8?Q?Neum=C3=BCller"?= To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 10 May 2008 14:46:21 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.873, requis 5, BAYES_00 -2.60, RCVD_BY_IP 0.07, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Hello! Emacs hangs during font-lock-mode (cc-mode). How to reproduce: Copy the C++ code below, into a buffer (e.g. tmp.cpp) with cc-mode and font-lock-mode ON, and the go ahead and try changing the line #include "iostream" to #include GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-05-02 on terranova, modified by Ubuntu 'hope this can be reproduced and solved! Regards, Albert ======== C++ Code ======== #include "iostream" void func1() { std::cout<<"<->"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"< Recent messages: Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done For information about the GNU Project and its goals, type C-h C-p. Loading cc-mode...done For information about the GNU Project and its goals, type C-h C-p. Loading emacsbug...done From unknown Sat Jun 21 05:15:43 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com From: help-debbugs@gnu.org (Emacs bug Tracking System) To: "Albert =?UTF-8?Q?Neum=C3=BCller"?= Subject: bug#213 closed by Chong Yidong (Re: Emacs hangs (font-lock-mode)) Message-ID: References: <87wsly6sqn.fsf@stupidchicken.com> X-Emacs-PR-Message: they-closed 213 X-Emacs-PR-Package: emacs Reply-To: 213@debbugs.gnu.org Content-Type: multipart/mixed; boundary="----------=_1210698605-31567-1" This is a multi-part message in MIME format... ------------=_1210698605-31567-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" This is an automatic notification regarding your bug report which was filed against the emacs package: #213: Emacs hangs (font-lock-mode) It has been closed by Chong Yidong . Their explanation is attached below along with your original report. If this explanation is unsatisfactory and you have not received a better one in a separate message then please contact Chong Yidong by replying to this email. --=20 213: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D213 Emacs Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1210698605-31567-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From cyd@stupidchicken.com Tue May 13 10:04:06 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.5 required=4.0 tests=AWL,GMAIL autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 213-done) by emacsbugs.donarmstrong.com; 13 May 2008 17:04:06 +0000 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4DH43ww028841 for <213-done@emacsbugs.donarmstrong.com>; Tue, 13 May 2008 10:04:04 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 834CE4E392; Tue, 13 May 2008 13:04:00 -0400 (EDT) From: Chong Yidong To: =?utf-8?Q?Albert_Neum=C3=BCller?= Cc: 213-done@debbugs.gnu.org Subject: Re: Emacs hangs (font-lock-mode) Date: Tue, 13 May 2008 13:04:00 -0400 Message-ID: <87wsly6sqn.fsf@stupidchicken.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable "Albert Neum=C3=BCller" wrote: > Emacs hangs during font-lock-mode (cc-mode). > How to reproduce: > > Copy the C++ code below, into a buffer (e.g. tmp.cpp) with cc-mode and > font-lock-mode ON, and the go ahead and try changing > the line > #include "iostream" > > to > > #include > .... Emacs should hang! > > Which Emacs ??? -> > GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) > of 2008-05-02 on terranova, modified by Ubuntu I can't reproduce this bug, even Emacs 22.1. Maybe it's cause by something in your init file. Can you reproduce it with `emacs -Q' and/or with an unmodified emacs 22 as distributed from http://ftp.gnu.org/pub/gnu/emacs/? ------------=_1210698605-31567-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit >From monnier@iro.umontreal.ca Sat May 10 11:47:53 2008 X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 10 May 2008 18:47:53 +0000 Received: from mercure.iro.umontreal.ca (mercure.iro.umontreal.ca [132.204.24.67]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m4AIli6I019281 for ; Sat, 10 May 2008 11:47:46 -0700 Received: by mercure.iro.umontreal.ca (Postfix, from userid 20848) id 5EBD62CFCE8; Sat, 10 May 2008 14:47:44 -0400 (EDT) X-Original-To: monnier@iro.umontreal.ca Received: from pinpin.iro.umontreal.ca (pinpin.iro.umontreal.ca [132.204.24.52]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 291E72CFCE6 for ; Sat, 10 May 2008 14:47:44 -0400 (EDT) Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by pinpin.iro.umontreal.ca (Postfix) with ESMTP id F17A83B8B6A for ; Sat, 10 May 2008 14:47:38 -0400 (EDT) Received: from localhost ([127.0.0.1]:58742 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Juu6c-0006fi-JK for monnier@iro.umontreal.ca; Sat, 10 May 2008 14:47:38 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ju1LL-00047D-19 for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:11 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ju1LJ-000471-Cd for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:09 -0400 Received: from [199.232.76.173] (port=48437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ju1LJ-00046y-66 for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:09 -0400 Received: from mx20.gnu.org ([199.232.41.8]:4322) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ju1LH-0008Ef-VB for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:08 -0400 Received: from rv-out-0708.google.com ([209.85.198.249]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ju1LG-0003qB-1y for bug-gnu-emacs@gnu.org; Thu, 08 May 2008 04:19:06 -0400 Received: by rv-out-0708.google.com with SMTP id k29so1054433rvb.6 for ; Thu, 08 May 2008 01:19:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; bh=qP8Rm5S6bCIp2rR9MVHW2JrN4I0NCW+vPEkEuGYPdcs=; b=YsgcD5vWbm5X4/y+JQEyE0XJZnlojMqXEaevq6IC8iieK2bE9y8ifkjKp3qxwVzMVhruTUEoRJpJzJQfx+jXBkedZuEOl34OMZRYCnQ0GiYmTsXPbNaFyxNRXXHU7+g7pl2hwe3IK/jhDUXss3ELkzl2Bs6awqt4wLUSrVUBH5A= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=QfGHpfL90QMA1L92iP3wkwaunALjfGHRqP+cUEaGorHROuh5SmxnHUw8rGM4FL+0IWdzS5jD1EmUgtRY/3gMlcIPMPgIEibyDZmi90Pt83yM2DD4sWNa+KtJT9ME9Es4FCsrpW8PcFf9iWeDT9xp+05fp4HYAFYZaHSahY0Vk24= Received: by 10.142.69.12 with SMTP id r12mr1284892wfa.42.1210234742197; Thu, 08 May 2008 01:19:02 -0700 (PDT) Received: by 10.142.47.13 with HTTP; Thu, 8 May 2008 01:19:02 -0700 (PDT) Message-ID: Date: Thu, 8 May 2008 10:19:02 +0200 From: "=?ISO-8859-1?Q?Albert_Neum=FCller?=" To: bug-gnu-emacs@gnu.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 2) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-Mailman-Approved-At: Sat, 10 May 2008 14:46:21 -0400 Subject: Emacs hangs (font-lock-mode) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Errors-To: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-1.873, requis 5, BAYES_00 -2.60, RCVD_BY_IP 0.07, RECEIVED_FROM_NOUNK 0.66, SPF_HELO_PASS -0.00) X-DIRO-MailScanner-From: bug-gnu-emacs-bounces+monnier=iro.umontreal.ca@gnu.org Hello! Emacs hangs during font-lock-mode (cc-mode). How to reproduce: Copy the C++ code below, into a buffer (e.g. tmp.cpp) with cc-mode and font-lock-mode ON, and the go ahead and try changing the line #include "iostream" to #include GNU Emacs 22.1.1 (i486-pc-linux-gnu, GTK+ Version 2.12.0) of 2008-05-02 on terranova, modified by Ubuntu 'hope this can be reproduced and solved! Regards, Albert ======== C++ Code ======== #include "iostream" void func1() { std::cout<<"<->"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"<"< Recent messages: Loading debian-ispell... Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done Loading debian-ispell...done Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done Loading /etc/emacs/site-start.d/50psvn.el (source)...done For information about the GNU Project and its goals, type C-h C-p. Loading cc-mode...done For information about the GNU Project and its goals, type C-h C-p. Loading emacsbug...done ------------=_1210698605-31567-1-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 20 14:42:36 2010 Received: (at control) by debbugs.gnu.org; 20 Jan 2010 19:42:36 +0000 Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXgRn-0002qE-OH for submit@debbugs.gnu.org; Wed, 20 Jan 2010 14:42:36 -0500 Received: from fencepost.gnu.org ([140.186.70.10]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NXgRl-0002q7-Be for control@debbugs.gnu.org; Wed, 20 Jan 2010 14:42:33 -0500 Received: from rgm by fencepost.gnu.org with local (Exim 4.69) (envelope-from ) id 1NXgRh-0002Mj-1D; Wed, 20 Jan 2010 14:42:29 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <19287.23716.954248.903679@gargle.gargle.HOWL> Date: Wed, 20 Jan 2010 14:42:28 -0500 From: Glenn Morris To: control Subject: control X-Attribution: GM X-Mailer: VM (www.wonderworks.com/vm), GNU Emacs (www.gnu.org/software/emacs) X-Hue: red X-Ran: #}?=~;L$9mJ6')Q|O})B*NnE[ei,xIS~Bp:RoxRhP6I,Vnz.lg2J;b`{xLSf.5DGA7IU%Q X-Debbugs-No-Ack: yes X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) unarchive 213 unarchive 218 merge 213 218