From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58632: Setting Apple's emoji font on macOS in daemon mode Date: Sun, 3 Sep 2023 02:31:21 -0700 Message-ID: References: <874jw0ueo5.fsf@gmail.com> 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="2511"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Tor Kringeland , 58632-done@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 03 11:32:09 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 1qcjSi-0000Rm-NZ for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 03 Sep 2023 11:32:08 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qcjSU-0000EI-RR; Sun, 03 Sep 2023 05:31:54 -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 1qcjSS-0000DW-Sl for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:31:53 -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 1qcjSR-0004et-HY for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:31:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qcjSb-0001Vt-Or for bug-gnu-emacs@gnu.org; Sun, 03 Sep 2023 05:32:01 -0400 Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 03 Sep 2023 09:32:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 58632 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Mail-Followup-To: 58632@debbugs.gnu.org, stefankangas@gmail.com, tor.kringeland@ntnu.no Original-Received: via spool by 58632-done@debbugs.gnu.org id=D58632.16937335005781 (code D ref 58632); Sun, 03 Sep 2023 09:32:01 +0000 Original-Received: (at 58632-done) by debbugs.gnu.org; 3 Sep 2023 09:31:40 +0000 Original-Received: from localhost ([127.0.0.1]:39482 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjSG-0001VB-2P for submit@debbugs.gnu.org; Sun, 03 Sep 2023 05:31:40 -0400 Original-Received: from mail-lf1-x12e.google.com ([2a00:1450:4864:20::12e]:47249) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qcjSE-0001Uw-5L for 58632-done@debbugs.gnu.org; Sun, 03 Sep 2023 05:31:38 -0400 Original-Received: by mail-lf1-x12e.google.com with SMTP id 2adb3069b0e04-5007f3d3235so763273e87.2 for <58632-done@debbugs.gnu.org>; Sun, 03 Sep 2023 02:31:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1693733482; x=1694338282; darn=debbugs.gnu.org; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date :message-id:reply-to; bh=DnGDM9Ac1z7tT8MEdtKLpghllXIQPteiw8yJ9QhcZ9s=; b=mI2HCjtivummN6A4HIxJw3LyvKJsK5fCTGYqF4hYKqRy2V06E21wd+KEj7+o7dUveU mhb0VN5N8BiGPmWzoxf4eYCcDiDQTXDvvOKk2zDYiP9WVFg5nsoskY8/gSLIm6HM+VZk 0fgSq57ZZ0iD8Ms+snOxgzZrlv+Ipy54EoM3o4lg0XR7qO47uagYMEo/dySCTZO5LxYl NINK3++BbT+KrNbygr8PfckC5SuIyvzILRKXa3SjeFpwp+UiC50M45wE8ciVcnt5ErqR BQ3PcD2p90fnYY/7dEgV9FlslqI8sqIRKoyyTbDzoq/jC3mujwIw0H+k1WnnNlM6KzpJ jVwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693733482; x=1694338282; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=DnGDM9Ac1z7tT8MEdtKLpghllXIQPteiw8yJ9QhcZ9s=; b=FSQcWEIC/7dIiFNetTyA3mzL60sij4yv0PdbGS8xxcMuGEaX65SNBYt87S5u82HJXh Xh7CLYEJBlevffyCu4gUBkGucx3/kp+2Nj4UJ3JRhLpy9ssYJKqj0onzEps3KgnGMPD4 w0luXeOf0CZtuDRUu1ZmQGsfdsCoJ/Ma359mdMAtzS79Cyn+zgY8HM1RDrXxYFmgoiyA 1IqKqoUwLlLBtdEtNpThfFcOvKWd3MYa2WE/F8fopvtN1bO1n/xAsIeWx2k7udDZP1eL 1GeWsi9qZ+kPc+a79+hQY/wsiTkA3Bg0EEGRc1+RF1iHMD8mPZbngOsE7Z0G0PjQQTv0 Q5uA== X-Gm-Message-State: AOJu0Yxw4eRwZfZDt8dnuu+vLEgJ6AUZzuyYg/VtvLn3fxUNUBjhw0pm aNkC8lAKC1cwKMb1XIhjNbDLmlRIewXBf+sUppo0uYBc19o= X-Google-Smtp-Source: AGHT+IEBj///yPbeha1K7fBYK0ORRCZDbI2a6uKMVVPTkTAwUmMLNv0D1iY5z+9OzqIKS30GHwUFqB9bKqt5x4J4L9I= X-Received: by 2002:a05:6512:3a81:b0:500:8443:744a with SMTP id q1-20020a0565123a8100b005008443744amr4774126lfu.7.1693733481881; Sun, 03 Sep 2023 02:31:21 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 3 Sep 2023 02:31:21 -0700 In-Reply-To: <874jw0ueo5.fsf@gmail.com> (Robert Pluim's message of "Wed, 19 Oct 2022 15:27:22 +0200") 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:269112 Archived-At: Robert Pluim writes: >>>>>> 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= Color Emoji\")" > > Tor> and insert an emoji. It will not be rendered by the Apple Color= Emoji > Tor> font. This wasn't the case on the build from a week or two ago = (and > Tor> builds for many months before that). > > I find that surprising, I=CA=BCd expect it to never work. Can you identif= y > 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. More information was requested, but none was given within close to a year, so I'm closing this bug. If this is still an issue, please reply to this email (use "Reply to all" in your email client) and we can reopen the bug report. > > Tor> It works if I do not run Emacs in > Tor> daemon mode or explicitly set the font after having connected a = client. > Tor> Is this a bug or is there another way I should specify the emoji= font? > > Emacs in daemon mode doesn=CA=BCt have a gui frame to work with, so thing= s > 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= is 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.