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:55:58 +0100

> Sent: Monday, November 09, 2020 at 2:33 PM
> From: "Joost Kremers" <joostkremers@fastmail.fm>
> 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 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.

Fair enough.  I am currently making comments using a string.  This does not make
Elisp complain.

(multic "
Any Comment")

I would then think you would use a function or a variable?


>
> --
> Joost Kremers
> Life has its moments
>
>



reply via email to

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