unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
To: Shingo Tanaka <shingo.fg8@gmail.com>
Cc: 65800@debbugs.gnu.org
Subject: bug#65800: 30.0.50; set-face-attribute gets error on android
Date: Fri, 08 Sep 2023 10:41:39 +0800	[thread overview]
Message-ID: <87tts5e68s.fsf@yahoo.com> (raw)
In-Reply-To: <CAH4H2-zqcq=ZnAauXjYRtfO4xpP7Mh_5NzG4yGFb=14WwEfQ=Q@mail.gmail.com> (Shingo Tanaka's message of "Thu, 7 Sep 2023 23:00:09 +0900")

Shingo Tanaka <shingo.fg8@gmail.com> writes:

> Sorry I made a mistake in the Font URL.  This is the correct one.
>
> Font: ~/fonts/NotoSansMonoCJKjp-VF.ttf
> https://github.com/notofonts/noto-cjk
> Sans/Variable/TTF/Mono/NotoSansMonoCJKjp-VF.ttf
>
> 2023年9月7日(木) 12:41 Shingo Tanaka <shingo.fg8@gmail.com>:
>
>>
>> (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP")
>> just results in error with the backtrace below on android.
>>
>> Device: Xiaomi Pad 5
>> MIUI Version: MIUI Pad Global 14.0.5  14.0.5.0(TKXMIXM)
>> Android Version: 13 TKQ1.221013.002
>> Emacs Binary: emacs-30.0.50-29-arm64-v8a.apk
>> https://sourceforge.net/projects/android-ports-for-gnu-emacs/files/
>> Font: ~/fonts/NotoSansMonoCJKjp-VF.ttf
>> https://www.google.com/get/noto/help/cjk/
>> Sans/Variable/TTF/Mono/NotoSansMonoCJKjp-VF.ttf
>>
>> (emacs-version)
>> 30.0.50 (build 1, aarch64-unknown-linux-android29)
>>
>> Here is the backtrace.
>>
>> Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)
>>   internal-set-lisp-face-attribute(default :font "Noto Sans Mono CJK JP" 0)
>>   set-face-attribute(default nil :font "Noto Sans Mono CJK JP")
>>   (progn (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP"))
>>   eval((progn (set-face-attribute 'default nil :font "Noto Sans Mono CJK JP")) t)
>>   elisp--eval-last-sexp(t)
>>   eval-last-sexp(t)
>>   eval-print-last-sexp(nil)
>>   funcall-interactively(eval-print-last-sexp nil)
>>   call-interactively(eval-print-last-sexp nil nil)
>>   command-execute(eval-print-last-sexp)
>>

Thanks, this should be fixed now.





  reply	other threads:[~2023-09-08  2:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-09-07  3:41 bug#65800: 30.0.50; set-face-attribute gets error on android Shingo Tanaka
2023-09-07 14:00 ` Shingo Tanaka
2023-09-08  2:41   ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors [this message]
2023-09-09 12:18     ` Shingo Tanaka
2023-09-10  5:40       ` Po Lu via Bug reports for GNU Emacs, the Swiss army knife of text editors

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=87tts5e68s.fsf@yahoo.com \
    --to=bug-gnu-emacs@gnu.org \
    --cc=65800@debbugs.gnu.org \
    --cc=luangruo@yahoo.com \
    --cc=shingo.fg8@gmail.com \
    /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).