[Emacs-ada-mode] Don't indent comments starting at column 0
Markus Schöpflin
markus.schoepflin at comsoft.de
Fri Feb 6 06:09:33 PST 2009
Stephen Leake wrote:
> It would make sense to add this, controlled by a user option to enable
> it (off by default).
Attached is a patch which does this. It adds the following new option:
(defcustom ada-indent-comment-respect-col-0 nil
"*Non-nil means that comments starting in column 0 won't be indented.
If nil, comments starting in column 0 are indented as usual.
This setting is meant to support coding guidelines where certain special
comments (like for example code change markers) must start at column 0."
:type 'boolean :group 'ada)
Please be aware that
a) my Lisp knowledge is sketchy at best, so please revise the patch if
needed, and
b) as I'm no native speaker, the description might need to be given a
polish as well.
Regards,
Markus
_______________________________________________
Emacs-ada-mode mailing list
Emacs-ada-mode at stephe-leake.org
http://stephe-leake.org/mailman/listinfo/emacs-ada-mode_stephe-leake.org
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ada-mode.el.diff
URL: <http://stephe-leake.org/pipermail/emacs-ada-mode_stephe-leake.org/attachments/20090206/3a3fd983/attachment.pl>
More information about the Emacs-ada-mode
mailing list