Baishampayan Ghose <b.gh...@gmail.com> writes:

Hi again,

> The second option gives an error the moment the sldb buffer comes
> up. It says -
>
> error in process filter: insert: Wrong number of arguments: (lambda
> nil (ansi-color-apply-on-region (point-min) (point-max))), 3

Ah, yes.  Now I've installed clj-stacktrace myself, and this is a fully
working, hardcore tested emacs config. ;-)

--8<---------------cut here---------------start------------->8---
(defun th-ansi-colorize-region (start end old-len)
  (ansi-color-apply-on-region start end))

(defun th-sldb-mode-init ()
  (add-hook 'after-change-functions 'th-ansi-colorize-region nil t))

(add-hook 'sldb-mode-hook 'th-sldb-mode-init)
--8<---------------cut here---------------end--------------->8---

Bye,
Tassilo

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to