unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Joost Kremers <joostkremers@fastmail.fm>
To: help-gnu-emacs@gnu.org
Subject: Re: Multiline Comments
Date: Mon, 09 Nov 2020 14:33:04 +0100	[thread overview]
Message-ID: <874klyr6y7.fsf@fastmail.fm> (raw)
In-Reply-To: <trinity-d077a5d0-5e94-41ee-a7cc-8fefe97b6dd9-1604927935823@3c-app-mailcom-bs13>


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	other threads:[~2020-11-09 13:33 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-08 20:47 Multiline Comments Christopher Dimech
2020-11-09  9:28 ` Jean Louis
2020-11-09 13:01   ` Michael Heerdegen
2020-11-09 13:18     ` Christopher Dimech
2020-11-09 13:33       ` Joost Kremers [this message]
2020-11-09 13:55         ` Christopher Dimech
2020-11-09 14:37           ` Joost Kremers
2020-11-09 15:08             ` Christopher Dimech
2020-11-09 15:23               ` Joost Kremers
2020-11-09 15:35                 ` Christopher Dimech
2020-11-09 19:01                   ` Joost Kremers
2020-11-10  0:13                     ` Robert Thorpe
2020-11-10  0:36                       ` Joost Kremers
2020-11-09 17:51                 ` Christopher Dimech
2020-11-09 10:10 ` Michael Heerdegen
2020-11-09 12:14   ` Christopher Dimech
2020-11-09 13:29     ` Joost Kremers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=874klyr6y7.fsf@fastmail.fm \
    --to=joostkremers@fastmail.fm \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).