From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.devel Subject: Re: non-break-space in tutorial Date: Mon, 06 Jun 2005 15:52:29 +0300 Organization: JURTA Message-ID: <87mzq3r70q.fsf@jurta.org> References: <87y8a1o9u0.fsf-monnier+emacs@gnu.org> <87acmgubin.fsf@jurta.org> <87ll5yqbya.fsf@jurta.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1118062966 11644 80.91.229.2 (6 Jun 2005 13:02:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2005 13:02:46 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 06 15:02:38 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfHDf-0006qP-JJ for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 15:00:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfHJy-0003un-K0 for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 09:07:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfHE8-0001CF-8Q for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:01:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfHE2-0001B4-Fo for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:01:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfHDx-000198-Ku for emacs-devel@gnu.org; Mon, 06 Jun 2005 09:01:02 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfHBy-0003H2-3W for emacs-devel@gnu.org; Mon, 06 Jun 2005 08:58:58 -0400 Original-Received: from mail.neti.ee (80-235-41-238-dsl.mus.estpak.ee [80.235.41.238]) by Relayhost2.neti.ee (Postfix) with ESMTP id 2285A5A95 for ; Mon, 6 Jun 2005 15:55:42 +0300 (EEST) Original-To: emacs-devel@gnu.org In-Reply-To: (Richard Stallman's message of "Tue, 31 May 2005 00:18:16 -0400") User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux) X-Virus-Scanned: by amavisd-new-2.2.1 (20041222) (Debian) at neti.ee X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:38170 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38170 With all opinions taken into account I installed a patch, so all people can try it. A new special face was added for highlighting non-breaking spaces. By default, it uses the underline attribute. Underline appropriately represents the meaning of non-breaking space in a similar way as underscore character is used in some programming language identifiers, and it is less annoying than an additional backslash. The color of underline is not loud but still distinguishable from the default foreground color. I believe this is a good solution. After a testing period (say, 1 week) I could remove the variable `show-non-break'. There seems to be no need for this variable since highlighting can be disabled by inheriting `no-break-space' face from the default face. PS: I also changed NBSP with space in remaining tutorial files. This shows that accidentally typed NBSP is quite a common case. -- Juri Linkov http://www.jurta.org/emacs/