Re: Broken links in web manual

2023-10-04 Thread Jose A. Ortega Ruiz
Hi Justin, On Sat, Aug 26 2023, Justin Koh wrote: > In the Installation section of the web manual, under "Must needs"[1], > the name of each language is wrongly linked to a version string. That's right, was an error in the macro defining those links. I've pushed a new version of the docs that

Re: [PATCH] Use delete-char instead of delete-backward-char.

2023-09-22 Thread Jose A. Ortega Ruiz
On Fri, Sep 22 2023, Antero Mejr wrote: > Fixes bytecode compiler complaint for geiser-repl-superparen-mode. merged, thanks! cheers, jao -- A ship in port is safe; but that is not what ships are built for. -Grace Hopper (1906-1992)

Re: [PATCH] Add geiser-repl-superparen-mode minor mode.

2023-09-22 Thread Jose A. Ortega Ruiz
Looks good to me. Applied. Many thanks! jao On Fri, Sep 22 2023, Antero Mejr via wrote: > Please use this v2 patch and ignore the previous one, it has typos. > > From 8ce96a1d483bf936594f45a204ca58d97c969393 Mon Sep 17 00:00:00 2001 > From: Antero Mejr > Date: Fri, 22 Sep 2023 15:09:19 +

Re: Geiser with MIT Scheme

2023-06-01 Thread Jose A. Ortega Ruiz
Hi Nicholas, On Wed, May 31 2023, Nicholas Papadonis wrote: > I needed: > > (setq geiser-active-implementation '(mit)) Yes, that's one way. What was happening (I think) is that your scheme buffer wasn't being recognised as a MIT-scheme one. In case you ever want to use more than one scheme

Re: [PATCH] Correct typo that breaks geiser-repl-autoeval-mode.

2023-05-02 Thread Jose A. Ortega Ruiz
On Tue, May 02 2023, Antero Mejr wrote: > Fixes a bug that prevents geiser-repl-autoeval-mode from working. Applied, thanks! jao

Re: geiser-0.28.2/geiser-guile-0.28.1: Exception raised while evaluating continuation in Scheme buffer

2023-03-13 Thread Jose A. Ortega Ruiz
On Mon, Mar 13 2023, tpe...@gmail.com wrote: [...] >Perhaps the workaround is for users to write the Scheme code that has > continuations and load it from a file. Once it has been loaded and > interpreted via the REPL, the code works as expected. Possibly a note > could be added to the

Re: focus change during evaluation

2022-12-25 Thread Jose A. Ortega Ruiz
On Sun, Dec 25 2022, Sascha Ziemann wrote: > When I evaluate an slist with C-x C-e the "*Geiser Debug*" buffer > sometimes steals the focus. I have observed the following cases. If > the evaluation fails, because a symbol is undefined, the focus gets > stolen. And when the output of the

Re: edit-symbol-at-point ( M-. ) not working for me in guile, but only in gauche

2022-08-15 Thread Jose Antonio Ortega Ruiz
Hi Andreas, On Tue, Aug 16 2022, Andreas Reuleaux wrote: [...] > I compile buffers with C-k I guess you mean C-c C-k here... [...] > The problem is: this works for me only in gauche - not in geiser guile: > > Any time I do M-. on some symbol (function name etc.) in guile files, I only >

Re: Using geiser-racket in org-mode babel?

2022-06-16 Thread Jose Antonio Ortega Ruiz
Hi Lawrence, On Thu, Jun 16 2022, Galaxy Being wrote: > I'm not really getting geiser-racket in org-mode babel code blocks to work. > Any ideas? Or is this just not on the radar? I tried the latest Currently, geiser-racket is unmantained (i'm saying this as its main author): i don't use

Re: Any guesses on how tightly version numbers should match?

2022-06-13 Thread Jose Antonio Ortega Ruiz
Hi Diane, On Mon, Jun 13 2022, Diane Trout wrote: > Hello, > > I was working on updating the Debian package of geiser and sometime > between now and the 0.10, the language specific support modules got > split out into separate modules. > > I was wondering how closely the geisier and

Re: Gambit v4.9.4 problems

2022-02-07 Thread Jose Antonio Ortega Ruiz
On Mon, Feb 07 2022, Tara Lorenz wrote: > [Sorry for the late reply, somehow the mail escaped my attention.] > > Hi Jose, > Jose A Ortega Ruiz writes: >> Since nobody has complained, i am fine applying your patch to the >> geiser-gambit repo, at least to the unstab

Re: Gambit v4.9.4 problems

