From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Mauger Newsgroups: gmane.emacs.devel Subject: Re: emacsclient: --quiet/--verbose Date: Thu, 30 Nov 2006 16:47:15 -0800 (PST) Message-ID: <7631420.post@talk.nabble.com> References: <20061130053411.89278.qmail@web62514.mail.re1.yahoo.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1164934106 32339 80.91.229.2 (1 Dec 2006 00:48:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Dec 2006 00:48:26 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Dec 01 01:48:23 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 1GpwZh-0002PW-Ml for ged-emacs-devel@m.gmane.org; Fri, 01 Dec 2006 01:48:21 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpwZh-0005Jx-Az for ged-emacs-devel@m.gmane.org; Thu, 30 Nov 2006 19:48:21 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GpwYj-0004nO-GI for emacs-devel@gnu.org; Thu, 30 Nov 2006 19:47:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GpwYi-0004mQ-55 for Emacs-devel@gnu.org; Thu, 30 Nov 2006 19:47:20 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GpwYh-0004mA-0G for Emacs-devel@gnu.org; Thu, 30 Nov 2006 19:47:19 -0500 Original-Received: from [72.21.53.35] (helo=talk.nabble.com) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1GpwYg-0001Dh-Bt for Emacs-devel@gnu.org; Thu, 30 Nov 2006 19:47:18 -0500 Original-Received: from [72.21.53.38] (helo=jubjub.nabble.com) by talk.nabble.com with esmtp (Exim 4.50) id 1GpwYd-0000Ym-6m for Emacs-devel@gnu.org; Thu, 30 Nov 2006 16:47:15 -0800 Original-To: Emacs-devel@gnu.org In-Reply-To: X-Nabble-From: mmaug@yahoo.com 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:63175 Archived-At: Juanma Barranquero wrote: > > On 11/30/06, Michael Mauger wrote: > >> If it's deemed to be too late in pretest for these that's fine, but this >> is a small change and leads to better interaction. > > The patch is small and clear, but let's defer to Richard on this one. > > BTW, after your previous patch I've committed a change to delay > calling AllowSetForegroundWindow; otherwise, Emacs could not grab the > focus when emacsclientw was used to connect to a remote server (at > least, if the "remote server" was the same machine) because > emacsclientw itself grabbed it with its message box. > > I don't think that change will affect this second patch of yours, but > better you check it out. > > /L/e/k/t/u > A couple of questions on the use of AllowSetForegroundWindow: * Should it be used if the emacs is "remote" i.e. not at 127.0.0.1? What if emacsclientw is running on w32, Emacs is running on Unix, and you try to foreground a Unix pid. Is it possible to confirm that a remote host is actually the local host? Is it worthwhile to do so? * Is the AllowSetForegroundWindow really necessary since it isn't called when emacsclient is run on Unix to a w32 Emacs yet the w32 Emacs responds and raises in the window stack as you'd expect. Finally, if people could take another look at the Tramp changes I proposed for emacsclient. Again, I'll defer to Richard on whether they should be committed, but they make the use of multiple remote hosts talking to a single Emacs much easier. I can type fc at my Unix shell prompt and edit the command in my w32 Emacs. BTW, I do have an updated version (minor changes) of that patch which I can post, but I'll wait until its clear we want to move forward. I'm running with it and it works flawlessly. -- View this message in context: http://www.nabble.com/emacsclient%3A---quiet---verbose-tf2733832.html#a7631420 Sent from the Emacs - Dev mailing list archive at Nabble.com.