From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#30217: Ambiguity in NEWS in emacs-26.0.91 Date: Mon, 22 Jan 2018 16:56:39 -0800 (PST) Message-ID: <4c079376-7659-4962-aa73-39a4b4ed76e0@default> References: <20180122221743.GB4888@ACM> <5074511f-b3b3-45aa-80b4-130be08f30ec@default> <87efmho17g.fsf@users.sourceforge.net> 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 1516668920 21308 195.159.176.226 (23 Jan 2018 00:55:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 23 Jan 2018 00:55:20 +0000 (UTC) Cc: Alan Mackenzie , 30217@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Jan 23 01:55:16 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 1edmrk-0004h0-M6 for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Jan 2018 01:55:08 +0100 Original-Received: from localhost ([::1]:50956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edmtj-0005re-DF for geb-bug-gnu-emacs@m.gmane.org; Mon, 22 Jan 2018 19:57:11 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58992) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1edmtd-0005rT-42 for bug-gnu-emacs@gnu.org; Mon, 22 Jan 2018 19:57:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1edmta-0003ra-32 for bug-gnu-emacs@gnu.org; Mon, 22 Jan 2018 19:57:05 -0500 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59129) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1edmtZ-0003rS-Ux for bug-gnu-emacs@gnu.org; Mon, 22 Jan 2018 19:57:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1edmtZ-0005Nx-Jn for bug-gnu-emacs@gnu.org; Mon, 22 Jan 2018 19:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 23 Jan 2018 00:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30217 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 30217-submit@debbugs.gnu.org id=B30217.151666901320687 (code B ref 30217); Tue, 23 Jan 2018 00:57:01 +0000 Original-Received: (at 30217) by debbugs.gnu.org; 23 Jan 2018 00:56:53 +0000 Original-Received: from localhost ([127.0.0.1]:38793 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1edmtR-0005Nb-F6 for submit@debbugs.gnu.org; Mon, 22 Jan 2018 19:56:53 -0500 Original-Received: from aserp2120.oracle.com ([141.146.126.78]:46622) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1edmtP-0005NM-GU for 30217@debbugs.gnu.org; Mon, 22 Jan 2018 19:56:52 -0500 Original-Received: from pps.filterd (aserp2120.oracle.com [127.0.0.1]) by aserp2120.oracle.com (8.16.0.22/8.16.0.22) with SMTP id w0N0uTvs098988; Tue, 23 Jan 2018 00:56:43 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2017-10-26; bh=sJLBIZH6ddTpaEdz6sQ+D1EaYOnBWCmodRs9vqylbNc=; b=CljYw7KPoGZh0zPH9f5IeDh6dq5LYLZHFVfvfFdL2rFwdpFSUe/6wlj7+FSthv3lh/yN tdNUgnSZmD0cI8TZ3IISGsQibZX0W2p19A+lBR/jvrWmcTsVTQ9VVTIrCR+cZ/EmNORg qaNSJRDW5pBz3JF7jVJXmOOCe8dmw/w5QDMrshG9mObd9NqnVLNeCIJyuSWnEM+KMUmD vke9Ax77jtT3vPo0TzxycSmthl3TToYv25h4WYLJtIk0WD4B2DOMN73HY3hQml2GkMqL kQBtMLdS9hwNf02Rf/rywvtNE/+dJCCwX0rVpDSXNfJvgYc5i2+KjcPKjnHvaeEqWiuj PQ== Original-Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by aserp2120.oracle.com with ESMTP id 2fnrnagewf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Tue, 23 Jan 2018 00:56:43 +0000 Original-Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserv0021.oracle.com (8.14.4/8.14.4) with ESMTP id w0N0ugOG027563 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Tue, 23 Jan 2018 00:56:43 GMT Original-Received: from abhmp0014.oracle.com (abhmp0014.oracle.com [141.146.116.20]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id w0N0ugFb021131; Tue, 23 Jan 2018 00:56:42 GMT In-Reply-To: <87efmho17g.fsf@users.sourceforge.net> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.4627.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=5900 definitions=8782 signatures=668655 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 suspectscore=0 malwarescore=0 phishscore=0 bulkscore=0 spamscore=0 mlxscore=0 mlxlogscore=987 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1711220000 definitions=main-1801230009 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:142412 Archived-At: > > Please describe exactly what the reader does when it reads > > one of those characters followed by Lisp-symbol syntax, in > > both cases: char escaped and char not escaped. >=20 > How about this: >=20 > ** To avoid confusion caused by "smart quotes", the reader signals an > error when reading Lisp symbols which begin with one of the following > quotation characters: =E2=80=98=E2=80=99=E2=80=9B=E2=80=9C=E2=80=9D= =E2=80=9F=E3=80=9E=EF=BC=82=EF=BC=87. A symbol beginning with such a > character can be written by escaping the quotation character with a > backslash. For example: >=20 > (read "=E2=80=98smart") =3D> Lisp error: (invalid-read-syntax "st= range > quote" "=E2=80=98") > (read "\\=E2=80=98smart") =3D=3D (intern "=E2=80=98smart") Yes, that's clear (to me). I would never have guessed that the previous description meant that. But may I ask why such "strange quote" characters are not taken as lisp-symbol constituent characters? Why the need to escape them? Why are they treated specially? That description describes a workaround "to avoid confusion", but it's not clear why we need "to avoid confusion". What good is the error behavior in the first place? If such chars are not to be treated as normal symbol chars it should be because they have some special treatment/behavior/interpretation for Lisp, no? If the only non-escaped behavior is to raise an error then that just sounds like a bug, to me. I'm probably missing something important, but whatever that is it does not seem to be conveyed by the NEWS description. At all.