From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: minibuffer-exit when emacsclient executes Lisp code Date: Wed, 16 May 2007 13:49:18 +0200 Message-ID: <464AEFBE.80103@gmail.com> References: <464A1C4B.8060504@gmail.com> <464AEAD4.8010102@gmail.com> <86hcqduh7n.fsf@lola.quinscape.zz> NNTP-Posting-Host: lo.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 1179316173 24474 80.91.229.12 (16 May 2007 11:49:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 16 May 2007 11:49:33 +0000 (UTC) Cc: Klaus Zeitler , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 16 13:49:32 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 1HoI0Z-0008Iv-P8 for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 13:49:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoI8Y-0006Ae-6L for ged-emacs-devel@m.gmane.org; Wed, 16 May 2007 07:57:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoI8V-0006AR-AB for emacs-devel@gnu.org; Wed, 16 May 2007 07:57:43 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoI8U-0006AF-T9 for emacs-devel@gnu.org; Wed, 16 May 2007 07:57:43 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoI8U-0006A6-Ll for emacs-devel@gnu.org; Wed, 16 May 2007 07:57:42 -0400 Original-Received: from ch-smtp01.sth.basefarm.net ([80.76.149.212]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HoI0U-0002Xo-Lk; Wed, 16 May 2007 07:49:26 -0400 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:64861 helo=[127.0.0.1]) by ch-smtp01.sth.basefarm.net with esmtp (Exim 4.66) (envelope-from ) id 1HoI0S-0000II-5n; Wed, 16 May 2007 13:49:25 +0200 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.3) Gecko/20070326 Thunderbird/2.0.0.0 Mnenhy/0.7.5.666 In-Reply-To: <86hcqduh7n.fsf@lola.quinscape.zz> X-Antivirus: avast! (VPS 000740-1, 2007-05-15), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HoI0S-0000II-5n. X-Scan-Signature: ch-smtp01.sth.basefarm.net 1HoI0S-0000II-5n d6fcf6ce9daa78ab284e8f9eeeb8eeed X-detected-kernel: Linux 2.6? (barebone, rare!) 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:71159 Archived-At: David Kastrup wrote: > --eval '(find-file "xxxx") Yes, but I thought this could just be referred to the --eval case. But in the long run I agree that it is a problem and that a solution along the lines you describe below should be better. I just wanted to give a quick and non-dangerous solution for now. > I think we should probably try to address this in connection with > another issue: a suitable way for opening a tty: open a frame only > once it is "needed". One problem we currently have is that it is not > really pleasing to specify Emacs frame geometries, colors, toolbar or > menubar presence by using .emacs and/or customize: that way, the > initial frame will first get mapped wrongly, then flicker into > shape/position. > > So one would want to have a delayed mapping, basically happening when > sit-for is called. > > If this point is never reached, we don't need a mapping at all. In a > similar vein, if emacsclient never reaches a point where it would be > interested in looking at tty input, maybe it is not worth mapping a > frame (and stealing the minibuffer). Of course, the question when to > call "top-level" remains. >