From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Garreau\, Alexandre" Newsgroups: gmane.emacs.devel Subject: eval-last-sexp / C-x C-e, and punctuation like =?utf-8?Q?`=3F?= =?utf-8?Q?=E2=80=99'?= [Was: Re: Change of Lisp syntax for "fancy" quotes in Emacs 27?)] Date: Sat, 06 Oct 2018 17:40:53 +0200 Message-ID: <77r1htzzzzzz.wxg.xxuns.g6.gal_-_@portable.galex-713.eu> References: 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 1538840634 4680 195.159.176.226 (6 Oct 2018 15:43:54 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Oct 2018 15:43:54 +0000 (UTC) User-Agent: Gnus (5.13), GNU Emacs 25.1.1 (i686-pc-linux-gnu) Cc: Drew Adams , Noam Postavsky To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Oct 06 17:43: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 1g8ok9-00015e-JA for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2018 17:43:49 +0200 Original-Received: from localhost ([::1]:39562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8omG-0006yM-1G for ged-emacs-devel@m.gmane.org; Sat, 06 Oct 2018 11:46:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56352) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g8olE-0006sz-7g for emacs-devel@gnu.org; Sat, 06 Oct 2018 11:44:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g8ohU-0000eh-VP for emacs-devel@gnu.org; Sat, 06 Oct 2018 11:41:05 -0400 Original-Received: from portable.galex-713.eu ([2a00:5884:8305::1]:50306) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1g8ohU-0000dF-NC for emacs-devel@gnu.org; Sat, 06 Oct 2018 11:41:04 -0400 Original-Received: from localhost ([::1] helo=portable.galex-713.eu) by portable.galex-713.eu with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1g8ohK-0006aN-0w; Sat, 06 Oct 2018 17:40:54 +0200 X-GPG-FINGERPRINT: E109 9988 4197 D7CB B0BC 5C23 8DEB 24BA 867D 3F7F X-Accept-Language: fr, en, it, eo In-Reply-To: (Noam Postavsky's message of "Thu, 4 Oct 2018 20:03:30 -0400") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:5884:8305::1 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:230258 Archived-At: On 2018-10-04 at 20:03, Noam Postavsky wrote: > On Fri, 2 Feb 2018 at 17:24, Noam Postavsky > wrote: >> >> In Emacs 26 and earlier the following is valid lisp code: >> >> (setq =E2=80=99bar 42) >> (setq foo =E2=80=99bar) I just noticed: in emacs 25, if evaluating `=E2=80=99bar' with `eval-last-s= exp' / C-x C-e, this gives an error as it ignores the ?=E2=80=99 and eval only `= bar', the same way, if point is placed after the ?=E2=80=99, it tries to eval =E2= =80=9Csetq=E2=80=9D=E2=80=A6 Maybe I do not know enough of elisp, but why that? are there other punctuation characters triggering this behavior? meanwhile, are they all okay for the reader to put in symbols unescaped (except ? , ?\", ?\(, ?\), ?,, ?`, and maybe some others from ascii I forgot)? Why does eval-last-sexps treat this differently than the reader?