From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reiner Steib Newsgroups: gmane.emacs.devel Subject: Re: 22.1.90; `locate' and "C:" on Windows Date: Sun, 09 Mar 2008 13:30:38 +0100 Message-ID: References: <87odakqrvu.fsf@stupidchicken.com> Reply-To: Reiner Steib NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1205065931 5754 80.91.229.12 (9 Mar 2008 12:32:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 9 Mar 2008 12:32:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Mar 09 13:32:37 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 1JYKhZ-0005gO-Vv for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 13:32:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYKh1-0001uj-ST for ged-emacs-devel@m.gmane.org; Sun, 09 Mar 2008 08:31:55 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JYKgw-0001tg-Kf for emacs-devel@gnu.org; Sun, 09 Mar 2008 08:31:50 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JYKgu-0001sw-QQ for emacs-devel@gnu.org; Sun, 09 Mar 2008 08:31:50 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JYKgu-0001st-MT for emacs-devel@gnu.org; Sun, 09 Mar 2008 08:31:48 -0400 Original-Received: from mail.uni-ulm.de ([134.60.1.11]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JYKgu-0004Co-6h for emacs-devel@gnu.org; Sun, 09 Mar 2008 08:31:48 -0400 Original-Received: from bridgekeeper.physik.uni-ulm.de (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by mail.uni-ulm.de (8.14.2/8.14.2) with ESMTP id m29CVjrZ022652; Sun, 9 Mar 2008 13:31:45 +0100 (MET) Original-Received: from localhost (bridgekeeper.physik.uni-ulm.de [134.60.41.37]) by bridgekeeper.physik.uni-ulm.de (Postfix) with ESMTP id D067512FF5; Sun, 9 Mar 2008 13:31:45 +0100 (CET) X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Followup-To: Chong Yidong , emacs-devel@gnu.org In-Reply-To: (Reiner Steib's message of "Thu, 14 Feb 2008 23:31:36 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DCC-Rhyolite-Metrics: poseidon 104; Body=2 Fuz1=2 Fuz2=2 X-Virus-Scanned: by amavisd-new X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:91869 Archived-At: On Thu, Feb 14 2008, Reiner Steib wrote: > On Thu, Feb 14 2008, Chong Yidong wrote: >> 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? > > AFAIKS, it works fine for real dired buffers. But for *Locate* > buffers, we need a fix. [...] > You can probably reproduce with (setq locate-command "~/loc.sh") > and... > > --8<---------------cut here---------------start------------->8--- > $ cat ~/loc.sh > echo C:/blub/foobar.baz > echo C:/abc/foobar.baz > --8<---------------cut here---------------end--------------->8--- I'll add it to "WINDOWS SUPPORT BUGS (for 22.3 or later)." in FOR-RELEASE: ,---- | ** `locate' and drive letter ("C:") on Windows | For a recipe to reproduce the problem on GNU/Linux, see | `---- Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- | PGP key available | http://rsteib.home.pages.de/