From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Doug Lewan Newsgroups: gmane.emacs.help Subject: RE: ielm freeze Date: Thu, 22 Mar 2012 16:02:12 +0000 Message-ID: <495248DFDEA08C469BBDED2D4AA6C614409A76@DAKIYA1.pegasus.local> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1332432028 22408 80.91.229.3 (22 Mar 2012 16:00:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 22 Mar 2012 16:00:28 +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 Mar 22 17:00:26 2012 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 1SAkR3-0000Gj-MJ for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2012 17:00:21 +0100 Original-Received: from localhost ([::1]:40823 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAkR3-0004hs-0z for geh-help-gnu-emacs@m.gmane.org; Thu, 22 Mar 2012 12:00:21 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:56674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAkQl-0004E1-TR for help-gnu-emacs@gnu.org; Thu, 22 Mar 2012 12:00:13 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SAkQg-00045Y-2V for help-gnu-emacs@gnu.org; Thu, 22 Mar 2012 12:00:03 -0400 Original-Received: from webmail.shubertorg.com ([207.246.209.200]:13764) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SAkQf-00044n-VK for help-gnu-emacs@gnu.org; Thu, 22 Mar 2012 11:59:57 -0400 Original-Received: from dakiya1.pegasus.local ([fe80::5ce2:4641:22cf:ff1f]) by DAKIYA1.pegasus.local ([::1]) with mapi id 14.01.0339.001; Thu, 22 Mar 2012 12:02:13 -0400 Thread-Topic: ielm freeze Thread-Index: AQHNCAosx8GPiBhZ1UaGHLRUsh1XA5Z2eRrA In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.0.21.202] X-detected-operating-system: by eggs.gnu.org: Windows XP/2000 (RFC1323+, w+, tstamp-) X-Received-From: 207.246.209.200 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:84089 Archived-At: I don't have Ruby (and so also not inferior-ruby-mode it seems), but I migh= t suggest the following variation on your code: ;; disable echoing in ruby intrepreter (defun echo-false () (setq comint-process-echoes t)) (add-hook 'inferior-ruby-mode-hook 'echo-false) I may have misspelled inf-ruby-mode-hook. I'm sorry if I did, but I still h= ope this helps. ,Doug -----Original Message----- From: help-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org [mailto:h= elp-gnu-emacs-bounces+dougl=3Dshubertticketing.com@gnu.org] On Behalf Of Me= ntus Sarovar Sent: Thursday, 2012 March 22 05:00 To: help-gnu-emacs@gnu.org Subject: RE: ielm freeze I applied your proposed method :-) and could quickly localize to problematic place in my init file: ;; disable echoing in ruby intrepreter (defun echo-false () (setq comint-process-echoes t)) (add-hook 'comint-mode-hook 'echo-false) This was added because the ruby interepreter was returning two times the same value. How can this piece of code be made only inf-ruby-mode specific? Thanks Matus