On Tue, Jan 11, 2011 at 08:12, Eric Schulte wrote:
> As an example of a user-accessible function for customizing indentation,
> the following can be used with the latest clojure-mode either
> interactively or from a user's config.
>
> (defun clojure-new-indent (&optional func level)
> "Set the
As an example of a user-accessible function for customizing indentation,
the following can be used with the latest clojure-mode either
interactively or from a user's config.
(defun clojure-new-indent (&optional func level)
"Set the indentation level of FUNC to LEVEL."
(interactive)
(
Hi,
Even using Phil's clojure-mode I find myself often editing the source
code of clojure-mode to add custom indentation or fontification for my
own macros or for forms I feel have been missed. Perhaps some of the
lists of function/marco-names in clojure-mode could be tucked behind
user-configura
This is an unfortunate problem with clojure-mode being based on older Lisp
modes for Emacs. It doesn't really know how to read Clojure code, just how
to parse Lispy expressions in general.
Phil Hagelberg's fork of clojure-mode [1] has experimental support for
better indentation in forms like re
I'm using (emacs) clojure-mode 1.7.1 and I'm not happy with the how it
indents method definitions, e.g. in reify:
| (reify ItemListener
|(itemStateChanged
| [this e]
| (f (selected? e
The fact that Protocols method name, arg list and method body are all
indented to ne