From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#58632: Setting Apple's emoji font on macOS in daemon mode Date: Wed, 19 Oct 2022 15:27:22 +0200 Message-ID: <874jw0ueo5.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13136"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58632@debbugs.gnu.org To: Tor Kringeland Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 19 15:28:53 2022 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 1ol97t-00039b-9G for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 15:28:53 +0200 Original-Received: from localhost ([::1]:42986 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ol97r-0004yg-Qj for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 19 Oct 2022 09:28:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40922) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ol974-0004th-7N for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 09:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57154) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ol973-0000Ta-Vo for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 09:28:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ol973-0000kH-QT for bug-gnu-emacs@gnu.org; Wed, 19 Oct 2022 09:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Oct 2022 13:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58632 X-GNU-PR-Package: emacs Original-Received: via spool by 58632-submit@debbugs.gnu.org id=B58632.16661860612834 (code B ref 58632); Wed, 19 Oct 2022 13:28:01 +0000 Original-Received: (at 58632) by debbugs.gnu.org; 19 Oct 2022 13:27:41 +0000 Original-Received: from localhost ([127.0.0.1]:56232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol96b-0000jT-AM for submit@debbugs.gnu.org; Wed, 19 Oct 2022 09:27:41 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:36755) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ol96Y-0000j5-OX for 58632@debbugs.gnu.org; Wed, 19 Oct 2022 09:27:31 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id j7so29150640wrr.3 for <58632@debbugs.gnu.org>; Wed, 19 Oct 2022 06:27:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=iMj0JxTzStjKc2CxGxGCTJXvJbQJOZCsGslQY6laa0Y=; b=lWngLd0Dbw2S4ixxIKlMxff7fwJEZM1Qb11wY7LG/2MthCXD6pQwbu1e8QQiMmW0fm jLL99Rw2hSP5xybY63biqfWhbQ4ZRDpw95oJM8wwPp4aKJQywCrhLm938Uq9XBxD+TwW OXw5hHf+QE/mA3XlHsocSIUqwRiJRZVy6m8rqnno+QeNPilesKPBk+LLjGRfLoFEpvgF HMZ5yMizl9vGuFvo0X3Yq+L6OaNPAo5Ud/qZsHfdU8Kgp7uqqpCxl297pXZ4AY5pWHyG yVgfnXmdBfZ3o44p9CzAV7pPcuqKGo/IEvEFFe1zRYh9dFNYRjmCeH08NS22WD/D7PzW EzBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=iMj0JxTzStjKc2CxGxGCTJXvJbQJOZCsGslQY6laa0Y=; b=Twc44a8soMc33AXIXW8qhuNb8ZZVSZ/bfiA1fZdOprxntQRLiSSwfYpP27lyzY8cLX PredteuQIZ7Rl+fr5xFi1Ah1WLCTMPiRb79OS2nq4vM1QGYGDRC9GezH3/WsF9KA/yfY igvkWLLs251GSTxrWJiX1OxmZ8ekg2hBexEO7e5ovZyIkv/PpLaYycHy79spQOt6np67 l8LR4iEQRbu/Fvn9/g7BrBOU9G6EMN3AEKSimJDMaadC7wMPT+6WsND7Gg5RuIBFqzpX buV4UHw2YZWUcYxEMldJg5C3crTFA27hOz0pcZ9ZQcWFatBO1cqbhxWRfS7XbY/9fZ4W 7osA== X-Gm-Message-State: ACrzQf03a2UIthLy1pGG33uhIzy3U0uKARP1G94/4GcCTcQGixrcqVAd BCkle+nGE5B+IJL1lsuq9VwpP+6Usrc= X-Google-Smtp-Source: AMsMyM6YOTh8fUvcBYXG+7kYNwTqEhoTJlO3zjndK8XfYXGcX2f6drqiIa9HjqFxBfauy6F4VbsN3g== X-Received: by 2002:a5d:588f:0:b0:231:c661:5cee with SMTP id n15-20020a5d588f000000b00231c6615ceemr5419800wrf.18.1666186044180; Wed, 19 Oct 2022 06:27:24 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id r14-20020a056000014e00b0022e51c5222esm13591101wrx.86.2022.10.19.06.27.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 19 Oct 2022 06:27:23 -0700 (PDT) In-Reply-To: (Tor Kringeland's message of "Wed, 19 Oct 2022 12:20:53 +0000") 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" Xref: news.gmane.io gmane.emacs.bugs:245872 Archived-At: >>>>> On Wed, 19 Oct 2022 12:20:53 +0000, Tor Kringeland said: Tor> Minimal reproducing example: Tor> Run Tor> emacs -Q --daemon --eval "(set-fontset-font t 'unicode \"Apple C= olor Emoji\")" Tor> and insert an emoji. It will not be rendered by the Apple Color E= moji Tor> font. This wasn't the case on the build from a week or two ago (a= nd Tor> builds for many months before that). I find that surprising, I=CA=BCd expect it to never work. Can you identify exactly when it changed? And please do (set-fontset-font t 'emoji \"Apple Color Emoji\") What you have slows down font lookup for all codepoints. Tor> It works if I do not run Emacs in Tor> daemon mode or explicitly set the font after having connected a cl= ient. Tor> Is this a bug or is there another way I should specify the emoji f= ont? Emacs in daemon mode doesn=CA=BCt have a gui frame to work with, so things like setting fonts tend not to work [1]. You can either use `default-frame-alist' to set the `font' frame parameter, or you can add code to `server-after-make-frame-hook' to set it. I=CA=BCm not saying there isn=CA=BCt a bug, but I=CA=BCm not saying there i= s one either =F0=9F=98=80 Robert Footnotes: [1] I=CA=BCll admit to not understanding the attraction of daemon-mode, but I guess tastes differ. --=20