[Top][All Lists]

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

Re: From file to dired with that file choosen

From: Allan Gottlieb
Subject: Re: From file to dired with that file choosen
Date: Thu, 28 Aug 2008 21:48:17 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux)

At Fri, 29 Aug 2008 00:30:11 +0200 "Lennart Borgman (gmail)" <address@hidden> 

> How do you open dired from a file and go to that file in the dired buffer?

C-x C-j runs the command dired-jump
  which is an interactive compiled Lisp function in `dired-x.el'.
It is bound to C-x C-j.
(dired-jump &optional OTHER-WINDOW)

Jump to dired buffer corresponding to current buffer.
If in a file, dired the current directory and move to file's line.
If in Dired already, pop up a level and goto old directory's line.
In case the proper dired file line cannot be found, refresh the dired
buffer and try again.

Hope this helps,

reply via email to

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