help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "lein repl" malfunctions in Emacs (24.3.1) subprocess?


From: Thien-Thi Nguyen
Subject: Re: "lein repl" malfunctions in Emacs (24.3.1) subprocess?
Date: Wed, 15 Apr 2015 23:55:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux)

() Eli Zaretskii <address@hidden>
() Tue, 14 Apr 2015 05:38:09 +0300

   Likely a buffering issue.  Emacs on Windows runs subprocesses
   via a pipe, and many programs then buffer their stdout fully,
   unlike line buffering they use when run from a shell prompt.

   If "lein repl", whatever that is, has an option to control
   buffering, or there's a variable you can set or command you
   can issue to that effect inside "lein repl", they will likely
   fix the problem.

Another possible weirdness is EOL convention.  But anyway...

You found a solution in ‘cider-jack-in’.  Why don't you examine
its source code, examine the ‘M-x shell’ source code and post
the conceptual diff?  (If not you, then Someone ought to do it.)

source but no reading of it: we are blind.
reading of source but no understanding: we are dumb.
understanding of one but not of many: we are alone.
how funny the universe allows us to say "we" are "alone".  :-D

-- 
Thien-Thi Nguyen -----------------------------------------------
  (if you're human and you know it) read my lisp:
    (defun responsep (type via)
      (case type
        (technical (eq 'mailing-list via))
        ...))
---------------------------------------------- GPG key: 4C807502

Attachment: signature.asc
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]