GNU bug report logs - #36288
27.0.50; Cannot use menu-set-font

Previous Next

Package: emacs;

Reported by: Robert Pluim <rpluim <at> gmail.com>

Date: Wed, 19 Jun 2019 07:49:01 UTC

Severity: normal

Found in version 27.0.50

Done: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Robert Pluim <rpluim <at> gmail.com>
To: YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp>
Cc: 36288 <at> debbugs.gnu.org
Subject: bug#36288: 27.0.50; Cannot use menu-set-font
Date: Thu, 20 Jun 2019 10:32:34 +0200
>>>>> On Thu, 20 Jun 2019 09:51:19 +0200, Robert Pluim <rpluim <at> gmail.com> said:

>>>>> On Thu, 20 Jun 2019 11:54:21 +0900, YAMAMOTO Mitsuharu <mituharu <at> math.s.chiba-u.ac.jp> said:
    >>> Maybe better to use the first entry of the font-backend frame
    >>> parameter rather than hardcoded one?

    Robert> Thanks, that works for me. Iʼve not tested what happens if I try to
    Robert> use an X font rather than an xft one, but I think that usage will
    Robert> eventually go away anyway.

I tried a different variant:

(add-to-list 'default-frame-alist '(font-backend x xfthb))

then M-x menu-set-font

which gives (with your patch):

set-face-attribute: Font not available: #<font-spec x nil Ubuntu\ Mono nil nil normal normal nil 1.0 nil nil nil ((:name . "Ubuntu Mono"))>

Robert




This bug report was last modified 6 years and 21 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.