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 11:24:44 +0200 Message-ID: <874lfyhb4z.fsf@mbork.pl> References: <878t5bgxl3.fsf@mbork.pl> <83va8fj90d.fsf@gnu.org> <87600ehm6c.fsf@mbork.pl> <9CF1B075-1B4A-4C56-BB81-B305A887876A@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534152239 2549 195.159.176.226 (13 Aug 2018 09:23:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 13 Aug 2018 09:23:59 +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 11:23:55 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 1fp94s-0000ZO-Vn for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 11:23:55 +0200 Original-Received: from localhost ([::1]:38259 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp96z-0000fI-HT for ged-emacs-devel@m.gmane.org; Mon, 13 Aug 2018 05:26:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:32850) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp96q-0000ew-0n for emacs-devel@gnu.org; Mon, 13 Aug 2018 05:25:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fp96o-0007l6-T1 for emacs-devel@gnu.org; Mon, 13 Aug 2018 05:25:55 -0400 Original-Received: from mail.mojserwer.eu ([195.110.48.8]:53530) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fp96j-0007ja-7E; Mon, 13 Aug 2018 05:25:49 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by mail.mojserwer.eu (Postfix) with ESMTP id 3F21DE66F0; Mon, 13 Aug 2018 11:25:48 +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 TYgk2nHvkvlb; Mon, 13 Aug 2018 11:25:45 +0200 (CEST) Original-Received: from localhost (apn-77-114-74-153.dynamic.gprs.plus.pl [77.114.74.153]) by mail.mojserwer.eu (Postfix) with ESMTPSA id EFA83E64BD; Mon, 13 Aug 2018 11:25:42 +0200 (CEST) In-reply-to: <9CF1B075-1B4A-4C56-BB81-B305A887876A@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:228473 Archived-At: On 2018-08-13, at 08:59, Eli Zaretskii wrote: > On August 13, 2018 8:26:19 AM GMT+03:00, Marcin Borkowski wrote: >> >> On 2018-08-13, at 04:27, Eli Zaretskii wrote: >> >> >> From: Marcin Borkowski >> >> 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