ECB method browsing for PicoLisp

ecb-method-browser.jpg

I just got method browsing in ECB working by way of Semantic.

At first I tried to create a BNF language specification for PicoLisp but to no avail. At the end I resorted to edit the “Semantic details for Emacs Lisp” file (semantic-el.el) in the bovine folder of Semantic. This did it and here is the file.

After creating the file I added it to the Makefile in the bovine folder in languages_LISP followed by make clean and make in that folder. Click the small thumbnail to see full size screenshot of the result.

The CEDET/ECB section now looks like this in my config file:

(add-to-list 'load-path "~/.emacs.d/henrik/ecb-2.40")
(global-ede-mode 1)
(semantic-load-enable-code-helpers)
(require 'ecb)
(setq ecb-tree-buffer-style 'ascii-guides)
(global-set-key [f12] 'ecb-activate)
(setq ecb-tip-of-the-day nil)
(setq ecb-layout-name "left15")
(setq ecb-layout-window-sizes (quote (("left15" (0.2564102564102564 . 0.6949152542372882) (0.2 . 0.8)))))
(setq my-projects '("/opt/clojure" "/opt/picolisp" "/opt/clojure/affili" "/opt/clojure/fred"))
(setq tags-table-list my-projects)
(setq ecb-source-path my-projects)

Note that I’ve experienced problems with getting the method browsing to work when opening files that do not reside in the my-projects paths.

I suppose that’s it for now, I’m happy with my PicoLisp Emacs environment for the time being, until something new shows up that I just have to have.

Note that ecb-store-window-sizes can be used to save current layout to emacs.d/custom.l.

Related Posts

Tags: , , , ,