csebold / esv.el Goto Github PK
View Code? Open in Web Editor NEWESV web client for Emacs
Home Page: http://www.emacswiki.org/emacs/EsvMode
ESV web client for Emacs
Home Page: http://www.emacswiki.org/emacs/EsvMode
I just copied esv.el to ~/.emacs.d
, added the suggested snippet to ~/.emacs
(does anything bad happens to me when I edit ~/.emacs
with vim? ;)), started Emacs and run <Ctrl-C>e
. Then I have asked for J 3:16
. The result in a separate window is:
Debugger entered--Lisp error: (error "XML: (Not Well-Formed) Only one root tag allowed")
signal(error ("XML: (Not Well-Formed) Only one root tag allowed"))
error("XML: (Not Well-Formed) Only one root tag allowed")
xml--parse-buffer(nil nil)
xml-parse-region(1 512)
(progn (insert xml) (xml-parse-region (point-min) (point-max)))
(unwind-protect (progn (insert xml) (xml-parse-region (point-min) (point-max))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))
(save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert xml) (xml-parse-region (point-min) (point-max))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer))))
(let ((temp-buffer (generate-new-buffer " *temp*"))) (save-current-buffer (set-buffer temp-buffer) (unwind-protect (progn (insert xml) (xml-parse-region (point-min) (point-max))) (and (buffer-name temp-buffer) (kill-buffer temp-buffer)))))
esv-xml-to-list("<br />\n<b>Warning</b>: Invalid argument supplied for foreach() in <b>/var/www/esvapi.org/esv/share/common/crossway.xml.1.0.php</b> on line <b>95</b><br />\n<!DOCTYPE crossway-bible SYSTEM \"http://www.gnpcb.org/esv/share/schemas/crossway.base.entities.dtd\">\n<crossway-bible class=\"passage-query\">\n<copyright>The Holy Bible, English Standard Version copyright (c)2001 by Crossway Bibles, a division of Good News Publishers. Used by permission. All rights reserved. http://www.esv.org</copyright>\n</crossway-bible>")
(esv-walk-tree (esv-xml-to-list (esv-get-query (list (list (quote passage-query) reference)))))
(insert (esv-walk-tree (esv-xml-to-list (esv-get-query (list (list (quote passage-query) reference))))))
esv-passage("J 3:16")
call-interactively(esv-passage nil nil)
What's wrong with me?
Hi there,
I just came across this package. I would really like to have some kind of Bible integration with Emacs. Right now I have a few shell scripts that use Diatheke to search Sword bibles, and I have the ESV installed in Sword, so I can do the searches locally. It seems like a bit of a step backward to do the searches and passage-retrievals online, though. Have you thought about using Sword and/or Diatheke?
Diatheke actually isn't great in some ways. For example, it's rather finicky in its argument parsing. But then it has some strengths, like being good at parsing passage references using different abbreviations.
Well, I don't know if this is even an active project anymore, but if it is, I'd be interested in talking about these ideas. :) Thanks.
It would be great if this package were available via MELPA
I'm happy to submit a PR (to MELPA on behalf of this project) if this is something you're interested in also.
Version 2 of the ESV API has been discontinued.
We apologize for any inconvenience. Please contact the developers of this app
and ask them to update to the latest API version.
Thank you for your patience.
:(
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.