Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 47 lines (33 sloc) 1.583 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
<Author>

 Taesoo Kim (tsgatesv@gmail.com)

<README>

 Pylookup stollen idea from 'http://furius.ca/haddoc', one of my favorite
 emacs mode for python documentation lookup. I reimplemented python code and
 elisp code not just to support new version of python 2.6 but also to extend
 it for other documentation lookup interface with easy. Importantly, pylookup
 mode is much faster and support fancy highlighting.

 Please check,
    Web : http://taesoo.org/Opensource/Pylookup
    Repo : http://github.com/tsgates/pylookup

<INSTALL>

 ** [PATH] parameter totally depends on your environment,
      ex) "~/.emacs.d/pylookup"

;; ======================================================================
;; add pylookup to your loadpath, ex) ~/.emacs.d/pylookup
(setq pylookup-dir "[PATH]")
(add-to-list 'load-path pylookup-dir)

;; load pylookup when compile time
(eval-when-compile (require 'pylookup))

;; set executable file and db file
(setq pylookup-program (concat pylookup-dir "/pylookup.py"))
(setq pylookup-db-file (concat pylookup-dir "/pylookup.db"))

;; to speedup, just load it on demand
(autoload 'pylookup-lookup "pylookup"
  "Lookup SEARCH-TERM in the Python HTML indexes." t)

(autoload 'pylookup-update "pylookup"
  "Run pylookup-update and create the database at `pylookup-db-file'." t)
;;----------------------------------------------------------------------

<SEARCHING LOCAL HTML>

Index the database by yourself

1. download any versions of documents from 'http://docs.python.org'
2. indexing by typing './pylookup.py -u file:///home/... [absolute path]'
Something went wrong with that request. Please try again.