From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#7308: [patch] locate under windoze Date: Sat, 30 Oct 2010 23:21:01 +0200 Message-ID: <83mxpv5qde.fsf@gnu.org> References: <87hbg3piit.fsf@pusto.de> Reply-To: Eli Zaretskii NNTP-Posting-Host: lo.gmane.org X-Trace: dough.gmane.org 1288475008 13809 80.91.229.12 (30 Oct 2010 21:43:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 30 Oct 2010 21:43:28 +0000 (UTC) Cc: 7308@debbugs.gnu.org To: Eduard Wiebe Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 30 23:43:22 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.69) (envelope-from ) id 1PCJCs-0003Ie-Dy for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Oct 2010 23:43:22 +0200 Original-Received: from localhost ([127.0.0.1]:48129 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCJCr-00068D-TU for geb-bug-gnu-emacs@m.gmane.org; Sat, 30 Oct 2010 17:43:21 -0400 Original-Received: from [140.186.70.92] (port=52300 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PCJCm-000685-9a for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 17:43:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PCJCl-0001CA-4e for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 17:43:16 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:58694) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PCJCl-0001C4-3C for bug-gnu-emacs@gnu.org; Sat, 30 Oct 2010 17:43:15 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1PCIoM-0008Vd-CL; Sat, 30 Oct 2010 17:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 30 Oct 2010 21:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 7308 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 7308-submit@debbugs.gnu.org id=B7308.128847345832696 (code B ref 7308); Sat, 30 Oct 2010 21:18:02 +0000 Original-Received: (at 7308) by debbugs.gnu.org; 30 Oct 2010 21:17:38 +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 1PCInx-0008VJ-OR for submit@debbugs.gnu.org; Sat, 30 Oct 2010 17:17:37 -0400 Original-Received: from mtaout22.012.net.il ([80.179.55.172]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PCInu-0008VE-G0 for 7308@debbugs.gnu.org; Sat, 30 Oct 2010 17:17:35 -0400 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0LB400J00GGX9400@a-mtaout22.012.net.il> for 7308@debbugs.gnu.org; Sat, 30 Oct 2010 23:20:59 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.126.47.222]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0LB400J08GMT7120@a-mtaout22.012.net.il>; Sat, 30 Oct 2010 23:20:54 +0200 (IST) In-reply-to: <87hbg3piit.fsf@pusto.de> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 30 Oct 2010 17:18:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) 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:41288 Archived-At: > From: Eduard Wiebe > Date: Sat, 30 Oct 2010 21:50:18 +0200 > Cc: > > i want to use `locate' under windoze system. Unfortunately locate (in > interaction with dired) doesn't work proper in such a case. > The problem is the unquoted backslash in a located file path. > So i fix this issue by following patch. Thanks. Please tell what version of `locate' is that, and in which Emacs version it happened to you. I understand that the problem happens because your version of `locate' returns Windows file names with backslashes as directory separators (as opposed to forward slashes), is that right? If so, wouldn't it be better to replace backslashes with forward slashes before the unquote loop? If backslashes as directory separators are not the reason, could you please elaborate about the reason?