From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Christian Lynbech Newsgroups: gmane.emacs.bugs Subject: bug#17486: 24.4.50; set-face-font problem on OSX Date: Tue, 13 May 2014 20:21:20 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1400008292 11616 80.91.229.3 (13 May 2014 19:11:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 May 2014 19:11:32 +0000 (UTC) To: 17486@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue May 13 21:11:25 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 1WkI6m-0000rt-6f for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 May 2014 21:11:24 +0200 Original-Received: from localhost ([::1]:47305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkI6l-0007Ju-LS for geb-bug-gnu-emacs@m.gmane.org; Tue, 13 May 2014 15:11:23 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40956) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkI6Z-0007HA-FY for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 15:11:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkI6Q-0006BZ-DL for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 15:11:11 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:45222) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkI6Q-0006BV-Al for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 15:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WkI6Q-00079X-3E for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 15:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Christian Lynbech Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 13 May 2014 19:11:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 17486 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.140000820927373 (code B ref -1); Tue, 13 May 2014 19:11:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 13 May 2014 19:10:09 +0000 Original-Received: from localhost ([127.0.0.1]:34339 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkI5Y-00077Q-A3 for submit@debbugs.gnu.org; Tue, 13 May 2014 15:10:08 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:35444) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WkHvu-0006lm-IN for submit@debbugs.gnu.org; Tue, 13 May 2014 15:00:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkHvg-0001aM-4Z for submit@debbugs.gnu.org; Tue, 13 May 2014 15:00:05 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:38189) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkHvg-0001aH-25 for submit@debbugs.gnu.org; Tue, 13 May 2014 14:59:56 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36998) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkHvZ-0007zR-IO for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 14:59:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WkHvT-0001Wd-6p for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 14:59:49 -0400 Original-Received: from [78.143.68.194] (port=64189 helo=christians-imac.localhost) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WkHvS-0001WO-Se for bug-gnu-emacs@gnu.org; Tue, 13 May 2014 14:59:43 -0400 Original-Received: by christians-imac.localhost (Postfix, from userid 501) id 61D241AC3532; Tue, 13 May 2014 20:21:20 +0200 (CEST) User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.4.50 (darwin) X-detected-operating-system: by eggs.gnu.org: iOS iPhone or iPad X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Mailman-Approved-At: Tue, 13 May 2014 15:10:06 -0400 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:89038 Archived-At: 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-is= o10646-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 mo= no-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) The frame-parameters is as follows: ((tool-bar-position . top) (parent-id) (explicit-name) (display . "chri= stians-imac") (visibility . t) (icon-name) (window-id . "1") (bottom-divide= r-width . 0) (right-divider-width . 0) (top . 385) (left . 1286) (buried-bu= ffer-list # #) (buffer-list # # # # #) (unsplittable) (minibuffer . #) (modeline . t) (width . 113) (height . 59) (name . "*scratch*") (env= ironment) (cursor-color . "black") (background-mode . light) (display-type = . color) (horizontal-scroll-bars . t) (window-system . ns) (fullscreen) (al= pha) (scroll-bar-width . 15) (cursor-type . box) (auto-lower) (auto-raise) = (icon-type) (title) (buffer-predicate) (tool-bar-lines . 1) (menu-bar-lines= . 1) (right-fringe . 11) (left-fringe . 10) (line-spacing) (background-col= or . "White") (foreground-color . "Black") (vertical-scroll-bars . right) (= internal-border-width . 2) (border-width . 0) (font . "-*-Menlo-normal-norm= al-normal-*-12-*-*-*-m-0-iso10646-1") (fontsize . 0) (font-backend mac-ct n= s)) This is all done in an emacs without any configuration, adding -Q is a bit difficult with an OSX app, but I renamed my usual .emacs so there is nothing special loaded or configured. This emacs was built from the git mirror with the latest sources relatively close to the build date (2014-05-12). In GNU Emacs 24.4.50.1 (x86_64-apple-darwin13.1.0, NS apple-appkit-1265.19) of 2014-05-12 on christians-imac Windowing system distributor `Apple', version 10.3.1265 Configured using: `configure --prefix=3D/Users/clynbech/Sys/i386-apple-darwin13.1.0 --with-ns --without-dbus 'CFLAGS=3D -I/Users/clynbech/Sys/i386-apple-darwin13.1.0/include -I/opt/local/include -L/Users/clynbech/Sys/i386-apple-darwin13.1.0/lib -L/opt/local/lib' 'CPPFLAGS=3D -I/Users/clynbech/Sys/i386-apple-darwin13.1.0/include -I/opt/local/include' 'LDFLAGS=3D -L/Users/clynbech/Sys/i386-apple-darwin13.1.0/lib -L/opt/local/lib'' Configured features: PNG RSVG IMAGEMAGICK ACL GNUTLS LIBXML2 ZLIB Important settings: locale-coding-system: utf-8-unix Major mode: Lisp Interaction Minor modes in effect: tooltip-mode: t electric-indent-mode: t mouse-wheel-mode: t tool-bar-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: M-K C-y C-a C-SPC =20 =20 C-w C-y SPC C-k =20 =20 =20 =20 =20 ' r e e g i o n SPC =20 =20 C-x C-e C-a C-SPC =20 s-w=20 w C-x o x o q =20 C-x o q ( f r a m e - p a r a=20 m e t e r s ) C-x C-e C-u C-x C-e =20 =20 =20 C-SPC =20 =20 C-g C-g C-k C-k C-y C-y =20 =20 =20 =20 C-k C-y =20 =20 =20 =20 =20 =20 =20 C-y C-x C-e =20 =20 =20 =20 =20 =20 w =20 w =20 =20 w C-o =20 s-x r e p o r t - b u =20 =20 x r e p o r=20 t Recent messages: Back to top level. ((tool-bar-position . top) (parent-id) (explicit-name) (display . "christia= ns-imac") (visibility . t) (icon-name) (window-id . "1") (bottom-divider-wi= dth . 0) (right-divider-width . 0) (top . 385) (left . 1286) (buried-buffer= -list # #) ...) Mark set Quit [2 times] Mark set [4 times] nil Mark set byte-code: Beginning of buffer Mark set [4 times] Making completion list... Load-path shadows: None found. Features: (shadow sort gnus-util mail-extr emacsbug message dired format-spec rfc822 mml mml-sec mm-decode mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader sendmail rfc2047 rfc2045 ietf-drums mm-util help-fns mail-prsvr mail-utils debug help-mode easymenu misearch multi-isearch apropos time-date tooltip electric uniquify ediff-hook vc-hooks lisp-float-type mwheel ns-win tool-bar dnd fontset image regexp-opt fringe tabulated-list newcomment lisp-mode prog-mode register page menu-bar rfn-eshadow timer select scroll-bar mouse jit-lock font-lock syntax facemenu font-core frame cham georgian utf-8-lang misc-lang vietnamese tibetan thai tai-viet lao korean japanese hebrew greek romanian slovak czech european ethiopic indian cyrillic chinese case-table epa-hook jka-cmpr-hook help simple abbrev minibuffer nadvice loaddefs button faces cus-face macroexp files text-properties overlay sha1 md5 base64 format env code-pages mule custom widget hashtable-print-readable backquote make-network-process cocoa ns multi-tty emacs) Memory information: ((conses 16 87380 7320) (symbols 48 17970 0) (miscs 40 136 448) (strings 32 12052 4657) (string-bytes 1 328344) (vectors 16 10367) (vector-slots 8 373598 10063) (floats 8 68 645) (intervals 56 1466 0) (buffers 960 16))