* Why does "non-breaking space" have syntax "punctuation"?
@ 2018-08-12 20:05 Marcin Borkowski
2018-08-13 2:27 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2018-08-12 20:05 UTC (permalink / raw)
To: Emacs developers
Hi all,
I'd report a bug, but I'd like to ask here first - maybe it's by design?
Best,
--
Marcin Borkowski
http://mbork.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-12 20:05 Why does "non-breaking space" have syntax "punctuation"? Marcin Borkowski
@ 2018-08-13 2:27 ` Eli Zaretskii
2018-08-13 5:26 ` Marcin Borkowski
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2018-08-13 2:27 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: emacs-devel
> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Sun, 12 Aug 2018 22:05:12 +0200
>
> I'd report a bug, but I'd like to ask here first - maybe it's by design?
What syntax did you expect it to have?
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-13 2:27 ` Eli Zaretskii
@ 2018-08-13 5:26 ` Marcin Borkowski
2018-08-13 6:59 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2018-08-13 5:26 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On 2018-08-13, at 04:27, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Sun, 12 Aug 2018 22:05:12 +0200
>>
>> I'd report a bug, but I'd like to ask here first - maybe it's by design?
>
> What syntax did you expect it to have?
Whitespace, of course. What else?
Best,
--
Marcin Borkowski
http://mbork.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-13 5:26 ` Marcin Borkowski
@ 2018-08-13 6:59 ` Eli Zaretskii
2018-08-13 9:24 ` Marcin Borkowski
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2018-08-13 6:59 UTC (permalink / raw)
To: emacs-devel, Marcin Borkowski
On August 13, 2018 8:26:19 AM GMT+03:00, Marcin Borkowski <mbork@mbork.pl> wrote:
>
> On 2018-08-13, at 04:27, Eli Zaretskii <eliz@gnu.org> wrote:
>
> >> From: Marcin Borkowski <mbork@mbork.pl>
> >> Date: Sun, 12 Aug 2018 22:05:12 +0200
> >>
> >> I'd report a bug, but I'd like to ask here first - maybe it's by
> design?
> >
> > What syntax did you expect it to have?
>
> Whitespace, of course. What else?
>
> Best,
See the comment on line 524 of characters.el.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-13 6:59 ` Eli Zaretskii
@ 2018-08-13 9:24 ` Marcin Borkowski
2018-08-13 14:32 ` Eli Zaretskii
0 siblings, 1 reply; 7+ messages in thread
From: Marcin Borkowski @ 2018-08-13 9:24 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On 2018-08-13, at 08:59, Eli Zaretskii <eliz@gnu.org> wrote:
> On August 13, 2018 8:26:19 AM GMT+03:00, Marcin Borkowski <mbork@mbork.pl> wrote:
>>
>> On 2018-08-13, at 04:27, Eli Zaretskii <eliz@gnu.org> wrote:
>>
>> >> From: Marcin Borkowski <mbork@mbork.pl>
>> >> Date: Sun, 12 Aug 2018 22:05:12 +0200
>> >>
>> >> I'd report a bug, but I'd like to ask here first - maybe it's by
>> design?
>> >
>> > What syntax did you expect it to have?
>>
>> Whitespace, of course. What else?
>>
>> Best,
>
> See the comment on line 524 of characters.el.
Thanks, so I know that it's by design. Now the question is: _why_?
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:]].
Best,
--
Marcin Borkowski
http://mbork.pl
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-13 9:24 ` Marcin Borkowski
@ 2018-08-13 14:32 ` Eli Zaretskii
2018-08-13 16:16 ` Marcin Borkowski
0 siblings, 1 reply; 7+ messages in thread
From: Eli Zaretskii @ 2018-08-13 14:32 UTC (permalink / raw)
To: Marcin Borkowski; +Cc: emacs-devel
> From: Marcin Borkowski <mbork@mbork.pl>
> Date: Mon, 13 Aug 2018 11:24:44 +0200
> Cc: emacs-devel@gnu.org
>
> > 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.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: Why does "non-breaking space" have syntax "punctuation"?
2018-08-13 14:32 ` Eli Zaretskii
@ 2018-08-13 16:16 ` Marcin Borkowski
0 siblings, 0 replies; 7+ messages in thread
From: Marcin Borkowski @ 2018-08-13 16:16 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: emacs-devel
On 2018-08-13, at 16:32, Eli Zaretskii <eliz@gnu.org> wrote:
>> From: Marcin Borkowski <mbork@mbork.pl>
>> Date: Mon, 13 Aug 2018 11:24:44 +0200
>> Cc: emacs-devel@gnu.org
>>
>> > 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
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2018-08-13 16:16 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-12 20:05 Why does "non-breaking space" have syntax "punctuation"? Marcin Borkowski
2018-08-13 2:27 ` Eli Zaretskii
2018-08-13 5:26 ` Marcin Borkowski
2018-08-13 6:59 ` Eli Zaretskii
2018-08-13 9:24 ` Marcin Borkowski
2018-08-13 14:32 ` Eli Zaretskii
2018-08-13 16:16 ` Marcin Borkowski
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.