From mboxrd@z Thu Jan 1 00:00:00 1970 From: Christian Moe Subject: Re: [ANN] Zotero for plain text (including org-mode) Date: Sun, 19 Dec 2010 12:27:32 +0100 Message-ID: <4D0DEC24.8040403@christianmoe.com> References: <87aak4th3d.wl%egh@e6h.org> <4D0D04AE.6040103@christianmoe.com> <87vd2qwwjh.wl%egh@e6h.org> Reply-To: mail@christianmoe.com Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Return-path: Received: from [140.186.70.92] (port=34757 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PUHO7-00061s-MJ for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 06:25:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PUHO6-0007bh-BA for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 06:25:15 -0500 Received: from mars.hitrost.net ([91.185.211.18]:40549) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PUHO5-0007bM-SS for emacs-orgmode@gnu.org; Sun, 19 Dec 2010 06:25:14 -0500 In-Reply-To: <87vd2qwwjh.wl%egh@e6h.org> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Erik Hetzner Cc: emacs-orgmode@gnu.org 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. > > > > _______________________________________________ > Emacs-orgmode mailing list > Please use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode