all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Amos Bird <amosbird@gmail.com>
To: Anast Gramm <anastasis.gramm2@gmail.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: how can I get back to the dired buffer after closing the file buffer opened by dired?
Date: Mon, 30 Oct 2017 09:41:23 +0800	[thread overview]
Message-ID: <87bmkp8la4.fsf@gmail.com> (raw)
In-Reply-To: <20171029213712.5laqiflnkfsefr4s@gmail.com>


Hi Anast,

I tried opening my files via `a` which runs 
dired-find-alternate-file. However it still doesn't
bring back the dired buffer when closing.

regards,

Anast Gramm <anastasis.gramm2@gmail.com> writes:

> On 171029 00:09:24, Amos Bird wrote:
>>
>> Hi,
>>
>> When opening a file in dired via RET and close, emacs ends up 
>> in a buffer
>> other than previous dired
>> buffer. How can I get back to the dired buffer after closing 
>> the file buffer
>> opened by dired?
>
> Hey,
>
> When you open something using RET it replaces the current dired 
> buffer you are on.
> Try opening the file up with 'a' (the default).
> This opens a new buffer with your selection.
>
> So:
> RET     replaces current dired buffer with selection
> a       opens a new buffer with selection


--
Amos Bird
amosbird@gmail.com


  reply	other threads:[~2017-10-30  1:41 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-28 16:09 how can I get back to the dired buffer after closing the file buffer opened by dired? Amos Bird
2017-10-29 21:37 ` Anast Gramm
2017-10-30  1:41   ` Amos Bird [this message]
2017-10-31  0:49     ` Bob Proulx
2017-10-31  1:51       ` Amos Bird
     [not found] <mailman.2400.1509206973.27995.help-gnu-emacs@gnu.org>
2017-10-28 16:24 ` notbob

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=87bmkp8la4.fsf@gmail.com \
    --to=amosbird@gmail.com \
    --cc=anastasis.gramm2@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.