emacs-devel
[Top][All Lists]
Advanced

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

Re: address@hidden: emacsclient won't open new frame on remote display]


From: Stefan Monnier
Subject: Re: address@hidden: emacsclient won't open new frame on remote display]
Date: Tue, 04 Jul 2006 17:04:03 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> ***************
> *** 207,220 ****
>       ;; and select it.
>       (unless (equal (frame-parameter (selected-frame) 'display) display)
>         (select-frame
> !        (make-frame-on-display
> !     display
> !     ;; This frame is only there in place of an actual "current display"
> !     ;; setting, so we want it to be as unobtrusive as possible.  That's
> !     ;; what the invisibility is for.  The minibuffer setting is so that
> !     ;; we don't end up displaying a buffer in it (which noone would
> !     ;; notice).
> !     '((visibility . nil) (minibuffer . only)))))))
  
>   (defun server-unquote-arg (arg)
>     (replace-regexp-in-string
> --- 207,213 ----
>       ;; and select it.
>       (unless (equal (frame-parameter (selected-frame) 'display) display)
>         (select-frame
> !        (make-frame-on-display display)))))
  
>   (defun server-unquote-arg (arg)
>     (replace-regexp-in-string

This suggested change causes Emacs to create a new frame displaying some
random buffer.  If server.el subsequently uses switch-to-buffer or something
like that, it's probably OK, but if it instead uses something like
pop-to-buffer because you want to display emacsclient buffers in their own
window or frame, then you end up with 2 windows (or frames) one of which
displays some random buffer.


        Stefan




reply via email to

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