From: Du Yanning <duyanning@gmail.com>
To: 13065@debbugs.gnu.org
Subject: bug#13065: Bug in x-file-dialog with GetOpenFileName
Date: Mon, 3 Dec 2012 19:09:49 +0800 [thread overview]
Message-ID: <CALr_ej1QA+12p__TQvKC0JPLudKai_t3JaPN9EiEk6YMbaWXww@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 693 bytes --]
Platform: Windows 7
Emacs version: 24.2.1
Steps to reproduce this bug:
emacs -Q
copy and paste the next line into the *scratch* buffer:
(x-file-dialog "hi" "c:\\")
C-x C-e to evaluate it.
The dialog appears.
Type "abc" (without the enclosing double quotes) in the "File name" field.
Click the "Desktop" icon on the left side of the dialog.
Click the "Open" button.
The dialog does NOT disappear while it should.
I have tried GetOpenFileName/GetSaveFileName in my own Win32 programs and
found that this behavior is casued by GetOpenFileName and GetSaveFileName
is OK in such situation. However, simply replacing GetOpenFileName with
GetSaveFileName will break other code in x-file-dialog.
[-- Attachment #2: Type: text/html, Size: 817 bytes --]
next reply other threads:[~2012-12-03 11:09 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-03 11:09 Du Yanning [this message]
2012-12-04 19:10 ` bug#13065: Bug in x-file-dialog with GetOpenFileName Eli Zaretskii
2013-01-08 13:10 ` Jason Rumney
2013-01-08 21:26 ` Eli Zaretskii
2013-01-13 12:52 ` Jason Rumney
2013-01-13 16:35 ` Eli Zaretskii
2013-01-15 18:03 ` Eli Zaretskii
2013-01-16 12:23 ` Jason Rumney
2013-01-16 18:54 ` Eli Zaretskii
2013-01-22 13:32 ` Eli Zaretskii
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=CALr_ej1QA+12p__TQvKC0JPLudKai_t3JaPN9EiEk6YMbaWXww@mail.gmail.com \
--to=duyanning@gmail.com \
--cc=13065@debbugs.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.