all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Tom Tromey <tromey@redhat.com>
To: martin rudalics <rudalics@gmx.at>
Cc: 4386@emacsbugs.donarmstrong.com
Subject: bug#4386: 23.1; emacsclient -t FILE  -vs- server-window
Date: Thu, 10 Sep 2009 09:55:02 -0600	[thread overview]
Message-ID: <m33a6uokvd.fsf@fleche.redhat.com> (raw)
In-Reply-To: <4AA894F6.80807@gmx.at> (martin rudalics's message of "Thu, 10 Sep 2009 07:56:06 +0200")

>>>>> "martin" == martin rudalics <rudalics@gmx.at> writes:

martin> The doc-string of `server-window' says
martin>   If it is a function, it should take one argument (a buffer) and
martin>   display and select it.

Oops.  I'm sorry I missed this.

martin> (lambda (buffer)
martin>   (let ((window
martin> 	 (if window-system
martin> 	     saved-server-window
martin> 	   (frame-selected-window))))
martin>     (set-window-buffer window buffer)
martin>     (select-window window)))
martin> seems more appropriate here.

Yeah, this worked.  Thank you.

Tom





      parent reply	other threads:[~2009-09-10 15:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-09 20:37 bug#4386: 23.1; emacsclient -t FILE -vs- server-window Tom Tromey
2009-09-10  5:56 ` martin rudalics
2009-09-10 13:42   ` Stefan Monnier
2009-09-10 15:55   ` Tom Tromey [this message]

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

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

  git send-email \
    --in-reply-to=m33a6uokvd.fsf@fleche.redhat.com \
    --to=tromey@redhat.com \
    --cc=4386@emacsbugs.donarmstrong.com \
    --cc=rudalics@gmx.at \
    /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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.