From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: Pretest? Date: Tue, 13 Mar 2007 11:23:07 +0100 Message-ID: References: <87slcf8qxr.fsf@stupidchicken.com> <20070309135920.GA3560@kobe.laptop> <87hcsuwk6w.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1173781412 17954 80.91.229.12 (13 Mar 2007 10:23:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 13 Mar 2007 10:23:32 +0000 (UTC) Cc: cyd@stupidchicken.com, rms@gnu.org, emacs-devel@gnu.org To: "Andreas Schwab" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Mar 13 11:23:24 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HR4A7-0006L5-I1 for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2007 11:23:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HR4As-0004OU-Es for ged-emacs-devel@m.gmane.org; Tue, 13 Mar 2007 05:24:10 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HR4Ai-0004ON-GF for emacs-devel@gnu.org; Tue, 13 Mar 2007 06:24:00 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HR4Af-0004O9-54 for emacs-devel@gnu.org; Tue, 13 Mar 2007 06:23:59 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HR4Ae-0004O6-V7 for emacs-devel@gnu.org; Tue, 13 Mar 2007 05:23:56 -0500 Original-Received: from ug-out-1314.google.com ([66.249.92.170]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HR49t-0001hM-9Q for emacs-devel@gnu.org; Tue, 13 Mar 2007 06:23:09 -0400 Original-Received: by ug-out-1314.google.com with SMTP id j3so244814ugf for ; Tue, 13 Mar 2007 03:23:08 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NrJWpHJUj7axDUNoY8MLP0Jf2scZTEyEKPnBQpDg3+Gzy7xEPqgBYGpA0CuBvLqc+CLDcSD2RUqiV7/3gBpk7ilzrHMpncxDiUtfK9L3FyYTILe4ZiqCRnQxwgQFAOcwvnVJW4vt+uvgdiDG7DXw9uY9Ex0+pB+LAxXzHKLJFwg= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=UOEXG4heOgk3rf3aHcbj+/jHb1Yd4acU7u6LvBhuE1MqYewkcRRF6KWlLkgbSdAu4XXVZXzZ+fNI/JKpRk3/lkm20F18BnSyhUBwwuR5BhdNPZsq8R1jHKV/iTAaW8Hc0Qau/xiR5pxqWLlXrzrpq5DDkeJgd8bxNeg0Xhok4/I= Original-Received: by 10.114.25.3 with SMTP id 3mr2321836way.1173781387759; Tue, 13 Mar 2007 03:23:07 -0700 (PDT) Original-Received: by 10.114.234.16 with HTTP; Tue, 13 Mar 2007 03:23:07 -0700 (PDT) In-Reply-To: Content-Disposition: inline X-detected-kernel: Linux 2.4-2.6 (Google crawlbot) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67855 Archived-At: On 3/13/07, Andreas Schwab wrote: > Which I agree with aborting isearch, I don't agree with aborting a > recursive editing, since the latter is not as much a modal thing. This is the relevant code from server.el, which has been in place for 107 days now: (when (> (recursion-depth) 0) ;; We're inside a minibuffer already, so if the emacs-client is trying ;; to open a frame on a new display, we might end up with an unusable ;; frame because input from that display will be blocked (until exiting ;; the minibuffer). Better exit this minibuffer right away. ;; Similarly with recursive-edits such as the splash screen. (process-put proc :previous-string string) (run-with-timer 0 nil (lexical-let ((proc proc)) (lambda () (server-process-filter proc "")))) (top-level)) Juanma