From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16177: 24.3.50; Display glyphs for hard spaces in color Date: Tue, 17 Dec 2013 07:31:01 -0800 (PST) Message-ID: <687ef89d-6a1d-4630-b596-682513eed4ea@default> References: <86y53j1sq9.fsf@somewhere.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1387295377 16824 80.91.229.3 (17 Dec 2013 15:49:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 17 Dec 2013 15:49:37 +0000 (UTC) To: Sebastien Vauban , 16177@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Dec 17 16:49:43 2013 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Vswtx-0002jz-Vr for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 16:49:42 +0100 Original-Received: from localhost ([::1]:34067 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vswtx-0004Z1-IV for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 Dec 2013 10:49:41 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58737) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vswd0-0002CC-Cv for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 10:32:17 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Vswcs-0002mB-Pk for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 10:32:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:41899) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Vswcs-0002m7-Me for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 10:32:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Vswcs-0005Fk-Dg for bug-gnu-emacs@gnu.org; Tue, 17 Dec 2013 10:32:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Dec 2013 15:32:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16177 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16177-submit@debbugs.gnu.org id=B16177.138729426820099 (code B ref 16177); Tue, 17 Dec 2013 15:32:02 +0000 Original-Received: (at 16177) by debbugs.gnu.org; 17 Dec 2013 15:31:08 +0000 Original-Received: from localhost ([127.0.0.1]:55916 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vswc0-0005E7-1Z for submit@debbugs.gnu.org; Tue, 17 Dec 2013 10:31:08 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:26367) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Vswbx-0005Dy-IF for 16177@debbugs.gnu.org; Tue, 17 Dec 2013 10:31:06 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBHFV36K011216 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Tue, 17 Dec 2013 15:31:04 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBHFV2o3002971 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 17 Dec 2013 15:31:02 GMT Original-Received: from abhmp0006.oracle.com (abhmp0006.oracle.com [141.146.116.12]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBHFV2Cm002960; Tue, 17 Dec 2013 15:31:02 GMT In-Reply-To: <86y53j1sq9.fsf@somewhere.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:82127 Archived-At: FWIW - http://www.emacswiki.org/emacs-en/download/highlight-chars.el http://www.emacswiki.org/emacs/ShowWhiteSpace#toc2 >From the Commentary, this description of what vanilla Emacs offers: ;; Vanilla Emacs can itself highlight hard spaces and hard hyphens, ;; and it does so whenever `nobreak-char-display' is non-nil, which it ;; is by default. By "hard" space and hyphen I mean "no-break" or ;; non-breaking. These are the non-ASCII Unicode characters with code ;; points 160 (#xa0) and 8209 (#x2011), respectively. ;; ;; This low-level vanilla Emacs highlighting does not use Font Lock ;; mode, and it cannot highlight only one of these characters and not ;; the other. ;; ;; See standard library `whitespace.el' for other ways to highlight ;; whitespace characters. It does some things similar to what ;; `highlight-chars.el' does, plus other, unrelated things. As its ;; name suggests, its effects are limited to whitespace characters. ;; It is also somewhat complicated to use (10 faces, 24 options!)... ;; ;; Besides being simpler, I think that `highlight-chars.el' has an ;; advantage of letting you easily highlight ONLY particular ;; whitespace characters. `whitespace.el' apparently makes you pick ;; whether to highlight spaces and hard spaces together, or not, for ;; instance.