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: emacsclient/server finished, documentation, raising frames Date: Fri, 10 Nov 2006 00:45:27 +0100 Message-ID: <4553BD97.1060107@student.lu.se> 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 1163115967 19001 80.91.229.2 (9 Nov 2006 23:46:07 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Nov 2006 23:46:07 +0000 (UTC) Cc: Emacs Devel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 10 00:46:04 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 1GiJan-0005gl-2B for ged-emacs-devel@m.gmane.org; Fri, 10 Nov 2006 00:45:57 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiJam-0005DR-KY for ged-emacs-devel@m.gmane.org; Thu, 09 Nov 2006 18:45:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GiJaR-000530-Qf for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:45:36 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GiJaO-00050O-L1 for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:45:34 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GiJaO-00050G-J8 for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:45:32 -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 1GiJaN-00020i-Tj for emacs-devel@gnu.org; Thu, 09 Nov 2006 18:45:32 -0500 Original-Received: from [83.254.145.24] (port=60739 helo=[192.168.123.121]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1GiJaK-0001w8-8U; Fri, 10 Nov 2006 00:45:28 +0100 User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) Original-To: Juanma Barranquero In-Reply-To: X-Scan-Result: No virus found in message 1GiJaK-0001w8-8U. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1GiJaK-0001w8-8U ca6635349d79b081d052af6084e76568 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:62015 Archived-At: Juanma Barranquero wrote: > 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 Could this not be made more general? The crucial thing is the question. Maybe a variable that controls whether a frame is raised when a user response to a question is required?