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