From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nick Helm Newsgroups: gmane.emacs.help Subject: Re: Making a non-ASCII space character visible Date: Tue, 19 Jun 2018 14:30:44 +1200 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1529379194 26700 195.159.176.226 (19 Jun 2018 03:33:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Jun 2018 03:33:14 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (darwin) 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 Tue Jun 19 05:33:10 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 1fV7OG-0006nW-ML for geh-help-gnu-emacs@m.gmane.org; Tue, 19 Jun 2018 05:33:08 +0200 Original-Received: from localhost ([::1]:39106 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV7QL-00042b-R2 for geh-help-gnu-emacs@m.gmane.org; Mon, 18 Jun 2018 23:35:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56172) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fV6Q7-0003SI-9O for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 22:31:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fV6Q3-0002vE-TI for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 22:30:59 -0400 Original-Received: from mail-me1aus01on0114.outbound.protection.outlook.com ([104.47.116.114]:63216 helo=AUS01-ME1-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1fV6Q3-0002rV-8x for help-gnu-emacs@gnu.org; Mon, 18 Jun 2018 22:30:55 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=tenpointcomms.onmicrosoft.com; s=selector1-tenpoint-co-nz; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DEnqUr0AFlWBzVJcTConEvISfQFAoXRr0/FVtVHm1yA=; b=k1GUs/RmCjYPA0EWXPRp47q+bSH8tzoWgimLEQKyu8L+abQiiUgcYrX3PXkLLeDJw8O11h3n9DB8f0PqL6sV0H8jeBuea/1QV3TfFCEbwyCsEEk/07YN5soTvnqXqifFb7DS6s7aSbiNsoSZje85MQd6eC/O0AlgyhklvdjWxfc= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=nick@tenpoint.co.nz; Original-Received: from oberon.local (125.239.171.29) by ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.863.15; Tue, 19 Jun 2018 02:30:48 +0000 In-Reply-To: (Will Parsons's message of "Mon, 18 Jun 2018 20:12:29 -0400") X-Originating-IP: [125.239.171.29] X-ClientProxiedBy: SY2PR01CA0026.ausprd01.prod.outlook.com (2603:10c6:1:15::14) To ME2PR01MB2899.ausprd01.prod.outlook.com (2603:10c6:201:22::16) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 222e0e5d-7103-44ed-2dad-08d5d58cab3c X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(7021125)(4534165)(7022125)(4603075)(4627221)(201702281549075)(7048125)(7024125)(7027125)(7028125)(7023125)(5600026)(711020)(2017052603328)(7153060)(7193020); SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 3:SlYfSofcIshHsd3VsTe8djOWf9I6w08QjhWaYbXxuEASTSb1/5WCnnNLRAWtB52F3lfD74LBlcjSUqEhb7FNq5rg1s9ie4UjA4xIYoelcXNE2/uydRgMAc0FzNeI6phvo6Jam26/e6zl/NOGos6L2cr2NO6LLUXtdLb0P33TOanj7EVcAn5NzXxcYdlZEwzHfqizq06QMj1+pcRtOHhCkC3Uww9bVEqTY1KBtPLQLTJ1nxsscJF/Tf06ahoJHA0p; 25:NrpMFQhSy9iqvc1eJ+CR55yoO/cQ0ifaXxJTPn33cbrDAXG+D9Ulqrkq6FLek5p0W0bU0OGC9RDPzDnZVlypcjUA47SZRhdbj4CWJkI/EfOgfXaipx2Qgc0fg3RrY03DSy6TxdGRhKu/De7MZwOO0MkZylxDfF6yfzW487vdp1hkBH5j9vG6QxOsxUKcPvIfaXmScZAVVMvXDZ5nxp5znsf+Wx4SfDoOBbbIqq/6WBLR5shdwdwdqFgRw59ag42ElgH9h9KX5AyEmqhLrPmcvazho68+g7pBSFu+VvychJAXA1ji4SJA5kKtPIQB/jEX5RzSJTr/1FOHi+QktwuFcA==; 31:hxU1ECbn6jtknJvdV+EwyReoSsVHM1S4mn1xisAWy/ggQXsbcb4ZWKlqfyEF/si6EnanRMyEvWIyqwbpwrQF34ppVIPZpWbTd+Zbp351jnTBeDkG0senFFaG7eTrz5S8XrUC2JFsGMPxBNrzG5aDIYpcz3yAu6+uAVrvsZA2hMIGID9Ucpa0/eKJoDXJlqYAu3jUGAOYvcBUKBodlz2YR4eGhYNx9G70D3VMVROzy X-MS-TrafficTypeDiagnostic: ME2PR01MB2899: X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:; X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(6040522)(2401047)(8121501046)(5005006)(3231254)(944501410)(52105095)(93006095)(93001095)(10201501046)(3002001)(149027)(150027)(6041310)(20161123560045)(2016111802025)(20161123562045)(20161123558120)(20161123564045)(6043046)(6072148)(201708071742011)(7699016); SRVR:ME2PR01MB2899; BCL:0; PCL:0; RULEID:; SRVR:ME2PR01MB2899; X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 4:5sYC2hWt6un6184OTnaprxBA67Pp+NHmp9GmKp60lkBQliaC/O/3KH6+T1TAA6Adw39cbsoBtoDHzYyjgxARUkhHMyTAiN9731s8yzD3bB8mUFWS0TxswG6Fd6HXSVzCi4vo/cywdNRprcQTVlhey820BOudo8Vois38r3wangfk0wYmBOv0tu3GR6j3ZTJtSN7bXhUJniPHp+87k0OwRms8Pp2hQQtaJHuf5UKThYi3Z12JXU0SJIDF8oEAFi5oaXfY5eNjMWVsFU74I42rvA== X-Forefront-PRVS: 07083FF734 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10019020)(366004)(39830400003)(346002)(376002)(396003)(39380400002)(189003)(199004)(6506007)(48376002)(16526019)(86362001)(5660300001)(93886005)(74482002)(2361001)(2351001)(6512007)(36756003)(478600001)(52116002)(386003)(186003)(26005)(51416003)(8936002)(2906002)(97736004)(76176011)(446003)(316002)(25786009)(16586007)(58126008)(2616005)(68736007)(956004)(486006)(305945005)(7736002)(4326008)(81156014)(81166006)(229853002)(8676002)(6246003)(11346002)(39060400002)(53936002)(6666003)(105586002)(50466002)(6116002)(3846002)(6916009)(106356001)(47776003)(66066001)(476003)(6486002); DIR:OUT; SFP:1102; SCL:1; SRVR:ME2PR01MB2899; H:oberon.local; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: tenpoint.co.nz does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; ME2PR01MB2899; 23:Vzp7qoRkLTATaiyf4eVbHv8xJ5CJiFp+vrdLV12Wf?= =?us-ascii?Q?DLh7K31dkkTJJIkvuK9mzSInpsojGK2p9SDOLQsmxhPiOuCMLg7f6fbN9nfM?= =?us-ascii?Q?2jhrgDjsL8iAWsMyn5gBkGw85agpEcgmdcx8O/6TDLOPmW5k7bptDi/VLBQq?= =?us-ascii?Q?ijqXhdRh45MjoFKX4qj1M+eZavW9cwVTAafgz5AwVwq2Tv8BCiLAWFOA1bFT?= =?us-ascii?Q?vGNqcCD9M6l1k72ZZ88DiHxWulUnXkdL0A+SbuSNJTiYKGgL/+o745t4uZOp?= =?us-ascii?Q?z5zd/5/1ribKhRGTyQtianBq+7k6dCwfsrD/25JfSLbhf/yzodfd4c9LU/rn?= =?us-ascii?Q?1ztILz4hOryngJIfp/Vhu9+xwtJOtno03HMw0nrXJhduvtlBJb17mLYSTIuR?= =?us-ascii?Q?EXP8n/zTRncvsoNZSOscIRfTxHeIeV6mbM4W7y/kLs71FPyHNGMpo2H17c7f?= =?us-ascii?Q?iIXn+UNnyOw0SBkGI0vAolLFBT6X7ZBVY0A03TRtGDQ1L7O8jkX8nxfoHwV+?= =?us-ascii?Q?+cuqg3dBIpnXjQ6BGATfEmO5a6sgAMQVjucZoq7hnxP5uh0rLB9WMPpIAf7V?= =?us-ascii?Q?WZp/RILyn8ioOypuGNLgjQXtEhCtGTiEwvGf7D+Y88u9BOpN+/DOCklxdh7C?= =?us-ascii?Q?wNG X-Microsoft-Antispam-Message-Info: yGc2V3A+YtHAoaJMx+osvaAgF/aOTUoTEwm0Rq9L3OTGlamOf9dpAVB0pZNhk9EqDl5dJvycQOABrTj6aQryWSuB4WYuY58YxkfF38dn8zcEkmyfBRnMryR2oIXyWe4S1L7u28sPKisLgXwpmQI/s4bunU331tRfh5bfn3IZ6dSS8uU5Mb88F0qkf0ivwNNa7zj9sPYC6oMpRb8EXazq3k5JgOmu445j4c6lvFmMP88hQ0u0BFHoIw9cGdgG05x5chKvfNaEx0cBc6HfLEmhSPk3rsT0vTlxUA1W/h3dMXTPbMoJua56+od2Ww+/RD65qxPDFrVToSRGyE0jnWUaTA== X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 6:NbGhudEN6bLC0LFwDOA+Ue5wXtUNqfkhzmMs5xvkhjLSupkEPTl2tPio9FCVHZ2QRpwessizFgtKaal7BQQNUeJnC1t3xOCUjnsm2GC6RMbLFnzJd1zUw6xP4gengCaTHxivpsYwgESOOnxQzyc2I2T+y8hZmm29kvgsCrj+JX+o5QgPmcmI30p3Ip4VpAPq/kUBO4DlaMiOqk+I/NZUtVPz56AzBVaJ+IG1QUxy+lpECUO3jly2i9it4E0uqmhayacU7+tbGMFsHUB2o4lBmxp/ETrE7IVSuWDVTkNWid9Y919KOSfvQW2aaehkibbiBNhajZPu/HRRBThfvnZErAB38hyvjiphysC6JCS4291eWWt8Jhug2wfVE/EzvJb1VZPROk96GVNXkIMTCN100kcvkf2xbB6hSnvbH/sobMFf5HmwZaA6VS9TNBb8EFj2c6hUE6TIyASCUBlTORWfeQ==; 5:21/RtgJzOhDuB9kfgv+1rs/g+JdqObTQTJo1PmSRNzHnGH1RF2vqIW6JnY7HwkecRVBUuQ5q6CziaA4BCbYwuogGmuVjPYF3NMrvV6OqpGkkEz7XyEDE+IBJnV7IdzGC2wXeIdkqL00m6xUBZkUybv4pwJbhprxA8InK/ECJJGY=; 24:rVy/e6WN5tTRLQXMLUAWn26T6G4QWaNNgQ6y/3cThSTOwAt0QfWCAcdmpvLd3jyDuML/W5O+6MjzVx0q1mrGfxnZ+PCEcos9eeMGdAiJNsE= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; ME2PR01MB2899; 7:4C4b5HP4wDUa//Sfl8u52gII1hrAbRwkA962Rl5ofq2mKIJVLROxnsgO7w63oz/az7lEYatCzL9ZS+Bb6AZ0XpD6JJGr6Czv9zdhzsWLUxfXIBZyYZtZAxjvWg9LdGTOTJTb4Crrf3pUA29bA6N8kqbs0xli3czICs4QtxeqLHeXEs81zwjFpLCff+WFVzfdEwRXAQ9CDBQv0oRb59zzAsE9S28WcHhWLQLRmF6XR834BPo3r1Ws7ImUKPz3PWQN X-OriginatorOrg: tenpoint.co.nz X-MS-Exchange-CrossTenant-OriginalArrivalTime: 19 Jun 2018 02:30:48.5236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 222e0e5d-7103-44ed-2dad-08d5d58cab3c X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: ed686f26-19e8-407b-91d0-7364c1c6f5cf X-MS-Exchange-Transport-CrossTenantHeadersStamped: ME2PR01MB2899 X-detected-operating-system: by eggs.gnu.org: Windows 7 or 8 [fuzzy] X-Received-From: 104.47.116.114 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:117209 Archived-At: On Tue, 19 Jun 2018 at 12:12:29 +1200, Will Parsons wrote: > OK - I have now modified my .emacs file to have the following lines: > > ------- > (setq whitespace-display-mappings '((space-mark 32 [183] [46]) > (space-mark 160 [164] [95]) > (space-mark 8199 [164] [95]) > (newline-mark 10 [36 10]) > (tab-mark 9 [187 9] [92 9]))) > (global-whitespace-mode 1) > (setq-default whitespace-style '(face lines-tail tabs trailing)) > ------- > > I have removed the setting of whitespace-display-mappings that I had > previously manually introduced to custom.el, and the only other > setting that appears to reference whitespace is the setting > > (whitespace-tab ((t (:background "#081820" :foreground "darkgray"))) > > in my custom.el file, which I have now removed. > > Unfortunately, after making these changes, and having restarted Emacs, > there is still no change to the display of u+2007. This looks good, just a couple more things to tweak. You need to turn on visualising of space characters by adding "space-mark" to whitespace-style: (setq-default whitespace-style '(face lines-tail space-mark tabs trailing)) This variable tells whitespace-mode and global-whitespace-mode which classes of chars you want to visualise when one of the modes is active. The space-mark entry tells Emacs to visualise the various space-mark chars you set up with whitespace-display-mappings, in partiuclar your new entry for FIGURE SPACEs. The only other thing is don't forget to put the expressions that set the configuration variables (the setqs) before you active the mode, something like this: (setq whitespace-display-mappings '((space-mark 32 [183] [46]) (space-mark 160 [164] [95]) (space-mark 8199 [164] [95]) (newline-mark 10 [36 10]) (tab-mark 9 [187 9] [92 9]))) (setq-default whitespace-style '(face lines-tail space-mark tabs trailing)) (global-whitespace-mode 1) Try this in your ~/.emacs, cross fingers and restart Emacs.