|
From: | GNU bug Tracking System |
Subject: | [debbugs-tracker] bug#12931: closed (a bug in Emacs for Windows (win32fns.c: x-file-dialog)) |
Date: | Thu, 06 Feb 2014 06:17:02 +0000 |
Your message dated Thu, 06 Feb 2014 08:16:39 +0200 with message-id <address@hidden> and subject line Re: bug#12931: a bug in Emacs for Windows (win32fns.c: x-file-dialog) has caused the debbugs.gnu.org bug report #12931, regarding a bug in Emacs for Windows (win32fns.c: x-file-dialog) to be marked as done. (If you believe you have received this mail in error, please contact address@hidden) -- 12931: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=12931 GNU Bug Tracking System Contact address@hidden with problems
--- Begin Message ---Subject: a bug in Emacs for Windows (win32fns.c: x-file-dialog) x-file-dialog uses GetOpenFileName to get a file name. Date: Mon, 19 Nov 2012 21:53:02 +0800
If you have a buffer that is not visiting any file, when you call save-buffer through a tool-bar button, x-file-dialog gets called.
However, with GetOpenFileName, you must select an existing file.
We can fix this bug by minimum change.
in x-file-dialog (defined in win32fns.c)
change the line:
file_opened = GetOpenFileName (file_details);
to
if (!NILP (mustmatch))
{
file_opened = GetOpenFileName (file_details);
}
else
{
file_opened = GetSaveFileName (file_details);
}
--- End Message ---
--- Begin Message ---Subject: Re: bug#12931: a bug in Emacs for Windows (win32fns.c: x-file-dialog) Date: Thu, 06 Feb 2014 08:16:39 +0200 > From: Lars Ingebrigtsen <address@hidden> > Date: Wed, 05 Feb 2014 17:38:04 -0800 > > Eli Zaretskii <address@hidden> writes: > > > You replied only to me, so I'm CC'ing the bug address to get this > > archived with the bug. > > > >> Date: Tue, 20 Nov 2012 12:27:10 +0800 > >> From: Du Yanning <address@hidden> > >> > >> I cannot recreate it every time. > >> I do not know the reason. Perhaps it is a problem with my system. > >> Sorry for my premature conclusion. > >> If I can recreate it, I will contact you. > >> I am sorry, and Thank you! > > Are you still seeing this problem in Emacs 24.3? This is a duplicate of #13065, which was fixed long ago. Closing.
--- End Message ---
[Prev in Thread] | Current Thread | [Next in Thread] |