From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Martin Lüthi" Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; Tramp blocks Emacs when unconnected to server Date: Tue, 18 Sep 2007 19:36:48 +0000 Message-ID: <18160.10448.616832.779233@gargle.gargle.HOWL> References: <87ejgwy9fe.fsf@vaw.baug.ethz.ch> <18159.57129.3652.722039@gargle.gargle.HOWL> <18159.59617.346529.218835@gargle.gargle.HOWL> <87wsunwz56.fsf@gmx.de> Reply-To: luethi@vaw.baug.ethz.ch NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-2022-jp Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190156299 30646 80.91.229.12 (18 Sep 2007 22:58:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 22:58:19 +0000 (UTC) Cc: luethi@vaw.baug.ethz.ch, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 19 00:58:18 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1IXm1K-0003Gp-GY for ged-emacs-devel@m.gmane.org; Wed, 19 Sep 2007 00:58:18 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXm1J-0002Dg-4C for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 18:58:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXisR-0006Kn-UV for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:36:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXisQ-0006Jv-9y for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:36:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXisP-0006Jj-V8 for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:36:53 -0400 Original-Received: from smtp.ee.ethz.ch ([129.132.2.219]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXisP-0001FD-DD for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:36:53 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by smtp.ee.ethz.ch (Postfix) with ESMTP id 27E3DD935D; Tue, 18 Sep 2007 21:36:51 +0200 (MEST) X-Quarantine-ID: X-Virus-Scanned: by amavisd-new on smtp.ee.ethz.ch X-Amavis-Alert: BAD HEADER, Non-encoded 8-bit data (char 81 hex): From: "Martin L\201\374thi" X-Mailer: VM 8.0.2-487 under Emacs 23.0.50.1 (i686-pc-linux-gnu) X-Detected-Kernel: Solaris 8 (1) X-Mailman-Approved-At: Tue, 18 Sep 2007 18:57:43 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:79247 Archived-At: Hi Michael Albinus writes: > "Martin L=81=1B,A|=1B(Bthi" writes: > > Here is the full backtrace (sorry, if it got truncated). Interesting= ly > > enough I cannot reproduce the error now. Maybe sleeping is involved,= too. > = > I cannot find anything in the backtrace which helps. Locally (I'm @hom= e > meanwhile) I cannot reproduce the problem either. When I disable WLAN,= I > can kill a buffer containing a remote file without problems, given the= > buffer is not marked "modified". The buffer was saved. = > When the buffer is not saved yet, Tramp runs indeed into a loop during= > write operations when the network connection is broken. I'll try to fi= nd > a way that Tramp detects it (it must be performant). This will not be = so > easy, because ssh tends to keep the connection for a while. And it is > not predictable what kind of timer inside Emacs we could set; it depen= ds > on the length of the string being sent to the remote host, and on the > quality (throughput) of the connection. Maybe that is the problem, I'm not shure though. I'll try to find a reproducible error condition. Thanks, Martin