From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel,gmane.emacs.pretest.bugs Subject: Re: 23.0.50; Tramp blocks Emacs when unconnected to server Date: Tue, 18 Sep 2007 15:49:04 +0200 Message-ID: References: <87ejgwy9fe.fsf@vaw.baug.ethz.ch> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1190123397 5732 80.91.229.12 (18 Sep 2007 13:49:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 18 Sep 2007 13:49:57 +0000 (UTC) Cc: emacs-pretest-bug@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 15:49:53 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 1IXdS7-0004Eg-3U for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 15:49:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXdS5-0002Q4-OB for ged-emacs-devel@m.gmane.org; Tue, 18 Sep 2007 09:49:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IXdS2-0002Mx-5t for emacs-devel@gnu.org; Tue, 18 Sep 2007 09:49:18 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IXdRz-0002HR-Dh for emacs-devel@gnu.org; Tue, 18 Sep 2007 09:49:17 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IXdRz-0002HG-BH for emacs-devel@gnu.org; Tue, 18 Sep 2007 09:49:15 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXdRz-0001d7-0d for emacs-devel@gnu.org; Tue, 18 Sep 2007 09:49:15 -0400 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IXdRR-0006gL-Si for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 09:48:41 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1IXdRu-0001cV-A7 for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 09:49:13 -0400 Original-Received: from mailrelay2.alcatel.de ([194.113.59.96]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IXdRt-0001Yf-PQ for emacs-pretest-bug@gnu.org; Tue, 18 Sep 2007 09:49:10 -0400 Original-Received: from slbhab.alcatel.de (slbhab.bln.sel.alcatel.de [149.204.63.218]) by mailrelay2.alcatel.de (8.13.4/8.13.4/ICT) with ESMTP id l8IDmgop030312; Tue, 18 Sep 2007 15:48:43 +0200 In-Reply-To: <87ejgwy9fe.fsf@vaw.baug.ethz.ch> (Martin =?iso-8859-1?Q?L=FC?= =?iso-8859-1?Q?thi's?= message of "Tue, 18 Sep 2007 02:49:41 +0000") User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.3 (hpux) X-Scanned-By: MIMEDefang 2.51 on 149.204.45.73 X-MIME-Autoconverted: from 8bit to quoted-printable by mailrelay2.alcatel.de id l8IDmgop030312 X-Detected-Kernel: Linux 2.4-2.6 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:79191 gmane.emacs.pretest.bugs:19921 Archived-At: "Martin L=FCthi" writes: > Hi Hi, > A major annoyance of Tramp is that it blocks Emacs when the server is > not reachable. The symptoms are > > o open file on remote host with Tramp, edit, save > o disconnect from network (like: get laptop sleeping, reconnect > somewhere else) > o close buffer visiting the remote file > > The last action (closing the buffer) is not possible, and Emacs blocks > for a long time. C-g stops the unsuccessful communication > attempt. However it should be possible to close the buffer without > interaction with the remote server. It is not clear to me what Tramp attempts to write when the buffer has been saved. Could you, please, set debug-on-quit to t? Next time you interrupt Tramp in such a situation, there shall be a backtrace. Please provide thi= s. Best regards, Michael.