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: Fri, 27 May 2005 14:57:36 +0300 Organization: JURTA Message-ID: <87acmgubin.fsf@jurta.org> References: <87y8a1o9u0.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1117196951 18611 80.91.229.2 (27 May 2005 12:29:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 27 May 2005 12:29:11 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 27 14:29:09 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dbdw1-0002PE-AM for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 14:27:30 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dbe0H-0001Me-Fd for ged-emacs-devel@m.gmane.org; Fri, 27 May 2005 08:31:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dbdqa-00036m-6b for emacs-devel@gnu.org; Fri, 27 May 2005 08:21:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DbdoB-0002P1-Vg for emacs-devel@gnu.org; Fri, 27 May 2005 08:19:24 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dbdmj-0001jR-Cg for emacs-devel@gnu.org; Fri, 27 May 2005 08:17:53 -0400 Original-Received: from [194.126.101.111] (helo=mail.neti.ee) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DbdiR-0004PN-Jq for emacs-devel@gnu.org; Fri, 27 May 2005 08:13:28 -0400 Original-Received: from mail.neti.ee (80-235-33-24-dsl.mus.estpak.ee [80.235.33.24]) by Relayhost1.neti.ee (Postfix) with ESMTP id 1994940A8; Fri, 27 May 2005 15:12:31 +0300 (EEST) Original-To: Stefan Monnier In-Reply-To: <87y8a1o9u0.fsf-monnier+emacs@gnu.org> (Stefan Monnier's message of "Thu, 26 May 2005 19:19:48 -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:37767 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:37767 > In a French locale, C-h T shows the French tutorial which includes > some NBSP chars which are rendered as "\ " as in "m\ emacs\ ". > The \ are clearly undesirable here. This could be fixed by adding `show-nonbreak-escape: nil' to tutorial's file local variables. But I think that adding escape characters before non-breaking spaces and hyphens is undesirable everywhere, even in files where some indication for non-breaking space is desirable. Interspersing the text with backslash characters sometimes makes the text almost unreadable. Also this changes relative positions of text characters and the total line lengths, thus breaking text formatting and truncating right-aligned lines when they become too long after adding \'s on display. A better indication for non-breaking spaces and hyphens is the same as for whitespace highlighting enabled with show-trailing-whitespace, i.e. displaying non-breaking spaces and hyphens in a special face with a non-default background color without adding \. --=20 Juri Linkov http://www.jurta.org/emacs/