From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Drew Adams" Newsgroups: gmane.emacs.help Subject: RE: Display of no break spaces Date: Thu, 3 Jan 2013 08:00:31 -0800 Message-ID: References: <8638yipftx.fsf@free.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1357228960 16890 80.91.229.3 (3 Jan 2013 16:02:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Jan 2013 16:02:40 +0000 (UTC) To: , Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Jan 03 17:02:57 2013 Return-path: Envelope-to: geh-help-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 1TqnFw-00040u-Hz for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 17:02:56 +0100 Original-Received: from localhost ([::1]:34745 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqnFh-0006YE-Fy for geh-help-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 11:02:41 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:37270) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqnDy-0005up-FM for help-gnu-emacs@gnu.org; Thu, 03 Jan 2013 11:00:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqnDr-00084s-C3 for help-gnu-emacs@gnu.org; Thu, 03 Jan 2013 11:00:54 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:17248) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqnDr-00083J-3W for help-gnu-emacs@gnu.org; Thu, 03 Jan 2013 11:00:47 -0500 Original-Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by userp1040.oracle.com (Sentrion-MTA-4.2.2/Sentrion-MTA-4.2.2) with ESMTP id r03G0fLY021487 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Thu, 3 Jan 2013 16:00:41 GMT Original-Received: from acsmt358.oracle.com (acsmt358.oracle.com [141.146.40.158]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id r03G0eKt012658 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jan 2013 16:00:40 GMT Original-Received: from abhmt117.oracle.com (abhmt117.oracle.com [141.146.116.69]) by acsmt358.oracle.com (8.12.11.20060308/8.12.11) with ESMTP id r03G0agr013669; Thu, 3 Jan 2013 10:00:37 -0600 Original-Received: from dradamslap1 (/10.159.236.214) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 03 Jan 2013 08:00:36 -0800 X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <8638yipftx.fsf@free.fr> Thread-Index: Ac3ptRErlmydiBNLSxaAagtp8G0VnwAFOlaw X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.6157 X-Source-IP: acsinet22.oracle.com [141.146.126.238] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88411 Archived-At: > I don't understand the mechanism used to display no break > spaces. The character is displayed as a big box with what looks > like small numbers inside. That means it is a character that your current font cannot display as the character itself. The display indicates its Unicode code. > I don't understand why the no break space is displayed using link > face. What can I do to change the way it is displayed? When `nobreak-char-display' is non-nil, Emacs shows nobreak spaces using face `nobreak-space', which inherits from face `escape-glyph'. Dunno why it says it uses face `link' - perhaps something else is also kicking in here (e.g. it is part of a link). Option `nobreak-char-display' turns highlighting on/off for both nobreak spaces and nobreak hyphens - they are inseparable wrt this highlighting. For better control over highlighting of these (and any other) characters, try library `highlight-chars.el'. overview: http://emacswiki.org/emacs/ShowWhiteSpace#HighlightChars code: http://www.emacswiki.org/emacs-en/download/highlight-chars.el