From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#14647: 24.3.50; doc of `set-face-font' Date: Fri, 07 Feb 2014 23:05:32 -0800 Message-ID: <87lhxmw0cj.fsf@building.gnus.org> References: <4430da9a-9455-46dd-bc0d-1177123e147e@default> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1391843228 12550 80.91.229.3 (8 Feb 2014 07:07:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Feb 2014 07:07:08 +0000 (UTC) Cc: 14647@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 08 08:07:15 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WC20R-000816-BL for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 08:07:15 +0100 Original-Received: from localhost ([::1]:45473 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC20Q-0005E3-PT for geb-bug-gnu-emacs@m.gmane.org; Sat, 08 Feb 2014 02:07:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55376) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC20K-0005Dv-5n for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 02:07:13 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WC20F-0000ur-7C for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 02:07:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42295) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WC20F-0000un-4J for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 02:07:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WC20E-0003RC-Fy for bug-gnu-emacs@gnu.org; Sat, 08 Feb 2014 02:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 08 Feb 2014 07:07:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14647 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 14647-submit@debbugs.gnu.org id=B14647.139184322013205 (code B ref 14647); Sat, 08 Feb 2014 07:07:02 +0000 Original-Received: (at 14647) by debbugs.gnu.org; 8 Feb 2014 07:07:00 +0000 Original-Received: from localhost ([127.0.0.1]:56314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC20A-0003Qt-R5 for submit@debbugs.gnu.org; Sat, 08 Feb 2014 02:06:59 -0500 Original-Received: from hermes.netfonds.no ([80.91.224.195]:46142) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WC207-0003Qi-AW for 14647@debbugs.gnu.org; Sat, 08 Feb 2014 02:06:56 -0500 Original-Received: from [204.14.154.233] (helo=building.gnus.org) by hermes.netfonds.no with esmtpsa (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1WC1zs-00073y-RH; Sat, 08 Feb 2014 08:06:41 +0100 In-Reply-To: <4430da9a-9455-46dd-bc0d-1177123e147e@default> (Drew Adams's message of "Mon, 17 Jun 2013 20:46:06 -0700 (PDT)") User-Agent: Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) X-MailScanner-ID: 1WC1zs-00073y-RH MailScanner-NULL-Check: 1392448001.34468@vXVkYspGnuNoSTfQ1lJ/Yw X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84911 Archived-At: Drew Adams writes: > 1. Neither the Elisp manual (node `Attribute Functions') nor the doc > string says what form the string FONT must or may take. Good question. The function is barely used in the Emacs source code tree. The only usage I could find that set it to something was this: (defvar gamegrid-font "-*-courier-medium-r-*-*-*-140-100-75-*-*-iso8859-*" "Name of the font used in X mode.") > 2. The manual says that this command sets the :font attribute. The doc > string says instead that it sets attributes :family, :foundry, :width, > :height, :weight, and :slant. Which is it? Yeah. > 3. #1 is all the more imporatnt because the doc string of `x-list-fonts' > says that it returns a list of strings that are "suitable as arguments > to `set-face-font'. Really? Just what kind of strings are so suitable? > > I think, but am not sure, that FONT must be in XLFD form. Whatever the > acceptable form(s), the doc needs to spell this out. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog http://lars.ingebrigtsen.no/