emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Lawrence Bottorff <borgauf@gmail.com>
To: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Cc: emacs-orgmode Mailinglist <emacs-orgmode@gnu.org>
Subject: Re: Babel doesn't like some Racket comments
Date: Wed, 1 Mar 2017 11:54:12 -0500	[thread overview]
Message-ID: <CAFAhFSU67hT-5mrtUR+ox9NJoK2d==+0VbBZwCROig=r+uieFg@mail.gmail.com> (raw)
In-Reply-To: <87y3wpazek.fsf@nicolasgoaziou.fr>

[-- Attachment #1: Type: text/plain, Size: 1731 bytes --]

This produces no Backtrace. Here's my *Messages*

Debug on Quit enabled globally
executing Scheme code block (set-example1)...
Starting Geiser REPL for racket ...
There is no ElDoc support in this buffer
Starting Geiser REPL for racket ... [2 times]
Racket REPL up and running!
=>
""
Quit

. . . and no *Backtrace* buffer. I used this code:

#+name:set-example1
#+begin_src scheme :session f1 :exports both :tangle yes :cache yes
:results silent
(define A (set 1 2 3 4))
(define B (set 3 4 5 6))
(define C (set 4 5))

(set-union A B)     ; gives (set 1 2 3 4 5 6)
(set-intersect A B) ; gives (set 3 4)
(set-subtract A B)  ; gives (set 1 2)
(set=? A B)         ; gives #f
(subset? C A)       ; gives #f
(subset? C B)       ; gives #t
#+end_src

and upon C-c C-c, Emacs worked for a long time, finally producing a dead,
unresponsive Racket REPL buffer. Again, if I kill the REPL, then try this
code:

#+name:set-example2
#+begin_src scheme :session f1 :exports both :tangle yes :cache yes
:results silent
(define A (set 1 2 3 4))
(define B (set 3 4 5 6))
(define C (set 4 5))

(set-union A B)
(set-intersect A B)
(set-subtract A B)
(set=? A B)
(subset? C A)
(subset? C B)
#+end_src

it works:

Welcome to Racket v6.8.
racket@> A
(set 1 3 2 4)
racket@>

On Wed, Mar 1, 2017 at 8:40 AM, Nicolas Goaziou <mail@nicolasgoaziou.fr>
wrote:

> Hello,
>
> Lawrence Bottorff <borgauf@gmail.com> writes:
>
> > C-c C-c-ing this code
> >
> > #+begin_src scheme
> > (define (foo x)
> >   ;just add one
> >   (+ 1 x)) ; comment
> > #+end_src
> >
> > causes Racket (geiser) to freeze up. Sometimes I see a
>
> Could you use M-x toggle-debug-on-quit, reproduce the freezing, hit C-g
> and paste the backtrace?
>
> Regards,
>
> --
> Nicolas Goaziou
>

[-- Attachment #2: Type: text/html, Size: 2904 bytes --]

      reply	other threads:[~2017-03-01 16:54 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-02-28 20:41 Babel doesn't like some Racket comments Lawrence Bottorff
2017-03-01 13:40 ` Nicolas Goaziou
2017-03-01 16:54   ` Lawrence Bottorff [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAFAhFSU67hT-5mrtUR+ox9NJoK2d==+0VbBZwCROig=r+uieFg@mail.gmail.com' \
    --to=borgauf@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mail@nicolasgoaziou.fr \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).