From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: non-break-space in tutorial Date: Mon, 06 Jun 2005 10:07:31 -0400 Message-ID: <87psuzlh05.fsf-monnier+emacs@gnu.org> References: <87y8a1o9u0.fsf-monnier+emacs@gnu.org> <87acmgubin.fsf@jurta.org> <87ll5yqbya.fsf@jurta.org> <87mzq3r70q.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 1118069863 4686 80.91.229.2 (6 Jun 2005 14:57:43 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Jun 2005 14:57:43 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jun 06 16:57:40 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DfIzm-0001jj-9i for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 16:54:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfJ66-0002aI-Dc for ged-emacs-devel@m.gmane.org; Mon, 06 Jun 2005 11:01:02 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DfIu5-0006UG-Ab for emacs-devel@gnu.org; Mon, 06 Jun 2005 10:48:37 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DfIu4-0006Tq-Gv for emacs-devel@gnu.org; Mon, 06 Jun 2005 10:48:36 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DfInq-0004Nt-2b for emacs-devel@gnu.org; Mon, 06 Jun 2005 10:42:10 -0400 Original-Received: from [209.226.175.4] (helo=tomts16-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DfIJT-0001zL-7P for emacs-devel@gnu.org; Mon, 06 Jun 2005 10:10:47 -0400 Original-Received: from alfajor ([67.71.116.59]) by tomts16-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050606140732.TLGI27508.tomts16-srv.bellnexxia.net@alfajor>; Mon, 6 Jun 2005 10:07:32 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id E2D3AD7339; Mon, 6 Jun 2005 10:07:31 -0400 (EDT) Original-To: Juri Linkov In-Reply-To: <87mzq3r70q.fsf@jurta.org> (Juri Linkov's message of "Mon, 06 Jun 2005 15:52:29 +0300") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:38182 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:38182 > 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. When displaying text where NBSP are a completely normal occurrence (e.g. email), there should be no special highlighting whatsoever, but inheriting from the default face won't do that because it removes the hilighting globally (also, inheriting from default is probably not what you want to do, instead you want to set all fields to nil). I.e. as long as we don't have buffer-local face-specs show-non-break is necessary. > PS: I also changed NBSP with space in remaining tutorial files. > This shows that accidentally typed NBSP is quite a common case. AFAICT, the NBSP in the French tutorial were not accidental. Stefan PS: Hopefully you've replaced the uses of show-nonbreak-escape with uses of show-non-break.