unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System)
To: Jason Rumney <jasonr@gnu.org>
Subject: bug#4011: marked as done ("open new file" icon and menu item don't work as advertised)
Date: Sun, 02 Aug 2009 15:20:07 +0000	[thread overview]
Message-ID: <handler.4011.D3969.124922600522996.ackdone@emacsbugs.donarmstrong.com> (raw)
In-Reply-To: 434822.54189.qm@web58605.mail.re3.yahoo.com

[-- Attachment #1: Type: text/plain, Size: 906 bytes --]


Your message dated Sun, 02 Aug 2009 23:13:11 +0800
with message-id <4A75AD07.20904@gnu.org>
and subject line Re: bug#3969: 23.0.96; Cannot use File > Visit New File on MS Windows
has caused the Emacs bug report #3969,
regarding "open new file" icon and menu item don't work as advertised
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com
immediately.)


-- 
3969: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3969
Emacs Bug Tracking System
Contact owner@emacsbugs.donarmstrong.com with problems

[-- Attachment #2: Type: message/rfc822, Size: 10025 bytes --]

[-- Attachment #2.1.1: Type: text/plain, Size: 2734 bytes --]


From:  <bvilf@yahoo.com>
To: bug-gnu-emacs@gnu.org
Subject: 23.1; "open new file" icon and menu item don't work as advertised
--text follows this line--
Clicking on "File" --> "Visit new file" or on leftmost tool bar icon and entering a nonexisting file name results in "File not found" error message.
Regards,
Bostjan


In GNU Emacs 23.1.1 (i386-mingw-nt5.1.2600)
 of 2009-07-30 on SOFT-MJASON
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (4.4)'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: ENU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1250
  default-enable-multibyte-characters: t

Major mode: Fundamental

Minor modes in effect:
  tooltip-mode: t
  tool-bar-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  blink-cursor-mode: t
  global-auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  line-number-mode: t
  transient-mark-mode: t

Recent input:
<switch-frame> <switch-frame> <help-echo> <help-echo> 
<help-echo> <help-echo> <switch-frame> <down-mouse-1> 
<mouse-movement> <mouse-1> <help-echo> <help-echo> 
<tool-bar> <kill-buffer> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <tool-bar> <one-window> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <menu-bar> 
<file> <new-file> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <tool-bar> <open-file> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<help-echo> <help-echo> <help-echo> <help-echo> <help-echo> 
<tool-bar> <help>

Recent messages:
Loading utilvilf...done
Mark set
OVERVIEW
For information about GNU Emacs and the GNU system, type C-h C-a.
Quit [2 times]


      

[-- Attachment #2.1.2: Type: text/html, Size: 3981 bytes --]

[-- Attachment #3: Type: message/rfc822, Size: 3888 bytes --]

From: Jason Rumney <jasonr@gnu.org>
To: 3969-done@emacsbugs.donarmstrong.com
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
Message-ID: <4A75AD07.20904@gnu.org>

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.


      parent reply	other threads:[~2009-08-02 15:20 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4A75AD07.20904@gnu.org>
2009-07-30  4:01 ` bug#3969: 23.0.96; Cannot use File > Visit New File on MS Windows Drew Adams
2009-08-02 15:20   ` bug#3969: marked as done (23.0.96; Cannot use File > Visit New File on MS Windows) Emacs bug Tracking System
2009-07-30 18:03 ` bug#3981: 23.1; File Open Matt COOPER
2009-07-30 19:21   ` Drew Adams
2009-07-30 22:46   ` Jason Rumney
2009-08-02 15:20   ` bug#3981: marked as done (23.1; File Open) Emacs bug Tracking System
2009-08-02  5:28 ` bug#4011: "open new file" icon and menu item don't work as advertised Bostjan Vilfan
2009-08-02  5:53   ` bug#4011: "open new file" icon and menu item don't work asadvertised Drew Adams
2009-08-02 15:20   ` Emacs bug Tracking System [this message]

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=handler.4011.D3969.124922600522996.ackdone@emacsbugs.donarmstrong.com \
    --to=owner@emacsbugs.donarmstrong.com \
    --cc=jasonr@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).