GNU bug report logs - #4386
23.1; emacsclient -t FILE -vs- server-window

Previous Next

Package: emacs;

Reported by: Tom Tromey <tromey <at> redhat.com>

Date: Wed, 9 Sep 2009 20:45:04 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 4386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Tom Tromey <tromey <at> redhat.com>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4386 <at> debbugs.gnu.org
Subject: Re: bug#4386: 23.1; emacsclient -t FILE  -vs- server-window
Date: Thu, 10 Sep 2009 09:55:02 -0600
>>>>> "martin" == martin rudalics <rudalics <at> 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



This bug report was last modified 15 years and 331 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.