all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Klaus Uhl <news@u-h-l.de>
Subject: Re: Emacs Improvement
Date: 08 Jan 2004 17:45:57 +0100	[thread overview]
Message-ID: <87u136s81m.fsf@ulm.my.lan> (raw)
In-Reply-To: mailman.229.1073581027.928.bug-gnu-emacs@gnu.org

Hello Adam,

"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. 

Read the chapter "Using Multiple Buffers" in the emacs manual for more
information.

BTW. The C-x b command supporst a history of the last visited buffers
which seems to be what you want.

--

                 God is real ...
\|/ ____ \|/     ... unless declared integer.
"@'/ ,. \`@"     
\_| \__/ |_/     Mail me : news@u-h-l.de
   \__U_/        WWW     : www.u-h-l.de
                 PGP     : Look at your favourite PGP-keyserver

       reply	other threads:[~2004-01-08 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.229.1073581027.928.bug-gnu-emacs@gnu.org>
2004-01-08 16:45 ` Klaus Uhl [this message]
2004-01-09 13:04   ` Emacs Improvement era
2004-01-10  0:43     ` Arturo García Ares
2004-01-12 11:44       ` era
2004-01-12 17:27         ` Arturo García Ares
2004-01-13  7:33           ` era
2004-01-13 21:21             ` Arturo García Ares
2004-01-08 15:36 Adam Morton

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

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

  git send-email \
    --in-reply-to=87u136s81m.fsf@ulm.my.lan \
    --to=news@u-h-l.de \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.