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: Eli Zaretskii
Subject: Re: Why does "non-breaking space" have syntax "punctuation"?
Date: Mon, 13 Aug 2018 17:32:05 +0300

> 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.



reply via email to

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