From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#44554: 27.1; Feature request: SRFI-62 style comments for Emacs Lisp. Date: Thu, 12 Nov 2020 10:16:42 -0800 (PST) Message-ID: References: <4282B0B6-7580-4066-9BAD-369EAD238E2C@acm.org> <87pn4iagd6.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34033"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Vladimir Nikishkin , Richard Stallman , 44554@debbugs.gnu.org To: Lars Ingebrigtsen , Mattias =?UTF-8?Q?Engdeg=C3=A5rd?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 12 19:17:10 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 1kdH9i-0008kD-8e for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 19:17:10 +0100 Original-Received: from localhost ([::1]:56510 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kdH9h-0000g8-4s for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 12 Nov 2020 13:17:09 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42732) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kdH9a-0000g0-DD for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:17:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:34002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kdH9a-0006mF-4n for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kdH9a-0001o1-05 for bug-gnu-emacs@gnu.org; Thu, 12 Nov 2020 13:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 12 Nov 2020 18:17: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.16052050166927 (code B ref 44554); Thu, 12 Nov 2020 18:17:01 +0000 Original-Received: (at 44554) by debbugs.gnu.org; 12 Nov 2020 18:16:56 +0000 Original-Received: from localhost ([127.0.0.1]:45548 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdH9T-0001ne-Kq for submit@debbugs.gnu.org; Thu, 12 Nov 2020 13:16:56 -0500 Original-Received: from aserp2130.oracle.com ([141.146.126.79]:35660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kdH9S-0001nR-02 for 44554@debbugs.gnu.org; Thu, 12 Nov 2020 13:16:54 -0500 Original-Received: from pps.filterd (aserp2130.oracle.com [127.0.0.1]) by aserp2130.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0ACI9xGX001363; Thu, 12 Nov 2020 18:16:46 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=mime-version : message-id : date : from : sender : to : cc : subject : references : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=d3JaE428WwyT18W3S34gmrWneM+fDvYC8VItxSfOMpI=; b=tuX+lRcg6Q4YqJm6D4PDlI9oMj9V9tjzxwayfCJP1PX6lpsIzWzqLsgcItKFUT9WsSn4 5kL2MthRpHsuiTJHyaM15BIMS+ydgMliK9kPdK4ZzAe5cleb+jAkkpExivPYb0qTAi/R /reazzA92uQ+dQTFQdsvGGnxa23GZNuClNrX70AhmDGWgXqafhTzWcAO+e5FaWs9Zp3w mzNH+BnKAWsQw87mIMc40zCZ3wc/FnGgY/IhXx2UlolDUK3B34A9k01YAyrSuTXrl97j NYm1nEhHUEdbE/HKA8M5FGdbcXXJm5zm7/1shEHBuQQWxA9icRIZ6i7mE773IQSENxPB HQ== Original-Received: from userp3020.oracle.com (userp3020.oracle.com [156.151.31.79]) by aserp2130.oracle.com with ESMTP id 34nh3b73xu-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 12 Nov 2020 18:16:46 +0000 Original-Received: from pps.filterd (userp3020.oracle.com [127.0.0.1]) by userp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 0ACIBC1H188903; Thu, 12 Nov 2020 18:16:45 GMT Original-Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by userp3020.oracle.com with ESMTP id 34rt56frq5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Thu, 12 Nov 2020 18:16:45 +0000 Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by aserv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 0ACIGhMo021064; Thu, 12 Nov 2020 18:16:44 GMT In-Reply-To: <87pn4iagd6.fsf@gnus.org> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.9.1 (1003210) [OL 16.0.5071.0 (x86)] X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9803 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 bulkscore=0 mlxscore=0 mlxlogscore=999 suspectscore=0 adultscore=0 phishscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011120107 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9803 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 lowpriorityscore=0 priorityscore=1501 clxscore=1015 malwarescore=0 mlxscore=0 spamscore=0 suspectscore=0 mlxlogscore=999 impostorscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2009150000 definitions=main-2011120107 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:193174 Archived-At: > > No, not without modification. For example, #; would be treated as # > > and a comment removing the rest of the line by most existing lexers. > > And it's not just my code. >=20 > Sure, it would be a new feature, and older lexers wouldn't understand > the new grammar, but that's true of (almost) any new language feature. If we had reader macros, and more generally a user-configurable reader, like Common Lisp, then maybe (?) users could adapt (e.g. disable or whatever) such new constructs programmatically, with Lisp. Of course, if that were added then there would at least be a one-time adaptation to it needed.