From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: 23.0.50; Tramp blocks Emacs when unconnected to server Date: Tue, 18 Sep 2007 21:29:25 +0200 Message-ID: <87wsunwz56.fsf@gmx.de> References: <87ejgwy9fe.fsf@vaw.baug.ethz.ch> <18159.57129.3652.722039@gargle.gargle.HOWL> <18159.59617.346529.218835@gargle.gargle.HOWL> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1190143718 22290 80.91.229.12 (18 Sep 2007 19:28:38 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 19:28:38 +0000 (UTC) Cc: emacs-devel@gnu.org To: luethi@vaw.baug.ethz.ch Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 18 21:28:27 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 1IXiht-0006zz-AJ for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 21:26:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXihr-00080l-Gx for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 15:25:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXihZ-0007uR-P5 for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:25:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXihZ-0007u7-6M for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:25:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXihY-0007u2-V0 for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:25:40 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IXihY-0007mO-Ga for emacs-devel@gnu.org; Tue, 18 Sep 2007 15:25:40 -0400 Original-Received: (qmail invoked by alias); 18 Sep 2007 19:25:38 -0000 Original-Received: from p57A24021.dip0.t-ipconnect.de (EHLO arthur.local) [87.162.64.33] by mail.gmx.net (mp002) with SMTP; 18 Sep 2007 21:25:38 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX19F5ftIOeFF0dTEUtdUy3Wq4+ulupfhswae6+NIXM lRSF59KSAylBmS User-Agent: Gnus/5.110007 (No Gnus v0.7) Emacs/22.1.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:79213 Archived-At: "Martin Lüthi" writes: > Michael Hi Martin, [I still keep emacs-devel CC, for traceability] > Here is the full backtrace (sorry, if it got truncated). Interestingly > enough I cannot reproduce the error now. Maybe sleeping is involved, too. I cannot find anything in the backtrace which helps. Locally (I'm @home 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". 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 find 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 depends on the length of the string being sent to the remote host, and on the quality (throughput) of the connection. However, this is different from the problem you did report. Best regards, Michael.