From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Anast Gramm Newsgroups: gmane.emacs.help Subject: Re: how can I get back to the dired buffer after closing the file buffer opened by dired? Date: Sun, 29 Oct 2017 23:37:12 +0200 Message-ID: <20171029213712.5laqiflnkfsefr4s@gmail.com> References: <87efpn8daj.fsf@gmail.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: blaine.gmane.org 1509313141 28158 195.159.176.226 (29 Oct 2017 21:39:01 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 29 Oct 2017 21:39:01 +0000 (UTC) User-Agent: NeoMutt/20171013 Cc: "help-gnu-emacs@gnu.org" To: Amos Bird Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 29 22:38:57 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1e8vIE-0006Mu-3G for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Oct 2017 22:38:54 +0100 Original-Received: from localhost ([::1]:37815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8vIK-0007Ac-0p for geh-help-gnu-emacs@m.gmane.org; Sun, 29 Oct 2017 17:39:00 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40385) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e8vGo-0006Y5-Ad for help-gnu-emacs@gnu.org; Sun, 29 Oct 2017 17:37:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e8vGn-0003DF-I3 for help-gnu-emacs@gnu.org; Sun, 29 Oct 2017 17:37:26 -0400 Original-Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]:52954) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e8vGn-0003CP-Bc for help-gnu-emacs@gnu.org; Sun, 29 Oct 2017 17:37:25 -0400 Original-Received: by mail-wm0-x231.google.com with SMTP id t139so12737683wmt.1 for ; Sun, 29 Oct 2017 14:37:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=u2iUlvjhBg6YE5e0zhMGOQXvEzQcMlqGxh16P63bZBE=; b=rYqB0Nztq7QFEToK9/uJunTI/q19jDrHQN26vRfZoC96ovypcSN32NSy7B6SDD7ceq tEXjp13zZn/Jt1qmYkxPUwZW5PBqe7HX0G46nLqoGXLZi8Ro24iN4PAX5cy6ODTnBITz 9BoslnImYwQS8c0rH3mqTQCgPwGTHw1+69t9tOMRuhTfv4i7lcXcSQPK7v3pcLmMnO/A JMltQ1F28jRjx4/G+6nQyYQXg18RKPEn4y41jZrfLP6ci1qMNifdjdJN5M9RYNoWZTLa eWYtvFPojl78XO8cTelmbi37GcwbdYSVBd0rkzCQXA6G4Xc0hNpEp7ost3Xfu+ljVsUB gB9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=u2iUlvjhBg6YE5e0zhMGOQXvEzQcMlqGxh16P63bZBE=; b=TMhdW7mlKeYgXrpxubf8A591bTKRhy2a+Hissgt09HMyellWxwWAB4ePwV20NPImPV Wyk5Zl4Rf8HdGh0Pf3AXEnQP9oXz8JuPvgoHMG4rXPn07Plq2A7XyDd/MYLQ+rCBNoc7 R7JaSxms3MwGJYMeDYZzJWKPRM4NdPDgF8XiYGqcxS865yorg5ffjhhDgtu0i6e96tMh 5yVJAip4ET7J+DEwCgJaqrYWK+O4BjGCrc7DtGC2VZAehH7gwcWlIns7VUKI+gdmrZP9 dpz1q81EUpV1zVTjgGUfKJyUwEY+bBrVFeUxjz9IcUBaY4cdbIPVtIs3CAvoJnZp7Ad+ FXig== X-Gm-Message-State: AMCzsaWJEqQ5csmyzSdwRzsSpbq4i3teOkNv5ScPnZ9rvbCg3ZAIIZFF YEisGTK4D9DNeWB4tndJ1mg= X-Google-Smtp-Source: ABhQp+RulblvwCJLMaLrL/IDNBWAC/d3eTR3vw3Bx6Yxap8no2ZY1FdjqF76v7dab/p9ZLgJpPxsEw== X-Received: by 10.28.129.197 with SMTP id c188mr1965454wmd.58.1509313044040; Sun, 29 Oct 2017 14:37:24 -0700 (PDT) Original-Received: from gmail.com ([2a02:587:1837:6400:beee:7bff:fe5b:17a8]) by smtp.gmail.com with ESMTPSA id m126sm1936461wmf.31.2017.10.29.14.37.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 29 Oct 2017 14:37:23 -0700 (PDT) Content-Disposition: inline In-Reply-To: <87efpn8daj.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c09::231 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:114694 Archived-At: 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