From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Philipp Stephani Newsgroups: gmane.emacs.bugs Subject: bug#28759: 26.0.60; Bovine apparently generates Elisp code with oldstyle backquotes Date: Sun, 15 Oct 2017 19:41:26 +0000 Message-ID: References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113bd9ae08dc0d055b9b1472" X-Trace: blaine.gmane.org 1508096541 30535 195.159.176.226 (15 Oct 2017 19:42:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 15 Oct 2017 19:42:21 +0000 (UTC) To: 28759@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 15 21:42:17 2017 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 1e3ona-0006Vh-1c for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Oct 2017 21:42:10 +0200 Original-Received: from localhost ([::1]:58256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3onh-0005Vo-8J for geb-bug-gnu-emacs@m.gmane.org; Sun, 15 Oct 2017 15:42:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34488) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e3onV-0005Uy-K8 for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 15:42:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e3onS-000395-EP for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 15:42:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33284) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e3onS-000391-9K for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 15:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1e3onS-0001Ag-2B for bug-gnu-emacs@gnu.org; Sun, 15 Oct 2017 15:42:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philipp Stephani Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Oct 2017 19:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 28759 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 28759-submit@debbugs.gnu.org id=B28759.15080965074475 (code B ref 28759); Sun, 15 Oct 2017 19:42:02 +0000 Original-Received: (at 28759) by debbugs.gnu.org; 15 Oct 2017 19:41:47 +0000 Original-Received: from localhost ([127.0.0.1]:41965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3onC-0001A7-MC for submit@debbugs.gnu.org; Sun, 15 Oct 2017 15:41:46 -0400 Original-Received: from mail-qt0-f177.google.com ([209.85.216.177]:49105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e3on9-00019r-I5 for 28759@debbugs.gnu.org; Sun, 15 Oct 2017 15:41:45 -0400 Original-Received: by mail-qt0-f177.google.com with SMTP id f8so27979190qta.5 for <28759@debbugs.gnu.org>; Sun, 15 Oct 2017 12:41:43 -0700 (PDT) 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; bh=EQak/KGjgv8QinuH8qCtZYkbfmVb6U/5XLegbAxRn08=; b=OedyecdjsdF7dUWo3T36/h/YFzWsSXak17Ak3p9kjcDlqGnEqvCEjVU0AJ7znZd9EF vBY5sCmdPVMsxQWw9m+sOI+td0nSKDjLfBii1cUYvJcD6CjQxF0/cKh5NYDcyf+I8WW9 NPvhyG9sjIdyIOAE5pr2+c7d0YN2QQmlA272mge2wmEj1yOfp/5uWAxeLa85iXjYeL9j XzmSBQTNKOL291oOiRip8E4s/XMKLfBqtZhS6E78KKogQL7vSPAJAytPQFYbDfgPxdIu bnPKs6Wpaigofyays3iQvpKslVmQuew8W6TDKtNzzQ3xNxYknA62qhJP4DAEZgtpEXXl zLXw== 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; bh=EQak/KGjgv8QinuH8qCtZYkbfmVb6U/5XLegbAxRn08=; b=IRHJX2lTKiaMEe96BtLZufigXfjyBivX4dwVUis/YoU3II5zp5h18zjQwnKlTaO2VY MSHFCWaBm79WY07kDrrY33yDl5Nki13zwMXIC3A+OWpMbFvBkXzPXk0oGb1y4NSCVB9C jQzZoGKIL+QXFDdvZ9XDcNb2FJssVAntk9PbrvUfUjiccS4YUapYD+zyY6RBGIjjbRVX Nph3Yyy2T6ANU1MLn1muJI4wfUGtYAeYmYn1K0FiiX15GhOA1a37l8G2L3K4/UjnqXId IT0Pzwmaw51gjp+s9ZJGSujf4S2D5A6XacOjqKSw3vj4+3inf6CeOrATjtVO9Kcs3D/a ZBqQ== X-Gm-Message-State: AMCzsaVvj0u7s+mBH0nPPRwvW2SjDDf8LB55GRuUiCvjJPKgl7ZwYA+m cDyEMdmwC5mp3XlR/vT9uAm3ug45ur7Cl/UyxbZu+A== X-Google-Smtp-Source: ABhQp+ThA7IrE3RF3Aapl8oDFTgQY3kZ7l7YLbyqzyDxa9dxJdtrc6Zf5GezwkBsHOTvdm+KwhhsdvF4Me/uzTiDwPA= X-Received: by 10.237.55.200 with SMTP id j66mr2877514qtb.210.1508096497735; Sun, 15 Oct 2017 12:41:37 -0700 (PDT) In-Reply-To: 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:138479 Archived-At: --001a113bd9ae08dc0d055b9b1472 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Philipp schrieb am Mo., 9. Okt. 2017 um 16:20 Uhr: > > See https://lists.gnu.org/archive/html/emacs-devel/2017-10/msg00313.html > > The backtrace I got was > > $ (cd admin/grammars && EMACSLOADPATH=3D "../../src/emacs" -batch > --no-site-file --no-site-lisp -eval '(setq debug-on-error t)' -l > semantic/bovine/grammar -f bovine-batch-make-parser -o > "../../lisp/cedet/semantic/bovine/make-by.el" make.by) > ../../lisp/emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80= =99 is an obsolete > generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99 instead. > ../../lisp/emacs-lisp/eieio.el: =E2=80=98object-print=E2=80=99 is an obso= lete generic > function (as of 26.1); use =E2=80=98cl-print-object=E2=80=99 instead. > ../../lisp/emacs-lisp/eieio-base.el: =E2=80=98eieio-object-name-string=E2= =80=99 is an > obsolete generic function (as of 25.1); use =E2=80=98eieio-named=E2=80=99= instead. > Debugger entered--Lisp error: (error "Loading =E2=80=98nil=E2=80=99: old-= style backquotes > detected!") > read("( ,@$2 )") > I looked a bit around, and found that these strings are copied verbatim from the *.by files. Looking at the comments of lread.c, this seems to be a limitation of the reader: "Because it's more difficult to peek 2 chars ahead, a new-style ,@ can still not be used outside of a `, unless it's in the middle of a list." Not sure what to do with this, though. Changing the reader would introduce a breaking change for no good reason, since we're trying to get rid of old-style backquotes. So I think this should rather be fixed in Bovine, either by escaping the offending commas, or by removing the space between ( and ,. --001a113bd9ae08dc0d055b9b1472 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable


