>>>>> "hl" == Hugh Lawson <hglawson(at)nr(dot)infi(dot)net> writes:
ecm> ELISP> (setq conn (pg:connect "template1" "postgres" "postgres"))
ecm> >> <struct cl ...>
ecm> ELISP> (setq res (pg:exec conn "SELECT * from scshdemo WHERE a=42"))
ecm> >> <struct cl ...>
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