octave-maintainers
[Top][All Lists]
Advanced

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

Re: GUD octave support


From: Nick Roberts
Subject: Re: GUD octave support
Date: Tue, 11 Dec 2007 22:40:02 +1300

 > What is still not clear to me is:
 > Does GUD mode require a command line switch to enable the special
 > octave prompt or is it possible the GUD mode send a command to octave
 > upon startup which will set the octave prompt.

I have said:

 > >  > | Emacs could indeed send a special command to Octave when it starts up
 > >  > | in GUD mode

but it's not setting the Octave prompt.  GUD would create a pty, fork and run
Octave as a child process in that pty, just as the command M-x run-octave or
M-x inferior-octave does.  In addition, however, GUD would filter the output
from Octave and, in particular, match on a file:line regexp so that it can
display the Octave source file in another buffer.

 > If GUD supports both the command line and sending an octave command,
 > then we can start arguing about the merits of these approaches.

GUD can use either.  It's for you (the Octave Maintainers) to decide which is
preferable.

-- 
Nick                                           http://www.inet.net.nz/~nickrob


reply via email to

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