emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: should non-breaking space chars act as whitespace for Lisp?


From: David Kastrup
Subject: Re: should non-breaking space chars act as whitespace for Lisp?
Date: Sat, 16 Jun 2007 21:51:57 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Drew Adams" <address@hidden> writes:

> From: Joost Kremers To: address@hidden
> Subject: Re: How to get hours from hh:mm
>
>> >   (let ((timelist (split-string time ":")))
>> > 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 far
> 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 this
> 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.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

[Prev in Thread] Current Thread [Next in Thread]