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 22:42:50 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

"Drew Adams" <address@hidden> 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




reply via email to

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