From: Akshay Srinivasan <akshaysrinivasan@gmail.com>
To: Valentin Baciu <valentin@syntactic.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Lisp comments enclosed inside #|..|#
Date: Sat, 18 Feb 2012 21:33:03 +0530 [thread overview]
Message-ID: <4F3FCBB7.4080904@gmail.com> (raw)
In-Reply-To: <CAKHQLnrModCLhMvGR3Qs92AZ1tj_SRD9NmZtnfW5wWUPQryJzg@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1316 bytes --]
On 02/18/2012 07:00 PM, Valentin Baciu wrote:
> On Sat, Feb 18, 2012 at 3:39 AM, Akshay Srinivasan
> <akshaysrinivasan@gmail.com> wrote:
>> Hello,
>> I had issues with emacs not rendering comments enclosed inside #|..|#
>> properly in lisp-mode. Does anyone know how to fix this ?
>>
>> Thanks,
>> Akshay
>
> If you are super cereal about this issue then you should provide more details.
The trouble is I have to then format things in colour :)
Anyway here is basically what the problem is:
I have the following code say:
-----------
..
#|
;; blah blah
;; blah blah
(eval-when (load compile eval)
(defun make-fortran-name (name)
...
|#
---------------
Everything within #|..|# should be in the coloured as a comment, but in
this particular case everything after (eval-when..) parts is coloured
like un-commented lisp code.
I can attach the source file if you like. But this happens, as I have
observed, when there are strings inside the comment block. I don't know
enough elisp (and not frustrated enough) to go through the lisp-mode
code (yet).
Thanks,
Akshay
P.S: Using color in HTML:
#|
;; blah blah
;; blah blah
(eval-when (load compile eval)
(defun make-fortran-name (name)
...
|#
instead of
#|
;; blah blah
;; blah "blah"
;;
(eval-when (load compile eval)
(defun make-fortran-name (name)
...
|#
[-- Attachment #2: Type: text/html, Size: 2648 bytes --]
prev parent reply other threads:[~2012-02-18 16:03 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-18 1:39 Lisp comments enclosed inside #|..|# Akshay Srinivasan
2012-02-18 13:30 ` Valentin Baciu
2012-02-18 16:03 ` Akshay Srinivasan [this message]
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=4F3FCBB7.4080904@gmail.com \
--to=akshaysrinivasan@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=valentin@syntactic.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).