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

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

General Approach to Troubleshooting Inferior Process


From: formido
Subject: General Approach to Troubleshooting Inferior Process
Date: Tue, 19 Aug 2008 10:20:24 -0700 (PDT)
User-agent: G2/1.0

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 via email to

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