From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: built-in variable `font-use-system-font' not bound Date: Sat, 21 Nov 2009 17:33:44 +0800 Message-ID: <4B07B3F8.1020104@gnu.org> References: <83ocmxp9jq.fsf@gnu.org> <4B06C6C2.7040201@swipnet.se> <4B06CF89.6050107@gnu.org> <4B06E6EC.60102@swipnet.se> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1258796052 32709 80.91.229.12 (21 Nov 2009 09:34:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2009 09:34:12 +0000 (UTC) Cc: =?ISO-8859-1?Q?Jan_Dj=E4rv?= , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 21 10:34:05 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 1NBmM0-00068C-NL for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2009 10:34:05 +0100 Original-Received: from localhost ([127.0.0.1]:46261 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBmM0-0001I3-5p for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2009 04:34:04 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NBmLt-0001Hm-FX for emacs-devel@gnu.org; Sat, 21 Nov 2009 04:33:57 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NBmLo-0001H4-04 for emacs-devel@gnu.org; Sat, 21 Nov 2009 04:33:56 -0500 Original-Received: from [199.232.76.173] (port=56083 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NBmLn-0001Gz-Qy for emacs-devel@gnu.org; Sat, 21 Nov 2009 04:33:51 -0500 Original-Received: from mail-pw0-f47.google.com ([209.85.160.47]:53829) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NBmLn-0003vu-DI for emacs-devel@gnu.org; Sat, 21 Nov 2009 04:33:51 -0500 Original-Received: by pwi9 with SMTP id 9so2827489pwi.26 for ; Sat, 21 Nov 2009 01:33:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:received:message-id :date:from:user-agent:mime-version:to:cc:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=SR89+d18Zll+eG1wlEbgFYgiwCg5R/KJiqiDWV4rw0Q=; b=UDwQ0gvT1eFi46/pKkpepN3T8ARh1teoX6nn5VMj1rCM/TO3coTp/NI/sJyETdyC9B XMwLG1oT7/IaYtkUNWUIu0+BSGdgRrsOMSqDmBdOcrqnvR41zBr/tHTfJqOmGGHQF4HL VauP0o2WHUl+mvxlPxSDUAyUneMKOTvgh2wT0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=IQg+sXL1k2o34K2LB0yj0y7BN/g4MemKlzJwbQp/65lEWgwsfHZ209GMc0vIiC0tQR 5Bo/sEczHjI8BgMfO87L97zxlzh6MWYmPUY3rC8KdUs55wqu2W93Bnkk03fkD9tLnQbg OxefqfiRLchK8P1yM0Avf9URol8MwMSV0sQEs= Original-Received: by 10.115.116.37 with SMTP id t37mr3436843wam.79.1258796030457; Sat, 21 Nov 2009 01:33:50 -0800 (PST) Original-Received: from wanchan.jasonrumney.net ([118.100.163.63]) by mx.google.com with ESMTPS id 22sm1469905pzk.14.2009.11.21.01.33.48 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Nov 2009 01:33:48 -0800 (PST) Original-Received: from wanchan.jasonrumney.net (localhost [127.0.0.1]) by wanchan.jasonrumney.net (Postfix) with ESMTP id 3CC5914A7; Sat, 21 Nov 2009 17:33:45 +0800 (MYT) User-Agent: Mozilla-Thunderbird 2.0.0.22 (X11/20090706) In-Reply-To: X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:117422 Archived-At: Stefan Monnier wrote: > 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.