From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Setting gdb to use eshell buffer Date: Mon, 26 Jan 2004 16:14:22 -0700 Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40159F4E.8000703@yahoo.com> References: <878ylb2o8a.fsf@emptyhost.emptydomain.de> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1075159107 19586 80.91.224.253 (26 Jan 2004 23:18:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2004 23:18:27 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 27 00:18:24 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AlFzs-0005JJ-00 for ; Tue, 27 Jan 2004 00:18:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AlFyd-0001zn-Pe for geh-help-gnu-emacs@m.gmane.org; Mon, 26 Jan 2004 18:17:07 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!170.207.51.80!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 39 Original-NNTP-Posting-Host: 170.207.51.80 Original-X-Trace: news.uni-berlin.de 1075158865 25675105 170.207.51.80 ([82742]) User-Agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2 X-Accept-Language: en-us Original-Xref: shelby.stanford.edu gnu.emacs.help:120451 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:16396 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16396 Kai Grossjohann wrote: > ncohen@ucsd.edu writes: >>Hi I'm using tramp to successfully transparently edit remote files >>however I also want to compile and debug them from inside emacs. >>How do I do this? > > With difficulty :-/ > > Tramp comes with a file tramp-util.el which contains a function that > allows you to do remote compiles. It is, however, a fake, because it > doesn't show any output until the remote compile is finished. (M-x > compile RET shows you output as it is arriving.) And what's more, > Emacs is frozen while it is waiting for the compile to finish. From that, I infer that Tramp has the connection write its output to a local temporary file that it then inserts into a compilation buffer. If that's the case, why can't the compilation buffer be set up with a process that tail's the temp file as its written? > I'm thinking about extending Tramp to allow background processes. I > think that Tramp needs to open multiple connections to the remote host > to do that. (If somebody has other ideas, please speak up.) And if > you open multiple connections to a host, then password caching becomes > interesting. And password caching is potentially very dangerous. > Also, it would make sense to reuse connections, instead of opening a > new connection whenever you issue a new compile command. I don't know. If caching passwords is so dangerous, maybe it is worth the overhead to establish a new connection for each background command. -- Kevin Rodgers