From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: 22.1.90; `locate' and "C:" on Windows Date: Wed, 13 Feb 2008 19:54:45 -0500 Message-ID: <87odakqrvu.fsf@stupidchicken.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1202950552 7360 80.91.229.12 (14 Feb 2008 00:55:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 14 Feb 2008 00:55:52 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Feb 14 01:56:14 2008 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 1JPSOc-00043C-AL for ged-emacs-devel@m.gmane.org; Thu, 14 Feb 2008 01:56:14 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPSO8-0003ts-LM for ged-emacs-devel@m.gmane.org; Wed, 13 Feb 2008 19:55:44 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JPSO4-0003sX-5B for emacs-devel@gnu.org; Wed, 13 Feb 2008 19:55:40 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JPSO2-0003s8-Od for emacs-devel@gnu.org; Wed, 13 Feb 2008 19:55:39 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JPSO2-0003s5-IC for emacs-devel@gnu.org; Wed, 13 Feb 2008 19:55:38 -0500 Original-Received: from cyd.mit.edu ([18.115.2.24]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JPSO2-00065Z-5n for emacs-devel@gnu.org; Wed, 13 Feb 2008 19:55:38 -0500 Original-Received: by cyd.mit.edu (Postfix, from userid 1000) id C25CB4E496; Wed, 13 Feb 2008 19:54:45 -0500 (EST) In-Reply-To: (Reiner Steib's message of "Wed\, 13 Feb 2008 20\:19\:38 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.90 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:89012 Archived-At: Reiner Steib writes: > When I put the mouse over the file name, only "/blub/foobar.baz" is > highlighted, i.e. "C:" is missing. When pressing mouse-1, I got an > error > > Binding `directory-listing-before-filename-regexp' in > `locate-set-properties' seems to fix the problem for me I don't think that's the right fix. You need to fix dired-insert-set-properties, which is somehow assuming Unix filename conventions. I notice that dired-move-to-filename, which is called by dired-insert-set-properties, has the following comment: (defun dired-move-to-filename (&optional raise-error eol) "Move to the beginning of the filename on the current line. Return the position of the beginning of the filename, or nil if none found." ;; This is the UNIX version. ... Could someone who runs Emacs on Windows check to see if this function needs to be fixed? Unfortunately, I don't have Windows available, so I can't work on this.