[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Suggestion: Make emacsclient act as a new frame
From: |
Leo |
Subject: |
Re: Suggestion: Make emacsclient act as a new frame |
Date: |
Thu, 02 Aug 2007 15:27:32 +0100 |
User-agent: |
Gnus/5.110007 Emacs/23.0.0 (20070727) Fedora 7 (gnu/linux) |
On 2007-07-31 14:15 +0100, Stefan Monnier wrote:
>> switch-to-buffer-other-frame seems work quite well too.
>
> Indeed, I've just added it on the 22 branch, thanks,
>
>
> Stefan
Now if it is open in a new frame the correct thing to do when "C-x #" is
to `delete-frame' instead of `bury-buffer'.
Of course one can use `(add-hook 'server-done-hook 'delete-frame)'. The
problem is when using emacsclient to open a file (that is already being
visited in Emacs), the bury-buffer behavior still happens. And it is
annoying as when you go back to the original frame you might be
surprised it is not the buffer you were working on any more.
HTH,
--
Leo <sdl.web AT gmail.com> (GPG Key: 9283AA3F)