* how to invoke the emacs interface for guile 1.7 @ 2004-10-06 6:40 Steven Wu 2004-10-06 17:53 ` Neil Jerram 0 siblings, 1 reply; 7+ messages in thread From: Steven Wu @ 2004-10-06 6:40 UTC (permalink / raw) I got the guile from CVS, and it has a couple of elisp files for emacs to interface with guile. How can I use it? Can I run it like Eshell, or use it as an emacs mode? Btw, is there a way to filter out junk mail from our mailing list? steve _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-06 6:40 how to invoke the emacs interface for guile 1.7 Steven Wu @ 2004-10-06 17:53 ` Neil Jerram 2004-10-07 4:39 ` Steven Wu 0 siblings, 1 reply; 7+ messages in thread From: Neil Jerram @ 2004-10-06 17:53 UTC (permalink / raw) Cc: Guile Gnu Steven Wu wrote: > I got the guile from CVS, and it has a couple of elisp files for emacs > to interface with guile. How can I use it? Can I run it like Eshell, or > use it as an emacs mode? Btw, is there a way to filter out junk mail > from our mailing list? > > steve [copy of earlier off-list reply] Hi Steven, Do you mean GDS (gds.el)? If so, could you try out the instructions in emacs/gds-tutorial.txt. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-06 17:53 ` Neil Jerram @ 2004-10-07 4:39 ` Steven Wu 2004-10-07 18:05 ` Neil Jerram 0 siblings, 1 reply; 7+ messages in thread From: Steven Wu @ 2004-10-07 4:39 UTC (permalink / raw) Cc: Guile Gnu On Oct 6, 2004, at 10:53 AM, Neil Jerram wrote: > Steven Wu wrote: > >> I got the guile from CVS, and it has a couple of elisp files for >> emacs to interface with guile. How can I use it? Can I run it like >> Eshell, or use it as an emacs mode? Btw, is there a way to filter out >> junk mail from our mailing list? >> steve > > [copy of earlier off-list reply] > > Hi Steven, > > Do you mean GDS (gds.el)? If so, could you try out the instructions > in emacs/gds-tutorial.txt. > Not really, gds is the debugger if I am not mistaken. I was talking about a interactive guile mode in emacs. I took Thien-Thi Nguyen's run-guile.el and modified it a little bit, and it let me to run guile as a inferior interpreter. The new guile.el doesn't seem to do that. steve _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-07 4:39 ` Steven Wu @ 2004-10-07 18:05 ` Neil Jerram 2004-10-07 21:25 ` Stephen Compall 0 siblings, 1 reply; 7+ messages in thread From: Neil Jerram @ 2004-10-07 18:05 UTC (permalink / raw) Cc: Guile Gnu Steven Wu wrote: > > On Oct 6, 2004, at 10:53 AM, Neil Jerram wrote: > >> Do you mean GDS (gds.el)? If so, could you try out the instructions >> in emacs/gds-tutorial.txt. >> > Not really, Fair enough, but I'll try to sell GDS a little anyway :-) > gds is the debugger if I am not mistaken. Kind of. Debugging is probably the hardest aspect of GDS, but GDS aims to provide the complete using-Guile-in-Emacs experience, including plain old evaluation, help and completion too. You don't have to set any breakpoints if you don't want to. The way that GDS differs from run-guile.el, cmuscheme.el and the like, is that you use it when working on a Scheme file - like C-x C-e for Elisp - rather than by writing expressions in sequence in a special shell-like window. > I was talking > about a interactive guile mode in emacs. I took Thien-Thi Nguyen's > run-guile.el and modified it a little bit, and it let me to run guile as > a inferior interpreter. > > The new guile.el doesn't seem to do that. No, it is quite different, and unfortunately I'm not aware of any docs to explain what it does provide. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-07 18:05 ` Neil Jerram @ 2004-10-07 21:25 ` Stephen Compall 2004-10-07 22:38 ` Neil Jerram 0 siblings, 1 reply; 7+ messages in thread From: Stephen Compall @ 2004-10-07 21:25 UTC (permalink / raw) Cc: Steven Wu, Guile Gnu Neil Jerram <neil@ossau.uklinux.net> writes: > The way that GDS differs from run-guile.el, cmuscheme.el and the > like, is that you use it when working on a Scheme file - like C-x > C-e for Elisp - rather than by writing expressions in sequence in a > special shell-like window. What's your scheme mode? In mine, which is just scheme.el and cmuscheme.el as distributed with Emacs, when I `run-scheme', these bindings are replaced with Scheme versions. For example, "C-x C-e runs the command scheme-send-last-sexp, which is an interactive compiled Lisp function in `cmuscheme'." However, this doesn't display the result in the minibuffer, if that is what gds does. -- Stephen Compall or s11 or sirian BASIC is the Computer Science equivalent of `Scientific Creationism'. data haven Merlin supercomputer Mossad M-14 ARPA JFK New World Order keyhole Manfurov Peking Cocaine electronic surveillance Honduras advisors _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-07 21:25 ` Stephen Compall @ 2004-10-07 22:38 ` Neil Jerram 2004-10-26 23:19 ` Neil Jerram 0 siblings, 1 reply; 7+ messages in thread From: Neil Jerram @ 2004-10-07 22:38 UTC (permalink / raw) Cc: Guile Gnu Stephen Compall wrote: > Neil Jerram <neil@ossau.uklinux.net> writes: > > >> The way that GDS differs from run-guile.el, cmuscheme.el and the >> like, is that you use it when working on a Scheme file - like C-x >> C-e for Elisp - rather than by writing expressions in sequence in a >> special shell-like window. > > > What's your scheme mode? In mine, which is just scheme.el and > cmuscheme.el as distributed with Emacs, when I `run-scheme', these > bindings are replaced with Scheme versions. For example, "C-x C-e > runs the command scheme-send-last-sexp, which is an interactive > compiled Lisp function in `cmuscheme'." GDS started as an extension of cmuscheme.el, but moved away from that as I tried to take more things into account, the two main things being: - how do you interact with and debug a Guile application that doesn't have a command line (such as Gnucash), or which has a command line that doesn't speak Scheme? - in parsing Guile's output so as to identify errors, backtraces, help, completion information and so on, how can we do better than either applying imperfect heuristics or adding control characters to Guile's output (a la ice-9/emacs.scm)? GDS's answer is that you don't use stdin/stdout at all, but instead communicate with the application through a socket. The ability and interface to evaluate code, do completions and ask for help from a Scheme buffer ends up being very similar to cmuscheme.el, but the implementation is quite different and IMO a more robust base for an eventual full function Guile IDE. > > However, this doesn't display the result in the minibuffer, if that is > what gds does. FWIW, GDS displays evaluation results and help (and backtrace, when debugging) in a separate "Guile Interaction" window that pops up when needed. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: how to invoke the emacs interface for guile 1.7 2004-10-07 22:38 ` Neil Jerram @ 2004-10-26 23:19 ` Neil Jerram 0 siblings, 0 replies; 7+ messages in thread From: Neil Jerram @ 2004-10-26 23:19 UTC (permalink / raw) I recently wrote: > GDS started as an extension of cmuscheme.el, but moved away from that > as I tried to take more things into account, the two main things being: > > - how do you interact with and debug a Guile application that doesn't > have a command line (such as Gnucash), or which has a command line > that doesn't speak Scheme? [...] For those interested: I've realized that the debugging side of GDS (in other words, an Emacs frontend to the Guile debugger) would be a lot more useful with two changes: 1. if it was split off and made independent from the stuff to do with initiating evaluations 2. if it was available as an add-on for the 1.6 series. So that's now my plan. Any thoughts welcome as usual. Regards, Neil _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://lists.gnu.org/mailman/listinfo/guile-user ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2004-10-26 23:19 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2004-10-06 6:40 how to invoke the emacs interface for guile 1.7 Steven Wu 2004-10-06 17:53 ` Neil Jerram 2004-10-07 4:39 ` Steven Wu 2004-10-07 18:05 ` Neil Jerram 2004-10-07 21:25 ` Stephen Compall 2004-10-07 22:38 ` Neil Jerram 2004-10-26 23:19 ` Neil Jerram
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).