From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Problem with splash screen and emacsclient Date: Mon, 20 Nov 2006 16:57:55 +0100 Message-ID: <4561D083.2090107@student.lu.se> References: <4560CF07.5060406@student.lu.se> <4560D1A7.4030405@student.lu.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164038304 31480 80.91.229.2 (20 Nov 2006 15:58:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Nov 2006 15:58:24 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 20 16:58:20 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GmBXD-0006th-It for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 16:58:15 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmBXD-000568-9H for ged-emacs-devel@m.gmane.org; Mon, 20 Nov 2006 10:58:15 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GmBX0-00054x-Gs for emacs-devel@gnu.org; Mon, 20 Nov 2006 10:58:02 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GmBWz-00054P-Q7 for emacs-devel@gnu.org; Mon, 20 Nov 2006 10:58:02 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GmBWz-00054L-MG for emacs-devel@gnu.org; Mon, 20 Nov 2006 10:58:01 -0500 Original-Received: from [80.76.149.213] (helo=ch-smtp02.sth.basefarm.net) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GmBWz-00065k-Gk for emacs-devel@gnu.org; Mon, 20 Nov 2006 10:58:01 -0500 Original-Received: from [83.254.145.24] (port=63605 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GmBWx-0005RQ-7y; Mon, 20 Nov 2006 16:57:59 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Stefan Monnier In-Reply-To: X-Scan-Result: No virus found in message 1GmBWx-0005RQ-7y. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1GmBWx-0005RQ-7y ec3b042126714ff16545d5d7e896c169 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:62565 Archived-At: Stefan Monnier wrote: >>> If Emacs is showing the splash screen and you open a file with emacsclient >>> then Emacs shows that it is in some kind of recursive edit mode. The mode >>> line may look like this >>> >>> >>> --\-- emacsclient.c Top L1 CVS:1.91 [(C/l)] ---------------- >>> >>> Some commands does not work until the splash screens times out. The [] >>> disappears then from the mode line. (You can use M-x top-level to get out >>> of this state before time out.) >>> >>> It seems like emacs server should remove the splash screen just as normal >>> input events does. But how should that be done? The function showing the >>> splash screen is doing a (sit-for 120). > > Similar problem happen if you use emacsclient when Emacs is in > the minibuffer. It's even worse when used on multiple displays since you > may be stuck with an active minibuffer in one display to which you currently > don't have access. > > I use the patch below for that purpose. I believe it should address your > problem as well. > > > Stefan Yes, it does. I think it should be checked in.