From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Marcin Borkowski Newsgroups: gmane.emacs.devel Subject: Re: Why does "non-breaking space" have syntax "punctuation"? Date: Mon, 13 Aug 2018 18:16:02 +0200 Message-ID: <8736vigs3h.fsf@mbork.pl> References: <878t5bgxl3.fsf@mbork.pl> <83va8fj90d.fsf@gnu.org> <87600ehm6c.fsf@mbork.pl> <9CF1B075-1B4A-4C56-BB81-B305A887876A@gnu.org> <874lfyhb4z.fsf@mbork.pl> <83tvnyjq1m.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534176914 28619 195.159.176.226 (13 Aug 2018 16:15:14 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2018 16:15:14 +0000 (UTC) User-Agent: mu4e 1.1.0; emacs 27.0.50 Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 18:15:09 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpFUq-0007K0-Pm for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 18:15:08 +0200 Original-Received: from localhost ([::1]:40334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpFWx-0001Qt-3S for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 12:17:19 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpFWq-0001QZ-DY for emacs-devel@gnu.org; Mon, 13 Aug 2018 12:17:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpFWp-0005IH-FE for emacs-devel@gnu.org; Mon, 13 Aug 2018 12:17:12 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:35616) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpFWl-0005Fl-JV; Mon, 13 Aug 2018 12:17:07 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 7D312E66F0; Mon, 13 Aug 2018 18:17:04 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at mail.mojserwer.eu Original-Received: from mail.mojserwer.eu ([127.0.0.1]) by localhost (mail.mojserwer.eu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id EwyTVvYgKnk9; Mon, 13 Aug 2018 18:17:01 +0200 (CEST) Original-Received: from localhost (apn-37-249-25-38.dynamic.gprs.plus.pl [37.249.25.38]) by mail.mojserwer.eu (Postfix) with ESMTPSA id 393D7E64BD; Mon, 13 Aug 2018 18:17:01 +0200 (CEST) In-reply-to: <83tvnyjq1m.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.110.48.8 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228492 Archived-At: On 2018-08-13, at 16:32, Eli Zaretskii wrote: >> From: Marcin Borkowski >> 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