unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Dan Nicolaescu <dann@gnu.org>
To: Justin Lilly <justin@justinlilly.com>
Cc: emacs-devel@gnu.org
Subject: Re: screen & emacs
Date: Fri, 04 Feb 2011 12:01:50 -0500	[thread overview]
Message-ID: <yxqvd0zivi9.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <svr5bpktk1.fsf@tbox.m2.algo> (Sam Steingold's message of "Thu, 03 Feb 2011 12:28:10 -0500")

Sam Steingold <sds@gnu.org> writes:

>> 3. When Emacs is started as a daemon, it loads .emacs with window-system
> set to nil. This means that when the client opens an X window (emacs
> frame), it has the settings in .emacs which are "appropriate" for a
> terminal, not a GUI. I am not sure how to handle this properly, except
> for remove all (when window-system ...) from .emacs.

C-h v window-system RET

[snip]
Use of this variable as a boolean is deprecated.  Instead,
use `display-graphic-p' or any of the other `display-*-p'
predicates which report frame's specific UI-related capabilities.



So yes, it's time to get rid of (when window-system...)



  parent reply	other threads:[~2011-02-04 17:01 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-03  4:44 screen & emacs Sam Steingold
2011-02-03  4:58 ` Justin Lilly
2011-02-03 17:28   ` Sam Steingold
2011-02-03 18:00     ` Eli Zaretskii
2011-02-03 19:14       ` Sam Steingold
2011-02-03 19:25         ` Chad Brown
2011-02-03 19:54           ` Sam Steingold
2011-02-11  7:10         ` Kevin Rodgers
2011-02-03 18:13     ` Andreas Marschke
2011-02-03 20:31       ` Philipp Haselwarter
2011-02-03 20:54         ` Andreas Marschke
2011-02-04 17:01     ` Dan Nicolaescu [this message]
2011-02-03 17:24 ` Andreas Schwab

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=yxqvd0zivi9.fsf@fencepost.gnu.org \
    --to=dann@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=justin@justinlilly.com \
    /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 public inbox

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

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