unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Stefan Monnier <monnier@iro.umontreal.ca>
To: help-gnu-emacs@gnu.org
Subject: Re: Functions that need X
Date: Sun, 02 Jan 2011 23:52:42 -0500	[thread overview]
Message-ID: <jwvhbdqegks.fsf-monnier+gnu.emacs.help@gnu.org> (raw)
In-Reply-To: barmar-85E4F4.18293501012011@news.eternal-september.org

> It probably would be better if there were stub versions of all these
> functions in console Emacs, so that they would just be ignored.  But
> since there aren't, you need to check first.

The general rule I'd like to follow (tho Emacs doesn't follow it yet) is
that a function that is not specific to one particular kind of display
(tty, X11, w32, you name it) should always be defined.

So if/when you bump into such a function that's only defined when used
(or compiled) with a GUI, please report it as a bug.


        Stefan


  parent reply	other threads:[~2011-01-03  4:52 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-01 19:35 Functions that need X Cecil Westerhof
2011-01-01 21:32 ` Barry Margolin
2011-01-01 21:58 ` Tim X
2011-01-01 23:29   ` Barry Margolin
2011-01-02 22:46     ` Tim X
2011-01-03 14:34       ` Cecil Westerhof
2011-01-03 15:55         ` Drew Adams
2011-01-03  4:52     ` Stefan Monnier [this message]
2011-01-03  5:45       ` Tim X
2011-01-03 14:46   ` Cecil Westerhof
2011-01-11  0:24 ` Kevin Rodgers

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=jwvhbdqegks.fsf-monnier+gnu.emacs.help@gnu.org \
    --to=monnier@iro.umontreal.ca \
    --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).