all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: formido <formido@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: General Approach to Troubleshooting Inferior Process
Date: Tue, 19 Aug 2008 10:20:24 -0700 (PDT)	[thread overview]
Message-ID: <1cced856-27be-4653-8795-fb009514e1b1@v39g2000pro.googlegroups.com> (raw)

So, I installed the elisp packages for inferior ruby and and ruby
mode. Using the repl in the interpreter works correctly. However,
sending the ruby process a function definition, or evaluating a region
if it's a function definition, fails. It errors with, 'cannot make nil
into string' or some such.

In general, what sorts of things could I do to troubleshoot this? The
first thing I thought of was 'well, what's emacs *actually* sending to
the process?' It uses a function 'process-send-region' which
apparently takes a starting point and ending point in the target
buffer. What function can I use to display the text between those two
points?


             reply	other threads:[~2008-08-19 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-08-19 17:20 formido [this message]
2008-08-20  0:01 ` General Approach to Troubleshooting Inferior Process formido
2008-08-20  3:50 ` Pascal J. Bourguignon
2008-08-20 16:33   ` formido
2008-08-20 17:56   ` formido

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=1cced856-27be-4653-8795-fb009514e1b1@v39g2000pro.googlegroups.com \
    --to=formido@gmail.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.