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 21:51:57 +0200 Message-ID: <85wsy3llsy.fsf@lola.goethe.zz> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1182023564 19820 80.91.229.12 (16 Jun 2007 19:52:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 16 Jun 2007 19:52:44 +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 21:52:43 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 1HzeK8-0007U7-1l for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 21:52:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzeK7-0003RG-Fn for ged-emacs-devel@m.gmane.org; Sat, 16 Jun 2007 15:52:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HzeK4-0003RB-6t for emacs-devel@gnu.org; Sat, 16 Jun 2007 15:52:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HzeK2-0003Qy-63 for emacs-devel@gnu.org; Sat, 16 Jun 2007 15:52:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HzeK2-0003Qv-1K for emacs-devel@gnu.org; Sat, 16 Jun 2007 15:52:34 -0400 Original-Received: from mail-in-10.arcor-online.net ([151.189.21.50]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1HzeK1-0006sF-Hi for emacs-devel@gnu.org; Sat, 16 Jun 2007 15:52:33 -0400 Original-Received: from mail-in-02-z2.arcor-online.net (mail-in-02-z2.arcor-online.net [151.189.8.14]) by mail-in-10.arcor-online.net (Postfix) with ESMTP id 0C12B1F59A8; Sat, 16 Jun 2007 21:52:32 +0200 (CEST) Original-Received: from mail-in-05.arcor-online.net (mail-in-05.arcor-online.net [151.189.21.45]) by mail-in-02-z2.arcor-online.net (Postfix) with ESMTP id E3E461137A1; Sat, 16 Jun 2007 21:52:31 +0200 (CEST) Original-Received: from lola.goethe.zz (dslb-084-061-025-018.pools.arcor-ip.net [84.61.25.18]) by mail-in-05.arcor-online.net (Postfix) with ESMTP id AEDAE1CB718; Sat, 16 Jun 2007 21:52:31 +0200 (CEST) Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 2320B1D0340C; Sat, 16 Jun 2007 21:51:58 +0200 (CEST) In-Reply-To: (Drew Adams's message of "Sat\, 16 Jun 2007 12\:45\:59 -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:73109 Archived-At: "Drew Adams" writes: > From: Joost Kremers To: help-gnu-emacs@gnu.org > Subject: Re: How to get hours from hh:mm > >> > (let=A0((timelist=A0(split-string=A0time=A0":"))) >> > When I dan give M-x getMinutes and on the prompt give: 00:18, I get: >> > Symbol's function definition is void: let >> >> most likely because there's a hard space after let. > > This makes me wonder if hard-space chars shouldn't act as whitespace as f= ar > as Lisp is concerned, as opposed to having symbol syntax (or whatever - I > didn't check this). I don't have an opinion on the matter, but I think th= is > is not the first question of this sort I've seen on help-gnu-emacs: users > are surprised when what they see as whitespace does act as they expect > whitespace to ace. Actually, I would not want to have code riddled with unintended unbreakable spaces (introduced by KNode here, but possible also with other tools) without Lisp complaining. There are enough whitespace-related problems (like trailing space, or tab/space conversions) already without adding more to it. --=20 David Kastrup, Kriemhildstr. 15, 44793 Bochum