2022-01-25 Thread Jose A Ortega Ruiz
Hi Tara On Thu, Jan 20 2022, Tara Lorenz wrote: > right, i left that out. My patch is intended to be applied on the > geiser repository only. I found some time to look into that, it seems that > adding > the line: > > (##namespace ("" load)) > > *after* loading the primitives should fix it.

Re: Gambit v4.9.4 problems

2022-01-17 Thread Jose Antonio Ortega Ruiz
[cc-ing gambit's mailing list, so that gambit users/developers can advise us on the recent changes affecting affecting geiser in 4.9.4] Hi Tara, On Sun, Jan 16 2022, Tara Lorenz wrote: > Hello all, > > i experience a problem with the recently released Gambit 4.9.4. One of > the problems is

Re: Which is better, ob-racket or ob-geiser for Racket?

2021-06-08 Thread Jose Antonio Ortega Ruiz
[...] > but I miss having an actual live REPL session. i rarely use racket, but a thing that might work for you is using poly-org-mode. it creates an indirect buffer where all blocks of the same mode go, and when point is inside on of them, emacs actually sees it as a single scheme (or racket,

Re: GitLab repo access?

2021-04-19 Thread Jose Antonio Ortega Ruiz
On Mon, Apr 19 2021, Nicholas Papadonis wrote: > Is the new GitLab repo private access only? > > git clone https://gitlab.com/emacs-geiser > Cloning into 'emacs-geiser'... > Username for 'https://gitlab.com': > Password for 'https://x...@gitlab.com': > remote: The namespace you were looking

Re: The client/server protocol?

2021-04-12 Thread Jose A. Ortega Ruiz
On Tue, Apr 13 2021, HiPhish wrote: > Thank you for the answer. That sounds pretty simple, I'll give the Guile > server a try and see if I can interact with it directly. Can you please point > me to where Emacs starts the Guile process? Emacs starts a guile process with the parameters returned

Geiser package to be split per implementation

2021-03-28 Thread Jose A. Ortega Ruiz
Hi, We have been moving support for different Scheme implementations to separate packages (https://gitlab.com/emacs-geiser), to ease their independent development, and we are nearly done (just waiting for the relevant MELPA PRs to get through, they are all submitted). So, when you next

Re: Display greeting in REPL buffer before process starts

2021-03-20 Thread Jose A. Ortega Ruiz
Hi, On Sat, Mar 20 2021, Dmitry Matveyev wrote: > Hi, I'm trying to revive and improve Gerbil integration with Geiser. That's great news, thanks! > Gerbil's interpreter is run with `gxi -` with `-` being simultaneously > "run in interactive mode" and "do not load init file". So I load file >

Re: returned value

2020-12-20 Thread Jose A. Ortega Ruiz
On Sun, Dec 20 2020, Catonano wrote: > When evaluating an expression, the returned value is shown in the > minibuffer > > Is there a preference switch anywhere, to have returned vakues hsown > in the same buffer where the evaluated expression is ? Yes. With the default keybindings, C-u C-x C-e

Re: Is this expected Geiser behavior?

2020-03-20 Thread Jose A. Ortega Ruiz
On Fri, Mar 20 2020, Nicholas Papadonis wrote: [...] > I also notice that  > > The scratch mode line displays MIT.  This does not however work if I > use a buffer "test.scm".   "test.scm" enters Guile mode, M-x > geiser-mode does not seem to connect the buffer to the MIT REPL. you should either

Re: Is this expected Geiser behavior?

2020-03-19 Thread Jose A. Ortega Ruiz
On Thu, Mar 19 2020, Nicholas Papadonis wrote: > I'm running the Mit REPL and editing a file test.scm.   > > In the test.scm buffer: > (display "test") > > C-x C-e > > Under the mode line displays: > => #!unspecific > > C-u C-x C-e  > (display "test") #!unspecific > > Is this expected behavior?

Re: Placing output after evaluated code?

2020-03-17 Thread Jose A. Ortega Ruiz
On Tue, Mar 17 2020, Nicholas Papadonis wrote: > That macro is not bound.  What command does it resolve to? if the exact same command C-x-e, pressing before it C-u ... if the former it's bound, this is not a new command.

Re: Placing output after evaluated code?

2020-03-16 Thread Jose A. Ortega Ruiz
On Mon, Mar 16 2020, Nicholas Papadonis wrote: > Is there a way for geiser to emulate "scheme -edwin" behavior?   > > Specifically, where the output of the REPL evaluation is placed in the same > buffer as the code, but without > the REPL prompt. > > I see that geiser-mode along with run-geiser

Re: Similar interface to Edwin C-x-e evaluation?

2020-03-10 Thread Jose A. Ortega Ruiz
On Tue, Mar 10 2020, Nicholas Papadonis wrote: > I'm using Geiser to interface with MIT Scheme. > > I used Edwin and it had a nice interface where the buffer was simply > text and each expression could be evaluated using C-x-e.  This > interface appears a bit easier to manage (formatting wise)

Re: Scheme: quicker process handling (RESTART 1) etc

2020-03-10 Thread Jose A. Ortega Ruiz
hi nicholas, On Tue, Mar 10 2020, Nicholas Papadonis wrote: > I'm using Geiser to interface with MIT Scheme in Emacs via M-x > run-mit.  I found that once an error is encountered in the REPL, the > command history no longer works.  The error must be cleared out via > (RESTART 1) first for

Re: How to use Racket languages?

2020-01-23 Thread Jose A. Ortega Ruiz
Hi Lawrence, > I thought this was just a simple matter, but apparently not. What can > I do to get these Racket languages working? This is more of a racket issue than geiser's. The #lang syntax expands to a module, see

Re: I/O in geiser-eval-buffer

2020-01-18 Thread Jose A. Ortega Ruiz
es trade-offs and it's a lot of work for a feature that i, personally, don't consider worth it. That doesn't mean that it isn't, and i'll happily review and accept patches :) Cheers, jao > > Jose A. Ortega Ruiz 於 2020年1月18日週六 12:00 寫道: > > On Sat, Jan 18 2020, Vladimir Nikishki

Re: I/O in geiser-eval-buffer

2020-01-17 Thread Jose A. Ortega Ruiz
On Sat, Jan 18 2020, Vladimir Nikishkin wrote: > Hello, everyone > > I have the following tiny example: > (display "hello") > (read) > > I also have guile running in run-geiser > > M-x geiser-eval-buffer RET doesn't work. Or, rather, it works in a weird way. > After I type the command, Emacs

Re: Geiser Autocompletion?

2019-12-25 Thread Jose A. Ortega Ruiz
On Wed, Dec 25 2019, Hany Aziz wrote: > Any hints on how to use autocompletion in Geiser/Emacs? Should I also > install another Emacs/Elpa/Melpa module? If yes, is there one that > does not conflict with Geiser? company works well with geiser. there is also geiser-ac, although i haven't used

Re: setting a buffer's namespace

2019-11-18 Thread Jose A. Ortega Ruiz
Hi James, On Sun, Nov 17 2019, James Mckernon wrote: > I'm writing a racket module in a certain file. I would like to be able > to test and eval the definitions in this module with some > interactively-evaluated code, a bit like one would in the repl, but > with code saved in another file, so

Re: [Geiser-users] Data length limit in Guile/Geiser/Scheme evaluation

2018-11-15 Thread Jose A. Ortega Ruiz
On Thu, Nov 15 2018, Neil Jerram wrote: > "Jose A. Ortega Ruiz" writes: > >> I cannot see what it is, but there's something in that expression that >> makes scheme readers hang. I just pasted it in a vanilla guile repl >> (started with run-scheme, no g

Re: [Geiser-users] Data length limit in Guile/Geiser/Scheme evaluation

2018-11-15 Thread Jose A. Ortega Ruiz
Hi, On Thu, Nov 15 2018, Neil Jerram wrote: > Nicolas Goaziou writes: > >> Hello, >> >> Neil Jerram writes: >> >>> If I add one more (duplicate) row to the table, and hit C-c C-c again, >>> the evaluation hangs somewhere and Emacs is blocked until I interrupt >>> with C-g. >> >> Interesting.

Re: [Geiser-users] mit-scheme not listed as one of the options when running the M-x geiser

2018-10-19 Thread Jose A. Ortega Ruiz
Hi Nishan, On Tue, Oct 16 2018, Nishan Singh Mann wrote: > Hello, I have the following versions installed on Ubuntu 18.04 > emacs: 25.2.2 > geiser: 0.8.1 > mit-scheme: 9.1.1 > When I run M-x geiser, at the prompt "Start Geiser for scheme > implementation", I only have 3 options: chicken,

Re: [Geiser-users] No support for Chez?

2018-05-03 Thread Jose A. Ortega Ruiz
Hi Bahodir, On Thu, May 03 2018, Bahodir Mansurov wrote: > Hi, > > I have Chez Scheme 9.5.1 installed on my system (Linux). I also have > geiser-20180413.1646 installed in Emacs 25.3.1. I open up a scheme file > and execute 'run-chez'. Autocompletion (via company-mode) works and > that's about

Re: [Geiser-users] geiser-xref-callers does not seem to work

2018-02-26 Thread Jose A. Ortega Ruiz
On Mon, Feb 26 2018, Chris Marusich wrote: > Hi Jose, > > This is a follow-up to the following threads, about geiser-xref-callers > not working: > > https://lists.gnu.org/archive/html/geiser-users/2017-12/msg0.html > https://lists.gnu.org/archive/html/geiser-users/2018-01/msg8.html > >

Re: [Geiser-users] geiser-xref-callers does not seem to work

2018-01-30 Thread Jose A. Ortega Ruiz
On Tue, Jan 30 2018, Andy Wingo wrote: > On Mon 29 Jan 2018 18:52, "Jose A. Ortega Ruiz" <j...@gnu.org> writes: > >> i've figured out how to find the filename for a procedure, but i'm >> missing what is probably the easier part: give the latter, how do

Re: [Geiser-users] geiser-xref-callers does not seem to work

2018-01-29 Thread Jose A. Ortega Ruiz
On Mon, Jan 29 2018, Andy Wingo wrote: > Hi! > > Great to hear from you jao :) likewise :) > On Sat 27 Jan 2018 17:41, "Jose A. Ortega Ruiz" <j...@gnu.org> writes: > >> hmmm, i was investigating this. the cause geiser fails is that, in the >> process

Re: [Geiser-users] geiser-xref-callers does not seem to work

2018-01-27 Thread Jose A. Ortega Ruiz
On Mon, Dec 18 2017, Andy Wingo wrote: > On Sat 16 Dec 2017 08:55, Chris Marusich writes: > >> * Place point on symbol expression->derivation-in-linux-vm on line 203 >> (in the definition of the iso9660-image procedure), and press "C-c <". >> >> When I do this, I receive

Re: [Geiser-users] Feature request: preserve point in geiser-set-scheme

2017-11-21 Thread Jose A. Ortega Ruiz
On Tue, Nov 21 2017, Christopher Howard wrote: > Hi, I'm still getting the same behavior after trying a few different > things: > > - I installed commit c3bc099. > - I tried other schemes when running geiser-set-scheme > - I tried running emacs with -nw -q and running (require 'geiser- > install)

Re: [Geiser-users] Noob question: "no such language" objcode

2017-08-21 Thread Jose A. Ortega Ruiz
Hi Christopher, On Fri, Aug 18 2017, Christopher Howard wrote: > Hi, I am new to guile and to geiser. I am running emacs and geiser from > Debian stretch. However, I am using guile-2.2 which I installed from > source code, instead of the 2.0 version in Stretch. I open a *.scm > guile file, and

Re: [Geiser-users] [PATCH 2/2] Preserve the position of (point) after evaling

2017-04-11 Thread Jose A. Ortega Ruiz
thanks a lot, diogo. pushed! cheers, jao -- Too many people spend money they haven't earned, to buy things they don't want, to impress people they don't like. -Will Rogers, humorist (1879-1935)

Re: [Geiser-users] Only chicken?

2017-03-04 Thread Jose A. Ortega Ruiz
> On Thu, Mar 2, 2017 at 8:17 PM, Jose A. Ortega Ruiz <j...@gnu.org> wrote: > > On Mon, Feb 27 2017, Lawrence Bottorff wrote: > > > Every time I restart Emacs and call up geiser, my customizations have > > been changed from racket and guile, to

Re: [Geiser-users] elisp-like "function"-ality in org-mode?

2017-03-02 Thread Jose A. Ortega Ruiz
On Mon, Feb 27 2017, Lawrence Bottorff wrote: > Here's a code block in org-mode: > > #+name:myflatten1 > #+begin_src scheme :session f1  > (define (flatten sexpr) >   (let loop ((sexpr sexpr) >              (res '())) >              (format #t "sexpr: ~s; res: ~s\n" sexpr res) >     (cond >      

Re: [Geiser-users] eval commands always split debug window?

2017-02-24 Thread Jose A. Ortega Ruiz
On Fri, Feb 24 2017, Scott Messick wrote: > I'm trying to start using Geiser with Chicken (new to both, but I have > used SLIME in the past and very briefly used Geiser with Racket). > > The eval commands such as C-c C-c or C-c C-b seem to never use the REPL. they are not designed to use its

Re: [Geiser-users] Cannot get autodoc to work with chicken

2017-01-15 Thread Jose A. Ortega Ruiz
On Fri, Jan 13 2017, Erich Rast wrote: > On Wed, 11 Jan 2017 18:25:50 +0100 > "Jose A. Ortega Ruiz" <j...@gnu.org> wrote: > >> > >> > On Wed, 11 Jan 2017 01:17:58 +0100 >> > "Jose A. Ortega Ruiz" <j...@gnu.org> wrote: >> &

Re: [Geiser-users] geiser dbg in org-mode

2015-09-23 Thread Jose A. Ortega Ruiz
Hi Lawrence, I'm not very familiar with ob-scheme, and haven't had a chance to try it these days, so take the following with a grain of salt :) When you send anything to evaluate to geiser, it returns two things, namely, a value for the expression, and any output it's producing. In this case,

