From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: era@iki.fi Newsgroups: gmane.emacs.bugs Subject: Re: Emacs Improvement Date: 09 Jan 2004 15:04:17 +0200 Organization: People Who Are Not Old Enough For Unix (Honorary Member Emeritus) Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87zncxtgvo.fsf@era.iki.fi> References: <87u136s81m.fsf@ulm.my.lan> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073653714 6799 80.91.224.253 (9 Jan 2004 13:08:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 9 Jan 2004 13:08:34 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 09 14:08:31 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewNK-0003Xl-00 for ; Fri, 09 Jan 2004 14:08:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AexHT-0008Va-LT for geb-bug-gnu-emacs@m.gmane.org; Fri, 09 Jan 2004 09:06:31 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AexHP-0008V3-2b for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 09:06:27 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AexGo-0008KA-84 for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 09:06:21 -0500 Original-Received: from [80.91.224.249] (helo=main.gmane.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AexGn-0008JU-K0 for bug-gnu-emacs@gnu.org; Fri, 09 Jan 2004 09:05:49 -0500 Original-Received: from list by main.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewJG-0000Fk-00 for ; Fri, 09 Jan 2004 14:04:18 +0100 Mail-Followup-To: bug-gnu-emacs@gnu.org X-Injected-Via-Gmane: http://gmane.org/ Original-To: bug-gnu-emacs@gnu.org Original-Received: from sea.gmane.org ([80.91.224.252]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AewJF-0000Fb-00 for ; Fri, 09 Jan 2004 14:04:17 +0100 Original-Received: from news by sea.gmane.org with local (Exim 3.35 #1 (Debian)) id 1AewJF-0001cw-00 for ; Fri, 09 Jan 2004 14:04:17 +0100 Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org Mail-Copies-To: nobody User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6509 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6509 On 08 Jan 2004 17:45:57 +0100, Klaus Uhl posted to bug-gnu-emacs: > "Adam Morton" writes: >> Hello I'm a PHP programmer and an avid emacs user. This is an issue that >> comes up every day with me and is just generally annoying. >> If you initially open a file in emacs (say test.php), C-x C-f to select >> another file (say test2.php), then when you've opened test2.php, you C-x >> C-f again and hit the up arrow to get the last file, emacs says "No >> preceding file found" or something similar, when it should allow you to >> hit the up arrow and get the original test.php file that was being edited >> first. > I hope I correctly understood what you did. You just opened two files > in emacs without closing the first of them explicitly. > Emacs does not automatically close buffers (i.e. files in your case) > when you open a different buffer (or file) but keeps those buffers > open but invisible. So you do not need to reopen the first file. You > simply can switch to this file by either using the "Buffers" menu or > by typing C-x b and supplying the name of the buffer you want to > switch to. If you type the TAB key instead you get a buffer which > shows all currently open buffers. Or maybe he just wants whatever file(s) he specified on the command line to also be added to the minibuffer history. I don't see a good reason for that, but it shouldn't be hard to do. (It's not a very intuitive thing to do so it should probably not be made the default, and probably not even a feature shipped with Emacs, but somebody could easily hook up a snippet to put in your .emacs.) /* era */ -- The email address era the contact information Just for kicks, imagine at iki dot fi is heavily link on my home page at what it's like to get spam filtered. If you 500 pieces of spam for want to reach me, see instead. each wanted message.