emacs-devel
[Top][All Lists]
Advanced

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

Re: Why does "non-breaking space" have syntax "punctuation"?


From: Marcin Borkowski
Subject: Re: Why does "non-breaking space" have syntax "punctuation"?
Date: Mon, 13 Aug 2018 18:16:02 +0200
User-agent: mu4e 1.1.0; emacs 27.0.50

On 2018-08-13, at 16:32, Eli Zaretskii <address@hidden> wrote:

>> From: Marcin Borkowski <address@hidden>
>> Date: Mon, 13 Aug 2018 11:24:44 +0200
>> Cc: address@hidden
>> 
>> > See the comment on line 524 of characters.el.
>> 
>> Thanks, so I know that it's by design.  Now the question is: _why_?
>
> Well, for starters, I think if NBSP had whitespace syntax, the various
> fill commands would break lines on NBSP, which is not what we want.
>
>> Use case: when writing in a natural language and searching for e.g. two
>> words which might or might not have a nbsp between them, it would be
>> intuitive/nice to be able to say [[:space:]].
>
> I think you want [:blank:] instead.

Wow, I had no idea that existed!  Thanks!

Best,

-- 
Marcin Borkowski
http://mbork.pl



reply via email to

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