From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: xh yang Newsgroups: gmane.emacs.bugs Subject: bug#33784: Date: Thu, 20 Dec 2018 15:18:49 +0800 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000cccdce057d6ef10f" X-Trace: blaine.gmane.org 1545290288 1124 195.159.176.226 (20 Dec 2018 07:18:08 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Thu, 20 Dec 2018 07:18:08 +0000 (UTC) To: 33784@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 20 08:18:04 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZsap-0000B0-TW for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 08:18:04 +0100 Original-Received: from localhost ([::1]:35621 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZscw-0003jv-5Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Dec 2018 02:20:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55236) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gZsco-0003jl-UT for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 02:20:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gZscj-0007vh-SG for bug-gnu-emacs@gnu.org; Thu, 20 Dec 2018 02:20:06 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:51116) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gZscj-0007vZ-NJ; Thu, 20 Dec 2018 02:20:01 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gZscj-0004sE-Hu; Thu, 20 Dec 2018 02:20:01 -0500 X-Loop: help-debbugs@gnu.org In-Reply-To: Resent-From: xh yang Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Thu, 20 Dec 2018 07:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33784 X-GNU-PR-Package: emacs,cc-mode X-GNU-PR-Keywords: Original-Received: via spool by 33784-submit@debbugs.gnu.org id=B33784.154529034818658 (code B ref 33784); Thu, 20 Dec 2018 07:20:01 +0000 Original-Received: (at 33784) by debbugs.gnu.org; 20 Dec 2018 07:19:08 +0000 Original-Received: from localhost ([127.0.0.1]:55374 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZsbr-0004qs-NR for submit@debbugs.gnu.org; Thu, 20 Dec 2018 02:19:07 -0500 Original-Received: from mail-qt1-f177.google.com ([209.85.160.177]:45385) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gZsbp-0004qJ-S0 for 33784@debbugs.gnu.org; Thu, 20 Dec 2018 02:19:06 -0500 Original-Received: by mail-qt1-f177.google.com with SMTP id e5so719211qtr.12 for <33784@debbugs.gnu.org>; Wed, 19 Dec 2018 23:19:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=xiEzRhb8JlWvf3bWiLdwdUwS5FFKrDSqZKGjcEeK1JQ=; b=T437l/k/cGY62r7bWPP+At06PFAKq6Vi/2ho5+dwp1eEfdQTCPP6EVtFxszz0ln6V7 LcQ+Dlld45uTmoPbl3res9oHKK+rbuI6Gf/bW0WTh4GmSPz2pSb+Jdu0aWvb3dYumEdK jV9v8HM/40c6QPW+doboJlbeImsgR1MJYrTA1RdLWz8sYWVUVnfr6k8EEsUGRw2BNC2a UiOosZDnmMiBb+LZ1vOtdPXCjLyp/TKWk0x24ffT3xWif9hYgppmrpau0P1Klh6dAkN7 0LjvA4NUnPt3P7SdXshnsqH0dg45szbMPu3FWYrdPEvI6bXK08t/zvyRDrlc8ZW5TGjF UQUg== 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; bh=xiEzRhb8JlWvf3bWiLdwdUwS5FFKrDSqZKGjcEeK1JQ=; b=l2k4ML0Iw9JeWGlHGGSKJt7tKuOsvsB5JN3Cosgt7vMcPeU5Ftxam9HkvVbdyFpDPX 3isb9xK1oaqEBo5qk9xK3lvZKYOHXzHCcQJr8cE/zMWNmpbKglbYfzwGLsTTID6hOifr 6zMZM+vygEyCR05rtCjHXdQkN71/hUnQzt4oA118vGHUpzS/DOx9v7i/YbjdQF1H/PhB i10HVSRmbij4H/dYxwR3ugR1am9WyiJeON/ipfo+GYDKWfFWNjKaKaHqTiQRBs3qmHN5 AB2Ss5ok8n+xSN7aAKMgyE10thyohNiRUdKLD84DtSPZsys5YixzwfC7YmM+pN5sILI8 sUbQ== X-Gm-Message-State: AA+aEWaME/T/D4HLKkTi2bFKq81ak43a185Bweh+LhnIRAHNWG23Vfa4 Bwe95/Av/hiZlzD31IK37hptAK/AIISsfF158/e8E0VfxcpEzQ== X-Google-Smtp-Source: AFSGD/W6vPC+2t9CX3twGqrxcl23JUim1KCJCP8C6SmTBGVgUH6Kqhj+7fmDhv+n0s+DySad+GhNH0nBrhOHV42ZOkM= X-Received: by 2002:ac8:3f5c:: with SMTP id w28mr24824305qtk.151.1545290340157; Wed, 19 Dec 2018 23:19:00 -0800 (PST) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:153633 Archived-At: --000000000000cccdce057d6ef10f Content-Type: text/plain; charset="UTF-8" I found if remove first '\n' from the *str,then run emacs will not hang.* *May be it has nothing to do with font-lock, just str parsing ?* (let ((str "#define SLOGE(...)\n ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG,\n change to (let ((str "#define SLOGE(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG,\n --000000000000cccdce057d6ef10f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I found if remove first '\n' from the str,= then run emacs will not hang.
May be it has nothing to do = with font-lock, just str parsing ?

<=
span style=3D"color:rgb(0,0,0)">(let ((str "#define SLOGE(...)<=
font color=3D"#ff0000">\n
((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERROR, LOG_TAG,\n=

change to=C2=A0
(let ((str "#defi= ne SLOGE(...) ((void)__android_log_buf_print(LOG_ID_SYSTEM, ANDROID_LOG_ERR= OR, LOG_TAG,\n

--000000000000cccdce057d6ef10f--