From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.devel Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27? Date: Sat, 06 Oct 2018 17:42:01 +0200 Message-ID: References: <83y3bc2378.fsf@gnu.org> <73c02cbb-888f-478c-a231-923aa43c093e@default> <20181006091422.GA4855@ACM> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1538840627 4075 195.159.176.226 (6 Oct 2018 15:43:47 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2018 15:43:47 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu) Cc: Alan Mackenzie , Eli Zaretskii , Paul Eggert , emacs-devel@gnu.org, npostavs@users.sourceforge.net To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 06 17:43:42 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 1g8ok2-0000wp-GD for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2018 17:43:42 +0200 Original-Received: from localhost ([::1]:39561 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8om8-0006wD-PZ for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2018 11:45:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8olB-0006sf-1e for emacs-devel@gnu.org; Sat, 06 Oct 2018 11:44:53 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8oiT-0001C0-LX for emacs-devel@gnu.org; Sat, 06 Oct 2018 11:42:06 -0400 Original-Received: from portable.galex-713.eu ([2a00:5884:8305::1]:50312) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8oiT-0001BQ-E7; Sat, 06 Oct 2018 11:42:05 -0400 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8oiP-0006aX-HR; Sat, 06 Oct 2018 17:42:01 +0200 X-GPG-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F X-Accept-Language: fr, en, it, eo In-Reply-To: (Drew Adams's message of "Sat, 6 Oct 2018 14:57:20 +0000 (UTC)") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:5884:8305::1 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:230257 Archived-At: On 2018-10-06 at 14:57, Drew Adams wrote: > My point was only that use of `foo foo' (with a no-break > space between the two foo's) as a mistake/typo for an > intended `foo foo' (with a normal space) should not be > signaled by Lisp as an error. But the no-break space could > be highlighted as sometimes helpful info. `foo foo' (with > no-break space) is just a symbol, for Lisp - not a syntax > error. Unbreakable space is already colored as some sort of colored underscore. The problem is there are a bunch of other kind of spaces, though I personally only use unbreakable, non-justifying and/or =E2=80=9Cfine=E2=80= =9D (dunno if it match an en space) space in French, though I do it commonly in strings with emacs (which only correctly highlight the normal unbreakable space, but not the others). I=E2=80=99d like to see these highlighted (perhaps, or even preferably, a different way) as well, or should it be something customizable according user preferences (or language?). > E.g. (changing the example): > > (let (foo foo)...) binds symbol `foo foo' (with a no-break > space) to nil. It doesn't bind symbol `foo' to the current > value of symbol `foo'. I would have expected it to bind twice foo to nil (or to signal an error or a warning), yet it seems you used a normal space, unbreakable-space already highlights in emacs, so I=E2=80=99d noticed it.