Greetings!  Here is my version, GPL'ed of course.  Suggested key
bindings from .emacs:

(global-set-key "\C-x\C-u" 'djvm-find-file)

(load-library "image-mode")
(load-library "/home/camm/djvm2.elc")
(load-library "/home/camm/djvm1-org.elc")


(defun djvm-dired-open nil
  (interactive)
  (djvm-find-file (dired-get-filename)))
(require 'dired)
(define-key dired-mode-map (kbd "\C-u") 'djvm-dired-open)

(setq org-capture-templates
      '(("h" "Bibtex Heading" entry (function org-bibtex-find-entry) 
;(file+headline "~/tex/scirel/notes.org" "Reference notes")
"* %:author (%:year): %:title\n\t%a 
[[djvm:~/refs/bibtex/%:key::1::0::0::0::0][p. 1]] 
[[http://adsabs.harvard.edu/abs/%:key][adsabs]]\n\
:PROPERTIES:\n\
:Custom_ID: %:key\n\
:END:\n%?\n\
** Notes\n\
*** End notes")
        ("d" "Djvu notes" entry (function org-djvm-find-entry) "** %U 
%?\n%:quote\t%a")))

Alas, I have only limited time for polishing.  But many improvements
remain.  I'd be most interested if you had time to play with it and
let me know what you think.

Take care,
-- 
Camm Maguire                                        [email protected]
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah

Attachment: djvm2.el
Description: djvu mode base

Attachment: djvm1-org.el
Description: org support

_______________________________________________
gnu-emacs-sources mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/gnu-emacs-sources

Reply via email to