From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.help Subject: Re: Making a non-ASCII space character visible Date: Sun, 17 Jun 2018 07:07:30 +0200 Message-ID: <87po0qoval.fsf@web.de> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529211961 23678 195.159.176.226 (17 Jun 2018 05:06:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 17 Jun 2018 05:06:01 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: gyliamos@gmail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Jun 17 07:05:57 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fUPsy-00061k-RL for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Jun 2018 07:05:56 +0200 Original-Received: from localhost ([::1]:53826 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUPv5-0000uA-Pn for geh-help-gnu-emacs@m.gmane.org; Sun, 17 Jun 2018 01:08:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50942) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fUPuc-0000tt-FO for help-gnu-emacs@gnu.org; Sun, 17 Jun 2018 01:07:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fUPuZ-0007Wb-9S for help-gnu-emacs@gnu.org; Sun, 17 Jun 2018 01:07:38 -0400 Original-Received: from mout.web.de ([212.227.15.3]:43119) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fUPuY-0007W6-Vr for help-gnu-emacs@gnu.org; Sun, 17 Jun 2018 01:07:35 -0400 Original-Received: from drachen.dragon ([188.110.196.170]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0M2Mq4-1gJu2C0JQi-00s68c; Sun, 17 Jun 2018 07:07:32 +0200 In-Reply-To: (Will Parsons's message of "Sat, 16 Jun 2018 16:15:59 -0400") X-Provags-ID: V03:K1:bPppsg8Fb6k1P3n4YEmSQ8uRanqauNYI0hV8Y6i4h6JueNERYph ERH+XRNm+/Zn0a6gcuPf+G57NEWSA3Bs3xYVR+B7+F2Znn1n6lgxfN1+BQRgq/EpMJMIDuw N3vrs/lv6xfKTdfwEYMsGtMwxvA/rxZl4+Ig/OUX2ilJrOkvSJC1DSZeeJNeF8EhbUhwI83 lm/3ot7iTB26XgrcHXPLg== X-UI-Out-Filterresults: notjunk:1;V01:K0:Q6eO72CVq54=:6WL5M8UQPidxmjTM5OetD3 w6RCEy9yjtHRS81HqDmGtFmN7jo0pH74ZXzfWgT+p6xJASpBLnGKG18dFuXAWqzjuuDuwdbrZ qSXEHekWIRf2jgyX37RjE1xaDZlrajQMrzNmdnbNBPOvQJiFjSYjnSJBdk2/w2+o1lkw9ySgk EvVZm24Kk8MOLtVKEa95ygSypKjkZgtzvKChX8gr+JROEQGo+h27LRLOXIeFaOPs7eY2u3uCC 8B0iogLxcWqmtqz3+FUSUHL2/yThKiu2VSae6a3IV/hMuoxwc2EJz8TIv4B3Z7vFMZQcSG2/H e+w0i7K3B4eUX09fiAFRT+BlPDZhY6ANn11OsiunfZ30QrmkR68tIIb60XYvva5tat4G8j+q8 jJwsJM+QNgbyR72b5rZatHSa6bYMH9zYPZ4clLkKLsvG22OLVOfeqrHJ5UR6eoUh2Xhet45cN /k2d3CddWpKGYa7+cqpmCA4xzHssSeyeAwq4Ve1O6OdUwPX9W6vUf1GXtpFkHye5huS5rI++E MgrLtBwPRRYq1NqQSmxcL2VHB33iaK6B4HrKauXaAtcbIRPoOdPVBHrEfDOxgkmjUGebAF7R6 zBfznGbDhqS1Mw/7THad27coM63/E6kW0Q4K4DZqdwjW5EeTfN05UtXfbpti9y9byctbvAWrP /tPDgc3Fexhr/oG7Pj1WUhZTkw0+uvAz5N17kXJL7PNSG3Mi8L70+hyTAdwENvDo3xJ7CLKsM h0UXIBfWlF3Z0NrXJ41weDB/qMmmZd0JBnuEzqC2sgsU1YhgLzkxp1e0t8M0rLgYdyv8Oy2E X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.227.15.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:117178 Archived-At: Will Parsons writes: > I have a desire to use the Unicode character A007 (FIGURE SPACE) in a > document and to be able to distinguish it visually from a regular ASCII > space. This seems to be already done in the case of 00A0 (NO-BREAK > SPACE) which appears as an underscore with a distinctive face. > > It *looks* like I should be able to do this via the customization > option "Whitespace Display Mappings", but no matter what I do, > attempting to "Apply" the changes results in an error message, "This > field should contain a single character". Seems you tried to insert a printed representation of the character? AFAIK you must insert the character. You can achieve this with M-: (insert ?\x2007) for example. Yes, that's not so nice. > Feeling desperate, I copied the existing value of > whitespace-display-mappings directly into my custom.el file, and > manually added a new entry for A007 (8199) on the model of the > existing entry for 00A0 (160), but this seems to have no effect on the > display. If you did it right, note that you must re-enable `whitespace-mode' to give it a chance to update the `buffer-display-table'. That doesn't happen automatically. Michael.