From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: Multiline Comments Date: Mon, 9 Nov 2020 14:55:58 +0100 Message-ID: References: <87zh3qheg3.fsf@web.de> <874klyr6y7.fsf@fastmail.fm> 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="25340"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Joost Kremers Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 15:00:26 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 1kc7ic-00063n-DN for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 15:00:26 +0100 Original-Received: from localhost ([::1]:43692 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc7iZ-0000Gb-IB for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 09:00:23 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35366) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc7eR-0007D0-Nn for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:56:07 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:51639) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc7eN-0006Gy-6e for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:56:07 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604930158; bh=x7TG1sG+XK1t/3Vy93NGAadiVCVTwo8HsHS0vpy1gIQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=Y0lox3URs5/yNMUa1X28xvkassNSyh1Q39sHXR7cDp9Dx4hNiaOaPnhIv0FY211cy +aSaVX11Oj6Oy6K67C9VQI55sdjO2XNSA4yiiIjF2Z99crDvag0uBiN28aHVQ+CBh8 HidzkvT+RdVnO4CneLBG/kZf0uQId7wSOZC9nu9E= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs13.server.lan [172.19.170.181]) (via HTTP); Mon, 9 Nov 2020 14:55:58 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <874klyr6y7.fsf@fastmail.fm> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:1NB/DoZvB2tRw1/yPkJq0o6GmTU5Q2b6DGZX4FchitxBZC7Cs3sg4SNcCDkHYnTI1kSmJ FLRrN07oUa44Xo5JXeHbA63ZiwsH0zQzxG6jYBiExBoUsx4BefDJNXIn0NYSvvZXu7oTMXkRZQpz QNauNgdP9KnpVl1qNJ73BSnDCMnC5i/s2yILjdVXgvxsy1qe44BnYSiDg153uNubfCDduo9hn/1f /h5oM/XOTTI0AOoaDW54x4YY9P4vSkVu1jbwvh8rSSpiutI4px0YJtk/DHbvwZSovvi4qdkUmMKv Hs= X-UI-Out-Filterresults: notjunk:1;V03:K0:c4/MiMWQCPA=:zvJyKJvtoQFmNPmc1Y07Nx xRCV692epraoQw9kVHyfnqUqoAVTVsNshknjunJbUqQ7PqHbqlcWrLlDwtZrEQ1FGOg5uu1zQ +fUqinmZWqLKfLRCPhafd1PQvhCn4CqD/i/vKrOGg4lKySqn4N1DgH03JuiiR95a3ElKZB0mR saEHJaRfof9VraFTjlAQJkEkVzLJ9W3TLmjuEng+yXxXA7y9RQP+NAmHmjHdrTjrdnnceVwLO YQ0s3aGAOrhvmuxw62JkAAI8o6Bd+GrWbi6al/5yU742u1QIPcS3GoRAzotJpydbOJFe6Pw0H pjXZcYp0UVKegiGcQEuNqoPQf+3Q57/xovWmDhevVrf54iEo9wPdS/9KRQ8O8Dw/l+plA0fJc rwGO9K0ie5VGr0EHbb7X32bpH3Nfs/0AH3mMjPCd7S5d76odthjBSfRenxV50ybFeCKg0F1RK iMjs85BmH+oPi3zYT0UujwFXSzYrWqYcVbKProGDV7TGT/Ds4IEo93FUz3assTmV05bLHffgw fkqHn0jbDW+Oo8dul5rgqxxlY0AD2WhOgb5qgWRUru3MrzLiNzUuBMgp8IF2eEsmADXDTr9C7 ZCuOyjXveXfVA= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 08:56:01 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=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:125130 Archived-At: > Sent: Monday, November 09, 2020 at 2:33 PM > From: "Joost Kremers" > To: help-gnu-emacs@gnu.org > Subject: Re: Multiline Comments > > > On Mon, Nov 09 2020, Christopher Dimech wrote: > > Correct - The problem crops up because expressions still got to be val= id. > > I resolve the problem, I use double quotes, so that elisp would consid= er > > the comment lines as common strings. Is there a way to construct a ma= cro > > or function to disregard the requirement for valid expressions, becaus= e > > 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 sy= stem'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. Fair enough. I am currently making comments using a string. This does no= t make Elisp complain. (multic " Any Comment") I would then think you would use a function or a variable? > > -- > Joost Kremers > Life has its moments > >