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:18:55 +0100 Message-ID: References: <87zh3qheg3.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="35195"; 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 14:22:09 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 1kc77Y-00091J-WF for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 14:22:09 +0100 Original-Received: from localhost ([::1]:42232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kc77X-00070o-OJ for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Nov 2020 08:22:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50498) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc74d-00070O-Pt for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:19:12 -0500 Original-Received: from mout.gmx.net ([212.227.17.20]:36219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kc74V-0001x6-2q for help-gnu-emacs@gnu.org; Mon, 09 Nov 2020 08:19:06 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1604927935; bh=8H6f0kEFDpotCP1yIGWCv0GK2lwE7K2VcyiX2WGDxYQ=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XZEaodLuLolMIzidkiXUWsDFquQMwpUYBhXVDigew77exMhxFn1RO76MclUnj3mBf M73MpEcQhgxoNKQfbSnWf661u/FH7TqoGHfOGetDFW/kqFnRd4o/SsjMIn0Sr4aj7G 6LkU5a4PRSlvMZAXeSBFv+C4YSKQBFJjv6d7s5r4= 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:18:55 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <87zh3qheg3.fsf@web.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:2avgkWDuQLKNVB8l7T5rcVvMMqt7FvMtbiOj+SUpLKErK+Ebkg3oyhP8NN0yG1vQXjyhv ebTzwZSDdU4LwgM6hIXIUqRehI0u9G5YKY8btygYcn242WAf7AVsAgF5g/GX7WZaYOegmF2vpLBu bmz63Ew/GFyLHJ2DIgNkRY67Pn7bLbeTr7bpQjTi+RB/zGB56yNY5Fydqm67L6GNl0H6SgHwpzZg jy7vq0A3vamX4GWOFQzXLOaWoAVo1K09dIxVlq+EVhqlAqklQYq8GlsNcjukK14oBlF9mOwMVq/3 gw= X-UI-Out-Filterresults: notjunk:1;V03:K0:teHcJYFi6bk=:GGDcg2plt4++wMImSWbl0u wkpiVV68dp/eyafGRVyDZRKNXbPkCBaJCgC2rmK2a6iSvzM46VZYbIID4nWwCf22vYBcughKp nue3MUcaPJvC4uBF3x2bk9FOcE/sczpS+klvWsrMsZI4NFcYQzuI+ThHnv8XR/sbyU3ikjdtt qX3ZUy7ELe6B1hro5bCk7UVaZABnp6mvqR0oaoOG7mWKX9GzYBqolhKKB6L5rKF45yOOpJkRQ SEhxYNH2TK3kMPfAbTGMgYK2aem4RhiAH3S+up1qDIHs6+rW1GrWk2ANp1I9szPsxtC4E+5YS eqPSN16ssPRpcZtGAawqE/sSATsVvT5NMfDjp00Qjigsjs0CdfKVpoM9k4cIA3wGIqZ0l+QNL 7ximcvBcvW1wPYHqmiHyVzOlV3EncRtCVfIimcB/tlpvQ6sLgfnwCPBzacTjyo+bzu8PoyAxs uuLl5/GaIyRXBRAs4AwJwcL3F+35tC25nSZszDCtuBKcK9N5+93orfHEPUA6DfZy35j9rG6rX kpNRQqztyeY1ZavDeusX3EaYSVtHi5/o69ew0vv0Ci7+fgKN5kPbNUbtyVeliYODQYHlI9Lb2 6QYCJvKJr689o= Received-SPF: pass client-ip=212.227.17.20; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/11/09 08:18:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [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:125124 Archived-At: > Sent: Monday, November 09, 2020 at 2:01 PM > From: "Michael Heerdegen" > To: help-gnu-emacs@gnu.org > Subject: Re: Multiline Comments > > Jean Louis writes: > > > > (defmacro multic (&rest _) nil) > > > I wish I could understand how that macro works for multi line > > comments. > > The macro lets evaluation ignore all enclosed expressions. A similar > effect can be reached by quoting lop-level expressions. That's already > all. > > If what is enclosed is not a set of valid expressions, you > get... problems. 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. > > > Michael. > > >