Philip= p <p.stephani2@gmail.com>= ; schrieb am Mo., 9. Okt. 2017 um 16:20=C2=A0Uhr:

See https://lists.gnu.org/archiv= e/html/emacs-devel/2017-10/msg00313.html

The backtrace I got was

$ (cd admin/grammars && EMACSLOADPATH=3D "../../src/emacs"= ; -batch --no-site-file --no-site-lisp -eval '(setq debug-on-error t)&#= 39; -l semantic/bovine/grammar=C2=A0 -f bovine-batch-make-parser -o ".= ./../lisp/cedet/semantic/bovine/make-by.el" make.by)
../../lisp/emacs-lisp/eieio.el: =E2=80=98eieio-object-name-string=E2=80=99 = is an obsolete generic function (as of 25.1); use =E2=80=98eieio-named=E2= =80=99 instead.
../../lisp/emacs-lisp/eieio.el: =E2=80=98object-print=E2=80=99 is an obsole= te generic function (as of 26.1); use =E2=80=98cl-print-object=E2=80=99 ins= tead.
../../lisp/emacs-lisp/eieio-base.el: =E2=80=98eieio-object-name-string=E2= =80=99 is an obsolete generic function (as of 25.1); use =E2=80=98eieio-nam= ed=E2=80=99 instead.
Debugger entered--Lisp error: (error "Loading =E2=80=98nil=E2=80=99: o= ld-style backquotes detected!")
=C2=A0 read("( ,@$2 )")

I looked a bit around, and found that thes= e strings are copied verbatim from the *.by files.
Looking at the= comments of lread.c, this seems to be a limitation of the reader: "Be= cause it's more difficult to peek 2 chars ahead, a new-style=C2=A0,@ ca= n still not be used outside of a `, unless it's in the middle=C2=A0of a= list."
Not sure what to do with this, though. Changing the = reader would introduce a breaking change for no good reason, since we'r= e trying to get rid of old-style backquotes. So I think this should rather = be fixed in Bovine, either by escaping the offending commas, or by removing= the space between ( and ,.
--001a113bd9ae08dc0d055b9b1472--