[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Indentation of LISP code
From: |
Stefan Monnier |
Subject: |
Re: Indentation of LISP code |
Date: |
Thu, 05 Apr 2007 11:45:36 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.94 (gnu/linux) |
> In this moment one ignores the indentation of commented lines with ;;;
> like this one: ;;; this is a commented line.
> However:
> (defun lisp-indent-region (start end)
> "Indent every line whose first char is between START and END inclusive."
> (save-excursion
> (asa;;;a <=<= THIS LINE IS NOT IGNORED, IT IS TREATED AS DOUBLE
> COMMENTED
> ))
> )
> (USE INDENT REGION TO INDENT)
> In future (after the release) this indentation should be ignored too or
> treated as double commented ;;?
I don't understand the problem. The only difference I can see is that
a space gets added before ";;;". Lisp's indent-region does both re-indent
the code and the comments, so it's completely expected behavior.
Stefan