unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: cohagan@acm.org
To: help-gnu-emacs@gnu.org
Subject: Re: "lein repl" malfunctions in Emacs (24.3.1) subprocess?
Date: Mon, 13 Apr 2015 14:47:40 -0700 (PDT)	[thread overview]
Message-ID: <21d64d41-d1bc-4137-9a13-c798dafa7ea5@googlegroups.com> (raw)
In-Reply-To: <f4d9fde8-4c5f-41e1-a187-3f1e8524f9e7@googlegroups.com>

Well, I of course figured this out (sort of) shortly after posting. I should have been using cider-jack-in rather than "lein repl" to get a Clojure REPL going in a buffer. So, my immediate problem is solved; however I'm still curious as to why the lein repl won't work in Emacs?

Bill

On Monday, April 13, 2015 at 4:23:48 PM UTC-5, coh...@acm.org wrote:
> I'm trying to use Emacs as my dev environment for Clojure programming under Windows 8.1. When I open a subprocess (via M-x shell) I get a command prompt as expected. I can then run "lein test" and my unit tests are run as expected -- with output to the shell buffer as expected.
> 
> If, however, I enter "lein repl" then the REPL starts as expected, but is non responsive. For example, if I enter (+ 1 2) at the user=> prompt (followed by Enter) I get no response at all.  The input isn't echoed (as expected) and no output at all appears.
> 
> Note that "lein repl" runs fine at a normal command prompt (or within a subprocess buffer in Epsilon (an Emacs clone.)) This problem occurs on 3 different machines.
> 
> This has worked for me in the past so obviously something has broken, but I haven't a clue what it might be or how to troubleshoot.
> 
> Any pointers/suggestions would be greatly appreciated.
> 
> Thanks in advance,
>  Bill



  reply	other threads:[~2015-04-13 21:47 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-13 21:23 "lein repl" malfunctions in Emacs (24.3.1) subprocess? cohagan
2015-04-13 21:47 ` cohagan [this message]
2015-04-14  2:38 ` Eli Zaretskii
2015-04-15 21:55   ` Thien-Thi Nguyen

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=21d64d41-d1bc-4137-9a13-c798dafa7ea5@googlegroups.com \
    --to=cohagan@acm.org \
    --cc=help-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.
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).