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: Process filter error in copy-file and error handling Date: Mon, 06 Aug 2007 09:29:09 +0200 Message-ID: <87zm15i0je.fsf@gmx.de> References: <46B459D8.7040500@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186385807 30901 80.91.229.12 (6 Aug 2007 07:36:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Aug 2007 07:36:47 +0000 (UTC) Cc: "Lennart Borgman \(gmail\)" , emacs-devel@gnu.org To: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Aug 06 09:36:45 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 1IHx8l-0007Cb-IL for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 09:36:45 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHx8j-0002gr-R0 for ged-emacs-devel@m.gmane.org; Mon, 06 Aug 2007 03:36:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IHx8Q-0002ap-34 for emacs-devel@gnu.org; Mon, 06 Aug 2007 03:36:14 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IHx8M-0002ZS-Ak for emacs-devel@gnu.org; Mon, 06 Aug 2007 03:36:13 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHx8M-0002ZL-0M for emacs-devel@gnu.org; Mon, 06 Aug 2007 03:36:10 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1IHx8J-0001ti-Mt for emacs-devel@gnu.org; Mon, 06 Aug 2007 03:36:09 -0400 Original-Received: (qmail invoked by alias); 06 Aug 2007 07:29:11 -0000 Original-Received: from p57A21C94.dip0.t-ipconnect.de (EHLO localhost.local) [87.162.28.148] by mail.gmx.net (mp051) with SMTP; 06 Aug 2007 09:29:11 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX1+MOypXksmM3xjrvaGu9hHaFgppuFT+tQ+5QD8P2G 5KCeaWcygTqPiH In-Reply-To: (Richard Stallman's message of "Sat, 04 Aug 2007 23:05:46 -0400") 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:76075 Archived-At: Richard Stallman writes: > The bug is that the error occurs in a filter, where it is caught. The > actual file handler needs to signal an error, which will stop > execution of your function. > > So I think this is a bug in Tramp. Not in Tramp. ange-ftp has been changed, so that errors are raised on another place (in ange-ftp-process-filter now), compared with the version shipped with Emacs 21. > Michael, would you please fix this and ack? > Please put the fix in Emacs 22 if the bug is present there. Should be fixed now in both the trunk and EMACS_22_BASE. Best regards, Michael.