From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32939: 27.0.50; Don't reject confusable quotes, just fontify & mention them in error messages Date: Tue, 30 Oct 2018 09:12:58 +0200 Message-ID: <83h8h3lxfp.fsf@gnu.org> References: <87lg7dmfhp.fsf@gmail.com> <83woqw235n.fsf@gnu.org> <877ei7m172.fsf@gmail.com> <838t2joh34.fsf@gnu.org> <87woq0i5ks.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1540883466 24554 195.159.176.226 (30 Oct 2018 07:11:06 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 30 Oct 2018 07:11:06 +0000 (UTC) Cc: 32939@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Oct 30 08:11:02 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1gHOB3-0006FW-E3 for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 08:11:01 +0100 Original-Received: from localhost ([::1]:51286 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOD9-0003e4-QT for geb-bug-gnu-emacs@m.gmane.org; Tue, 30 Oct 2018 03:13:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45712) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOD2-0003de-2v for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 03:13:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHOD0-0007y1-Io for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 03:13:04 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48896) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gHOD0-0007xd-EG for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 03:13:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gHOD0-0002Vj-8w for bug-gnu-emacs@gnu.org; Tue, 30 Oct 2018 03:13:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 30 Oct 2018 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32939 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32939-submit@debbugs.gnu.org id=B32939.15408835809642 (code B ref 32939); Tue, 30 Oct 2018 07:13:02 +0000 Original-Received: (at 32939) by debbugs.gnu.org; 30 Oct 2018 07:13:00 +0000 Original-Received: from localhost ([127.0.0.1]:53154 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHOCy-0002VS-Ii for submit@debbugs.gnu.org; Tue, 30 Oct 2018 03:13:00 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:36049) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gHOCv-0002VC-E0 for 32939@debbugs.gnu.org; Tue, 30 Oct 2018 03:12:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gHOCl-0007RR-73 for 32939@debbugs.gnu.org; Tue, 30 Oct 2018 03:12:52 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59062) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gHOCl-0007R2-1p; Tue, 30 Oct 2018 03:12:47 -0400 Original-Received: from [176.228.60.248] (port=2541 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gHOCk-0002H7-Jt; Tue, 30 Oct 2018 03:12:46 -0400 In-reply-to: <87woq0i5ks.fsf@gmail.com> (message from Noam Postavsky on Mon, 29 Oct 2018 21:30:43 -0400) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:151813 Archived-At: > From: Noam Postavsky > Cc: 32939@debbugs.gnu.org > Date: Mon, 29 Oct 2018 21:30:43 -0400 > > > However, perhaps we should mention this behavior in "Basic Char > > Syntax" and the related use of this face in "Faces for Font Lock". > > WDYT? > > I've tried adding some mentions of it in those places (unfilled to > simplify diff). Though I'm not sure if it makes sense to talk about > this somewhat obscure case. I think your text is good, but... > --- a/doc/lispref/objects.texi > +++ b/doc/lispref/objects.texi > @@ -347,7 +347,12 @@ Basic Char Syntax > characters. However, you must add a backslash before any of the > characters @samp{()[]\;"}, and you should add a backslash before any > of the characters @samp{|'`#.,} to avoid confusing the Emacs commands > -for editing Lisp code. You can also add a backslash before whitespace > +for editing Lisp code. You should also add a backslash before Unicode > +characters which resemble the previously mentioned @acronym{ASCII} > +ones, to avoid confusing people reading your code. Emacs will > +highlight some non-escaped commonly confused characters such as > +@samp{‘} to encourage this. > + You can also add a backslash before whitespace ^^^^^^^^^^^^^^^^^^^^^^^^ What's the deal with this large whitespace stretch? Thanks.