From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: should non-breaking space chars act as whitespace for Lisp? Date: Sat, 16 Jun 2007 22:42:50 +0200 Message-ID: <85sl8rljg5.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1182026614 27834 80.91.229.12 (16 Jun 2007 20:43:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 20:43:34 +0000 (UTC) Cc: Emacs-Devel To: "Drew Adams" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Jun 16 22:43:32 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Hzf7M-0006h2-Cz for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 22:43:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzf7L-0006YM-Qj for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 16:43:31 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Hzf7J-0006YG-BM for emacs-devel@gnu.org; Sat, 16 Jun 2007 16:43:29 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Hzf7I-0006Y4-Uo for emacs-devel@gnu.org; Sat, 16 Jun 2007 16:43:29 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Hzf7I-0006Y1-NW for emacs-devel@gnu.org; Sat, 16 Jun 2007 16:43:28 -0400 Original-Received: from mail-in-12.arcor-online.net ([151.189.21.52]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Hzf7I-0008Vo-AK for emacs-devel@gnu.org; Sat, 16 Jun 2007 16:43:28 -0400 Original-Received: from mail-in-01-z2.arcor-online.net (mail-in-05-z2.arcor-online.net [151.189.8.17]) by mail-in-12.arcor-online.net (Postfix) with ESMTP id B2FE46432C; Sat, 16 Jun 2007 22:43:26 +0200 (CEST) Original-Received: from mail-in-09.arcor-online.net (mail-in-09.arcor-online.net [151.189.21.49]) by mail-in-01-z2.arcor-online.net (Postfix) with ESMTP id A339B2DA969; Sat, 16 Jun 2007 22:43:26 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-025-018.pools.arcor-ip.net [84.61.25.18]) by mail-in-09.arcor-online.net (Postfix) with ESMTP id 6D7583BE21; Sat, 16 Jun 2007 22:43:26 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 9BE5C1D0340C; Sat, 16 Jun 2007 22:42:51 +0200 (CEST) In-Reply-To: (Drew Adams's message of "Sat\, 16 Jun 2007 13\:32\:49 -0700") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux) X-detected-kernel: Linux 2.4-2.6 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:73116 Archived-At: "Drew Adams" writes: > We should be able to find some way to make things clear to a user > that s?he needs to convert nonbreakable spaces to spaces, or else we > should treat nonbreakable spaces as whitespace for Lisp code. I > don't have a strong opinion about the solution, but I think a > problem has been pointed out to which we should find a good > solution. If we treat nonbreakable spaces as whitespace when people cut&paste from something like KNode, this means that the mangling of spaces will go unnoticed. Since they can occur not only in code itself but also in strings and character constants, this is an excessively bad idea. It is better when the code breaks completely rather than when it works superficially, but delivers different results. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum