From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Carsten Bormann Newsgroups: gmane.emacs.bugs Subject: bug#13999: 24.3.50; rng-validate-while-idle -> (error "Selecting deleted buffer") Date: Sat, 23 Mar 2013 08:54:08 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1364025309 18920 80.91.229.3 (23 Mar 2013 07:55:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 23 Mar 2013 07:55:09 +0000 (UTC) Cc: 13999@debbugs.gnu.org To: Leo Liu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Mar 23 08:55:35 2013 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 1UJJIb-0006cq-W7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Mar 2013 08:55:34 +0100 Original-Received: from localhost ([::1]:44969 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJJIE-00087s-Cx for geb-bug-gnu-emacs@m.gmane.org; Sat, 23 Mar 2013 03:55:10 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:41165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJJI8-00084G-K9 for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 03:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UJJI5-0005O1-Dn for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 03:55:04 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:37434) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UJJI5-0005Mu-AN for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 03:55:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1UJJK1-0002JW-Hv for bug-gnu-emacs@gnu.org; Sat, 23 Mar 2013 03:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Carsten Bormann Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Mar 2013 07:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13999 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13999-submit@debbugs.gnu.org id=B13999.13640253818839 (code B ref 13999); Sat, 23 Mar 2013 07:57:01 +0000 Original-Received: (at 13999) by debbugs.gnu.org; 23 Mar 2013 07:56:21 +0000 Original-Received: from localhost ([127.0.0.1]:41540 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJJJK-0002IS-Po for submit@debbugs.gnu.org; Sat, 23 Mar 2013 03:56:20 -0400 Original-Received: from mailhost.informatik.uni-bremen.de ([134.102.201.18]:37916 helo=informatik.uni-bremen.de) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1UJJJG-0002ID-Sw for 13999@debbugs.gnu.org; Sat, 23 Mar 2013 03:56:17 -0400 X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de Original-Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.4/8.14.4) with ESMTP id r2N7sA99021844; Sat, 23 Mar 2013 08:54:11 +0100 (CET) Original-Received: from [192.168.217.105] (p548937AB.dip.t-dialin.net [84.137.55.171]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTPSA id D6E313DCB; Sat, 23 Mar 2013 08:54:09 +0100 (CET) In-Reply-To: X-Mailer: Apple Mail (2.1503) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:72818 Archived-At: On Mar 23, 2013, at 02:47, Leo Liu wrote: > On 2013-03-23 01:34 +0800, Stefan Monnier wrote: >> No, I don't understand what problem this is trying to avoid. >> If noone understands this hack, I suggest to get rid of this >> let-binding, and if/when the corresponding problem ever appears, = we'll >> see about fixing it some other way. >=20 > I get rid of it for now. >=20 > Carsten, will you be able to test out the new rng-valid.el=B9=B2? = Thanks. >=20 > Footnotes:=20 > =B9 = http://repo.or.cz/w/emacs.git/blob_plain/HEAD:/lisp/nxml/rng-valid.el > =B2 = http://repo.or.cz/w/emacs.git/blob_plain/HEAD:/lisp/nxml/rng-nxml.el Well, how do you test that... I played around with background-validating an XML file, scrolling while = that happens, and that seems to work. I don't use stealthy jit-lock etc., though, and my XML files are of = moderate size (couple hundred kB), so maybe I'm not in the target group = addressed by the original hack. It seems really solving the problem the code was trying to address would = require having a priority scheme for idle timer work: Validation happens = in idle time but may be higher priority than other idle timer work. = Another way of blocking other idle timer work while doing = sit-for/input-pending-p would, of course, also help; this might need = exposing the READABLE_EVENTS_DO_TIMERS_NOW flag from input-pending-p and = sit-for. Gr=FC=DFe, Carsten