From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Shingo Tanaka Newsgroups: gmane.emacs.bugs Subject: bug#65800: 30.0.50; set-face-attribute gets error on android Date: Thu, 7 Sep 2023 12:41:01 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ea08530604c42cd5" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="9627"; mail-complaints-to="usenet@ciao.gmane.io" To: 65800@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 07 14:42:30 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1qeEL7-0002J1-8c for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 07 Sep 2023 14:42:29 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qeEKs-0005fh-Oi; Thu, 07 Sep 2023 08:42:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeEKf-0005aD-HV for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 08:42:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeEKf-0003zp-9c for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 08:42:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qeEKg-00038L-N7 for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 08:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Shingo Tanaka Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 07 Sep 2023 12:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65800 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.169409049012000 (code B ref -1); Thu, 07 Sep 2023 12:42:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 7 Sep 2023 12:41:30 +0000 Original-Received: from localhost ([127.0.0.1]:38816 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeEK9-00037U-PP for submit@debbugs.gnu.org; Thu, 07 Sep 2023 08:41:30 -0400 Original-Received: from lists.gnu.org ([2001:470:142::17]:42252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qeEK7-00037E-PV for submit@debbugs.gnu.org; Thu, 07 Sep 2023 08:41:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qeEJy-0004eX-6o for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 08:41:18 -0400 Original-Received: from mail-qt1-x834.google.com ([2607:f8b0:4864:20::834]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qeEJv-0003sG-NM for bug-gnu-emacs@gnu.org; Thu, 07 Sep 2023 08:41:17 -0400 Original-Received: by mail-qt1-x834.google.com with SMTP id d75a77b69052e-4121788397fso9780661cf.0 for ; Thu, 07 Sep 2023 05:41:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694090474; x=1694695274; darn=gnu.org; h=to:subject:message-id:date:from:mime-version:from:to:cc:subject :date:message-id:reply-to; bh=ELuqR+WrmHvmu2YM+QEV4g0I2o2dY3GrPbENDNnAlLA=; b=S3UHsuX3RBSkPu7yY06x5hdvatnYi2L8CELlFG1MrJks3Ue14DB+2Ub4hV/UZLJo23 5SzV10NjOHO4KbKas1Dz74wG4N2KwsJvf86/dYzC2dgu0VR1IC6A+FK4iV3Cqx+ZwTBm BJP6eZJlhHlXfGvnUTSF+p9eCXMYrEC3+xSnLPXiQvk2xzZUzcneARVoklx7JlmIr/AO meFhK6PBYdzQQjUy0OramXC+6VAroVkc4xZjfl3e/d7Rdqem7GObNiUxne0zTsU41//7 QFwm3f1GC7Pm2XjWR0UcvQp9bITLiGHpYDr7M/knDSUTx6wPnU9IcnEnCydGvta86KsU ebRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1694090474; x=1694695274; h=to:subject:message-id:date:from:mime-version:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=ELuqR+WrmHvmu2YM+QEV4g0I2o2dY3GrPbENDNnAlLA=; b=WiC3jiT5wxYrfNLeBW7P4bIeywYpHYOUB37KUUyxOsx5e9rq8cP/8ANkodzyPAsTW1 lXxh1f8HajbuwAXVMTEDerQ/LZqNwqg/IACohc2JnJ3aT5rMZGkmboqtEFWb4St3PtMd kI1okBi9odDJLaIlixnI50DgntkoT0byKtsxirY+zSBuygVsbt13I/Dr+rntA91tm9w9 CO+zhT+VmXgI2z/PLnSJwMPQAqZERDgdz5RdcOCbpMXcdl2nKAvV4LvH1xOcqmEtX1iD CPU4dQOXXaf0JOPNZOghpSw7xU1//KHTbST4iPFm6xf26q+RT08+y+2REsJzTJbWfjog HP6Q== X-Gm-Message-State: AOJu0YyQefX7RQEpotzJSyFWdIsMmzggQIe1dtKbPwfgmRVlUMbsgv/5 trMGppA9xXSrrF9BZVz8fzxu8m+alQAL32ENCWyB7LU0 X-Google-Smtp-Source: AGHT+IEgHie5VV0EgLwwCGvr/jsSqqPxOhlgUistX9FyBArXuSaCxhTBJO68/z1zRn2Hefm+kFzYIJ2pjCYXwTWDzog= X-Received: by 2002:ac8:4c86:0:b0:412:2dd3:e0fc with SMTP id j6-20020ac84c86000000b004122dd3e0fcmr2446722qtv.5.1694090473898; Thu, 07 Sep 2023 05:41:13 -0700 (PDT) Received-SPF: pass client-ip=2607:f8b0:4864:20::834; envelope-from=shingo.fg8@gmail.com; helo=mail-qt1-x834.google.com X-Spam_score_int: -2 X-Spam_score: -0.3 X-Spam_bar: / X-Spam_report: (-0.3 / 5.0 requ) BAYES_00=-1.9, DATE_IN_PAST_06_12=1.543, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:269646 Archived-At: --000000000000ea08530604c42cd5 Content-Type: text/plain; charset="UTF-8" (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) --000000000000ea08530604c42cd5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
(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=C2= =A0 14.0.5.0(TKXMIXM)
Android Version: 13 TKQ1.22101= 3.002
Emacs Binary: emacs-30.0.50-29-arm64-v8a.apk
Font: ~/fonts/NotoSansMonoCJKjp-VF= .ttf
Sans/Variable/TTF/Mo= no/NotoSansMonoCJKjp-VF.ttf

(emacs-version)
30.0.50 (build 1, aarch64-un= known-linux-android29)

Here is the backtrace.

Debugger entered--Lisp error: (wrong-type-argument char-or-string-p nil)<= /div>
=C2=A0 internal-set-lisp-face-attribute(default :fon= t "Noto Sans Mono CJK JP" 0)
=C2=A0 set-fa= ce-attribute(default nil :font "Noto Sans Mono CJK JP")
=C2=A0 (progn (set-face-attribute 'default nil :font &quo= t;Noto Sans Mono CJK JP"))
=C2=A0 eval((progn (= set-face-attribute 'default nil :font "Noto Sans Mono CJK JP"= )) t)
=C2=A0 elisp--eval-last-sexp(t)
=C2=A0 eval-last-sexp(t)
=C2=A0 eval-print= -last-sexp(nil)
=C2=A0 funcall-interactively(eval-pr= int-last-sexp nil)
=C2=A0 call-interactively(eval-pr= int-last-sexp nil nil)
=C2=A0 command-execute(eval-p= rint-last-sexp)

--000000000000ea08530604c42cd5--