From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.help Subject: Re: "lein repl" malfunctions in Emacs (24.3.1) subprocess? Date: Wed, 15 Apr 2015 23:55:33 +0200 Message-ID: <87iocxukdm.fsf@zigzag.favinet> References: <83bnircu3y.fsf@gnu.org> Reply-To: help-gnu-emacs@gnu.org NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha1; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1429135969 10957 80.91.229.3 (15 Apr 2015 22:12:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 15 Apr 2015 22:12:49 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 00:12:44 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YiVXz-0005g8-SW for geh-help-gnu-emacs@m.gmane.org; Thu, 16 Apr 2015 00:12:40 +0200 Original-Received: from localhost ([::1]:34303 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiVXy-000459-L5 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Apr 2015 18:12:38 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiVSk-0003jv-Qd for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:07:15 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YiVSj-0002Go-4F for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:07:14 -0400 Original-Received: from mail.agora-net.com ([67.59.132.6]:59551) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YiVSj-0002GQ-0h for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:07:13 -0400 Original-Received: from ttn by mail.agora-net.com with local (Exim 4.71) (envelope-from ) id 1YiVSg-0000cG-I0 for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 18:07:10 -0400 Original-Received: from ttn by zigzag.favinet with local (Exim 4.80) (envelope-from ) id 1YiVHZ-0005Gy-GS for help-gnu-emacs@gnu.org; Wed, 15 Apr 2015 23:55:41 +0200 Mail-Followup-To: help-gnu-emacs@gnu.org In-Reply-To: <83bnircu3y.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 14 Apr 2015 05:38:09 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: ttn@gnuvola.org X-SA-Exim-Scanned: No (on mail.agora-net.com); SAEximRunCond expanded to false X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 67.59.132.6 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:103754 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable () Eli Zaretskii () 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 =E2=80=98cider-jack-in=E2=80=99. Why don't you exa= mine its source code, examine the =E2=80=98M-x shell=E2=80=99 source code and po= st 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 =2D-=20 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)) ...)) =2D--------------------------------------------- GPG key: 4C807502 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlUu3lcACgkQZwMiJEyAdQJaHwCgqnccyZL5BUHpphD/7KI58eGp hMkAniZmI/eMfxhMCF7W/TUsFvBUbd/r =AXYR -----END PGP SIGNATURE----- --=-=-=--