From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Adam Porter Newsgroups: gmane.emacs.devel Subject: Re: Sv: Sv: Sv: Sv: Christmas wish: Literate Elisp Date: Wed, 18 Dec 2019 17:52:51 -0600 Message-ID: <87v9qdp4x8.fsf@alphapapa.net> References: <87r213qkhm.fsf@alphapapa.net> <878sn9qxk3.fsf@alphapapa.net> <874kxxqlxz.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223876"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Dec 19 00:53:19 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ihj83-000w6Y-Ck for ged-emacs-devel@m.gmane.org; Thu, 19 Dec 2019 00:53:19 +0100 Original-Received: from localhost ([::1]:34108 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihj82-0004k4-3k for ged-emacs-devel@m.gmane.org; Wed, 18 Dec 2019 18:53:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35488) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ihj7r-0004j2-4R for emacs-devel@gnu.org; Wed, 18 Dec 2019 18:53:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ihj7p-0003Rw-Jj for emacs-devel@gnu.org; Wed, 18 Dec 2019 18:53:06 -0500 Original-Received: from 195-159-176-226.customer.powertech.no ([195.159.176.226]:52716 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1ihj7p-0003Qs-Bw for emacs-devel@gnu.org; Wed, 18 Dec 2019 18:53:05 -0500 Original-Received: from list by blaine.gmane.org with local (Exim 4.89) (envelope-from ) id 1ihj7n-000viz-8p for emacs-devel@gnu.org; Thu, 19 Dec 2019 00:53:03 +0100 X-Injected-Via-Gmane: http://gmane.org/ X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:243462 Archived-At: arthur miller writes: > Yes Adam you are correct, but altering parser does not necessary mean > > that elisp will change in a way that will force you to change your > > existing code or coding practice. I proposed it in a way that will simply > > add an extra feature, which you don’t need to use if you don’t like it. It > > is trivial to make it by default ”off” by introducing new variable one can > > set in init file to enable it (or disable it, whichever is better for default). > > Hope it makes it a bit more clear what I suggested. (Please do not double-space your messages.) I have tried to explain this issue as clearly as I can. I will ask once more: Do you understand that Elisp code written in the way you propose would not be compatible with existing tools which parse Elisp? And that such tools would require modification to parse such code correctly? Stefan suggested ways to implement your idea as an alternative, literate syntax, in a separate file format, by writing it in Elisp, using advice and/or configuration variables, so that modification of the parser in C would not be required, and the existing Elisp syntax and parser would remain unchanged. That is a great idea. Why don't you want to do that?