From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dani Moncayo Newsgroups: gmane.emacs.help Subject: Re: Using the same custom file in two different OSes Date: Thu, 17 Jan 2013 16:22:58 +0100 Message-ID: References: <419D9CDD3C2740E3B0E0CDE556F7BD12@us.oracle.com> <3F565B0F873C4BCCAA938FB0B136521E@us.oracle.com> <86libsb3o6.fsf@somewhere.org> <4A918D61-83A2-4C60-A35C-9EA5CCF24090@Web.DE> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1358436201 1293 80.91.229.3 (17 Jan 2013 15:23:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 15:23:21 +0000 (UTC) Cc: Sebastien Vauban , help-gnu-emacs@gnu.org To: Peter Dyballa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 16:23:39 2013 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TvrJX-0002z1-Jq for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 16:23:35 +0100 Original-Received: from localhost ([::1]:59698 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvrJG-0006iG-VX for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 10:23:18 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:54847) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvrIy-0006E8-ET for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 10:23:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvrIx-0006Ks-5s for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 10:23:00 -0500 Original-Received: from mail-ob0-f170.google.com ([209.85.214.170]:48688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvrIx-0006Kh-1P for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 10:22:59 -0500 Original-Received: by mail-ob0-f170.google.com with SMTP id wp18so2681091obc.1 for ; Thu, 17 Jan 2013 07:22:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type:content-transfer-encoding; bh=Q09ru2T+K+fIaWeBawt/iZLjqyT7el8Hla7jHb9UFoc=; b=B1aHm0BXodwxLY1fb4jtArTss93OQ8IeIZU9leGxR7K4LkoSwB0Oruuo8l4rL6cpkX QBOJh8ISCi/mYNsKXuTEfMBM5M0fwsLj2Nzhyoo3vuqsCHwgjzGgRVMhTImAV+M2MwqV 5IFz7Nn2u3eoZESeE9+/JerW9zYG0BJ98CmWBn22tyrX5n5wLqoQFIZY8ZmwXd/tAEU3 dEN+5SOzmPEhOYH7Qim2WF6L3WiE2nnqlQdlUOZyMOaWswb4MuC33b6JXMtgWghJfXU+ fJpEsX8fvUDhauTUDuCrSAyJhQXIhwzV3CFILTcqFYocj+EyijbI3CJI4kZm90zDnpzO sWPw== X-Received: by 10.60.169.105 with SMTP id ad9mr4076356oec.99.1358436178465; Thu, 17 Jan 2013 07:22:58 -0800 (PST) Original-Received: by 10.60.11.39 with HTTP; Thu, 17 Jan 2013 07:22:58 -0800 (PST) In-Reply-To: <4A918D61-83A2-4C60-A35C-9EA5CCF24090@Web.DE> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.214.170 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88674 Archived-At: >>>> (if (display-graphic-p) ... >>> >>> FYI, I'm using: (if window-system ... >>> but that comes down to pretty much the same thing, it seems. >> >> `window-system' has the advantage that it works with older Emacs release= s. >> >> But `display-graphic-p' is what is recommended for recent releases. >> From the doc string of `window-system': >> >> "Use of this function as a predicate is deprecated. Instead, >> use `display-graphic-p' or any of the other `display-*-p' >> predicates which report frame's specific UI-related capabilities." >> >> > This looks more like a regression than progress=85 > > The variable `window-system' at least returns a value indicating on which= kind of graphic display this instance of GNU Emacs runs: x, w32, ns, pc, m= ac. These variants still need different set-ups. And it also makes sense to= decorate the instance running in different colours to see at once in which= variant I'm in. Indeed, there should be a non-deprecated way of getting that information. --=20 Dani Moncayo