[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: menu-find-file-existing' can't open file with non-ascii filename
From: |
Jan D. |
Subject: |
Re: menu-find-file-existing' can't open file with non-ascii filename |
Date: |
Tue, 21 Feb 2006 09:38:59 +0100 (CET) |
> I have reported this bug to the emacs-devel mail list several days
> ago. It seems it is vanished into the flood.
>
> `read-file-name' returns an undecoded filename if it was invoked with
> the mouse, but returns a decoded filename if it was invoked with
> the keyboard.
>
> If it is an undecoded non-ascii filename, (file-directory-p filename)
> or something like that will report `t' falsely, that cause the file
> can't be opened.
>
> I think the `x-file-dialog' function should return a decoded filename,
> rather an undecoded filename.
Checked in, thanks. Although I am not sure it is always correct for GTK
as GTK does some decoding itself. Exactly what it does has always been a
mystery to me, it looks kind of random :-).
Jan D.