Re: [Geiser-users] REPL previous input

2015-03-11 Thread Jose A. Ortega Ruiz
On Wed, Mar 11 2015, Diogo F. S. Ramos wrote: Geiser binds M-p to `comint-previous-matching-input-from-input' in the REPL. Usually, M-p is bind to `comint-previous-input' in comint-mode and `comint-previous-matching-input-from-input' is bind to C-c M-r. This is a personal preference, but I

Re: [Geiser-users] C-a in the input line of the REPL

2015-03-11 Thread Jose A. Ortega Ruiz
On Thu, Mar 12 2015, Diogo F. S. Ramos wrote: When in the REPL, pressing C-a when the cursor is on the input line, the point sometimes moves to the beginning of the line, i.e., before the prompt. Is this right? The intended behaviour is that the first C-a moves you to the beginning of the

[Geiser-users] Geiser 0.7 Freija released

2015-02-21 Thread Jose A. Ortega Ruiz
Subject says it all! Happy hacking, jao -- I took a speed reading course and read War and Peace in twenty minutes. It involves Russia. -Woody Allen

Re: [Geiser-users] Problem with prompt at history item

2014-12-30 Thread Jose A. Ortega Ruiz
Hi Hamish, On Tue, Dec 30 2014, Hamish Ivey-Law wrote: [...] A few more details: Usually FORWARD-WORD shouldn't get stuck like this unless it's at a field boundary. I don't really understand how this mechanism works, but, in case it's useful, FIELD-STRING at the cursor position in the

