unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Bob Proulx <bob@proulx.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to find out if emacs is running inside GUI or terminal
Date: Sun, 24 Nov 2013 22:56:35 -0700	[thread overview]
Message-ID: <20131125055635.GA22914@hysteria.proulx.com> (raw)
In-Reply-To: <83li0db0vp.fsf@gnu.org>

Eli Zaretskii wrote:
> Bob Proulx wrote:
> > Deprecated!  I wish people would let the API mature and stabilize.  I
> > hadn't heard of the display-graphic-p functions yet.  Thanks for
> > mentioning them.
> 
> display-graphic-p (as well as the other display-*-p predicates) exist
> since Emacs 21.1.  And window-system is deprecated approximately since
> that time also.  So I think this deprecation is mature enough ;-)

I guess since 21.1 is long enough. :-)

> > > There are several display-*-p functions for querying about specific
> > > features for a display.
> > 
> > Sure.  Unless you happen to be using an older emacs that doesn't have
> > those newer functions.
> 
> I very much doubt that you have such old Emacsen around.

Yes, unlikely.  Version 23 is the typically oldest one for me.  I am
using version 24 on my recent systems.  Although I do sometimes miss
version 18 which always seems like the best "old one" that I remember. :-)

Bob



  reply	other threads:[~2013-11-25  5:56 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-11-22 19:16 How to find out if emacs is running inside GUI or terminal Louis-Guillaume Gagnon
2013-11-22 19:30 ` Bob Proulx
2013-11-22 19:41   ` Óscar Fuentes
2013-11-25  2:04     ` Bob Proulx
2013-11-25  2:30       ` Drew Adams
2013-11-25  3:46         ` Eli Zaretskii
     [not found]         ` <<83k3fxb0tu.fsf@gnu.org>
2013-11-25 15:45           ` Drew Adams
2013-11-25  3:45       ` Eli Zaretskii
2013-11-25  5:56         ` Bob Proulx [this message]
2013-11-22 23:26 ` Stefan Monnier

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=20131125055635.GA22914@hysteria.proulx.com \
    --to=bob@proulx.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).