From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Customizing Thin Space Display in Emacs Date: Sun, 11 Aug 2024 14:55:14 +0300 Message-ID: <86r0avi89p.fsf@gnu.org> References: <172337655084.7.1531573390489925781.402987890@slmails.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35078"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 11 13:55:45 2024 Return-path: Envelope-to: geh-help-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 1sd7An-0008z2-Gk for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 11 Aug 2024 13:55:45 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sd7Ab-0002jY-Hp; Sun, 11 Aug 2024 07:55:34 -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 1sd7AS-0002j2-NB for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 07:55:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sd7AS-0008DX-Ej for help-gnu-emacs@gnu.org; Sun, 11 Aug 2024 07:55:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=J9bevxj1Oe6AevE496pWWCcDwPpkgG/pFFQAU/F1DCE=; b=S+EoDMNv2rBV dSYOw1AffpexdzqEEYkV3BK3jGjYAFUpFjsSGinAPjj4DYrv0OcRqd0t3oY2kb+HWXlZ2lkIt5IsB JLCFEsvohIDzUg9cv0+QLD1FkOL6E5bx3gZKknLdKwR+gYod9gQlZl7pvugIqQ+TKo4hLMj1gyuZg yiQF2g0nycvNkA4eKsySleg07cdlwTnXD/mtSY8pzoC1mlnZTlNEBZYyc8JLLTlyg9Nu5dYZulp4m 6sN6ebpzuXdtT+36xAqHy88qLxjepzLB1W2aBi9r2neeaTeM2Z++Y9BYj6YgAtTfTDLTBX/nGtCk+ RQ6wUujzUpW72K16xi6KSw==; In-Reply-To: <172337655084.7.1531573390489925781.402987890@slmails.com> (message from Kepa via Users list for the GNU Emacs text editor on Sun, 11 Aug 2024 11:42:26 +0000) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:147607 Archived-At: > Date: Sun, 11 Aug 2024 11:42:26 +0000 > From: Kepa via Users list for the GNU Emacs text editor > > When I insert a "thin space" (002009) in Emacs, it appears as an underlined space in cyan instead of just a narrow blank space. I use it as a number separator to clearly distinguish the thousands. > > I suspect this might be related to the nobreak-space face. Yes, this and other similar characters are by default shown in nobreak-space face. This is documented in the Emacs user manual. > Would it be advisable to customize the nobreak-space face by disabling the underline, or could this have unintended consequences? Is there a better way to handle this scenario? If you don't want these characters to stand out, you can customize that face to look like 'default'. I cannot say this is "advisable", since our recommendation is to keep the default appearance, because if these characters don't stand out, they can easily be missed. But if you want them to show normally, by all means go ahead and customize the face. There should be no unintended consequences except the obvious: how these characters are shown on display.