From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Vladimir Nikishkin Newsgroups: gmane.emacs.bugs Subject: bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp. Date: Wed, 11 Nov 2020 22:18:01 +0800 Message-ID: References: <87sg9hwbo8.fsf@delllaptop.lockywolf.net> <87mtzpgsz7.fsf@gnus.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000d0a5d105b3d5af02" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24268"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Richard Stallman , 44554@debbugs.gnu.org To: Jean Louis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 11 15:40:28 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1kcrIQ-00069O-LJ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 15:40:26 +0100 Original-Received: from localhost ([::1]:52998 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kcrIP-0007xn-MT for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 11 Nov 2020 09:40:25 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38282) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kcrDC-0003OB-Fw for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 09:35:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:57331) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kcrDC-0004pD-2Z for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 09:35:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kcrDB-0007b5-VZ for bug-gnu-emacs@gnu.org; Wed, 11 Nov 2020 09:35:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vladimir Nikishkin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 11 Nov 2020 14:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 44554 X-GNU-PR-Package: emacs Original-Received: via spool by 44554-submit@debbugs.gnu.org id=B44554.160510525229140 (code B ref 44554); Wed, 11 Nov 2020 14:35:01 +0000 Original-Received: (at 44554) by debbugs.gnu.org; 11 Nov 2020 14:34:12 +0000 Original-Received: from localhost ([127.0.0.1]:40644 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcrCN-0007Zw-L2 for submit@debbugs.gnu.org; Wed, 11 Nov 2020 09:34:11 -0500 Original-Received: from mail-lf1-f42.google.com ([209.85.167.42]:45105) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kcrCK-0007Zh-MQ for 44554@debbugs.gnu.org; Wed, 11 Nov 2020 09:34:10 -0500 Original-Received: by mail-lf1-f42.google.com with SMTP id z21so3372754lfe.12 for <44554@debbugs.gnu.org>; Wed, 11 Nov 2020 06:34:08 -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=qaiSvVFTAoAvULEXATzoSk3iRY94o6SKAlAz1VGN6fQ=; b=nBJpPz8it4MBc/iX0nXv3Yky5aTzn8beK1yDkXBu9aYPY+ojrqoAekgB/A1nv7uiQz Ar0g2okC4uMv1LvTW9l4F15w0poBCjysTV38zsGPlojxBzdT4eC/j7K5WPuFR/FlNvz/ RlkGkUMCpSGKhsQ/e2Q7l9vhy4ZAarbk83FX+NxiVDwbymoKQKopzpXpS0j9gmoAVKsK WRTZRYamcDPLc8WH4aMg/7NijM+9LC5cczcIKJhw7ZSC2FesXRiGh3SPbNEe1x2ovnaO P2XLd4J1HgIwCCBy4aBSSq7HRyXvpbIIyZfLsgTEpmEvO6yr6SIy6jju8By2pXqsvvLp WSwQ== 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=qaiSvVFTAoAvULEXATzoSk3iRY94o6SKAlAz1VGN6fQ=; b=uZRGnwREBqwEgSe+AjJha6Dq2DfZ1ilGne+6uWPvzEZfvogVneOlJ5hwAMUv9TC69S SJl74ltgK3K6iLRjO/9YLhygRmwH5EAHX8OlyYUzcuC7TkfWXcqmQA0mZ60wCDQahPwW Z0hcXpBQhRxRLGuGqOInASh+wYSxvXb9HWYDfo+UUG+Qac4KzKZRnrE7Hel05F60k0zf gW5Dx9oIg77tnFpRCwmHgv+xqsCAJ6v8yCpetRP9XZx5t8rAL1zFQrAetx3wsQYu6YNn B6aXi0fI5vjgKn9XalJowqVhTMBIAjf1IbpiOUYXNe+n/UUGg5GT7beKLBAAqB//DtjV Y1mw== X-Gm-Message-State: AOAM530/yK7hx+qcR39WiVeRrqVwcaco5r7SgFemoPbfqb874tTxZ9g2 6BpK1hrgHizPxqMAV788WqKBwvt4zQlCJ5rocT8= X-Google-Smtp-Source: ABdhPJyYRKK/aBq1LjA5UDczytcIF9gaR9XzqH0+6m6Pqdg1ompe3YA67+Qa9vvlqafycWs2ayzRlG3JDVsal/1raxA= X-Received: by 2002:a19:357:: with SMTP id 84mr8906381lfd.243.1605105242644; Wed, 11 Nov 2020 06:34:02 -0800 (PST) In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:193109 Archived-At: --000000000000d0a5d105b3d5af02 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Well, as a "poor man's substitute". A quoted expression is still an expression, and a macro can't expand to nothing, it will always expand to at least an empty list. I would still prefer a robust solution, even if it takes longer. -- Yours sincerely, Vladimir Nikishkin (Sent with Google mail mobile.) Jean Louis =E4=BA=8E 2020=E5=B9=B411=E6=9C=8811=E6=97=A5= =E5=91=A8=E4=B8=89 21:57=E5=86=99=E9=81=93=EF=BC=9A > * Vladimir Nikishkin [2020-11-11 11:19]: > > Just to clarify, > > > > I am not asking that exactly the syntax of srfi-62 as it is be added. > > (Although Emacs Lisp already uses #'symbol as a reader-syntax switch, > > so I suspect that it is possible) > > I am asking for _some_ syntax to comment out valid sexps, whichever > > fits Emacs Lisp most. > > Would this work? > > '( > > ) > > Or there could be some macro to comment out anything: > > (do-not-process > > Put anything you wish here. > > ) > > --000000000000d0a5d105b3d5af02 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Well, as a "poor man's substitute". A quote= d expression is still an expression, and a macro can't expand to nothin= g, it will always expand to at least an empty list.=C2=A0
=
I would still prefer a robust solution, even if= it takes longer.=C2=A0

--
Yours sincerely, Vladimir Nikishkin
(Sent with Google ma= il mobile.)

Jean Louis <bugs@gnu.support> =E4=BA=8E 2020= =E5=B9=B411=E6=9C=8811=E6=97=A5=E5=91=A8=E4=B8=89 21:57=E5=86=99=E9=81=93= =EF=BC=9A
* Vladimir Nikishkin <= lockywolf@gmail.com> [2020-11-11 11:19]:
> Just to clarify,
>
> I am not asking that exactly the syntax of srfi-62 as it is be added.<= br> > (Although Emacs Lisp already uses #'symbol as a reader-syntax swit= ch,
> so I suspect that it is possible)
> I am asking for _some_ syntax to comment out valid sexps, whichever > fits Emacs Lisp most.

Would this work?

'(

)

Or there could be some macro to comment out anything:

(do-not-process

Put anything you wish here.

)

--000000000000d0a5d105b3d5af02--