From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16804: 24.3.50; [PATCH] fix with-silent-modifications Date: Wed, 19 Feb 2014 23:57:54 -0500 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1392872353 7864 80.91.229.3 (20 Feb 2014 04:59:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 20 Feb 2014 04:59:13 +0000 (UTC) Cc: 16804@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Feb 20 05:59:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WGLjE-000398-AX for geb-bug-gnu-emacs@m.gmane.org; Thu, 20 Feb 2014 05:59:20 +0100 Original-Received: from localhost ([::1]:36182 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLjD-00037S-QJ for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Feb 2014 23:59:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41296) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLj3-00037D-S3 for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 23:59:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WGLiw-0001nn-IB for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 23:59:09 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WGLiw-0001nh-Eb for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 23:59:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WGLiv-0005Wd-SY for bug-gnu-emacs@gnu.org; Wed, 19 Feb 2014 23:59:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Feb 2014 04:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16804 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 16804-submit@debbugs.gnu.org id=B16804.139287228421137 (code B ref 16804); Thu, 20 Feb 2014 04:59:01 +0000 Original-Received: (at 16804) by debbugs.gnu.org; 20 Feb 2014 04:58:04 +0000 Original-Received: from localhost ([127.0.0.1]:32862 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGLhz-0005Un-Df for submit@debbugs.gnu.org; Wed, 19 Feb 2014 23:58:03 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:17488) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WGLhw-0005UH-Jd for 16804@debbugs.gnu.org; Wed, 19 Feb 2014 23:58:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av8EABK/CFFLd/o4/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IPAS-Result: Av8EABK/CFFLd/o4/2dsb2JhbABEuzWDWRdzgh4BAQQBViMFCwsOJhIUGA0kiB4GwS2RCgOIYZwZgV6DFQ X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="48208398" Original-Received: from 75-119-250-56.dsl.teksavvy.com (HELO pastel.home) ([75.119.250.56]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 19 Feb 2014 23:57:54 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id D0DEB6336B; Wed, 19 Feb 2014 23:57:54 -0500 (EST) In-Reply-To: (Leo Liu's message of "Thu, 20 Feb 2014 08:33:54 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:85925 Archived-At: > Steve Yegge tried very hard to keep js2-mode performant. It seems his > strategy is to pause every few statements. (see js2-parse-statement). > If js2 find a way to disable all timers while parsing, it might for > example, cause dropping connections in rcirc. We already have Gnus > doing that. That doesn't change anything to the fact that calling something like sit-for from within a with-silent-modifications is a problem, regardless of buffer-file-name. E.g. it will cause the process filter not to mark the new text for highlighting, so it can screw up *compilation*. >> Again, a backtrace would be much more useful. > There is no backtrace. Of course there is. I know there is no error signaled, but you can still get a backtrace by calling (backtrace), or (debug). Stefan