From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: File menu changes (suggestions) Date: Tue, 28 Jun 2005 01:28:53 -0400 Message-ID: <87psu7xdgo.fsf-monnier+emacs@gnu.org> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1119936634 26971 80.91.229.2 (28 Jun 2005 05:30:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 28 Jun 2005 05:30:34 +0000 (UTC) Cc: Drew Adams , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jun 28 07:30:32 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Dn8f8-0005sR-Va for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 07:29:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dn8hQ-00077E-LY for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 01:31:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Dn8h1-0006zD-AU for emacs-devel@gnu.org; Tue, 28 Jun 2005 01:31:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Dn8gx-0006wI-Cn for emacs-devel@gnu.org; Tue, 28 Jun 2005 01:31:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Dn8gw-0006vg-Ru for emacs-devel@gnu.org; Tue, 28 Jun 2005 01:31:26 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1Dn8iq-0000lM-Hx; Tue, 28 Jun 2005 01:33:24 -0400 Original-Received: from alfajor ([67.71.35.153]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050628052853.SOXV27245.tomts25-srv.bellnexxia.net@alfajor>; Tue, 28 Jun 2005 01:28:53 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id 88C43D732C; Tue, 28 Jun 2005 01:28:53 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Sun, 26 Jun 2005 00:46:31 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39745 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39745 > People pointed out that "New File" might be confusing > since it does not in fact make a new file. I think the name > "Visit New File" will help show that this isn't the same as the usual > "New File" operation. Rather than change menu entries's names to less "standard" ones, we should change their behavior to better match what users expect. E.g. find-file might require confirmation before opening a non-existent file. I'll love such a new feature, seeing how often I do "C-x C-f emacs/src/rege TAB RET" only to find myself in "regexp." rather than in the "regexp.c" that I intended to open. As for the "New File" entry, there are several options. One is to just create a new buffer called "New Document" and not attached to any file. This mimicks many "CUA-style" systems. It sucks because it does give us a chance to choose a good minor mode, and because we won't be able to autosave the file [this latter point could be fixed, of course]. Another option is to prompt for a file name and require confirmation if the file already exists. It's a slightly different behavior than those other "CUA-style" systems, but unsuspecting users should hopefully not find it confusing, which is all we really care about. I guess I'm just repeating what Miles and Eli have said. Stefan