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: emacsclient/server finished, documentation, raising frames Date: Fri, 10 Nov 2006 00:30:19 +0100 Message-ID: References: <45507AB5.5050601@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163115148 16581 80.91.229.2 (9 Nov 2006 23:32:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2006 23:32:28 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 10 00:32:26 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 1GiJNe-0003F4-Tw for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2006 00:32:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiJNe-0006Z5-Do for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2006 18:32:22 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiJLm-0004wU-1s for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:30:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiJLh-0004tM-9U for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:30:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiJLh-0004t7-4e for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:30:21 -0500 Original-Received: from [64.233.184.233] (helo=wr-out-0506.google.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GiJLg-00080g-Oq for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:30:21 -0500 Original-Received: by wr-out-0506.google.com with SMTP id i30so235908wra for ; Thu, 09 Nov 2006 15:30:19 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=o2UCD8K8vTk2pVD413Io11UbDa0STRwAejiIhIkeV3UidKCHuTZTe50n/9ap3eUkpJTYU/lmqNhNhf6ahYcnzJgj/CMizd9yW+citvl1N6J/7WXzHg/ILkjGaqP1S50ZqI11a+3XCmjTGEtuyVP4iyzL1QeGJeU+roRzl0ADSbI= Original-Received: by 10.35.117.20 with SMTP id u20mr1958436pym.1163115019373; Thu, 09 Nov 2006 15:30:19 -0800 (PST) Original-Received: by 10.35.95.18 with HTTP; Thu, 9 Nov 2006 15:30:19 -0800 (PST) Original-To: "Emacs Devel" In-Reply-To: Content-Disposition: inline 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:62014 Archived-At: A curious little problem: using emacsclient on a file with a local variables section displays the "*local variables*" buffer and prompt... but does not raise the frame, even with my patch, because this is happening on the call to `find-file-noselect' (in `server-visit-files'), way before getting to `server-switch-buffer'. `hack-local-variables-confirm' could be made to always raise the frame (there's no much point in asking the user if the user doesn't see the prompt, and in non-emacsclient-related cases the user is already interacting with the frame). Or we could simply add a hook to that function (run before the prompt) and use it from server.el. /L/e/k/t/u