From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim X Newsgroups: gmane.emacs.help Subject: Re: Functions that need X Date: Mon, 03 Jan 2011 16:45:42 +1100 Organization: Unlimited download news at news.astraweb.com Message-ID: <87aajiv8u1.fsf@puma.rapttech.com.au> 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 1294036926 8483 80.91.229.12 (3 Jan 2011 06:42:06 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 3 Jan 2011 06:42:06 +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 07:42:02 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 1PZe7F-0002MR-Kv for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 07:42:01 +0100 Original-Received: from localhost ([127.0.0.1]:46402 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PZe7F-0001vg-28 for geh-help-gnu-emacs@m.gmane.org; Mon, 03 Jan 2011 01:42:01 -0500 Original-Path: usenet.stanford.edu!newsfeed.news.ucla.edu!news.snarked.org!news-xfer.nntp.sonic.net!news.astraweb.com!border5.newsrouter.astraweb.com!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) Cancel-Lock: sha1:9dOOsvh80DjystoKoPBeQ0CRJPU= Original-Lines: 21 Original-NNTP-Posting-Host: ed185b02.news.astraweb.com Original-X-Trace: DXC=Aie@Y6; 2ZGDjEc; hW[JGKHL?0kYOcDh@J7^o:UA4R?cE3bEJ6cEhU?H]G; 2>V^?kWCCAkl5c@XgkNZ?XEL1?E\DAbT]W; LPhAkH Original-Xref: usenet.stanford.edu gnu.emacs.help:183887 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:78093 Archived-At: Stefan Monnier writes: >> 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. > > OK, will do so for set-scroll-bar-mode Tim -- tcross (at) rapttech dot com dot au