[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: emacsclient/server finished, documentation, raising frames

From: Lennart Borgman
Subject: Re: emacsclient/server finished, documentation, raising frames
Date: Fri, 10 Nov 2006 00:45:27 +0100
User-agent: Thunderbird (Windows/20061025)

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.


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?

reply via email to

[Prev in Thread] Current Thread [Next in Thread]