Re: [Geiser-users] [PATCH] Font lock `define-syntax-rule' like `define' procedures

2014-02-24 Thread Jose A. Ortega Ruiz
Thanks Diogo. I've applied your patch, but modified it a bit by using font-lock-function-name-face instead of font-lock-variable-name-face. Cheers, jao -- I don't want to achieve immortality through my work... I want to achieve it through not dying -- Woody Allen

Re: [Geiser-users] Preliminary Scsh support is up and running

2014-01-08 Thread Jose A. Ortega Ruiz
Hi Richard, On Thu, Jan 09 2014, Richard Loveland wrote: Hey fellow Geiser fans, I've gotten Geiser and Scsh (the Scheme shell) talking. Excellent! Stealing slime48's code to create something like this had been in my long-term TODO list since forever, and i'm very glad to see someone

Re: [Geiser-users] Help associating source and REPL - No prompt found!

2013-11-13 Thread Jose A. Ortega Ruiz
On Thu, Nov 14 2013, Jon Miller wrote: j...@gnu.org writes: Jon, i think the problem is probably with the installation using the el-get recipe. If all it does is making a checkout of the git repo in path-to-geiser, you need to add the following code to your .emacs (or similar):

Re: [Geiser-users] geiser-mode won't load for .scm files in guile scheme project

