help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Multiline Comments


From: Christopher Dimech
Subject: Re: Multiline Comments
Date: Mon, 9 Nov 2020 14:18:55 +0100


> Sent: Monday, November 09, 2020 at 2:01 PM
> From: "Michael Heerdegen" <michael_heerdegen@web.de>
> To: help-gnu-emacs@gnu.org
> Subject: Re: Multiline Comments
>
> Jean Louis <bugs@gnu.support> 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.
>
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]