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: Change of Lisp syntax for "fancy" quotes in Emacs 27? Date: Sat, 03 Feb 2018 10:33:59 +0200 Message-ID: <83o9l6bhfs.fsf@gnu.org> References: Reply-To: Eli Zaretskii 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 1517646791 7736 195.159.176.226 (3 Feb 2018 08:33:11 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 3 Feb 2018 08:33:11 +0000 (UTC) Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: Noam Postavsky Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Feb 03 09:33:06 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 1ehtFq-0001D2-Ft for ged-emacs-devel@m.gmane.org; Sat, 03 Feb 2018 09:32:58 +0100 Original-Received: from localhost ([::1]:58940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehtHp-0005zD-OU for ged-emacs-devel@m.gmane.org; Sat, 03 Feb 2018 03:35:01 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56875) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehtHA-0005y9-St for emacs-devel@gnu.org; Sat, 03 Feb 2018 03:34:21 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehtH9-0003pD-OL for emacs-devel@gnu.org; Sat, 03 Feb 2018 03:34:20 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:38343) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehtH3-0003nJ-Qf; Sat, 03 Feb 2018 03:34:13 -0500 Original-Received: from [176.228.60.248] (port=4662 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1ehtH3-00016c-8D; Sat, 03 Feb 2018 03:34:13 -0500 In-reply-to: (message from Noam Postavsky on Fri, 2 Feb 2018 17:24:43 -0500) 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:222460 Archived-At: > From: Noam Postavsky > Date: Fri, 2 Feb 2018 17:24:43 -0500 > Cc: Drew Adams > > In Emacs 26 and earlier the following is valid lisp code: > > (setq ’bar 42) > (setq foo ’bar) > > In the current master branch, this will signal (invalid-read-syntax > "strange quote" "’"). To write the equivalent the ’ must be backslash > escaped: > > (setq \’bar 42) > (setq foo \’bar) > > (the backslash escaping also works in earlier Emacs versions). > > The point of this change is to give a more straightforward error in > cases where a plain straight quote is accidentally written instead of > a curved one. The bug reports which triggered the above changes are bug#2967 and bug#23425. So any proposal to remove those changes should also suggest an alternative for handling those bug reports.