From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.help Subject: Re: set-face-attribute: apparent bug or doc error Date: Wed, 26 Aug 2020 14:58:03 +0200 Message-ID: <87eent5ztw.fsf@gnu.org> References: <832a7d52-6629-a9f3-c594-ddc6f0966374@mousecar.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6874"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: ken Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 26 14:58:27 2020 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kAv0V-0001gM-Gl for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 14:58:27 +0200 Original-Received: from localhost ([::1]:46724 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAv0U-0002hg-G8 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 26 Aug 2020 08:58:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46938) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kAv0E-0002hY-8U for help-gnu-emacs@gnu.org; Wed, 26 Aug 2020 08:58:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59414) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kAv0D-000105-Jp; Wed, 26 Aug 2020 08:58:09 -0400 Original-Received: from auth1-smtp.messagingengine.com ([66.111.4.227]:41557) by fencepost.gnu.org with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.82) (envelope-from ) id 1kAv0C-0004tf-C3; Wed, 26 Aug 2020 08:58:08 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailauth.nyi.internal (Postfix) with ESMTP id 3E6E727C0054; Wed, 26 Aug 2020 08:58:07 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Wed, 26 Aug 2020 08:58:07 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedruddvvddgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufhffjgfkfgggtgfgsehtqh ertddtreejnecuhfhrohhmpefvrghsshhilhhoucfjohhrnhcuoehtshguhhesghhnuhdr ohhrgheqnecuggftrfgrthhtvghrnhepvdeufeekueelkeehfffftdeiuddvhffftdfgke fhjeeujeduhedukeevfeevvdfhnecukfhppedufeegrdduudelrddvgedrudelheenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnod hmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedv leekqdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from jiffyarch (j289989.servers.jiffybox.net [134.119.24.195]) by mail.messagingengine.com (Postfix) with ESMTPA id 23B053060067; Wed, 26 Aug 2020 08:58:06 -0400 (EDT) In-Reply-To: <832a7d52-6629-a9f3-c594-ddc6f0966374@mousecar.com> (ken's message of "Wed, 26 Aug 2020 08:34:13 -0400") X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:123773 Archived-At: ken writes: > (set-face-attribute 'default nil :family "alegreya" :foundry "misc" > :slant normal :weight "medium" :height 258 :width "normal") ^^^^^^ > yields error: > > Debugger entered--Lisp error: (void-variable normal) > =C2=A0 (set-face-attribute 'default nil :family "alegreya" :foundry "misc" > :slant normal :weight "medium" :height 258 :width "normal") > .... > > The doc string, however, says: > > =E2=80=98:slant=E2=80=99 > > VALUE specifies the slant of the font to use.=C2=A0 It must be one of the > symbols =E2=80=98italic=E2=80=99, =E2=80=98oblique=E2=80=99, =E2=80=98nor= mal=E2=80=99, =E2=80=98reverse-italic=E2=80=99, or > =E2=80=98reverse-oblique=E2=80=99. Exactly, it must be a symbol, so use :slant 'normal. Bye, Tassilo