unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* check whether emacs session is running under local X server
@ 2006-09-27 20:59 Roland Winkler
  2006-09-27 22:39 ` Eric Hanchrow
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Roland Winkler @ 2006-09-27 20:59 UTC (permalink / raw)


In my .emacs I would like to distinguish between an emacs session
running under the local X server and an emacs session running under
a remote X server. I expect that the $DISPLAY variable can do the
job. But I am not familiar with the details.
(Once upon a time I set $DISPLAY manually. Nowadays I use ssh which
handles $DISPLAY for me, but I do not understand the scheme it uses.)

What can I do?
Thanks,

Roland

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-09-28  3:12 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-27 20:59 check whether emacs session is running under local X server Roland Winkler
2006-09-27 22:39 ` Eric Hanchrow
     [not found] ` <mailman.7518.1159397614.9609.help-gnu-emacs@gnu.org>
2006-09-27 23:44   ` Roland Winkler
2006-09-28  3:10     ` Eric Hanchrow
2006-09-28  1:10 ` Glenn Morris
2006-09-28  1:56   ` Roland Winkler
2006-09-28  3:12   ` Eric Hanchrow

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).