From: "Kjetil S. Matheussen" <k.s.matheussen@notam02.no>
To: bug-gnu-emacs@gnu.org
Subject: bug#536: Emacs makes inferior-scheme and inferior-lisp hang when...
Date: Sat, 05 Jul 2008 15:16:02 +0200 (CEST) [thread overview]
Message-ID: <Pine.LNX.4.64.0807051509150.5262@ttleush> (raw)
In-Reply-To: <Pine.LNX.4.64.0807051445480.5262@ttleush>
On Sat, 5 Jul 2008, Kjetil S. Matheussen wrote:
>
>
> BACKGROUND
> ----------
> Emacs makes inferior-scheme and inferior-lisp hang when you evaluate
> a large block of code which is directly followed by a hash (#).
>
> This is a bug I've encountered numerous times for many
> years. I'm currently using emacs-cvs from 2008-07-04
> though.
>
> It does not seem to matter which implementation of
> scheme or common lisp is running as inferior-scheme
> or inferior-lisp.
>
>
>
> HOW TO PROVOCE THE HANG IN SCHEME
> ---------------------------------
> This should be an exact recipe on how to make inferior-scheme hang:
>
> 1. Load this file into emacs:
> http://www.notam02.no/~kjetism/emacsbug.scm
>
> 2. Start scheme by using M-x run-scheme
>
> 3. Place the cursor on to line 2 of emacsbug.scm and
> evaluate the block by pressing C-M-x. If the cursor
> is placed on line 1, scheme won't hang.
>
> 4. Scheme does not respond anymore
>
>
>
> HOW TO PROVOCE THE HANG IN COMMON LISP
> --------------------------------------
> To make inferior-lisp hang, just replace the "define" on
> line 1 in emacsbug.scm with a "defun", change
> to common-lisp-mode, and do the same thing.
>
Sorry, correction. Turned out I only found a reproducable
scheme in my current emacs session. When I restarted
emacs, I couldn't reproduce it with the above method.
However, it seems like the bigger the source file,
the bigger the chance of hitting the bug. I have
tried various things, and this is the only indication
I can find of what may cause it.
So, I have uploaded a new emacsbug.scm file, which
is really big. But, it seems to be about 100% sure
to hit the bug if doing the following:
1. Load this file into emacs:
http://www.notam02.no/~kjetism/emacsbug.scm
2. Start scheme by using M-x run-scheme
3. Place the cursor on line 1006 of emacsbug.scm and
evaluate the block by pressing C-M-x. If the cursor
is placed on line 1005, scheme won't hang.
4. Scheme does not respond anymore
If scheme doesn't hang, perhaps it works to
try again.
I'm sorry, I have tried to narrow
it down by cutting away various parts of the
code, but it doesn't seem to be consistent when
the bug appears. As said, it seems like
the larger the file, the larger the chance
of hitting the bug.
next prev parent reply other threads:[~2008-07-05 13:16 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-07-05 12:51 bug#537: Emacs makes inferior-scheme and inferior-lisp hang when Kjetil S. Matheussen
2008-07-05 13:16 ` Kjetil S. Matheussen [this message]
2011-09-11 17:12 ` bug#536: " Lars Magne Ingebrigtsen
2011-09-20 10:25 ` Kjetil S. Matheussen
2011-10-06 21:55 ` Lars Magne Ingebrigtsen
2008-07-06 18:47 ` bug#537: " Richard M Stallman
2008-07-06 18:52 ` Kjetil S. Matheussen
2008-07-06 18:58 ` Kjetil S. Matheussen
2008-07-07 11:38 ` Richard M Stallman
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.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.64.0807051509150.5262@ttleush \
--to=k.s.matheussen@notam02.no \
--cc=536@emacsbugs.donarmstrong.com \
--cc=bug-gnu-emacs@gnu.org \
/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.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).