GNU bug report logs - #65800
30.0.50; set-face-attribute gets error on android

Previous Next

Package: emacs;

Reported by: Shingo Tanaka <shingo.fg8 <at> gmail.com>

Date: Thu, 7 Sep 2023 12:42:02 UTC

Severity: normal

Found in version 30.0.50

Fixed in version 30.1

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 65800 in the body.
You can then email your comments to 65800 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#65800; Package emacs. (Thu, 07 Sep 2023 12:42:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Shingo Tanaka <shingo.fg8 <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Thu, 07 Sep 2023 12:42:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shingo Tanaka <shingo.fg8 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.50; set-face-attribute gets error on android
Date: Thu, 7 Sep 2023 12:41:01 +0900
[Message part 1 (text/plain, inline)]
(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/
<https://www.google.com/get/noto/help/cjk/Sans/Variable/TTF>
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)
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#65800; Package emacs. (Thu, 07 Sep 2023 14:01:02 GMT) Full text and rfc822 format available.

Message #8 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Shingo Tanaka <shingo.fg8 <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Re: 30.0.50; set-face-attribute gets error on android
Date: Thu, 7 Sep 2023 23:00:09 +0900
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 <at> 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)
>




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#65800; Package emacs. (Fri, 08 Sep 2023 02:43:01 GMT) Full text and rfc822 format available.

Message #11 received at 65800 <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Shingo Tanaka <shingo.fg8 <at> gmail.com>
Cc: 65800 <at> debbugs.gnu.org
Subject: Re: bug#65800: 30.0.50; set-face-attribute gets error on android
Date: Fri, 08 Sep 2023 10:41:39 +0800
Shingo Tanaka <shingo.fg8 <at> 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 <at> 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.




bug Marked as fixed in versions 30.1. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Fri, 08 Sep 2023 16:48:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#65800; Package emacs. (Sat, 09 Sep 2023 12:19:01 GMT) Full text and rfc822 format available.

Message #16 received at 65800 <at> debbugs.gnu.org (full text, mbox):

From: Shingo Tanaka <shingo.fg8 <at> gmail.com>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 65800 <at> debbugs.gnu.org
Subject: Re: bug#65800: 30.0.50; set-face-attribute gets error on android
Date: Sat, 9 Sep 2023 21:18:11 +0900
[Message part 1 (text/plain, inline)]
>
> Thanks, this should be fixed now.
>

Thank you.  I confirmed it's fixed.

Regards,
Shingo

>
[Message part 2 (text/html, inline)]

Reply sent to Po Lu <luangruo <at> yahoo.com>:
You have taken responsibility. (Sun, 10 Sep 2023 05:41:01 GMT) Full text and rfc822 format available.

Notification sent to Shingo Tanaka <shingo.fg8 <at> gmail.com>:
bug acknowledged by developer. (Sun, 10 Sep 2023 05:41:02 GMT) Full text and rfc822 format available.

Message #21 received at 65800-done <at> debbugs.gnu.org (full text, mbox):

From: Po Lu <luangruo <at> yahoo.com>
To: Shingo Tanaka <shingo.fg8 <at> gmail.com>
Cc: 65800-done <at> debbugs.gnu.org
Subject: Re: bug#65800: 30.0.50; set-face-attribute gets error on android
Date: Sun, 10 Sep 2023 13:40:26 +0800
Shingo Tanaka <shingo.fg8 <at> gmail.com> writes:

>  Thanks, this should be fixed now.
>
> Thank you.  I confirmed it's fixed.
>
> Regards,
> Shingo

Thanks for testing.  I'm closing this bug.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 08 Oct 2023 11:24:04 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 215 days ago.

Previous Next


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