2013-10-31 Thread Jose A. Ortega Ruiz
That M-. doesn't work doesn't necessarily mean that the .scm file is not an geiser-mode. If the mode line says something like (Scheme Guile/A), it's active. M-. might fail to find a symbol simply because the module is not loaded in the interpreter (e.g. with C-cC-k), but it's hard to tell

Re: [Geiser-users] Use of #lang and Geiser

2013-10-03 Thread Jose A. Ortega Ruiz
On Thu, Oct 03 2013, Granville Barnett wrote: The Geiser documentation says that #lang is supported, or at least it alludes to such in the documentation. However, when I try eval a buffer with #lang in I get '#lang not enabled in the current context.' I am using geiser-eval-buffer. Yes,

Re: [Geiser-users] (no subject)

2013-09-27 Thread Jose A. Ortega Ruiz
Hi Dirk, On Fri, Sep 27 2013, Dirk Theisen wrote: Dear geiser users and developers, I am curious to try out scheme, but not comfortable with emacs (yet?). I found geiser to provide very good functionality for debugging and incremental development. So: Is the network protocol used by

Re: [Geiser-users] ‘geiser-guile-load-path’ vs. ‘%load-compiled-path’

2013-09-13 Thread Jose A. Ortega Ruiz
On Fri, Sep 13 2013, Ludovic Courtès wrote: [...] It sure does. ok, i think it's implemented in my latest patch to the repo. lemme know otherwise! cheers, jao -- Il semble que la perfection soit atteinte non quand il n'y a plus rien à ajouter, mais quand il n'y a plus rien à retrancher. -

Re: [Geiser-users] ‘geiser-guile-load-path’ vs. ‘%load-compiled-path’

2013-09-02 Thread Jose A. Ortega Ruiz
Hi, On Mon, Sep 02 2013, Ludovic Courtès wrote: Hello, Currently ‘geiser-guile-load-path’ maps to a series of -L flags on the ‘guile’ command line, which augments ‘%load-path’. However, it is usually desirable to augment ‘%load-compiled-path’ in addition to ‘%load-path’. Failing to do

Re: [Geiser-users] Rackunit best practices

