From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Bob Proulx Newsgroups: gmane.emacs.help Subject: Re: how can I get back to the dired buffer after closing the file buffer opened by dired? Date: Mon, 30 Oct 2017 18:49:24 -0600 Message-ID: <20171030184232927408169@bob.proulx.com> References: <87efpn8daj.fsf@gmail.com> <20171029213712.5laqiflnkfsefr4s@gmail.com> <87bmkp8la4.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 1509411010 25762 195.159.176.226 (31 Oct 2017 00:50:10 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2017 00:50:10 +0000 (UTC) User-Agent: NeoMutt/20170609 (1.8.3) To: Amos Bird , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 31 01:50:03 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 1e9Kkg-0005dR-Pw for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 01:49:58 +0100 Original-Received: from localhost ([::1]:43232 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9Kkn-0004RA-TS for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 20:50:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54747) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9KkD-0004R5-C7 for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 20:49:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9KkA-0001iT-AE for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 20:49:29 -0400 Original-Received: from havoc.proulx.com ([96.88.95.61]:37091) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1e9KkA-0001gc-5B for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 20:49:26 -0400 Original-Received: from joseki.proulx.com (localhost [127.0.0.1]) by havoc.proulx.com (Postfix) with ESMTP id D0970CC2; Mon, 30 Oct 2017 18:49:24 -0600 (MDT) Original-Received: from hysteria.proulx.com (hysteria.proulx.com [192.168.230.119]) by joseki.proulx.com (Postfix) with ESMTP id 917FB217E4; Mon, 30 Oct 2017 18:49:24 -0600 (MDT) Original-Received: by hysteria.proulx.com (Postfix, from userid 1000) id 7202B2DC5C; Mon, 30 Oct 2017 18:49:24 -0600 (MDT) Mail-Followup-To: Amos Bird , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <87bmkp8la4.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 96.88.95.61 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:114705 Archived-At: 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. Bob