From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dan Nicolaescu Newsgroups: gmane.emacs.devel Subject: Re: screen & emacs Date: Fri, 04 Feb 2011 12:01:50 -0500 Message-ID: References: <87k4hh4thk.fsf@sysu76.podval.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1296839369 8892 80.91.229.12 (4 Feb 2011 17:09:29 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 4 Feb 2011 17:09:29 +0000 (UTC) Cc: emacs-devel@gnu.org To: Justin Lilly Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 04 18:09:25 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PlP8w-0007Ds-SF for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2011 18:09:23 +0100 Original-Received: from localhost ([127.0.0.1]:43205 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlP7k-0007b9-Oz for ged-emacs-devel@m.gmane.org; Fri, 04 Feb 2011 12:07:08 -0500 Original-Received: from [140.186.70.92] (port=41644 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlP2e-0004RH-M2 for emacs-devel@gnu.org; Fri, 04 Feb 2011 12:01:54 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlP2d-00080t-4O for emacs-devel@gnu.org; Fri, 04 Feb 2011 12:01:52 -0500 Original-Received: from fencepost.gnu.org ([140.186.70.10]:60636) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlP2d-00080p-1c for emacs-devel@gnu.org; Fri, 04 Feb 2011 12:01:51 -0500 Original-Received: from dann by fencepost.gnu.org with local (Exim 4.71) (envelope-from ) id 1PlP2c-0006zd-P1; Fri, 04 Feb 2011 12:01:50 -0500 In-Reply-To: (Sam Steingold's message of "Thu, 03 Feb 2011 12:28:10 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 140.186.70.10 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:135576 Archived-At: Sam Steingold 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...)