[Top][All Lists]

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

Re: basic question: going back to dired

From: Colin S. Miller
Subject: Re: basic question: going back to dired
Date: Sat, 26 Jul 2008 14:06:26 +0100
User-agent: Icedove (X11/20080509)

Ben Aurel wrote:
This is my first post here, so I hope this is the right place for asking
beginner questions.

My question is simple: When I list some files in dired mode I select one
file to edit. Now how can I close this file and go back to dired without
closing emacs?




C-x k RET   will close the current file
C-x C-j     will open the dired on the directory containing the current file.
If dired is already open but not visible for that directory, then the dired 
is made visible.

This will make emacs swap to dired, but the current file will remain open.
Pressing C-x b <filename> will allow you to swap to it.

In dired 'g' will force dired to reread the directory if it has changed.

Emacs allows you to have multiple files open at once. Unlike most editors
Emacs does not allocate a frame (child window in other editors' terminology).

Instead you create the frames you require and then display the buffers (files)
you wish to view at present in them. The undisplayed buffers will keep their 
until you explicitly kill (close) them.

Colin S. Miller

Replace the obvious in my email address with the first three letters of the 
hostname to reply.

reply via email to

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