From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Miles Bader Newsgroups: gmane.emacs.devel Subject: Re: Latin-1 non breaking space not highlighted Date: 19 Apr 2002 23:07:39 +0900 Sender: emacs-devel-admin@gnu.org Message-ID: <87k7r3u6hg.fsf@tc-1-100.kawasaki.gol.ne.jp> References: <200204190155.KAA08907@etlken.m17n.org> <200204191355.g3JDtBs09265@rum.cs.yale.edu> Reply-To: Miles Bader NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1019257422 29121 127.0.0.1 (19 Apr 2002 23:03:42 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 19 Apr 2002 23:03:42 +0000 (UTC) Cc: Kenichi Handa , eliz@is.elta.co.il, rms@gnu.org, ulrich@a0.complang.tuwien.ac.at, emacs-devel@gnu.org Return-path: Original-Received: from quimby.gnus.org ([80.91.224.244]) by main.gmane.org with esmtp (Exim 3.33 #1 (Debian)) id 16yhPq-0007Za-00 for ; Sat, 20 Apr 2002 01:03:42 +0200 Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby.gnus.org with esmtp (Exim 3.12 #1 (Debian)) id 16yhjP-0004Yi-00 for ; Sat, 20 Apr 2002 01:23:55 +0200 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.34 #1 (Debian)) id 16yhPM-0002Cx-00; Fri, 19 Apr 2002 19:03:12 -0400 Original-Received: from smtp02.fields.gol.com ([203.216.5.132]) by fencepost.gnu.org with smtp (Exim 3.34 #1 (Debian)) id 16yhNx-0002BI-00; Fri, 19 Apr 2002 19:01:45 -0400 Original-Received: from tc-2-253.kawasaki.gol.ne.jp ([203.216.25.253] helo=tc-1-100.kawasaki.gol.ne.jp) by smtp02.fields.gol.com with esmtp (Magnetic Fields) id 16yhNu-0002TB-00; Sat, 20 Apr 2002 08:01:43 +0900 Original-Received: by tc-1-100.kawasaki.gol.ne.jp (Postfix, from userid 1000) id 786093075; Fri, 19 Apr 2002 23:07:39 +0900 (JST) Original-To: "Stefan Monnier" System-Type: i686-pc-linux-gnu In-Reply-To: <200204191355.g3JDtBs09265@rum.cs.yale.edu> Original-Lines: 19 X-Abuse-Complaints: abuse@gol.com Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.9 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.devel:2814 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:2814 "Stefan Monnier" writes: > We really just need a table somewhere that tells us what is whitespace > and what isn't. Currently I think there are two such tables, one is > the standard-syntax-table, the other is the ` ' category. Actually, > I [:space:] and [:blank:] are two more, but [:space:] relies on the > buffer-local syntax-table (i.e. not good, although it's not that bad > since it only uses it for non-ASCII chars, IIRC) and [:blank:] only > matches ASCII chars (i.e. not good either). To be honest, given my understanding of how `show-trailing-whitespace' is intended to be used, Kenichi's suggestions seems much better -- it's consistent, simple, and robust (thought I don't know how simple it would be to implement). Can you think of a (real) case where it _wouldn't_ suffice? -Miles -- `Life is a boundless sea of bitterness'