unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Chong Yidong <cyd@stupidchicken.com>
To: emacs-devel@gnu.org
Subject: Re: 22.1.90; `locate' and "C:" on Windows
Date: Wed, 13 Feb 2008 19:54:45 -0500	[thread overview]
Message-ID: <87odakqrvu.fsf@stupidchicken.com> (raw)
In-Reply-To: <v9wsp8hdf9.fsf@marauder.physik.uni-ulm.de> (Reiner Steib's message of "Wed\, 13 Feb 2008 20\:19\:38 +0100")

Reiner Steib <reinersteib+gmane@imap.cc> 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.




  reply	other threads:[~2008-02-14  0:54 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 [this message]
2008-02-14  1:51   ` Stefan Monnier
2008-02-14  8:25   ` Jason Rumney
2008-02-14 22:31   ` Reiner Steib
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87odakqrvu.fsf@stupidchicken.com \
    --to=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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).