2013-08-24 Thread Jose A. Ortega Ruiz
The following message is a courtesy copy of an article that has been posted to gmane.comp.lang.racket.user as well. On Fri, Aug 23 2013, Greg Hendershott wrote: [...] (Although when I do this, occasionally I wish for test-folding to hide the tests temporarily. Neat feature to add to DrRacket

Re: [Geiser-users] [PATCH] Add `dir' file to list the info manual

2013-08-05 Thread Jose A. Ortega Ruiz
On Mon, Aug 05 2013, Diogo F. S. Ramos wrote: [...] I'm not sure if the `dir' file should be produced during compilation or not. It's usually produced during installation, when install-info is called, and that most of the time just adds an entry to an existing dir file. Having a default one

Re: [Geiser-users] Running racket tests in geiser

2013-07-02 Thread Jose A. Ortega Ruiz
Hi Garjola, I've just tried to use #lang htdp/bsl, and although i can compile the file, the BSL language is not rich enough to support Geiser (at least in the way geiser uses the reflection capabilities of Racket to work). So i'm afraid that even if we find out why the #lang directive is not

Re: [Geiser-users] issues with unicode

2013-06-16 Thread Jose A. Ortega Ruiz
Hi Darren, On Sun, Jun 16 2013, Darren Hoo wrote: Emacs started by launched on Mac OSX (eg, click the Emacs icon on the dock) does not set locales correctly according to user's current locale setting, ie, locales falls back to POSIX or C. This causes Guile started by geiser switch to

Re: [Geiser-users] problems with cl-lib

2013-06-15 Thread Jose A. Ortega Ruiz
Hi Darren, On Sat, Jun 15 2013, Darren Hoo wrote: running geiser from elpa (which is compiled) gives: `geiser-guile--geiser-procedure: Invalid function: (eval compile)' This doesn't look like an error due to a missing require cl (and i see no warnings when compiling it via elpa): what

Re: [Geiser-users] problems with cl-lib

2013-06-15 Thread Jose A. Ortega Ruiz
On Sat, Jun 15 2013, Jose A. Ortega Ruiz wrote: Hi Darren, On Sat, Jun 15 2013, Darren Hoo wrote: running geiser from elpa (which is compiled) gives: `geiser-guile--geiser-procedure: Invalid function: (eval compile)' This doesn't look like an error due to a missing require cl (and i see

Re: [Geiser-users] Entering Racket submodules

2013-06-09 Thread Jose A. Ortega Ruiz
On Sun, Jun 09 2013, Diogo F. S. Ramos wrote: [...] I was thinking about how C-c C-a should operate too. Maybe with point inside a submodule, C-c C-a should enter this submodule, instead of the file module. I think that's the correct behaviour, and it is the one i'm implementing. But I

Re: [Geiser-users] Entering Racket submodules

2013-06-09 Thread Jose A. Ortega Ruiz
On Sun, Jun 09 2013, Diogo F. S. Ramos wrote: Jose A. Ortega Ruiz j...@gnu.org writes: The other bit that's related is what to do when loading the top module with C-c C-k... to me it is very unintuitive that some submodules don't get loaded, specially on an interactive hacking session. I'm

Re: [Geiser-users] Entering Racket submodules

2013-06-08 Thread Jose A. Ortega Ruiz
On Fri, Jun 07 2013, Diogo F. S. Ramos wrote: Jose A. Ortega Ruiz j...@gnu.org writes: Is it possible to enter submodules when using Racket? Not yet :) I haven't even tried, so i'm not sure what effort is involved in providing the feature... actually, i'm not even sure it's possible

Re: [Geiser-users] Entering Racket submodules

2013-06-06 Thread Jose A. Ortega Ruiz
Is it possible to enter submodules when using Racket? Not yet :) I haven't even tried, so i'm not sure what effort is involved in providing the feature... actually, i'm not even sure it's possible in plain racket... jao -- A student came to the master and asked, for the master was one of

Re: [Geiser-users] [PATCH] Guile: Fix subr argument name retrieval for Guile = 2.0.9.

2013-06-04 Thread Jose A. Ortega Ruiz
Applied, thanks! jao

Re: [Geiser-users] feature missed in geiser-repl

2013-05-21 Thread Jose A. Ortega Ruiz
On Tue, May 21 2013, Darren Hoo wrote: Slime REPL has a feature that if you put the point over the old repl input then hit enter, the old repl input will be yanked into the repl again to the end of the comint buffer. I find it is very convenient way of going through the repl input history

Re: [Geiser-users] Re-evaluation fails when embedding Geiser into Racket program

2013-05-13 Thread Jose A. Ortega Ruiz
Hi Mikhail, On Mon, May 13 2013, Mikhail Maluyk wrote: Hello, I'm seeing strange behaviour when re-evaluating code, here is a simplified version that fails for me: ;; hello.rkt (module hello racket   (require geiser/server world.rkt)   (start-geiser localhost))   Sorry if i'm

Re: [Geiser-users] Re-evaluation fails when embedding Geiser into Racket program

