unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thorsten Bonow <thorsten.bonow@post.rwth-aachen.de>
Subject: Re: gnu/emacs client --create-frame somehow?
Date: Wed, 03 Dec 2003 13:02:19 +0100	[thread overview]
Message-ID: <87ekvmp0s4.fsf@herrrossi.mmweg.rwth-aachen.de> (raw)
In-Reply-To: jwvptf6n684.fsf-monnier+gnu.emacs.help@vor.iro.umontreal.ca

>>>>> "Stefan" == Stefan Monnier <monnier@iro.umontreal.ca> writes:

    >> gnuserv-visible-frame-function on the other hand is frame
    >> oriented. If there is no frame on my virtual screen, one pops
    >> up, even if the file is already displayed in another buffer.

    Stefan> You mean it will reuse a pre-existing window and change
    Stefan> the buffer displayed in that window ?  In that case
    Stefan> indeed, pop-to-buffer might not be what you want, but I
    Stefan> don't understand when a frame is going to be opened, then,
    Stefan> unless you're thinking of a multiple-X-server situation,
    Stefan> in which case the --display argument of emacsclient should
    Stefan> be what you want (although it's only be lightly tested).

    No, I only mean a GNU/Linux box with a windowmanager which gives
    me multiple virtual desktops (LarsWM, 4 virtual desktops). 

    Stefan> Or do you mean that if the buffer is already displayed in
    Stefan> a window but on another display, then pop-to-buffer fails
    Stefan> to open a new window/frame on the right display ?  That
    Stefan> might be: there are many such bugs in a multiple-display
    Stefan> situation.  Please report such problems to gnu.emacs.bug
    Stefan> via M-x report-emacs-bug.
    
    No, I think pop-to-buffer/pop-up-frame is working as advertised,
    it's just not what I want---or I haven't figured out how to
    configure it right for my needs.

    >> (defun my-xemacs-info-other-frame ()
    >> "my-xemacs-info-other-frame" (interactive) (let (gnuserv-frame)
    >> (info)))

    >> I can call gnuclient -eval "(my-xemacs-info-other-frame)" and a
    >> frame pops up even if *INFO* is displayed in another frame.

    Stefan> But I can't easily check what the above code does: are you
    Stefan> trying to force the creation of a new frame that shows the
    Stefan> same *info* buffer a second time on the same display or is
    Stefan> it on a separate display ?
    
    On XEmacs, this function forces the creation of a new frame that
    shows the *info* buffer on the virtual desktop I am looking
    at---and yes, if another frame somewhere else is displaying *info*
    too, I end up having two frames displaying *info*.

    Stefan>         Stefan

    Again, thanks for taking your time to figure out what I mean.

    Toto

-- 
Contact information and PGP key at
http://www-users.rwth-aachen.de/thorsten.bonow

HERE  is  Edward  Bear, coming downstairs
now, bump, bump, bump, on the back of his
head, behind Christopher Robin. It is, as
far  as he knows, the  only way of coming
downstairs,  but sometimes  he feels that
there  is  another way,  if only he could
stop  bumping  for a  moment and think of
it.  And then he feels that perhaps there
isn't.  Anyhow, here he is at the bottom,
and   ready  to  be  introduced  to  you.
Winnie-the-Pooh.

A.A. Milne: Winnie-the-Pooh

  reply	other threads:[~2003-12-03 12:02 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-27 16:28 gnu/emacs client --create-frame somehow? Thorsten Bonow
2003-11-27 22:23 ` Stefan Monnier
2003-11-28  0:47   ` Ian Zimmerman
2003-11-28  9:01     ` Thorsten Bonow
2003-12-01 11:03   ` Thorsten Bonow
2003-12-01 19:39     ` Stefan Monnier
2003-12-02 22:10       ` Thorsten Bonow
2003-12-02 23:44         ` Stefan Monnier
2003-12-03 12:02           ` Thorsten Bonow [this message]
2003-12-03 16:10             ` Stefan Monnier
2003-12-01 20:19     ` Kevin Rodgers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ekvmp0s4.fsf@herrrossi.mmweg.rwth-aachen.de \
    --to=thorsten.bonow@post.rwth-aachen.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).