unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Emacs Lisp comments, Scheme comments, why the limitations
@ 2020-02-08  5:11 Marco Maggi
  2020-02-08  6:37 ` chuntaro
  0 siblings, 1 reply; 2+ messages in thread
From: Marco Maggi @ 2020-02-08  5:11 UTC (permalink / raw)
  To: help-gnu-emacs

Ciao,

  I  am a  beginner  with elisp  (using  Emacs 26.3),  but  I have  some
experience with  Scheme; I  wonder why elisp's  reader does  not support
form comments as in Scheme:

   #;(progn ...)

and block comments as in Scheme:

   #|
     (progn ...)
   |#

I find  them really useful,  and I am  missing them while  writing elisp
code.

TIA
-- 
Marco Maggi



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Emacs Lisp comments, Scheme comments, why the limitations
  2020-02-08  5:11 Emacs Lisp comments, Scheme comments, why the limitations Marco Maggi
@ 2020-02-08  6:37 ` chuntaro
  0 siblings, 0 replies; 2+ messages in thread
From: chuntaro @ 2020-02-08  6:37 UTC (permalink / raw)
  To: help-gnu-emacs

Hello.

You can do the following tricks;)
Unfortunately, it is not a formal feature.

^_ is entered as C-q C-_.

--- test.el ---
;;; -*- lexical-binding: t; -*-

(print 1)
#@
(print 2)
(print 3)
\x1f^_
(print 4)
---------------

$ emacs --batch -l test.el

1

4

$



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-02-08  6:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-08  5:11 Emacs Lisp comments, Scheme comments, why the limitations Marco Maggi
2020-02-08  6:37 ` chuntaro

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).