From: "Jan Djärv" <jan.h.d@swipnet.se>
To: Christian Lynbech <christian@defun.dk>
Cc: 17486@debbugs.gnu.org
Subject: bug#17486: 24.4.50; set-face-font problem on OSX
Date: Fri, 16 May 2014 07:06:27 +0200 [thread overview]
Message-ID: <2C3533D7-8966-48CC-A63E-E7C363E5F429@swipnet.se> (raw)
In-Reply-To: <m2vbt94k0v.fsf@defun.dk>
Hello.
13 maj 2014 kl. 20:21 skrev Christian Lynbech <christian@defun.dk>:
>
> 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 [#<font-entity ns apple Menlo nil iso10646-1 medium normal normal 0 nil 100 0 nil>])
> 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)
This works fine in the emacs-24 branch, so it is a new error. I will bisect it soon.
Changes to xfaces.c is probably it.
Jan D.
next prev parent reply other threads:[~2014-05-16 5:06 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-05-13 18:21 bug#17486: 24.4.50; set-face-font problem on OSX Christian Lynbech
2014-05-16 5:06 ` Jan Djärv [this message]
2014-05-16 13:33 ` Jan D.
2014-05-16 14:53 ` Dmitry Antipov
2014-05-16 15:13 ` Jan Djärv
2014-05-16 15:46 ` Dmitry Antipov
2014-05-17 6:46 ` Jan Djärv
2014-05-18 5:43 ` Dmitry Antipov
2014-05-18 7:19 ` Jan Djärv
2014-05-18 16:17 ` Dmitry Antipov
2014-05-18 18:33 ` Jan Djärv
2014-05-19 3:38 ` Dmitry Antipov
2014-05-19 6:05 ` Jan D.
2014-05-21 15:13 ` bug#17486: Done Jan Djärv
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2C3533D7-8966-48CC-A63E-E7C363E5F429@swipnet.se \
--to=jan.h.d@swipnet.se \
--cc=17486@debbugs.gnu.org \
--cc=christian@defun.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).