From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Incorrect error message for file operation in Windows Date: Sun, 02 Jun 2013 16:50:30 -0400 Message-ID: References: <1265839700.20130602145343@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1370206982 7229 80.91.229.3 (2 Jun 2013 21:03:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Jun 2013 21:03:02 +0000 (UTC) Cc: emacs-devel@gnu.org To: Ivanov Dmitry Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 02 23:03:01 2013 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1UjFQb-0005SC-32 for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 23:03:01 +0200 Original-Received: from localhost ([::1]:42632 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjFQa-00010z-OE for ged-emacs-devel@m.gmane.org; Sun, 02 Jun 2013 17:03:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51326) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjFQH-0000ex-VG for emacs-devel@gnu.org; Sun, 02 Jun 2013 17:02:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UjFQH-0004Gz-6d for emacs-devel@gnu.org; Sun, 02 Jun 2013 17:02:41 -0400 Original-Received: from chene.dit.umontreal.ca ([132.204.246.20]:50135) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UjFQH-0004Gp-2l for emacs-devel@gnu.org; Sun, 02 Jun 2013 17:02:41 -0400 Original-Received: from ceviche.home (lechon.iro.umontreal.ca [132.204.27.242]) by chene.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id r52L2dAv026638; Sun, 2 Jun 2013 17:02:39 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 3B26D662CB; Sun, 2 Jun 2013 16:50:30 -0400 (EDT) In-Reply-To: <1265839700.20130602145343@gmail.com> (Ivanov Dmitry's message of "Sun, 2 Jun 2013 14:53:43 +0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4597=0 X-NAI-Spam-Version: 2.3.0.9362 : core <4597> : streams <972892> : uri <1436925> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 132.204.246.20 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:160009 Archived-At: > (condition-case ex > (copy-file "~/.emacs.d/drupal.el" "e:/video") > ('error (message (format "Caught exception: [%s]" ex)))) On an unrelated note: the above `condition-case' will catch the signals `error' and `quote', but of course, there is no such thing as a `quote' signal. IOW you wanted to write: (condition-case ex (copy-file "~/.emacs.d/drupal.el" "e:/video") (error (message (format "Caught exception: [%s]" ex)))) Stefan