[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using the same custom file in two different OSes
From: |
Eli Zaretskii |
Subject: |
Re: Using the same custom file in two different OSes |
Date: |
Thu, 17 Jan 2013 18:33:45 +0200 |
> From: Peter Dyballa <Peter_Dyballa@Web.DE>
> Date: Thu, 17 Jan 2013 15:38:32 +0100
> Cc: 'Sebastien Vauban' <wxhgmqzgwmuf@spammotel.com>, help-gnu-emacs@gnu.org
>
> > `window-system' has the advantage that it works with older Emacs releases.
> >
> > 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…
>
> 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, mac.
> 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.
Which part of "as a predicate" did you not understand? Uses of that
function when you are interested in its value is _not_ deprecated.
- Re: Using the same custom file in two different OSes, (continued)
- RE: Using the same custom file in two different OSes, Drew Adams, 2013/01/14
- Re: Using the same custom file in two different OSes, Dani Moncayo, 2013/01/16
- Message not available
- Re: Using the same custom file in two different OSes, Sebastien Vauban, 2013/01/17
- RE: Using the same custom file in two different OSes, Drew Adams, 2013/01/17
- Re: Using the same custom file in two different OSes, Peter Dyballa, 2013/01/17
- Re: Using the same custom file in two different OSes, Dani Moncayo, 2013/01/17
- Re: Using the same custom file in two different OSes, Eli Zaretskii, 2013/01/17
- RE: Using the same custom file in two different OSes, Drew Adams, 2013/01/17
- Re: Using the same custom file in two different OSes,
Eli Zaretskii <=
- Re: Using the same custom file in two different OSes, Eli Zaretskii, 2013/01/17
- RE: Using the same custom file in two different OSes, Drew Adams, 2013/01/17
- Re: Using the same custom file in two different OSes, Eli Zaretskii, 2013/01/17
- RE: Using the same custom file in two different OSes, Drew Adams, 2013/01/17
- Re: Using the same custom file in two different OSes, Eli Zaretskii, 2013/01/17
Re: Using the same custom file in two different OSes, Stefan Monnier, 2013/01/15
Message not available