From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Amos Bird Newsgroups: gmane.emacs.help Subject: Re: how can I get back to the dired buffer after closing the file buffer opened by dired? Date: Tue, 31 Oct 2017 09:51:33 +0800 Message-ID: <877evcoziy.fsf@gmail.com> References: <87efpn8daj.fsf@gmail.com> <20171029213712.5laqiflnkfsefr4s@gmail.com> <87bmkp8la4.fsf@gmail.com> <20171030184232927408169@bob.proulx.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed X-Trace: blaine.gmane.org 1509414750 30958 195.159.176.226 (31 Oct 2017 01:52:30 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 31 Oct 2017 01:52:30 +0000 (UTC) User-Agent: mu4e 0.9.19; emacs 25.3.1 Cc: help-gnu-emacs@gnu.org To: Bob Proulx Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Oct 31 02:52:23 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 1e9Lit-00067i-HG for geh-help-gnu-emacs@m.gmane.org; Tue, 31 Oct 2017 02:52:11 +0100 Original-Received: from localhost ([::1]:43358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9Lix-0004r1-9V for geh-help-gnu-emacs@m.gmane.org; Mon, 30 Oct 2017 21:52:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1e9LiP-0004qw-3s for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 21:51:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1e9LiM-0002Pc-ND for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 21:51:41 -0400 Original-Received: from mail-pg0-x22a.google.com ([2607:f8b0:400e:c05::22a]:51538) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1e9LiM-0002P7-GI for help-gnu-emacs@gnu.org; Mon, 30 Oct 2017 21:51:38 -0400 Original-Received: by mail-pg0-x22a.google.com with SMTP id p9so13271423pgc.8 for ; Mon, 30 Oct 2017 18:51:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=X2cQSozzSLO6oTxIu6CpO9nqR241NlnMJCzixBRHnBw=; b=oHu+pkThe1zp6c92ED6iLb2a+nZHkU4uYL8GL1mCyM3qhqPqR+8RC81qkKQxf/DyH9 kXEb4M1kZqJ+dlL/bCOZ6UZA8X3bk5eWaEgfR4qOahT0QmjXRF3Lnv//k4q/lz30xkYe 2zFtFxLLV9Aiy8MSZgOvNX2oqTEEgo0NOyC1HIN0R3AwBfC2Ek4sNuDW70Te0zDlZOyV ot6DWWJbIbcnzMGz+2JBqjRWQqrKo0PffrrSBI0F1OyhfRdiZeahzArUajPpHV3dD8mx PdkKKaZbocihH1ar+Uh42MEBS7zlQqs41DcfvVnUcNoDKGd9IewhizCXI3v15FPjwbCn tqkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=X2cQSozzSLO6oTxIu6CpO9nqR241NlnMJCzixBRHnBw=; b=cDU9/XtLWqbs8hJS4WuouRWsEES6+mV9S9e0qtmC1eJsxcbGE1kl5eBsF7+tT3m2sS 1RlSEmhojbpwxbratHFaAhhWUZ3VkaT5SQL9inubFyn3qQE0/MkZq/bsp0RxdAnafdbp 63TncHFVPLl8cSKsv+7+8nizRrcTCskPnn1RoUtSwpczYGfkUb6b46AY2ipCEWQpUmWq LJ6sRBUGd4AGSmTBnNNHkyO2wxcozz5CAlwV8or/6pthi/Iw0/lRJC668hbirQNhUhPv 2Ns0TX7TofDGH/WyjPWWIrNWCLk0Pywz8s1ujPRdn9UUfGfMxhp9qb33LJDMyDgPSpaf YCQw== X-Gm-Message-State: AMCzsaUZWyMkhhkuQZ/JG/4dw3SsWYxaswy+n3LIE/QJrZgRa9MukDuV XGxvB8yN0H2vbOHJxN9aHoI= X-Google-Smtp-Source: ABhQp+S158ZjmZkm8wFsfEM5v/3g7r/eEHc/70D5IURbrFjscnndDIQrsdh/zq7ngD6FHnjJGj1+8g== X-Received: by 10.84.232.76 with SMTP id f12mr293590pln.269.1509414697301; Mon, 30 Oct 2017 18:51:37 -0700 (PDT) Original-Received: from localhost ([2604:180:3:28::c542]) by smtp.gmail.com with ESMTPSA id c25sm265805pgn.64.2017.10.30.18.51.35 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Oct 2017 18:51:36 -0700 (PDT) In-reply-to: <20171030184232927408169@bob.proulx.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::22a X-Content-Filtered-By: Mailman/MimeDel 2.1.21 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:114706 Archived-At: Hi Bob, Thanks! It is due to some package that overrides `kill-this-buffer'. regards, Bob Proulx writes: > 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 -- Amos Bird amosbird@gmail.com