From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: Functions that need X Date: Sun, 02 Jan 2011 23:52:42 -0500 Organization: A noiseless patient Spider Message-ID: References: <87sjxcv2ld.fsf@Compaq.site> <8739pcwake.fsf@puma.rapttech.com.au> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1294033391 30534 80.91.229.12 (3 Jan 2011 05:43:11 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 05:43:11 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 03 06:43:00 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PZdC8-0005Wi-Nu for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 06:43:00 +0100 Original-Received: from localhost ([127.0.0.1]:38032 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZdC8-0007vI-4t for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 00:43:00 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsgate.cistron.nl!newsgate.news.xs4all.nl!194.109.133.84.MISMATCH!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Injection-Info: mx02.eternal-september.org; posting-host="7TKp2luQmWSGnmAmeWd+Kg"; logging-data="31792"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18uPAhVybKWiCck6+uteYnb" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:31xrZ1UZyWsDIk/gYFoElS+Vuzc= sha1:6KjZ3XKmuSMZC64W+S2bJ8zhHdc= Original-Xref: usenet.stanford.edu gnu.emacs.help:183884 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:78090 Archived-At: > 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