From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,RCVD_IN_DNSWL_MED,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9916 invoked from network); 26 Mar 2023 02:29:03 -0000 Received: from mx1.math.uh.edu (129.7.128.32) by inbox.vuxu.org with ESMTPUTF8; 26 Mar 2023 02:29:03 -0000 Received: from lists1.math.uh.edu ([129.7.128.208]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pgG7v-005txx-Q2 for ml@inbox.vuxu.org; Sat, 25 Mar 2023 21:28:59 -0500 Received: from lists1.math.uh.edu ([127.0.0.1] helo=lists.math.uh.edu) by lists1.math.uh.edu with smtp (Exim 4.96) (envelope-from ) id 1pgG7v-002AcO-1X for ml@inbox.vuxu.org; Sat, 25 Mar 2023 21:28:59 -0500 Received: from mx1.math.uh.edu ([129.7.128.32]) by lists1.math.uh.edu with esmtp (Exim 4.96) (envelope-from ) id 1pgG7p-002AcF-0N for ding@lists.math.uh.edu; Sat, 25 Mar 2023 21:28:54 -0500 Received: from quimby.gnus.org ([95.216.78.240]) by mx1.math.uh.edu with esmtps (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1pgG7m-005twu-Hq for ding@lists.math.uh.edu; Sat, 25 Mar 2023 21:28:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: In-Reply-To:References:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zQkYPhE6Hj45Qbf/JKHDxyoicBwBSclgV/p/8nsw/8U=; b=eGAkNfZEVW5cK9c2VEuAInWQDh wbm9uux/YMCwh1mD7QSQZnOzf6ORkFYod48PYgXu+pdG8DARoqF4SEhPlWenxT+yArNtprwhRDtW0 XS1I2Ys/tTPoQC8HYgWguaAqCw3mZvwQ259LYYoGovcW11CydE5jUCS4hmzoubyG6WG4=; Received: from thaodan.de ([2a03:4000:4f:f15::1]) by quimby.gnus.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pgG7c-0000KQ-Gp for ding@gnus.org; Sun, 26 Mar 2023 04:28:44 +0200 Received: from odin (unknown [IPv6:2001:2003:fb1a:df01:642:1aff:fe03:549e]) by thaodan.de (Postfix) with ESMTPSA id 6EC8FD08D70 for ; Sun, 26 Mar 2023 05:28:38 +0300 (EEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1679797718; bh=vGiHJMyNu4IOY0+yJVGOTgYsyxcUBLp72mrRw/1TjZY=; h=From:To:Subject:Date; b=crOK096CP4J2hX/kE0OCxs1YjHeTtCIaFF28rQpDqGD1sIe4nZmq5uaJnfJKXHCmx 0AsR35/ezaWIGdWahWHzCHvCLlxkhhI4FRjFb2l+nWELjQR/LTvgtvKX1O9IX/BLwH 7O4dfFba611KbKyJMEgI4Jl9WrXSdeYg8IQN5baqqxvFiHNvA8/qDBjb0YYeBQfBMg MavtlXIUz2N+cViM6XIOinTGoF6z2wzQbRVMxD54qGrfPGQSA55JT/RfU4UNtuRq4+ eshfWkiRnXGgCI3BpWIniAm/pBOiQckBv0U3/vHutiBHp5G1zJXGuIVjrHCIs569Z5 c9u1R6P4p6LTKU8MYAUUzMxP0emLZOu2nZbj91O1hmqjPdIk85nlXc0oQWzYO2V0Rc mZm7xyZObnbFfHBOC4OzbbLNZFKQG6QWoFvbgt/Uu1Tu++/6VBU9D9u2mWNHJXQ0Ti XdxNUeZv7U74l718h7bP6xQZaHBy5S0HjkfLVStBkZsqq1on6iGCKWBftQp9M7Cjkp WLCOKdjt+dRbdKCRswT5B92HcFVBitT5qtm4MaeLts0i1WGR+AUvbf75EMMNzcQpsp QqW4LRWEMciX+oJEcfhOIxVdUDgwgAINYJFjOCGA7wGY9m05uqr8ffkVW/TBRCOQCF uhOqR6/VQPA8ULMW2kekfh4s= From: =?utf-8?Q?Bj=C3=B6rn?= Bidar To: ding@gnus.org Subject: Inserting UTF-8 icons into Gnus format-strings using all the icons Date: Sun, 26 Mar 2023 05:28:37 +0300 Message-ID: <87o7og1c16.fsf@thaodan.de> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: Precedence: bulk Hey, I'm inserting UTF-8 icons into Gnus format-strings namely the example down below: (setq gnus-topic-line-format (concat "%i[ " (propertize ;(all-the-icons-faicon "fo= lder-open") (all-the-icons-material "folder") 'display '(raise 0.0)) " %(%{%n -- %A%}%) ]%v\n")) The icons are inserting using the material icons font family that all the icons ships. However when other fonts that can display the character are present the other font families are used. This is describe char on the folder icons example shown above: position: 1480 of 2550 (58%), column: 13 character: =EE=85=98 (displayed as =EE=85=98) (codepoint 57688,= #o160530, #xe158) charset: unicode (Unicode (ISO10646)) code point in charset: 0xE158 syntax: w which means: word category: L:Strong L2R, j:Japanese to input: type "C-x 8 RET e158" buffer code: #xEE #x85 #x98 file code: #xEE #x85 #x98 (encoded by coding system utf-8-unix) display: by this font (glyph code): ftcrhb:-unknown-Material Icons-regular-normal-normal-*-16-*-*-*-m-0-iso= 10646-1 (#xC1) Character code properties: customize what to show general-category: Co (Other, Private Use) decomposition: (57688) ('=EE=85=98') There is an overlay here: From 1467 to 1508 face hl-line priority -50 window nil There are text properties here: face gnus-group-mail-3 fontified t How can I insert the icon into the format string while keeping the font family attribute? Br, Bj=C3=B6rn