From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: ynyaaa@gmail.com Newsgroups: gmane.emacs.bugs Subject: bug#33019: 26.1; can not set fontset as frame font by set-frame-font Date: Sat, 13 Oct 2018 03:53:26 +0900 Message-ID: <86sh1bro7t.fsf@gmail.com> References: <86bm80a5ip.fsf@gmail.com> <83pnwfwtkh.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1539370327 7324 195.159.176.226 (12 Oct 2018 18:52:07 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 12 Oct 2018 18:52:07 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (windows-nt) Cc: 33019@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Oct 12 20:52:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB2Xa-0001n8-Fn for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2018 20:52:02 +0200 Original-Received: from localhost ([::1]:42266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gB2Zg-000825-L9 for geb-bug-gnu-emacs@m.gmane.org; Fri, 12 Oct 2018 14:54:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gB2Za-000814-NU for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 14:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gB2ZW-00005v-KQ for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 14:54:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43216) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gB2ZW-0008VW-G6 for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gB2ZW-0004Nq-Af for bug-gnu-emacs@gnu.org; Fri, 12 Oct 2018 14:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: ynyaaa@gmail.com Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 12 Oct 2018 18:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 33019 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 33019-submit@debbugs.gnu.org id=B33019.153937042316820 (code B ref 33019); Fri, 12 Oct 2018 18:54:02 +0000 Original-Received: (at 33019) by debbugs.gnu.org; 12 Oct 2018 18:53:43 +0000 Original-Received: from localhost ([127.0.0.1]:47474 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB2ZD-0004NE-Ku for submit@debbugs.gnu.org; Fri, 12 Oct 2018 14:53:43 -0400 Original-Received: from mail-pl1-f176.google.com ([209.85.214.176]:34074) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gB2ZB-0004N1-VU for 33019@debbugs.gnu.org; Fri, 12 Oct 2018 14:53:42 -0400 Original-Received: by mail-pl1-f176.google.com with SMTP id f18-v6so6345554plr.1 for <33019@debbugs.gnu.org>; Fri, 12 Oct 2018 11:53:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=ckj3u2WyKohv/mH1vv3HvavlP06JSJCBJkTprWSk7No=; b=ELG1bW0qEzxfbL+vCwzR/nLm7f5ILJBRrQgYDVv375Z03WDnDfY1k5Xr9qi2yC3o/i 1HmLwPfCCXdKOUWgbxC97w+56FqoqssAH8LyNQaJ36ptBmPmB7Qb98dNIa7rg4GhYBTE e7KXHl87r/FSOO084V369HtyKfMUO+96tsBeUYVWu0dkHxxTNehJwKmxcrfrHQ7SPImA H3CTCPR7hlHzRxdTFUYnsGzGN50l+bBsvp6+umM35hQmLnnSzYzXZ+z57fdy6LFSmGL1 HRLXY7YDfBR3O2nblXcMdBScyW3mOte/96Mone0FFHKLBOavQl/FEtcGWAWe/OrKCEGZ //lQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=ckj3u2WyKohv/mH1vv3HvavlP06JSJCBJkTprWSk7No=; b=SC+0vCn7yzOXCAQStnFJ2UJv3U5JWQn0JdDQijT29MQBqNjAFTn0854W7d1b72I7H3 wZmbFWFCPdm7aOhVuAb84yaXA6cCzaJ2GgQdzG4xkBLJzA6PPLbHu36wNK8SuxnfJ5Sv 2iGRuqfeeFUe0MDIspuLozCiamvlijtEHfIGCq71CauioKQXbkY8ysQu7BaezMhaGM5t 37f20om1IkADGqnZYw3uB7HFzrcv/Wo3gMXZphwsPgou6Q/1o+N/kcKM+P6E8XHpTfdM PNjU3LStlGZixbX0HdD7g7Nd3rruKWiQXerUElF36kJgAPioa+17cn05C9e7CvTmQhyM iJrw== X-Gm-Message-State: ABuFfohJ9sj1YaoQEt4jTSe8DEwMtU8GY9OyTiIjUvuflNziM52/+JFL HEt9UILCEfv04BOgKJzfpabyOoEa X-Google-Smtp-Source: ACcGV629Hf/E1M5s+ApgjNrJEyoY5Pc3M1UgLheeRwZpRiZlQ9jc252l4BDbSbuZQxRPdgxqqsJm5g== X-Received: by 2002:a17:902:24e7:: with SMTP id l36-v6mr6987773plg.234.1539370415586; Fri, 12 Oct 2018 11:53:35 -0700 (PDT) Original-Received: from HP (east49-p55.eaccess.hi-ho.ne.jp. [219.105.5.56]) by smtp.gmail.com with ESMTPSA id a14-v6sm2728234pgi.75.2018.10.12.11.53.33 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 12 Oct 2018 11:53:34 -0700 (PDT) In-Reply-To: <83pnwfwtkh.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 12 Oct 2018 09:46:38 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151186 Archived-At: Eli Zaretskii writes: >> From: ynyaaa@gmail.com >> Date: Fri, 12 Oct 2018 00:04:46 +0900 >> >> I installed google noto fonts, and tried to use "Noto Mono" >> with "Noto Sans CJK JP Regular". >> Evaluating the form below, characters are displayed with "Noto Mono" >> and default fall back display. >> >> (let ((name "-*-*-*-*-*-*-*-*-*-*-*-*-fontset-test")) >> (new-fontset name '(((0 . #xffff) . "Noto Mono"))) >> (set-fontset-font name '(#x80 . #xffff) >> "Noto Sans CJK JP Regular" nil 'append) >> (set-frame-font name)) >> >> After evaluation, the result buffers of some commands are shown as below. > > I'm sorry, I must be dense today: I have read the report several > times, and I don't think I understand what exactly is the behavior you > think is incorrect. Could you please spell out what seems to be > wrong, and why do you think it is wrong? > > Also, what exactly is the real-life use case behind this? Why did you > need to create a new fontset? > > Thanks. I want to display European characters with "Noto Mono" and CJK characters with "Noto Sans CJK JP Regular". (And other scripts with other Noto fonts.) Evaluating (set-frame-font "fontset-test") results almost same as evaluating (set-frame-font "Noto Mono"), and "Noto Sans CJK JP Regular" is not used.