From: Doug Lewan <dougl@shubertticketing.com>
To: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: RE: ielm freeze
Date: Thu, 22 Mar 2012 16:02:12 +0000 [thread overview]
Message-ID: <495248DFDEA08C469BBDED2D4AA6C614409A76@DAKIYA1.pegasus.local> (raw)
In-Reply-To: <CALvESw69n-ZZ33OVokk87hfo-wX2S9OP=AcpXwgPN8RGe=frBA@mail.gmail.com>
I don't have Ruby (and so also not inferior-ruby-mode it seems), but I might 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 hope this helps.
,Doug
-----Original Message-----
From: help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org [mailto:help-gnu-emacs-bounces+dougl=shubertticketing.com@gnu.org] On Behalf Of Mentus 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
next prev parent reply other threads:[~2012-03-22 16:02 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-22 9:00 ielm freeze Mentus Sarovar
2012-03-22 16:02 ` Doug Lewan [this message]
-- strict thread matches above, loose matches on Subject: below --
2012-03-23 8:38 Matus Kmit
2012-03-21 12:37 Mentus Sarovar
2012-03-21 18:12 ` Doug Lewan
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=495248DFDEA08C469BBDED2D4AA6C614409A76@DAKIYA1.pegasus.local \
--to=dougl@shubertticketing.com \
--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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.