From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dmitry Antipov Newsgroups: gmane.emacs.bugs Subject: bug#17486: 24.4.50; set-face-font problem on OSX Date: Fri, 16 May 2014 18:53:24 +0400 Message-ID: <53762664.9040700@yandex.ru> References: <2C3533D7-8966-48CC-A63E-E7C363E5F429@swipnet.se> <537613B2.10803@swipnet.se> NNTP-Posting-Host: plane.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 1400252069 29860 80.91.229.3 (16 May 2014 14:54:29 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2014 14:54:29 +0000 (UTC) Cc: 17486@debbugs.gnu.org To: Christian Lynbech Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri May 16 16:54:22 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 1WlJWb-0005og-LH for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 16:54:17 +0200 Original-Received: from localhost ([::1]:36083 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlJWb-0002zO-AG for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 May 2014 10:54:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43037) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlJWS-0002xh-PB for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 10:54:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WlJWM-0008Qp-SB for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 10:54:08 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:44379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WlJWM-0008Qj-MC for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 10:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WlJWM-0003yt-3U for bug-gnu-emacs@gnu.org; Fri, 16 May 2014 10:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Antipov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 May 2014 14:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 17486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 17486-submit@debbugs.gnu.org id=B17486.140025201815255 (code B ref 17486); Fri, 16 May 2014 14:54:02 +0000 Original-Received: (at 17486) by debbugs.gnu.org; 16 May 2014 14:53:38 +0000 Original-Received: from localhost ([127.0.0.1]:37442 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlJVx-0003xx-5r for submit@debbugs.gnu.org; Fri, 16 May 2014 10:53:37 -0400 Original-Received: from forward6l.mail.yandex.net ([84.201.143.139]:36176) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WlJVs-0003xc-R4 for 17486@debbugs.gnu.org; Fri, 16 May 2014 10:53:34 -0400 Original-Received: from smtp6.mail.yandex.net (smtp6.mail.yandex.net [77.88.61.56]) by forward6l.mail.yandex.net (Yandex) with ESMTP id 1F3FB14E1308; Fri, 16 May 2014 18:53:26 +0400 (MSK) Original-Received: from smtp6.mail.yandex.net (localhost [127.0.0.1]) by smtp6.mail.yandex.net (Yandex) with ESMTP id A97CC1640846; Fri, 16 May 2014 18:53:25 +0400 (MSK) Original-Received: from unknown (unknown [37.139.80.10]) by smtp6.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id sRVNvLCKqN-rPp0Cgwj; Fri, 16 May 2014 18:53:25 +0400 (using TLSv1 with cipher AES128-SHA (128/128 bits)) (Client certificate not present) X-Yandex-Uniq: 674dfd97-89eb-4669-a16b-54e33865277f DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1400252005; bh=r4JSrxMzLZ0KzPviOqEa7xEQR+DEm1NBkdiDzVPtllw=; h=Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject: References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=o/jbJflEqiP85gvATo+7r4XAZdhRoVtUcrk2GBEpX1wHQHhofJ4cp3yhogQ9PHDdv n3v/8Y0sqBTcQbmIC0VNTQGxT+/GL2G8vkjgCzhYgShytTtAxzVLGTr5LDGAADiq7U /QcyYw4ENoUE0XsE9i8wYQr1Ntt4YV6Mr5iPfjwc= Authentication-Results: smtp6.mail.yandex.net; dkim=pass header.i=@yandex.ru User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 In-Reply-To: <537613B2.10803@swipnet.se> 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:89162 Archived-At: >> 13 maj 2014 kl. 20:21 skrev Christian Lynbech : >> >>> >>> There is an issue when trying to set the font of face in recent versions >>> of emacs build for OSX. >>> >>> Evaluating this form works as expected: >>> >>> (set-face-font 'region "-*-Menlo-normal-normal-normal-*-12-*-*-*-m-0-iso10646-1") >>> >>> It used to be that one could also say something like this: >>> >>> (set-face-font 'region "bitstream vera sans mono-26") >>> >>> but when I try to do that on a newly built emacs, I get this stack >>> trace: >>> >>> Debugger entered--Lisp error: (wrong-type-argument font [#]) >>> internal-set-lisp-face-attribute(region :font "bitstream vera sans mono-26" 0) >>> set-face-attribute(region nil :font "bitstream vera sans mono-26") >>> set-face-font(region "bitstream vera sans mono-26") >>> eval((set-face-font (quote region) "bitstream vera sans mono-26") nil) >>> eval-last-sexp-1(nil) >>> eval-last-sexp(nil) >>> call-interactively(eval-last-sexp nil nil) >>> command-execute(eval-last-sexp) Ugh. Is it possible to eval (frame-font-cache) immediately after you get this error? Dmitry