From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Panicz Maciej Godek Newsgroups: gmane.lisp.guile.user Subject: Re: emacs interaction Date: Sat, 20 Sep 2014 08:58:52 +0200 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=f46d044403581a81e3050379c006 X-Trace: ger.gmane.org 1411196358 10305 80.91.229.3 (20 Sep 2014 06:59:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 20 Sep 2014 06:59:18 +0000 (UTC) Cc: "guile-user@gnu.org" To: Matt Wette Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 20 08:59:12 2014 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XVEdT-0003nm-3s for guile-user@m.gmane.org; Sat, 20 Sep 2014 08:59:11 +0200 Original-Received: from localhost ([::1]:33580 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVEdS-0002Al-Qp for guile-user@m.gmane.org; Sat, 20 Sep 2014 02:59:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60788) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVEdH-00028d-RC for guile-user@gnu.org; Sat, 20 Sep 2014 02:59:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XVEdG-0001sz-Id for guile-user@gnu.org; Sat, 20 Sep 2014 02:58:59 -0400 Original-Received: from mail-we0-x22a.google.com ([2a00:1450:400c:c03::22a]:58586) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XVEdG-0001ls-Cd for guile-user@gnu.org; Sat, 20 Sep 2014 02:58:58 -0400 Original-Received: by mail-we0-f170.google.com with SMTP id q58so681853wes.29 for ; Fri, 19 Sep 2014 23:58:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=u5J8YmnV/R6wEtgXdaHFQuUf9xrNdDJ1p6TBsrGp5xg=; b=ifJ3YsbAtdvRWgeZ8o2VtTFXjyWo44ZQJY96f20l8+sRHOipmKcPraK/HgKD+64BXv cFTmUtFqGadI405i6/we3054PYx+B0S5TLVmJQLu1uctERZgBD/A5sBAq6BgF4hJtRME 1aeooLjEYTkZWXJUpv7LoFWtCK7YSAVRVIMB3vNHXkwaLiKVxhGfNey5u1iNFckovwY+ Lx6jxddG0ezwrHeeBQK5Inn8PCz2QQvyu1HtH9nQJVnP9eY943wvuMOedOYy+zAHs7+h /mg9uPm10fBGffjpvxRuP2Zwd5RvXYt2bj5pdHQUTdznXVZLYgzDKgyp1R071jcnS7DD MM6w== X-Received: by 10.180.101.202 with SMTP id fi10mr1478621wib.17.1411196332439; Fri, 19 Sep 2014 23:58:52 -0700 (PDT) Original-Received: by 10.194.45.134 with HTTP; Fri, 19 Sep 2014 23:58:52 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2a00:1450:400c:c03::22a X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:11534 Archived-At: --f46d044403581a81e3050379c006 Content-Type: text/plain; charset=UTF-8 2014-09-20 5:33 GMT+02:00 Matt Wette : > I have searched the archives for information on using guile in emacs and > not much besides the guile-emacs project. > > Q1) I have used GDS to run guile in emacs. Not perfect but usable. > Comments? I'm using with the emacs "scheme" mode. > > The best package for interacting guile (and racket) from emacs I know is geiser: http://www.nongnu.org/geiser/ It is also available in Debian/Ubuntu repository, so installation on those distributions is particularly easy, and you only need to add (require 'geiser-install) to your .emacs file. Once you're done with that, you run guile using M-x run-guile, and racket using M-x run-racket and you get various hints in your minibuffer and use C-x C-e to evaluate "the last s-exp" You may also wish to set (setq geiser-repl-use-other-window nil) and (defadvice save-buffers-kill-emacs (around no-query-kill-emacs activate) "Prevent annoying \"Active processes exist\" query when you quit Emacs." (flet ((process-list ())) ad-do-it)) Regards --f46d044403581a81e3050379c006 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
2014= -09-20 5:33 GMT+02:00 Matt Wette <mwette@alumni.caltech.edu>= ;:
I have searched the archives for information = on using guile in emacs and not much besides the guile-emacs project.

Q1) I have used GDS to run guile in emacs.=C2=A0 Not perfect but usable.=C2= =A0 Comments?=C2=A0 I'm using with the emacs "scheme" mode.

The best package for interacting guile= (and racket) from emacs I know is geiser:
=C2=A0<= /div>
It is also available in Debian/Ubuntu repository, so installation= on those distributions is particularly easy, and you only need to add
(require 'geiser-install) to your .emacs file.

Once you're done with that, you run guile using M-x run-guile, a= nd racket using M-x run-racket and you get various hints in your minibuffer= and use C-x C-e to evaluate "the last s-exp"

You may also wish to set
(setq geiser-repl-use-other-window= nil)

and

(defad= vice save-buffers-kill-emacs (around no-query-kill-emacs activate)
=C2=A0 "Prevent annoying \"Active processes exist\" query = when you quit Emacs."
=C2=A0 (flet ((process-list ())) ad-do= -it))

Regards

--f46d044403581a81e3050379c006--