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 13:14:56 +0100 Message-ID: References: <87zh3qu9g0.fsf@web.de> 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="12577"; mail-complaints-to="usenet@ciao.gmane.io" Cc: help-gnu-emacs@gnu.org To: Michael Heerdegen Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 09 13:18:10 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 1kc67d-00039a-8T for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 13:18:09 +0100 Original-Received: from localhost ([::1]:50338 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc67b-0000CZ-UW for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 07:18:08 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37046) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc64b-0000Be-Mp for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 07:15:02 -0500 Original-Received: from mout.gmx.net ([212.227.17.22]:35367) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc64Y-0004k9-UW for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 07:15:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604924096; bh=um5gn22+dc2A/hL7bQVdWmuMjCp9JMaPn369q5UWQp8=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=YmdVLbmfXyDEADaR8Itlfb+CWlLOpNIDyhD9z4rdTIZz4cSRxX6m+hLDisrZPSUxF wwXx2fzUSN4bFwJvZTE97o6bomiwcLQbsdUnhIpmUEaJ76TeXBPeeuw3sgzjsUGosr BvdZUDKEg31LjGBfkZsWKTqOguyaIQ94nwwvtOXI= 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 13:14:56 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87zh3qu9g0.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:JP7Xfu4NioBkS/zjy3+f4BrGZSeLQCySKytAoFHf4Q+Dv53ljdW4JCo8McGlGVAHouFw1 fr2hS2v4fQvs8RTq4//NyG1q2DGvSB3kVA7UWB3D9Aj4Ywnj184i+RvDtyr0C3Qme7Vryy0o7QQ4 P8ptDC0F0RT3aFxbcRtoQwAAKwVF7fvNDhv64JrCnEqqD2LFZK8B4vSUmySevR/LQIEi0Kp4flon YSKyl2a3tvDpz9k0JXrbu3GrJMLjNDe+ceRhDaiGkapYj5r3CMSUuETqqSBeQjXRRpK/2vYUN61S CA= X-UI-Out-Filterresults: notjunk:1;V03:K0:e8aNjBDuopw=:K4vfM1l+6w2jeQVt3iHjP8 KYdVYhkrSaECOvOe+gVbgmlaQBqA2AKzNLdHlYCWldfnFM0+0ihvXlX2QN90qQ+klbzE2xt5j mGYbuTJnbHS1OYTh14uc2vo6oTiIvVzk4TBP6hPQ9wHvzI6SJRDLyuU564cf/gM+6Qoyg31Wp xbCW6RjpQ2xVlbdxvnbVdkKDdgAY2XpkzL6OraWNtKiKxTID0ikKKylo29Pq1w3uBpFv4D5xm bagws/pvDriwp4ekLnwzrIXYK80UnVZXOKnWYXr1oRXIaq3eeeXmiOUI5eSVeX79GtYIaO07m 2RhQD/ZPvbDBCy76e2/COX7Dv6G7HDEvvIaLZdLaMXbop3wp+OoML6YcEu9YrLe0P+ywfYWRu kyZz8Qijn1DnoV0a5Q2T5ReOZD3gcpj0/vPzOEMQj4LQ5/WJdLUESceGkwuAF8hu5gXAgwj1/ 2ehzBdG72bwI5nxTzTvEgUmt2Bae1JNjRvpzcI60d6ZHR5K7XpQCqtsaKuiU4s1yTRWsj6G4a HIqahYlv6vKXL00L1wx3ZpyZOLLvqkt+D9cUZhdB8iTM30qANdhJSnbKrocDL1LE/mbm83Zr2 rvBT5Wiz+E9iQ= Received-SPF: pass client-ip=212.227.17.22; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 07:14:56 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:125122 Archived-At: > Sent: Monday, November 09, 2020 at 11:10 AM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Multiline Comments > > Christopher Dimech writes: > > > Have included the following macro for writing multiline comments > > > > (defmacro multic (&rest _) nil) > > > > > > But the thing complains when writing > > > > (multic > > > > #+STARTUP: content > > * Adds Directories to load-path and the Melpa Package Archives) > > Yes indeed, such a macro will only allow to "comment" `read'able > symbolic Elisp expressions. > > Even then it has another downside: even though the arguments are > ignored, the macro expression will still be evaluated and return > something (nil), so it may change the semantics of a surrounding form. > > Why do you want to avoid commenting with ";" btw? Because I want to pass the file through Org-Mode and Rec-Utils, which require Org and Rec Commands to start at the beginning of the line. My workaround has been to include the commands within Double Quotes. (multic " #+STARTUP: content * Adds Directories to load-path and the Melpa Package Archives") But it would help if we can think of an improvement to multic, thus looking for ideas I can try. > > Regards, > > Michael. > > >