From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Joost Kremers Newsgroups: gmane.emacs.help Subject: Re: Multiline Comments Date: Mon, 09 Nov 2020 14:33:04 +0100 Message-ID: <874klyr6y7.fsf@fastmail.fm> References: <87zh3qheg3.fsf@web.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14479"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.5.6; emacs 27.1.50 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 14:33:56 2020 Return-path: Envelope-to: geh-help-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 1kc7Iy-0003ep-4g for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 14:33:56 +0100 Original-Received: from localhost ([::1]:50604 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc7Iw-00035I-Q3 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 08:33:54 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56260) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc7IG-0002ua-45 for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:33:12 -0500 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:37455) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc7ID-0006j2-NP for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:33:11 -0500 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 84A7B129C for ; Mon, 9 Nov 2020 08:33:08 -0500 (EST) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Mon, 09 Nov 2020 08:33:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= references:from:to:subject:in-reply-to:date:message-id :mime-version:content-type; s=fm1; bh=nmIZrmY1rWEzFdowpSg+zuRiv4 ehXJ2NpAzrl93imYk=; b=MH4ADFXEKlFz0x+6PEUSYv6l8KVwOq8OJ3omP1Enlv wg1u1ygOGazUt4x44NfBfkCK95rfy3rKvhpJqJQQ9RpomQQiulhWC+CtMAvyPBGF upZMSSDCpvr1ebJ4hIccniE+A2XHLuBY3E9t0+86LrP6hDZLzNWCprjTJP0wlspx /lRj8WT7wB88WpkxEdPuvcGRRxVZuuff1M8MQibVHM4xGzR0mvIjRshE0QJA7kyf datO6HscQAb6GJAOk35fMlUCxU7IHaIZjQrjOL48vML183rhQyGdG6QugdI34OCP Y38akJWU7w8bik8C1gj53NKZLCIBFyEvuSaQlLyBkRzQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=nmIZrm Y1rWEzFdowpSg+zuRiv4ehXJ2NpAzrl93imYk=; b=fouwKhvXQUoc8h+dffMULA iAnUgOUmRyvAnnoAhnhwOf76SjjjgbCPIrG32WPamVOZvOlqVz8UpnNKbG0A3fyB +pngzMFKG5E1vOfvV85Srw3DSoZl+q4+27uSyKCRv9nzX0cOIHy/cTkW78JiCym+ W1UASaEySWA6iE3rFZgQpvKkso4c+fxDlijsEHXG7ph+qd6Ct/yIBEH9gaJ8B5Mc LNETLo51zRhGTpbmAUZ3gwTlHy2zQDdK9SZhMeh0S8dMHHJFHpmQ37fE5kzsQZYb 4FdXHkbd3m0SNMU+rhhJXN+BrrI3D0JiQbtg/8xOvZHcz77TnruFGmbJUyj0jQfQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedujedrudduhedgheehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpehffgfhvffujgffkfggtgesthdtre dttdertdenucfhrhhomheplfhoohhsthcumfhrvghmvghrshcuoehjohhoshhtkhhrvghm vghrshesfhgrshhtmhgrihhlrdhfmheqnecuggftrfgrthhtvghrnhephfduffeuhfdule fhgfelueekgeduveettdduudfhfeetueegvdevtdduudfgffefnecukfhppeelhedrledt rddvvdegrddvfeefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepjhhoohhsthhkrhgvmhgvrhhssehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: from Swift.fastmail.com (ip5f5ae0e9.dynamic.kabel-deutschland.de [95.90.224.233]) by mail.messagingengine.com (Postfix) with ESMTPA id 73B9F3280059 for ; Mon, 9 Nov 2020 08:33:07 -0500 (EST) In-reply-to: Received-SPF: pass client-ip=64.147.123.20; envelope-from=joostkremers@fastmail.fm; helo=wout4-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 08:29:31 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:125127 Archived-At: On Mon, Nov 09 2020, Christopher Dimech wrote: > Correct - The problem crops up because expressions still got to be valid. > I resolve the problem, I use double quotes, so that elisp would consider > the comment lines as common strings. Is there a way to construct a macro > or function to disregard the requirement for valid expressions, because > one can write whatever one wants in comments. No, because what's causing problems is the reader, i.e., the part of the Lisp system that converts the textual representation of Lisp code into the system's internal representation of Lisp code. In Elisp, you cannot intervene in this process, so there's no way to construct a macro that does what you want. -- Joost Kremers Life has its moments