GNU bug report logs - #3969
23.0.96; Cannot use File > Visit New File on MS Windows

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Thu, 30 Jul 2009 04:05:04 UTC

Severity: normal

Merged with 3981, 4011, 5704, 6359

Found in version 23.1

Done: Jason Rumney <jasonr <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 3969-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: Jason Rumney <jasonr <at> gnu.org>
To: 3969-done <at> debbugs.gnu.org
Subject: Re: bug#3969: 23.0.96; Cannot use File > Visit New File on MS Windows
Date: Sun, 02 Aug 2009 23:13:11 +0800
Drew Adams wrote:
> emacs -Q
>  
> Choose menu item File > Visit New File
>  
> You get the Windows `Find file:' dialog box. Enter the name of a new
> file, e.g. `xxxx.txt', in field `File name:' and click button
> `Open'. You get this error dialog box:
>  
>  Find file:
>  
>   xxxx.txt
>   File not found.
>   Please verify the correct file name was given
>  
>    [OK]
>   

The bug was caused by the change that introduced confirmation for 
partial completions in the minibuffer - now the MUSTMATCH arg to 
read-file-name is not simply nil or non-nil, it can have other special 
values too, which mean confirm rather than prevent entry of non-existent 
files.

But none of the file dialogs were updated for these special values, so 
x-file-dialog is still treating any non-nil value as "require an 
existing file".  The problem these special values try to prevent does 
not really apply to file dialogs, so I have checked in a change that 
treats them as nil when calling x-file-dialog.




This bug report was last modified 15 years and 36 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.