2013-05-13 Thread Jose A. Ortega Ruiz
On Mon, May 13 2013, Mikhail Maluyk wrote: [...] Do you have any suggestion how i can check if geiser server is initialized and running? In principle, once the call to start-geiser returns, the TCP listener is ready to accept connections (the function writes on a channel to receive the

Re: [Geiser-users] Geiser Patch Submission

2013-05-10 Thread Jose A. Ortega Ruiz
Hi Nick, On Fri, May 10 2013, Nick Parker wrote: Hello, I am writing to ask about the process for submitting patches to geiser.  Seeing as the codebase [1] is on Github, is it preferred to submit a pull request? Yes, that's fine. TIA! jao -- A lawn is nature under totalitarian rule.

[Geiser-users] [ANN] Geiser 0.4 released

2013-05-03 Thread Jose A. Ortega Ruiz
With many thanks to all you guys: New features: - New command geiser-insert-lambda, bound to C-c \ in Scheme buffers (thanks to Ray Racine). - Configurable case-sensitivity when highlighting keywords (thanks to Diogo F.S. Ramos), via geiser-guile-case-sensitive-p and

Re: [Geiser-users] [racket] [ANN] Geiser 0.4 released

2013-05-03 Thread Jose A. Ortega Ruiz
On Fri, May 03 2013, Eli Barzilay wrote: Three hours ago, Jose A. Ortega Ruiz wrote: New features: - New command geiser-insert-lambda, bound to C-c \ in Scheme buffers (thanks to Ray Racine). If you go to the extent of doing this, then maybe it's worth it to do more? I have

Re: [Geiser-users] Fail to look up `date-string' in Racket

2013-04-17 Thread Jose A. Ortega Ruiz
On Wed, Apr 17 2013, Diogo F. S. Ramos wrote: 1. Enter a file with the language `racket' 2. Try to look up the symbol `date-string' with C-c C-d C-i 3. Looking up manual for 'date-string'... not found Example of file: #lang racket (date-string ) C-M-i works for completion, however.

Re: [Geiser-users] Manual not showing up while trying to look up symbol with `racket/base'

2013-04-15 Thread Jose A. Ortega Ruiz
On Mon, Apr 15 2013, Diogo F. S. Ramos wrote: [...] I think I'm experiencing a bug with the new patch. Yup, sorry about that: let's see if my new patches finally work... i've also added one that synchronises the initial help request with the index preload, so that even that other glitch with

Re: [Geiser-users] Racket and JIT

2013-04-14 Thread Jose A. Ortega Ruiz
On Sun, Apr 14 2013, Diogo F. S. Ramos wrote: Is the JIT turned off when running a Racket REPL? racket@ (eval-jit-enabled) #t racket@ I'm not explictily setting that parameter to #f anywhere. Performance of programs run inside Geiser is hurt by two other factors: we load the errortrace

Re: [Geiser-users] Racket and JIT

2013-04-14 Thread Jose A. Ortega Ruiz
On Sun, Apr 14 2013, Diogo F. S. Ramos wrote: [...] Performance of programs run inside Geiser is hurt by two other factors: we load the errortrace library by default and, more importantly, we set compile-enforce-module-constants to #t

Re: [Geiser-users] Manual not showing up while trying to look up symbol with `racket/base'

2013-04-14 Thread Jose A. Ortega Ruiz
On Mon, Apr 15 2013, Diogo F. S. Ramos wrote: 1. Find a file with `#lang racket/base' 2. Try to look up a symbol with C-c C-d C-i 3. A message appears announcing the look up but nothing shows up Example of file: #lang racket/base (list 42) Put the cursor on `list' and press C-c C-d

Re: [Geiser-users] iterative process not finishing

2013-04-13 Thread Jose A. Ortega Ruiz
On Sat, Apr 13 2013, Aleix Conchillo Flaqué wrote: On Sat, Apr 13, 2013 at 8:36 AM, Diogo F. S. Ramos diogo...@gmail.com wrote: I've seen this before, but I was never able to reproduce it reliably. I've run your program in Racket but I couldn't reproduce it. Here it's: Thanks for

Re: [Geiser-users] iterative process not finishing

2013-04-13 Thread Jose A. Ortega Ruiz
On Sat, Apr 13 2013, Aleix Conchillo Flaqué wrote: While writing this: http://hacks-galore.org/aleix/blog/archives/2013/04/13/add1-sub1-and-recursive-process I just found that the iterative process doesn't always end in geiser if I use big numbers: (o+ 10 1000) I can just press

Re: [Geiser-users] iterative process not finishing

2013-04-13 Thread Jose A. Ortega Ruiz
On Sun, Apr 14 2013, Aleix Conchillo Flaqué wrote: On Sat, Apr 13, 2013 at 12:53 PM, Jose A. Ortega Ruiz j...@gnu.org wrote: I've just checked, and it works for me...it's also almost immediate. Actually, in the REPL there's little done by Geiser itself, it's comint-mode doing most of the job

Re: [Geiser-users] iterative process not finishing

2013-04-13 Thread Jose A. Ortega Ruiz
On Sun, Apr 14 2013, Aleix Conchillo Flaqué wrote: [...] It is not working when I C-c C-a from the file, then C-c C-k for the attached file and the C-c C-a to go to the REPL. I don't fully understand what you say here: C-c C-a brings you to the REPL and no C-c C-k is needed. As an aside, C-c

Re: [Geiser-users] iterative process not finishing

2013-04-13 Thread Jose A. Ortega Ruiz
OK, the problem should be fixed now in the Git repo. The origin was that Aleix has company-mode active in the REPL and Geiser wasn't handling responses from the REPL deterministically in that case. Diogo, perhaps you also use company-mode? That would explain your also seeing the problem...

Re: [Geiser-users] [BUG] Hanging while completing symbol in a Racket filename which contains a white space

2013-04-12 Thread Jose A. Ortega Ruiz
On Fri, Apr 12 2013, Diogo F. S. Ramos wrote: [...] Not really. Just to make sure there is no confusion with the language racket. It could well be: #lang racket (liM-tab And sorry, I said [TAB] but it really is M-tab. I can't reproduce the problem, neither in the REPL with TAB nor in

Re: [Geiser-users] [BUG] Hanging while completing symbol in a Racket filename which contains a white space

2013-04-12 Thread Jose A. Ortega Ruiz
On Fri, Apr 12 2013, Jose A. Ortega Ruiz wrote: [...] I can't reproduce the problem, neither in the REPL with TAB nor in the racket buffer with M-TAB. Perhaps it's our differing Racket versions... i was waiting for the Debian's package update, but i'll upgrade manually during the weekend

Re: [Geiser-users] Automatic startup/shutdown of REPL processes

2013-04-11 Thread Jose A. Ortega Ruiz
On Thu, Apr 11 2013, Reuben Thomas wrote: On 11 April 2013 12:32, Reuben Thomas r...@sc3d.org wrote: On 11 April 2013 06:26, Jose A. Ortega Ruiz j...@gnu.org wrote: On Tue, Apr 09 2013, Reuben Thomas wrote: [...] I've also used the bit

Re: [Geiser-users] [PATCH] Evaluate last expression to buffer with a prefix

2013-04-11 Thread Jose A. Ortega Ruiz
On Thu, Apr 11 2013, Diogo F. S. Ramos wrote: Use a prefix before pressing C-x C-e to print the result of evaluating the expression before mark to the current buffer. Thanks Diogo. I've applied your patch, following it with some simplifications of mine and a bit of documentation. I hope i

Re: [Geiser-users] [BUG] Hanging while completing symbol in a Racket filename which contains a white space

2013-04-11 Thread Jose A. Ortega Ruiz
Hi... i cannot reproduce the error: On Fri, Apr 12 2013, Diogo F. S. Ramos wrote: 1. C-x C-f /tmp/foo bar.rkt RET 2. Insert `#lang racket ' Is the whitespace after racket significant? 3. Save it and enter file with C-c C-a 4. Type `(li[TAB]' This one completes fine for me, and

Re: [Geiser-users] Error with C-x C-e at (values)

2013-04-10 Thread Jose A. Ortega Ruiz
On Wed, Apr 10 2013, Diogo F. S. Ramos wrote: 1. Open a Racket file 2. Write `(values)' 3. Position cursor after `(values)' and press C-x C-e 4. Error: retort-syntax `(values)' is a valid procedure call in Racket but C-x C-e doesn't like it. It works at the REPL. Some investigation lead

Re: [Geiser-users] Automatic startup/shutdown of REPL processes

2013-04-10 Thread Jose A. Ortega Ruiz
On Tue, Apr 09 2013, Reuben Thomas wrote: [...] I've also used the bit of code you suggested to auto-run the REPL in geiser-mode-hook. Again, unless there's an obvious reason not to, it'd be great if that were the default. I've just pushed a patch that adds a new customization variable,

Re: [Geiser-users] Automatic startup/shutdown of REPL processes

2013-04-09 Thread Jose A. Ortega Ruiz
Hi again, On Tue, Apr 09 2013, Jose A. Ortega Ruiz wrote: [...] 2. When I quit Emacs, I get prompted because the REPL processes are running. I can't see an easy way to set them not to prompt, unless it's to advise some geiser function; would it be reasonable to have that at least

Re: [Geiser-users] Automatic startup/shutdown of REPL processes

2013-04-08 Thread Jose A. Ortega Ruiz
Hi, On Tue, Apr 09 2013, Reuben Thomas wrote: When I use geiser-mode, I find two things that should surely be automatic or automatable, but aren't: 1. No REPL process is run. Instead, I get a hint in the minibuffer to execute M-x run-geiser. Is there a way to do this automatically? It's

Re: [Geiser-users] Can you de-obfuscate the list email address, please?

2013-04-08 Thread Jose A. Ortega Ruiz
Hi, On Tue, Apr 09 2013, Reuben Thomas wrote: On the page http://www.nongnu.org/geiser/geiser_6.html#No-hacker-is-an-island the email address is in a humorous format. Unfortunately, after years of tediously copying, pasting and editing email addresses into a usable form, when I could just

Re: [Geiser-users] How does Geiser find source

2013-04-07 Thread Jose A. Ortega Ruiz
Hi Mark, On Sun, Apr 07 2013, Mark Skilbeck wrote: Hi, all. I have Geiser mostly set up — documentation shows up fine, etc.; however, one little problem is that I can never use the [source] button in the Geiser Doc View: I'm always told Couldn't find the edit location for 'define'. Are

Re: [Geiser-users] geiser and quack?

2013-03-23 Thread Jose A. Ortega Ruiz
On Sat, Mar 23 2013, Lawrence Bottorff wrote: In your docs, you say we should have (require 'quack) after geiser. But I don't have any sort of (require 'geiser) in my .emacs. Should I? I installed with elpa. No, it's not needed. The best way of requiring quack after geiser would be something

Re: [Geiser-users] Using a case sensitive font lock

2013-03-01 Thread Jose A. Ortega Ruiz
On Fri, Mar 01 2013, Diogo F. S. Ramos wrote: [...] In the REPL I'm still seen `BEGIN', for example, being highlight. Maybe it's a good idea to offer an option there too? Yes: i've pushed a patch that uses the new custom variables for case sensitivity also in the REPL... it also defines the

Re: [Geiser-users] [PATCH 0/1] Insert Greek letter lambda.

2013-02-02 Thread Jose A. Ortega Ruiz
Actually, i was thinking that perhaps it'd be nicer if C-c \ inserted (λ ()) (leaving the cursor in the arglist) instead of a lonely lambda. What do you think? jao -- I don't necessarily agree with everything I say. -Marshall McLuhan (1911-1980)

Re: [Geiser-users] progn: Symbol's function definition is void: comint-filename-completion

2013-01-22 Thread Jose A. Ortega Ruiz
Hi Haiwei, On Tue, Jan 22 2013, Haiwei Zhou wrote: Hi,   I used old emacs version 23.2. When I try to complete a filename in the REPL, it complains: Symbol's function definition is void: comint-filename-completion. Another function named comint-dynamic-complete-filename is found. But when

  1   2   >