all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: kbrown@cornell.edu
Cc: 13907@debbugs.gnu.org
Subject: bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII	characters	in name
Date: Fri, 08 Mar 2013 22:33:07 +0200	[thread overview]
Message-ID: <83vc91y6m4.fsf@gnu.org> (raw)
In-Reply-To: <8338w5zni7.fsf@gnu.org>

> Date: Fri, 08 Mar 2013 21:42:56 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: 13907@debbugs.gnu.org
> 
> > Date: Fri, 08 Mar 2013 12:18:05 -0500
> > From: Ken Brown <kbrown@cornell.edu>
> > 
> > Create a file "/tmp/Ü.txt".  (In case my mailer mangles this, that's 
> > <U-umlaut>.txt.)  Now open Windows Explorer and drag this file into an 
> > emacs frame.  This results in the error message
> > 
> >    dnd-open-local-file: Can not read file:///tmp/%20.txt
> > 
> > I think the problem occurs early in w32-handle-dropped-file (defined in 
> > lisp/term/w32-win.el).  That function starts with
> > 
> > (let ((f (if (eq system-type 'cygwin)
> > 	     (cygwin-convert-file-name-from-windows file-name t)
> > 
> > At this point f should have the value "/tmp/Ü.txt".  If I continue 
> > manually carrying out the code in w32-handle-dropped-file as though f 
> > had that value, everything is fine, as shown below.  So 
> > cygwin-convert-file-name-from-windows must be doing something wrong.
> 
> What do you get from cygwin-convert-file-name-from-windows with this
> file name?
> 
> Also, what is the system codepage on this system?

And one more question: what is the value of file-name _before_ it is
passed to cygwin-convert-file-name-from-windows?  Does it perhaps
already have the U-umlaut replaced by a blank?






  parent reply	other threads:[~2013-03-08 20:33 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-08 17:18 bug#13907: 24.3.50; cygw32 build mishandles drag-n-dropped file with non-ASCII characters in name Ken Brown
2013-03-08 19:42 ` Eli Zaretskii
2013-03-08 20:06   ` Eli Zaretskii
2013-03-08 20:33   ` Eli Zaretskii [this message]
2013-03-08 20:53     ` Eli Zaretskii
2013-03-08 21:03       ` Ken Brown
2013-03-09  8:09         ` Eli Zaretskii
2013-03-08 21:25       ` Daniel Colascione
2013-03-09  3:03         ` Daniel Colascione
2013-03-09  3:03           ` Daniel Colascione
2013-03-09  8:32             ` Eli Zaretskii
2013-03-09  8:37               ` Daniel Colascione
2013-03-09  8:51                 ` Eli Zaretskii
2013-03-09  8:37               ` Daniel Colascione
2013-03-10 23:00             ` Daniel Colascione
2013-03-11  9:51               ` Ken Brown
2013-03-09 12:16           ` Ken Brown
2013-03-09 19:31           ` Glenn Morris

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=83vc91y6m4.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=13907@debbugs.gnu.org \
    --cc=kbrown@cornell.edu \
    /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.