Hi rubikitch,
> > /* -*- javascript -*-
> > TO VIEW SOURCE FILES
> >
> > # (find-conkerorfile "")
> > # (view-conkerorfile "bindings.js")
>
> What are these two lines? They appear to be emacs lisp but it's not
> clear why they're in your .conkerorrc file or what they do.
I often refer to conkeror source files from conkerorrc.
These are elisp hyperlinks to open conkeror source directory and source files.
These are evaled by pressing C-e C-x C-e. (If you install eev, press M-e.)
Embedded sexps make any text files HYPERTEXTize.
I am a heavy user of GNU eev, which provides many elisp hyperlink functions.
The `code-c-d' function in eev.el defines many hyperlink functions for
specified directory.
# (code-c-d "conkeror" "~/compile/conkeror/src/conkeror/content/")
This sexp defines find-conkerorfile(open a file by find-file),
find-conkerorsh(execute a shell command in the directory),
find-conkerorw3m(open a html file by w3m-find-file), and so on.
Defining functions for the directory hides actual directory, so I do
not have to modify hyperlink sexps even if the conkeror source
directory is changed. All I have to do is re-evaling code-c-d!
http://angg.twu.net/#eev
Interesting. I had actually bookmarked eev about a week or two ago as
something that looked interesting; however, I hadn't gotten around to
investigating it further. I'll have to bump it up the list!
- Bill
_______________________________________________
Conkeror mailing list
[email protected]
http://mozdev.org/mailman/listinfo/conkeror