all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: emacs-devel@gnu.org
Subject: Re: Why does "non-breaking space" have syntax "punctuation"?
Date: Mon, 13 Aug 2018 17:32:05 +0300	[thread overview]
Message-ID: <83tvnyjq1m.fsf@gnu.org> (raw)
In-Reply-To: <874lfyhb4z.fsf@mbork.pl> (message from Marcin Borkowski on Mon,  13 Aug 2018 11:24:44 +0200)

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



  reply	other threads:[~2018-08-13 14:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2018-08-13 16:16           ` Marcin Borkowski

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83tvnyjq1m.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=mbork@mbork.pl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.