From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.devel Subject: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27? Date: Sun, 04 Feb 2018 19:55:34 +0000 Message-ID: References: <87shaigcvs.fsf@gmail.com> <838tc8acda.fsf@gnu.org> <25a9cd5e-1876-058f-0303-f483a6bfb476@cs.ucla.edu> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a114082e0c23b5d0564685409" X-Trace: blaine.gmane.org 1517774096 32272 195.159.176.226 (4 Feb 2018 19:54:56 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 4 Feb 2018 19:54:56 +0000 (UTC) Cc: aaronecay@gmail.com, Eli Zaretskii , emacs-devel@gnu.org, drew.adams@oracle.com, Noam Postavsky To: Paul Eggert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Feb 04 20:54:51 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 1eiQMt-0006hh-LI for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 20:54:27 +0100 Original-Received: from localhost ([::1]:60791 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiQOu-0003No-QF for ged-emacs-devel@m.gmane.org; Sun, 04 Feb 2018 14:56:32 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48138) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eiQOD-0003Mo-EP for emacs-devel@gnu.org; Sun, 04 Feb 2018 14:55:50 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eiQOC-0006cI-Ld for emacs-devel@gnu.org; Sun, 04 Feb 2018 14:55:49 -0500 Original-Received: from mail-lf0-x244.google.com ([2a00:1450:4010:c07::244]:38707) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eiQOA-0006ap-P6; Sun, 04 Feb 2018 14:55:46 -0500 Original-Received: by mail-lf0-x244.google.com with SMTP id g72so38822106lfg.5; Sun, 04 Feb 2018 11:55:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=eIIFlkIv0VHbBQinBzFW0A8RfOScYuECptU5E5NsJ7s=; b=E2gCwOUtFx4XNMkD6KwEtISOVpvR3qq8bFKMD9tI3GASazwhG4K1257+/zBbz9fS/I 3aDpEiub34jVbXUAEvtoEOxqG9FleYVSiNdiP0yept+HUFsMaktmXdxgm5UKMvAdGj/T Urj8IPebtW3uh8kZpkmM2zjpew0Bgt1GvwPa8AK6kVa3DZ/Q2ka0IE2AFSVnuMsJuQtb VT/iPXZa9d75PZKT2K1zlS1r16I0pWcd+k+YMKQ8Ymjs5JZtmIOcNd+MWdDv2+6UPLfh zPBZEfeif9+MR/bYbQcGbcJzXRgGnn6vZuurfoDK7rkx0QVdK3PK/1O4rIkvrKeEj2cB /Sew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=eIIFlkIv0VHbBQinBzFW0A8RfOScYuECptU5E5NsJ7s=; b=uZSJJEHyOv9R3AS1HlC4MoKV/PmqqueEMLmz6cjq2aDWoSs+vfMYnxKxJKXHdExkdU 6KjBu0ROiJClqtYQdzK9slOXeOtI1W0CeO87RudYChcw9xTL2KfE4KtsDLiBWhC/r48Y +Wyzh2DYGr1Bdf19l0kV6w4yGLpCM7Xf6lVOdmc0R71y0CM1D0SbxOwbuKntnqpWY2kg DtclqxY/u/o+eiSJsVb7zAUAHq82FkTYd00rdJUxRzZf+pQ1q1oJ51wvasErXVm3SJ5i ZcqvfgsKas4wSv40+xa6zy1IofJ6uS7FMsm1VltWSLY4tLhPosPh+U80s+yiqW2jSsWt 6NNg== X-Gm-Message-State: AKwxytextB5JfWAVplJsZS2kX1ljnQFSr90W2r5GxK8Ow2KAsB+84ClV nq+/PoFQzse+pxTEboLvI19bymWtl2Ct0nCgaU0= X-Google-Smtp-Source: AH8x227Tp9BNYxXUgH1s25U72AO3w+YoHJ4u005Tw1ovTtxq/xxKsKlr/9+v1uezaFeNFOpPp2+h7DY2923H5K6baPA= X-Received: by 10.25.22.2 with SMTP id m2mr28985251lfi.21.1517774144943; Sun, 04 Feb 2018 11:55:44 -0800 (PST) In-Reply-To: <25a9cd5e-1876-058f-0303-f483a6bfb476@cs.ucla.edu> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4010:c07::244 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:222516 Archived-At: --001a114082e0c23b5d0564685409 Content-Type: text/plain; charset="UTF-8" Paul Eggert schrieb am So., 4. Feb. 2018 um 20:36 Uhr: > Eli Zaretskii wrote: > > restricting Lisp symbols that way sounds too harsh > > OK, I'll omit that patch. > > We still have a problem with Emacs Lisp code containing confusable > characters > that can make the code exceedingly hard to review. These characters are > currently not caught or checked by anything. We really should do better. > > The following should be unintrusive and not too hard: Let the reader push all confusable symbols (i.e. symbols that contain at least one unescaped character from the Unicode confusables list that maps to a sequence of ASCII characters) onto an internal dynamic variable. The byte compiler can then emit warnings if that variable becomes non-nil. --001a114082e0c23b5d0564685409 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Paul E= ggert <eggert@cs.ucla.edu> = schrieb am So., 4. Feb. 2018 um 20:36=C2=A0Uhr:
Eli Zaretskii wrote:
> restricting Lisp symbols that way sounds too harsh

OK, I'll omit that patch.

We still have a problem with Emacs Lisp code containing confusable characte= rs
that can make the code exceedingly hard to review. These characters are
currently not caught or checked by anything. We really should do better.

The following should be unintrusive an= d not too hard: Let the reader push all confusable symbols (i.e. symbols th= at contain at least one unescaped character from the Unicode confusables li= st that maps to a sequence of ASCII characters) onto an internal dynamic va= riable. The byte compiler can then emit warnings if that variable becomes n= on-nil.
--001a114082e0c23b5d0564685409--