From mboxrd@z Thu Jan 1 00:00:00 1970 From: Dave Taht Subject: Re: Re: Introducing gnugol - an org-mode-output web search client Date: Sat, 08 Jan 2011 09:42:49 -0800 Message-ID: <4D28A219.5000603@teklibre.org> References: <4D210A00.9070901@teklibre.org> <87tyhmdksm.fsf@ufl.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=36492 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pbcof-0003C1-88 for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 12:43:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PbcoW-00081g-Si for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 12:43:01 -0500 Received: from 75-145-127-229-colorado.hfc.comcastbusiness.net ([75.145.127.229]:40553 helo=gw.co.teklibre.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PbcoW-00081Q-Le for emacs-orgmode@gnu.org; Sat, 08 Jan 2011 12:42:52 -0500 Received: from cruithne.co.teklibre.org (unknown [IPv6:2002:4b91:7fe5:3::20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "cruithne.co.teklibre.org", Issuer "CA Cert Signing Authority" (verified OK)) by gw.co.teklibre.org (Postfix) with ESMTPS id EBCAE5E8B9 for ; Sat, 8 Jan 2011 10:42:50 -0700 (MST) Received: from [IPv6:::1] (localhost [IPv6:::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by cruithne.co.teklibre.org (Postfix) with ESMTPS id 64A283E06DD for ; Sat, 8 Jan 2011 09:42:50 -0800 (PST) In-Reply-To: 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: emacs-orgmode@gnu.org On 01/06/2011 10:19 AM, brian powell wrote: > I'll see you're surfraw; and, I'll raise you a goosh: > > http://goosh.org Cute! > ---maybe gnugol could work with goosh somehow? Not unless it went green on white! > ---works from an Emacs Shell/eshell too: > > ** Example/possibilities: > apt-get install surfraw > ... > [[eshell:*eshell*:(rename-buffer "vvv")]] > [[eshell:*eshell*:(rename-buffer "ttt")]] > [[eshell:vvv:date]] > [[eshell:ttt:sr wikipedia goosh]] I see where you are going with this and I like it. One conceptual problem here is the meta-data format. Shell commmand line has the idea of argument separators as spaces and strings. Although utf-8 almost works well at the command line, I would have liked it if unicode had given programmers their own glyph and character set to work in, so we wouldn't have to go so crazy escaping the concepts that we'd wedged into ASCII in the 80s. BUT html/xml have a totally different concept of metadata than that, as does org-mode... json comes close to being a command line format that could be parsed using conventional piping/filters. In the beginning I thought I'd have gnugol output Lisp forms and the interface be more like bbdb. There is a pretty clean json parser for emacs however, and I've been thinking of using that. > ---provided you have the new org-eshell.el I didn't know this existed, cool, I'll fiddle.