emacs-devel
[Top][All Lists]
Advanced

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

Re: Tramp with GUD broken on trunk?


From: Nick Roberts
Subject: Re: Tramp with GUD broken on trunk?
Date: Tue, 10 Jul 2007 14:03:41 +1200

 > First of all, call-process and/or start-process must be replaced by
 > process-file and start-file-process, respectively.

GUD uses make-comint which uses start-process i.e. it's asynchronous so
it doesn't use call-process.

 > Then I needed to adapt gud-find-file, gud-%s-find-file and
 > gud-%s-massage-args. I don't remember the details (I wrote it in
 > November 2005); you might check the code at
 > <http://cvs.savannah.gnu.org/viewvc/tramp/lisp/tramp-util.el?revision=2.44&root=tramp&view=markup>.

I don't see why gud-%s-massage-args should change.  In any case
gud-gdb-massage-args has been deleted.  There only seems to be one
variation of gud-find-file now (gud-sdb-find-file) but these are
basically find-file which appears to be fundamental to TRAMP.  I would
guess it just needs fiddling with arguments.

I'll check out your link.

 > I fear the change is not trivial, although it might be simpler to
 > change inside the concerned gud functions. If you could apply a patch
 > I'ld really appreciate it because my todo list is rather long.

I'll dig out an ethernet cable.  Using localhost is too confusing because
I'm not sure if things are happening locally or through TRAMP.

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




reply via email to

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