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: [cyd@stupidchicken.com: Re: tramp and diff-mode results in Emacs crash] Date: Thu, 01 Mar 2007 00:18:00 +0100 Message-ID: <87mz2x6fdj.fsf@gmx.de> References: <87hct552al.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1172704689 14534 80.91.229.12 (28 Feb 2007 23:18:09 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 28 Feb 2007 23:18:09 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 01 00:18:00 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 1HMY3b-0006M5-NV for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 00:18:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMY3c-00059u-L7 for ged-emacs-devel@m.gmane.org; Wed, 28 Feb 2007 18:18:00 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMY3R-00059l-Gq for emacs-devel@gnu.org; Wed, 28 Feb 2007 18:17:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMY3P-00059X-5Y for emacs-devel@gnu.org; Wed, 28 Feb 2007 18:17:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMY3O-00059U-V7 for emacs-devel@gnu.org; Wed, 28 Feb 2007 18:17:47 -0500 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.52) id 1HMY3O-0003an-Cu for emacs-devel@gnu.org; Wed, 28 Feb 2007 18:17:46 -0500 Original-Received: (qmail invoked by alias); 28 Feb 2007 23:17:44 -0000 X-Provags-ID: V01U2FsdGVkX1/fV4ZqV2TfpxxNpQnYb33aPh7an28iXAGj1lbQSI WtbA== In-Reply-To: <87hct552al.fsf@stupidchicken.com> (Chong Yidong's message of "Wed\, 28 Feb 2007 17\:45\:54 -0500") User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.94 (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:67086 Archived-At: Chong Yidong writes: > I've reverted this commit, and fixed the bug another way. Thank you. In the meantime I was experimenting to make your patch less destructive, f.e. by checking via (file-locked-p filename) before disabling the hooks. Btw, the guilty hook in Tramp seems to be related to auto-save, which should be disabled indeed when a file is locked. But your change should prevent such checks in Tramp which are not designed for file name handlers to be applied in general. Best regards, Michael.