From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: name argument in font-spec Date: Sun, 15 Jun 2008 10:14:13 -0400 Message-ID: <873ane7pl6.fsf@stupidchicken.com> References: <87mylnu1pm.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1213539285 31701 80.91.229.12 (15 Jun 2008 14:14:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 15 Jun 2008 14:14:45 +0000 (UTC) Cc: emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 15 16:15:20 2008 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 1K7t0n-0002z9-FU for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2008 16:15:17 +0200 Original-Received: from localhost ([127.0.0.1]:59035 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7szx-0002rL-5t for ged-emacs-devel@m.gmane.org; Sun, 15 Jun 2008 10:14:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K7szs-0002p3-Gg for emacs-devel@gnu.org; Sun, 15 Jun 2008 10:14:20 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K7szq-0002nX-Kw for emacs-devel@gnu.org; Sun, 15 Jun 2008 10:14:20 -0400 Original-Received: from [199.232.76.173] (port=40992 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K7szq-0002nU-Hm for emacs-devel@gnu.org; Sun, 15 Jun 2008 10:14:18 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182]:13661 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K7szq-0005UP-0K for emacs-devel@gnu.org; Sun, 15 Jun 2008 10:14:18 -0400 Original-Received: by furry (Postfix, from userid 1000) id 954BBC054; Sun, 15 Jun 2008 10:14:13 -0400 (EDT) In-Reply-To: (Kenichi Handa's message of "Sun, 15 Jun 2008 20:33:47 +0900") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: 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:99258 Archived-At: Kenichi Handa writes: >> The function Ffont_spec accepts a :name argument, but this is not >> documented in the docstring. Is this intentional, or an oversight? > > Ah, it's intentional. > > I'm still hesitating over which to choose > (1) (font-spec :name name) > (2) (font-spec "NAME") > (3) (font-parse-name "NAME") > for returning a font-spec from name. > > What do you think? Let's go with (font-spec :name name).