From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.devel Subject: Change of Lisp syntax for "fancy" quotes in Emacs 27? Date: Fri, 2 Feb 2018 17:24:43 -0500 Message-ID: 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 1517610234 3525 195.159.176.226 (2 Feb 2018 22:23:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 2 Feb 2018 22:23:54 +0000 (UTC) Cc: Drew Adams To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Feb 02 23:23:49 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 1ehjk8-0008Ls-QD for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2018 23:23:37 +0100 Original-Received: from localhost ([::1]:37320 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehjmA-0003gI-1V for ged-emacs-devel@m.gmane.org; Fri, 02 Feb 2018 17:25:42 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:46066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ehjlG-0003f4-Eu for emacs-devel@gnu.org; Fri, 02 Feb 2018 17:24:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ehjlF-0003ik-G1 for emacs-devel@gnu.org; Fri, 02 Feb 2018 17:24:46 -0500 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:52771) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1ehjlF-0003iB-7h for emacs-devel@gnu.org; Fri, 02 Feb 2018 17:24:45 -0500 Original-Received: by mail-wm0-x231.google.com with SMTP id g1so15506453wmg.2 for ; Fri, 02 Feb 2018 14:24:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:sender:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=EzIzhAXl+0R39ys9d+0ARGhejzmDKDkVP4lqgwq0mAY=; b=sANMFvMpo7Vpe1fAFCJRVej17yHpnwfxbJM3x1XY8/oUs+6uRY9Gv0sUSvd2rv61i2 U7vuebB9QldGHn2Z3Z5dLzhbEpkxPig/xC9qAik6zrpLOclZ2Rq5qmScMrbA5idY27+0 4Qq/K5fDp4W0HA/HRubcBRdQpz+CbumaHaptdm1RwAWLyP5lS7zkyoG7MC/NvDpbCiKw JNIM5sk2abCo2MREytZMxU1729Yvc9WlXCYTwrrOBCGlI4vcNCODgsiojEDeLvBON5zW JaY8T9wL+UiMKw5dUKw6Oxparef1436viFQphuMt5QdDiR3K03Ayqu5BftW4m7bIOaoa vsWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc:content-transfer-encoding; bh=EzIzhAXl+0R39ys9d+0ARGhejzmDKDkVP4lqgwq0mAY=; b=uj49Y9m8qaLsm7Z4FKKRQhSiLGw786vgh680u37vQWbQ0RuTlNMKoy3e213aK1MxVg czdKJ0OdV1lVfktUI3cqk7X5Uv0gQpq7EjqRj13R3mag48iCisyMNw/IqR2bTackgKV2 y0Ky8YFwhA2zLfzce3dWcQ0V4UrVnqPPP8TImPXGj81yI1er4KQ535QD9ySiYnrtyBEr jd0PqMuCOwrF8LvC7V+ER3hJKktIXrcSuYuojGhLL7hOKWymzI2p3Z5y2sk2BDerPkhf GgQ5QsX90i7RGG/ZLjMENuFkXAlQRE+DXQYtW23/2WZFYi9tiI2bNMImhNFXkdIVhaDk Cl/A== X-Gm-Message-State: AKwxytfHgj41arghKi4gI0Ml5qq32m1THZ+knG1wjdJ9QqAXKwcH704S vWRQUHpHVKjZ4Cs+ncshKqAEzUsH2YEChkWUNtAzkg== X-Google-Smtp-Source: AH8x225LwCVGH29xon4esV3qIv0dRJbatafup29ijP+v4cW28eAZlVqCxtL6y6e4wXG+Ho57z4gftuzinfHwVI9aHtM= X-Received: by 10.28.239.19 with SMTP id n19mr11853677wmh.20.1517610283805; Fri, 02 Feb 2018 14:24:43 -0800 (PST) Original-Received: by 10.223.182.77 with HTTP; Fri, 2 Feb 2018 14:24:43 -0800 (PST) X-Google-Sender-Auth: EoQ-t08er166tnrOyHzo5yMKOFs X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 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:222440 Archived-At: In Emacs 26 and earlier the following is valid lisp code: (setq =E2=80=99bar 42) (setq foo =E2=80=99bar) In the current master branch, this will signal (invalid-read-syntax "strange quote" "=E2=80=99"). To write the equivalent the =E2=80=99 must be= backslash escaped: (setq \=E2=80=99bar 42) (setq foo \=E2=80=99bar) (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. In Bug#30217, Drew Adams strongly objects to this change. I don't want to "sneak" this in, so I'm asking here for people's thoughts on this. References: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D30217 https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D2967 PS In case anyone has trouble reading the example code (e.g., due to some email encoding failure), evaluating (insert "(setq \u2019bar 42)\n(setq foo \u2019bar)") will write it into your current buffer.