From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Kevin Rodgers Newsgroups: gmane.emacs.help Subject: Re: Emacs ignores modified state of "untitled" buffer Date: Fri, 28 May 2010 08:32:00 -0600 Message-ID: References: <51707DDA-8D52-4D9F-9FD4-461987F2DEDE@nf.mpg.de> <8E1EF5747B7A4183A0873F02FDBBF398@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1275057198 14328 80.91.229.12 (28 May 2010 14:33:18 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 28 May 2010 14:33:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri May 28 16:33:17 2010 connect(): No such file or directory Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OI0cd-0002sD-6C for geh-help-gnu-emacs@m.gmane.org; Fri, 28 May 2010 16:33:15 +0200 Original-Received: from localhost ([127.0.0.1]:34277 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI0cc-0007eY-5W for geh-help-gnu-emacs@m.gmane.org; Fri, 28 May 2010 10:33:14 -0400 Original-Received: from [140.186.70.92] (port=60510 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OI0bh-0007d9-5P for help-gnu-emacs@gnu.org; Fri, 28 May 2010 10:32:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OI0bf-0001OC-RR for help-gnu-emacs@gnu.org; Fri, 28 May 2010 10:32:16 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:59256) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OI0bf-0001Nu-Ht for help-gnu-emacs@gnu.org; Fri, 28 May 2010 10:32:15 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OI0bc-0002Kl-NR for help-gnu-emacs@gnu.org; Fri, 28 May 2010 16:32:12 +0200 Original-Received: from c-71-237-24-138.hsd1.co.comcast.net ([71.237.24.138]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 May 2010 16:32:12 +0200 Original-Received: from kevin.d.rodgers by c-71-237-24-138.hsd1.co.comcast.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 28 May 2010 16:32:12 +0200 X-Injected-Via-Gmane: http://gmane.org/ connect(): No such file or directory Original-Lines: 36 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: c-71-237-24-138.hsd1.co.comcast.net User-Agent: Thunderbird 2.0.0.24 (Macintosh/20100228) In-Reply-To: <8E1EF5747B7A4183A0873F02FDBBF398@us.oracle.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:73784 Archived-At: Drew Adams wrote: > You've offered this as command `switch-to-new-buffer' and put it on the > `Buffers' menu as `Select New Buffer'. > > I would prefer that it be considered an improved behavior for `Visit New File', > which is currently just `find-file'. The use of your command is, I think, for > new file buffers only, so that intention should be reflected in both the command > name and menu-item name. The `Buffers' menu is the wrong place for this, IMO. > > So I would suggest changing the command name to something like `new-file' or > `visit-new-file' and (more importantly) replacing the `File' > `Visit New File' > menu item with it. The term "visit" has a very specific meaning in Emacs, and switch-to-new-buffer doesn't actually visit a file (buffer-file-name is nil). I would prefer a name like open-new-file, defined an alias for switch-to-new-buffer. It seems to me the File menu entries are named backwards: "Visit New File" should be "Open New File", "Open File..." should be "Visit File...", and "Open Directory..." should be "Visit Directory..." > Those who are most likely to use such a menu item are newbies who expect that > behavior. Any Emacs veteran who prefers `find-file' will not be likely to use > the menu and choose `Visit New File'. And it is clear what a `new-file' command > is for. > > I agree with Lennart that you should think about proposing this to emacs-devel. > I would support it, especially with the changes I just mentioned. OK, we'll see how it goes. Thanks, -- Kevin Rodgers Denver, Colorado, USA