CClookup is a mode to search C++ refernece documents especially within emacs.




git clone git@github.com:tsgates/cclookup.git
;; add cclookup to your loadpath, ex) "~/.lisp/addons/cclookup"
(setq cclookup-dir "[PATH]")
(add-to-list 'load-path cclookup-dir)
;; load cclookup when compile time
(eval-when-compile (require 'cclookup))
;; set executable file and db file
(setq cclookup-program (concat cclookup-dir "/cclookup.py"))
(setq cclookup-db-file (concat cclookup-dir "/cclookup.db"))
;; to speedup, just load it on demand
(autoload 'cclookup-lookup "cclookup"
"Lookup SEARCH-TERM in the C++ Reference indexes." t)
(autoload 'cclookup-update "cclookup"
"Run cclookup-update and create the database at `cclookup-db-file'." t)
(global-set-key "\C-ch" 'cclookup-lookup)
$ cd ~/.lisp/addons/cclookup $ ./cclookup.py -u ./www.cppreference.com/wiki $ ./cclookup.py -l print fprintf ./www.cppreference.com/wiki/c/io/fprintf c/io print formatted...
(setq browse-url-browser-function 'w3m-browse-url) ;; w3m (setq browse-url-default-browser "firefox.exe") ;; firefox in M$ Windows
| File | Size | Date | Attached by | |||
|---|---|---|---|---|---|---|
| screenshot_038.png No description | 18.81 kB | 07:47, 16 Jul 2009 | tsgates | Actions | ||
| screenshot_039.png No description | 21.12 kB | 07:51, 16 Jul 2009 | tsgates | Actions | ||
| screenshot_040.png No description | 47.2 kB | 07:49, 16 Jul 2009 | tsgates | Actions | ||
| screenshot_041.png No description | 26.55 kB | 07:52, 16 Jul 2009 | tsgates | Actions | ||
| screenshot_042.png No description | 61.02 kB | 07:54, 16 Jul 2009 | tsgates | Actions | ||
| screenshot_043.png No description | 51.59 kB | 07:54, 16 Jul 2009 | tsgates | Actions | ||