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

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

Re: Multiline Comments


From: Joost Kremers
Subject: Re: Multiline Comments
Date: Mon, 09 Nov 2020 14:33:04 +0100
User-agent: mu4e 1.5.6; emacs 27.1.50

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.

-- 
Joost Kremers
Life has its moments



reply via email to

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