From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Using the same custom file in two different OSes Date: Thu, 17 Jan 2013 18:33:45 +0200 Message-ID: <8338xz93bq.fsf@gnu.org> 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 1358440434 11691 80.91.229.3 (17 Jan 2013 16:33:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jan 2013 16:33:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 17 17:34:12 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 1TvsPo-0007iT-Tm for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 17:34:09 +0100 Original-Received: from localhost ([::1]:38707 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsPY-0000vW-9M for geh-help-gnu-emacs@m.gmane.org; Thu, 17 Jan 2013 11:33:52 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:47030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsPS-0000uk-TG for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:33:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TvsPO-0000nM-9P for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:33:46 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:59165) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TvsPO-0000n8-23 for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 11:33:42 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MGS00C0032US400@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 18:33:40 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MGS00CTQ3C4S010@a-mtaout20.012.net.il> for help-gnu-emacs@gnu.org; Thu, 17 Jan 2013 18:33:40 +0200 (IST) In-reply-to: <4A918D61-83A2-4C60-A35C-9EA5CCF24090@Web.DE> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 X-Received-From: 80.179.55.166 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:88679 Archived-At: > From: Peter Dyballa > Date: Thu, 17 Jan 2013 15:38:32 +0100 > Cc: 'Sebastien Vauban' , help-gnu-emacs= @gnu.org >=20 > > `window-system' has the advantage that it works with older Emacs = releases. > >=20 > > But `display-graphic-p' is what is recommended for recent release= s. > > From the doc string of `window-system': > >=20 > > "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= ." > >=20 > >=20 > This looks more like a regression than progress=85 >=20 > The variable `window-system' at least returns a value indicating on= which kind of graphic display this instance of GNU Emacs runs: x, w3= 2, ns, pc, mac. These variants still need different set-ups. And it a= lso makes sense to decorate the instance running in different colours= to see at once in which variant I'm in. Which part of "as a predicate" did you not understand? Uses of that function when you are interested in its value is _not_ deprecated.