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 #15 received at 4386 <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 4386 <at> debbugs.gnu.org, Tom Tromey <tromey <at> redhat.com>
Subject: Re: bug#4386: 23.1; emacsclient -t FILE  -vs- server-window
Date: Thu, 10 Sep 2009 09:42:53 -0400
> where the "and select it" part is obviously silly.  Anyway, something in
> the mood of

> (lambda (buffer)
>   (let ((window
> 	 (if window-system
> 	     saved-server-window
> 	   (frame-selected-window))))
>     (set-window-buffer window buffer)
>     (select-window window)))

> seems more appropriate here.

I believe checking window-system is wrong.  Instead, the test should be
whether the current terminal and the saved-server-window are equal.


        Stefan



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.