Received: from laas.laas.fr (root@laas.laas.fr [140.93.0.15]) by hub.org (8.9.3/8.9.3) with ESMTP id LAA13012 for ; Thu, 22 Jul 1999 11:28:42 -0400 (EDT) (envelope-from emarsden@laas.fr) Received: from dukas.laas.fr (dukas [140.93.21.58]) by laas.laas.fr (8.9.3/8.9.3) with ESMTP id RAA08900 for ; Thu, 22 Jul 1999 17:28:37 +0200 (MET DST) Received: (from emarsden@localhost) by dukas.laas.fr (8.9.3/8.9.3) id RAA25083; Thu, 22 Jul 1999 17:28:35 +0200 (MET DST) Sender: emarsden@dukas.laas.fr To: pgsql-interfaces@postgreSQL.org Subject: Re: [ANN] pg.el v0.2 -- Emacs Lisp interface to PostgreSQL References: Organization: LAAS-CNRS http://www.laas.fr/ MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Eric-Conspiracy: there is no conspiracy X-Attribution: ecm X-URL: http://www.chez.com/emarsden/ From: Eric Marsden Date: 22 Jul 1999 17:28:35 +0200 In-Reply-To: Hugh Lawson's message of Thu, 22 Jul 1999 09:25:37 -0400 (EDT) Message-ID: Lines: 21 X-Mailer: Gnus v5.3/Emacs 19.34 >>>>> "hl" == Hugh Lawson writes: ecm> ELISP> (setq conn (pg:connect "template1" "postgres" "postgres")) ecm> >> ecm> ELISP> (setq res (pg:exec conn "SELECT * from scshdemo WHERE a=42")) ecm> >> ecm> ELISP> (pg:result res :status) ecm> >> "SELECT" hl> I can't get the hang of doing this. How do you get the ELISP> hl> prompt? And what exactly do you type? hl> hl> I have succeeded at making the example function work properly. The "ELISP>" prompt is from typing `M-x ielm' in Emacs (I don't think that XEmacs has anything like this: it's an inferior emacs-lisp). You can also type in the sexps using the *scratch* buffer, or using `M-:'. -- Eric Marsden It's elephants all the way down