Hi, Erik,
Now I've got it working. Not sure what the problem was yesterday.
I can insert a Zotero link with `C-c z i', but it's very touch and go
-- sometimes it's inserted, sometimes nothing happens, most of the
time I don't get a description part, and `C-c z u' doesn't necessarily
work, though sometimes it does.
Below is an excerpt from the MozRepl buffer. Much of the time, though,
there is no error message, just multiplying "repl>" prompts.
So on a quick test drive, it's not as stable as I'd like. Otherwise, I
think zotero-plain could be a boon for Org-mode and Zotero users. We
already could insert Zotero links just as easily with Scott Campbell's
ZotSelect translator
(http://forums.zotero.org/discussion/8306/testing-zoteroselect/). But
with the added updating of formatted bibliography items, zotero-plain
has the makings of a full solution.
My own preference has been to export my Zotero collections to BibTeX
and insert citations with Reftex (fast and minimally disruptive to the
writing flow, as long as all the needed references are already
collected.) But it's good to have an alternative.
Yours,
Christian
PS. I may mail you separately about the reST components -- that's
off-topic here, I guess.
-----begin excerpt------------
message: data is null
fileName: chrome://mozrepl/content/repl.js ->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js
lineNumber: 7
stack:
writeFile("/var/folders/JV/JVNxBfnMGkWC9Aw0BZa8Kk+++TI/-Tmp-/zotero205d0z",null)@chrome://mozrepl/content/repl.js
->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js:7
@chrome://mozrepl/content/repl.js ->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js:1
name: TypeError
repl> repl> repl> repl> repl> repl> repl> repl> repl> repl> repl>
repl> repl> repl> repl> !!! TypeError: data is null
Details:
message: data is null
fileName: chrome://mozrepl/content/repl.js ->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js
lineNumber: 7
stack:
writeFile("/var/folders/JV/JVNxBfnMGkWC9Aw0BZa8Kk+++TI/-Tmp-/zotero205Dnb",null)@chrome://mozrepl/content/repl.js
->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js:7
@chrome://mozrepl/content/repl.js ->
file:///Users/CM/Library/Application%20Support/Firefox/Profiles/default.pq0/mozrepl.tmp.js:1
name: TypeError
repl> repl> !!! TypeError: data is null
-----end excerpt-----
On 12/18/10 11:22 PM, Erik Hetzner wrote:
Hi Christian,
Many thanks for the feedback!
At Sat, 18 Dec 2010 19:59:58 +0100,
Christian Moe wrote:
Hi,
This sounds interesting! I'd like to try it out, but haven't quite got
it to work yet.
When I turn on MozRepl in Firefox, turn on org-zotero-mode in Emacs,
and try `C-c z i', I get this error message:
make client process failed: Connection refused, :name, MozRepl,
:buffer, *MozRepl*, :host, localhost, :service, 4242
However, MozRepl is running, and listening on port 4242. I've got an
up-to-date Firefox on an aging Mac. Any tips?
Did you select “Start” from the Mozrepl submenu in the Tools menu? Can
you telnet to port 4242 on localhost?
PS. There's a missing quote before load-path in the README
installation instructions, it should be:
(add-to-list 'load-path "/path/to/zotero-plain/elisp/")
It might be worth mentioning that one needs to install moz.el from the
MozRepl project; it's a separate step.
Thanks, I’ve fixed the error& added info about moz.el.
best, Erik
Sent from my free software system<http://fsf.org/>.
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode
_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-orgmode