[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how can I get back to the dired buffer after closing the file buffer
Re: how can I get back to the dired buffer after closing the file buffer opened by dired?
Mon, 30 Oct 2017 18:49:24 -0600
Amos Bird wrote:
> I tried opening my files via `a` which runs dired-find-alternate-file.
Unfortunately 'a' probably was confused with 'f' as they do related by
opposite things. Probably the suggestion was intended to suggest 'f'
instead. Using 'a' replaces the dired buffer with the new file. That
is the opposite of what you want.
However 'f' does exactly the same as RET bound to dired-find-file and
so will work the same.
For me both RET and 'f' are bound to dired-find-file and both of those
stack a new buffer. When I kill the buffer of the file I am returned
to the previous buffer, including the dired buffer. What you are
asking for is the behavior I have always seen and currently see.
What version of emacs are you running? Please test the behavior using
'emacs -q' and 'emacs -Q' and see if the problem persists. Those
avoid loading your own or any initialization. Quite often problems
are due to customization. That will test if the problem is in the
project or in the customization.