all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Reiner Steib <reinersteib+gmane@imap.cc>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: 22.1.90; `locate' and "C:" on Windows
Date: Thu, 14 Feb 2008 23:31:36 +0100	[thread overview]
Message-ID: <v9hcgbdvav.fsf@marauder.physik.uni-ulm.de> (raw)
In-Reply-To: <87odakqrvu.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 13 Feb 2008 19:54:45 -0500")

On Thu, Feb 14 2008, Chong Yidong wrote:

> Reiner Steib <reinersteib+gmane@imap.cc> writes:
>> 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 are right.  The file name was highlighted correctly, but mouse-1
or RET still produced an error.

> 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.

> Unfortunately, I don't have Windows available, so I can't work on
> this.

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---

Bye, Reiner.
-- 
       ,,,
      (o o)
---ooO-(_)-Ooo---  |  PGP key available  |  http://rsteib.home.pages.de/




  parent reply	other threads:[~2008-02-14 22:31 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-02-13 19:19 22.1.90; `locate' and "C:" on Windows Reiner Steib
2008-02-14  0:54 ` Chong Yidong
2008-02-14  1:51   ` Stefan Monnier
2008-02-14  8:25   ` Jason Rumney
2008-02-14 22:31   ` Reiner Steib [this message]
2008-03-09 12:30     ` Reiner Steib

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=v9hcgbdvav.fsf@marauder.physik.uni-ulm.de \
    --to=reinersteib+gmane@imap.cc \
    --cc=Reiner.Steib@gmx.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.