From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: built-in variable `font-use-system-font' not bound Date: Sun, 22 Nov 2009 21:16:33 -0500 Message-ID: References: <83ocmxp9jq.fsf@gnu.org> <4B06C6C2.7040201@swipnet.se> <4B06CF89.6050107@gnu.org> <4B06E6EC.60102@swipnet.se> <4B07B3F8.1020104@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258942636 10737 80.91.229.12 (23 Nov 2009 02:17:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 23 Nov 2009 02:17:16 +0000 (UTC) Cc: Jan =?iso-8859-1?Q?Dj=E4rv?= , emacs-devel@gnu.org To: Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Nov 23 03:17:09 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NCOUE-0004OF-Gc for ged-emacs-devel@m.gmane.org; Mon, 23 Nov 2009 03:17:06 +0100 Original-Received: from localhost ([127.0.0.1]:50748 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCOUD-0001ka-U3 for ged-emacs-devel@m.gmane.org; Sun, 22 Nov 2009 21:17:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NCOTp-0001OI-3y for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:16:41 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NCOTj-0001Hn-R6 for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:16:40 -0500 Original-Received: from [199.232.76.173] (port=36329 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NCOTj-0001HW-IW for emacs-devel@gnu.org; Sun, 22 Nov 2009 21:16:35 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183]:6171 helo=ironport2-out.pppoe.ca) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NCOTi-0006B3-7M; Sun, 22 Nov 2009 21:16:34 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEAKd/CUvO+IIa/2dsb2JhbACBTdIAhDwEigI X-IronPort-AV: E=Sophos;i="4.47,268,1257138000"; d="scan'208";a="49822767" Original-Received: from 206-248-130-26.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.26]) by ironport2-out.pppoe.ca with ESMTP; 22 Nov 2009 21:16:33 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 772B4B40C9; Sun, 22 Nov 2009 21:16:33 -0500 (EST) In-Reply-To: <4B07B3F8.1020104@gnu.org> (Jason Rumney's message of "Sat, 21 Nov 2009 17:33:44 +0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:117535 Archived-At: >> Regardless of how things currently are (we currently have a big mess in >> this respect), we should follow the following convention: >> - if it's a feature specific to X11, W32, NS, ... then use a name that >> starts with "x-", "w32-", "ns-", ... >> - if it's a feature that makes sense everywhere, then don't use such >> a prefix (even if it's only implemented for some of the backends). > If we follow that convention, I think we need another prefix for > functions/variables that are common across window systems that can be used > in the test to avoid warnings/errors in cus-start.el for tty only builds. > Currently we usually use x- for these, since historically most such features > started on X and were ported to other window systems later. So you mean features that only make sense for GUIs but not for text-based terminals like ttys? I can't think of any such feature which couldn't be treated similarly to "a feature that makes sense everywhere but hasn't yet been implemented in all terminal types". Stefan