all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Lisp comments enclosed inside #|..|#
@ 2012-02-18  1:39 Akshay Srinivasan
  2012-02-18 13:30 ` Valentin Baciu
  0 siblings, 1 reply; 3+ messages in thread
From: Akshay Srinivasan @ 2012-02-18  1:39 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 155 bytes --]

Hello,
    I had issues with emacs not rendering comments enclosed inside
#|..|# properly in lisp-mode. Does anyone know how to fix this ?

Thanks,
Akshay

[-- Attachment #2: Type: text/html, Size: 426 bytes --]

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

* Re: Lisp comments enclosed inside #|..|#
  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
  0 siblings, 1 reply; 3+ messages in thread
From: Valentin Baciu @ 2012-02-18 13:30 UTC (permalink / raw)
  To: Akshay Srinivasan; +Cc: help-gnu-emacs

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.



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

* Re: Lisp comments enclosed inside #|..|#
  2012-02-18 13:30 ` Valentin Baciu
@ 2012-02-18 16:03   ` Akshay Srinivasan
  0 siblings, 0 replies; 3+ messages in thread
From: Akshay Srinivasan @ 2012-02-18 16:03 UTC (permalink / raw)
  To: Valentin Baciu; +Cc: help-gnu-emacs

[-- 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 --]

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

end of thread, other threads:[~2012-02-18 16:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.