bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs Improvement


From: era
Subject: Re: Emacs Improvement
Date: 09 Jan 2004 15:04:17 +0200
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

On 08 Jan 2004 17:45:57 +0100, Klaus Uhl <news@u-h-l.de> posted to
bug-gnu-emacs:
 > "Adam Morton" <adam@tux.appstate.edu> 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    <http://www.iki.fi/era/>  500 pieces of spam for
want to reach me, see     instead.                  each wanted message.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]