From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Why does "non-breaking space" have syntax "punctuation"? Date: Mon, 13 Aug 2018 17:32:05 +0300 Message-ID: <83tvnyjq1m.fsf@gnu.org> References: <878t5bgxl3.fsf@mbork.pl> <83va8fj90d.fsf@gnu.org> <87600ehm6c.fsf@mbork.pl> <9CF1B075-1B4A-4C56-BB81-B305A887876A@gnu.org> <874lfyhb4z.fsf@mbork.pl> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1534170650 6378 195.159.176.226 (13 Aug 2018 14:30:50 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2018 14:30:50 +0000 (UTC) Cc: emacs-devel@gnu.org To: Marcin Borkowski Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 13 16:30:46 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 1fpDro-0001YR-4b for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 16:30:44 +0200 Original-Received: from localhost ([::1]:39834 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpDtu-0001AY-Gy for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 10:32:54 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40753) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpDt4-0001AG-2X for emacs-devel@gnu.org; Mon, 13 Aug 2018 10:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpDt0-0003rF-Tq for emacs-devel@gnu.org; Mon, 13 Aug 2018 10:32:02 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:52589) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpDt0-0003rA-QO; Mon, 13 Aug 2018 10:31:58 -0400 Original-Received: from [176.228.60.248] (port=1173 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1fpDt0-0004jb-7w; Mon, 13 Aug 2018 10:31:58 -0400 In-reply-to: <874lfyhb4z.fsf@mbork.pl> (message from Marcin Borkowski on Mon, 13 Aug 2018 11:24:44 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e 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:228478 Archived-At: > 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.