diff options
| author | Eli Zaretskii | 2014-07-12 12:25:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-07-12 12:25:29 +0300 |
| commit | 47f63aa79abed1da90fabd637529d5f8161f84fa (patch) | |
| tree | 9aae64b8c1eb38ea45daf7e482a07c6f28b21a26 /etc/PROBLEMS | |
| parent | a5a8e250d5fc17b3e4a7955f2c896f2b050b2960 (diff) | |
| download | emacs-47f63aa79abed1da90fabd637529d5f8161f84fa.tar.gz emacs-47f63aa79abed1da90fabd637529d5f8161f84fa.zip | |
Document the behavior of file selection dialogs on Windows 7 (bug #17950).
etc/PROBLEMS: Mention the problem from bug #17950.
src/w32fns.c (Fx_file_dialog): Mention in the doc string the
behavior on Windows 7 and later when the function is repeatedly
invoked with the same value of DIR.
src/xfns.c (Fx_file_dialog) [USE_MOTIF, USE_GTK]: Update the doc
string to match the one in w32fns.c.
Diffstat (limited to 'etc/PROBLEMS')
| -rw-r--r-- | etc/PROBLEMS | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/PROBLEMS b/etc/PROBLEMS index 1f9200febbf..cea2213a24e 100644 --- a/etc/PROBLEMS +++ b/etc/PROBLEMS | |||
| @@ -1961,6 +1961,26 @@ Another possibility is to rebuild Emacs with the -shared-libgcc | |||
| 1961 | switch, which will force Emacs to load libgcc_s_dw2-1.dll on startup, | 1961 | switch, which will force Emacs to load libgcc_s_dw2-1.dll on startup, |
| 1962 | ahead of any optional DLLs loaded on-demand later in the session. | 1962 | ahead of any optional DLLs loaded on-demand later in the session. |
| 1963 | 1963 | ||
| 1964 | ** File selection dialog opens in incorrect directories | ||
| 1965 | |||
| 1966 | Invoking the file selection dialog on Windows 7 or later shows a | ||
| 1967 | directory that is different from what was passed to `read-file-name' | ||
| 1968 | or `x-file-dialog' via their arguments. | ||
| 1969 | |||
| 1970 | This is due to a deliberate change in behavior of the file selection | ||
| 1971 | dialogs introduced in Windows 7. It is explicitly described in the | ||
| 1972 | MSDN documentation of the GetOpenFileName API used by Emacs to pop up | ||
| 1973 | the file selection dialog. For the details, see | ||
| 1974 | |||
| 1975 | http://msdn.microsoft.com/en-us/library/windows/desktop/ms646839%28v=vs.85%29.aspx | ||
| 1976 | |||
| 1977 | The dialog shows the last directory in which the user selected a file | ||
| 1978 | in a previous invocation of the dialog with the same initial | ||
| 1979 | directory. | ||
| 1980 | |||
| 1981 | You can reset this "memory" of that directory by invoking the file | ||
| 1982 | selection dialog with a different initial directory. | ||
| 1983 | |||
| 1964 | ** PATH can contain unexpanded environment variables | 1984 | ** PATH can contain unexpanded environment variables |
| 1965 | 1985 | ||
| 1966 | Old releases of TCC (version 9) and 4NT (up to version 8) do not correctly | 1986 | Old releases of TCC (version 9) and 4NT (up to version 8) do not correctly |