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

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

Re: General Approach to Troubleshooting Inferior Process


From: formido
Subject: Re: General Approach to Troubleshooting Inferior Process
Date: Tue, 19 Aug 2008 17:01:52 -0700 (PDT)
User-agent: G2/1.0

On Aug 19, 10:20 am, formido <address@hidden> wrote:
> 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?

Previous experience was on X11 Emacs on a Mac. Tried on NTEmacs now,
and same problem. I don't know if ruby-mode just doesn't work the same
as, say, python-mode or erlang-mode, but this is getting pretty
annoying.


reply via email to

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