From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#5376: 23.1; dirtrack.el unnecessary errors [PATCH] Date: Thu, 14 Jan 2010 10:04:55 -0500 Message-ID: References: <87tyup4eji.fsf@nflath-laptop.i-did-not-set--mail-host-address--so-tickle-me> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1263483362 22053 80.91.229.12 (14 Jan 2010 15:36:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Jan 2010 15:36:02 +0000 (UTC) Cc: 5376@debbugs.gnu.org To: flat0103@gmail.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jan 14 16:35:54 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NVRiC-0006UE-IX for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 16:34:16 +0100 Original-Received: from localhost ([127.0.0.1]:35899 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVRiC-0002BR-Fy for geb-bug-gnu-emacs@m.gmane.org; Thu, 14 Jan 2010 10:34:16 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NVRU2-0005IF-4h for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 10:19:38 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NVRTv-0005AG-J3 for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 10:19:36 -0500 Original-Received: from [199.232.76.173] (port=39920 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NVRTu-00059o-Tc for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 10:19:31 -0500 Original-Received: from mx20.gnu.org ([199.232.41.8]:19944) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NVRTu-0004m2-En for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 10:19:30 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1NVRTt-0001sR-Q3 for bug-gnu-emacs@gnu.org; Thu, 14 Jan 2010 10:19:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NVRGs-00011i-5U; Thu, 14 Jan 2010 10:06:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Jan 2010 15:06:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5376 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5376-submit@debbugs.gnu.org id=B5376.12634815033847 (code B ref 5376); Thu, 14 Jan 2010 15:06:02 +0000 Original-Received: (at 5376) by debbugs.gnu.org; 14 Jan 2010 15:05:03 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVRFv-000100-F3 for submit@debbugs.gnu.org; Thu, 14 Jan 2010 10:05:03 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.183] helo=ironport2-out.pppoe.ca) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NVRFt-0000zW-4K for 5376@debbugs.gnu.org; Thu, 14 Jan 2010 10:05:01 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq8EAPzATktFxLLV/2dsb2JhbACBRdcwhDAEijY X-IronPort-AV: E=Sophos;i="4.49,275,1262581200"; d="scan'208";a="53738589" Original-Received: from 69-196-178-213.dsl.teksavvy.com (HELO ceviche.home) ([69.196.178.213]) by ironport2-out.pppoe.ca with ESMTP; 14 Jan 2010 10:04:55 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id A737DB464B; Thu, 14 Jan 2010 10:04:55 -0500 (EST) In-Reply-To: <87tyup4eji.fsf@nflath-laptop.i-did-not-set--mail-host-address--so-tickle-me> (flat's message of "Wed, 13 Jan 2010 21:16:01 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.91 (gnu/linux) X-Spam-Score: -1.8 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -1.8 (-) Resent-Date: Thu, 14 Jan 2010 10:06:02 -0500 X-detected-operating-system: by mx20.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34325 Archived-At: > RCS file: /sources/emacs/emacs/lisp/dirtrack.el,v > retrieving revision 1.28 > diff -u -r1.28 dirtrack.el > @@ -270,7 +270,7 @@ > (run-hooks 'dirtrack-directory-change-hook) > (dirtrack-debug-message > (format "Changing directory to %s" prompt-path))) > - (error "Directory %s does not exist" prompt-path))) > + input)) > ))))) > input) I agree it shouldn't signal an error. But we turn the `error' into a `message', so the user is kept informed of the problem. Stefan