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: Display of "narrow no-break space" character Date: Sat, 17 Jun 2023 13:39:03 +0300 Message-ID: <83fs6qqsoo.fsf@gnu.org> References: <9e785431-3ef1-8452-bab4-1f084fa1a304@magnaspesmeretrix.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29382"; 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 Sat Jun 17 12:39:42 2023 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 1qATLK-0007Uv-C4 for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 17 Jun 2023 12:39:42 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qATKl-00026m-2r; Sat, 17 Jun 2023 06:39:07 -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 1qATKj-00026Z-H8 for help-gnu-emacs@gnu.org; Sat, 17 Jun 2023 06:39:05 -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 1qATKj-0006El-8z for help-gnu-emacs@gnu.org; Sat, 17 Jun 2023 06:39:05 -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=4Tzjb7dBpjbB5QX/SXhJdPa7X861dTxQ373uvaOAjUE=; b=Opgle2yLHwEi GBuI+FYgdsC1BVmHVT0rjgRgCJ72G30I7zt/OyaKWdnnr2BJrPRszwCpXvQsdpU8gBoeprq+NzQlE Isfz+hgsiW2zgp7xhmP5vxAx/NTiD+UIuUb4CELksUVyo6oJuKG6Q+XcH05xw9qBEVis3GsvfA06/ I7HmH4ZZ7Psk232KYiqOebYD8NrCHjAvlT65XFkr+fxQs0QbWvkyywlZuM2+Z+YCOzp8P+bw+aHmb OH+u4lT0LqK7cENUDPXESwA/6qGk9B1qrOZfJpAwlx5GSi2kl/kCVpPCI+USrucIxbvjzyVf91wHs yrf/R4qilAan8p5rHkjMmQ==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qATKi-0008Cp-Jg for help-gnu-emacs@gnu.org; Sat, 17 Jun 2023 06:39:05 -0400 In-Reply-To: <9e785431-3ef1-8452-bab4-1f084fa1a304@magnaspesmeretrix.org> (message from PierGianLuca on Sat, 17 Jun 2023 11:31:39 +0200) 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:143970 Archived-At: > Date: Sat, 17 Jun 2023 11:31:39 +0200 > From: PierGianLuca > > I use Emacs with a GUI and monospaced font (DejaVu Sans Mono). Lately I've had to use "no-break space" (U+00A0) and "narrow no-break space" (U+202F) very often. > > Emacs does a great job distinguishing space from no-break space: the latter is shown as an underlined space. However, no-break space and narrow no-break space are represented in exactly the same way (underlined space). > > Does anyone know of a method to make Emacs use a different glyph for narrow no-break space? You should be able to use the display table to change how a character is displayed. See the node "Display Tables" in the ELisp manual for more details about this feature.