Hi! Great stuff!
-Sorry about the empty post, my last submission
disappeared and I didn't want to try again lest I could
see it work. :o.
I borrow some from doxygen.el which lacks doxymacs
functionality but is way more elegant in use.
If you end the function-comment with a newline and
start by going to the beginning of the line it will
allow the user to insert comment after having typed
I tried to get indentation to work too, but I do not
know *lisp and must have made an error. If you can fix
it (I think start is void), it will use local
indentation rules on the just inserted comment.
Philip Bergen, Copenhagen.
(let ((start (point)))
(let ((next-func (doxymacs-find-next-func)))
"/**" '> 'n
" \todo DOCS" 'p '> 'n
(doxymacs-parm-tempo-element (cdr (assoc 'args
(regexp-quote (cdr (assoc 'return next-func)))
'(l " @return " (p "Returns: ") > n))
"*/" '> 'n '>)
(error "Can't find next function declaration.")
(let ((end (point)))
(indent-region start end nil))))
"Default JavaDoc-style template for function
----------------Where I borrowed some:
;;; doxygen.el --- support for doxygen style comments
;; Copyright (C) 2000 Basis Technology, Corp.
;; Author: Tom Emerson <email@example.com>
;; Keywords: languages comments doxygen
;; Version: 1.1
Log in to post a comment.