From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: =?UTF-8?Q?Mario_Castel=c3=a1n_Castro?= Newsgroups: gmane.emacs.help Subject: Re: How to visit a file and kill the current buffer? Date: Sun, 10 Sep 2017 13:27:22 -0500 Message-ID: References: <84r2veifo3.fsf@tm6592> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="901jurR1elKtC2SKow3nhR8k50VpQgrLV" X-Trace: blaine.gmane.org 1505068099 29711 195.159.176.226 (10 Sep 2017 18:28:19 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sun, 10 Sep 2017 18:28:19 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Sep 10 20:28:15 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 1dr6xe-0006nk-M5 for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Sep 2017 20:28:02 +0200 Original-Received: from localhost ([::1]:53867 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dr6xk-0004zz-1M for geh-help-gnu-emacs@m.gmane.org; Sun, 10 Sep 2017 14:28:08 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40557) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dr6xA-0004zn-Th for help-gnu-emacs@gnu.org; Sun, 10 Sep 2017 14:27:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dr6x7-000202-Qq for help-gnu-emacs@gnu.org; Sun, 10 Sep 2017 14:27:32 -0400 Original-Received: from forward104j.mail.yandex.net ([5.45.198.247]:39713) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dr6x7-0001ye-FE for help-gnu-emacs@gnu.org; Sun, 10 Sep 2017 14:27:29 -0400 Original-Received: from mxback2o.mail.yandex.net (mxback2o.mail.yandex.net [IPv6:2a02:6b8:0:1a2d::1c]) by forward104j.mail.yandex.net (Yandex) with ESMTP id 5B64843BCC for ; Sun, 10 Sep 2017 21:27:27 +0300 (MSK) Original-Received: from smtp2j.mail.yandex.net (smtp2j.mail.yandex.net [2a02:6b8:0:801::ac]) by mxback2o.mail.yandex.net (nwsmtp/Yandex) with ESMTP id 68TXy4Pfb7-RRiO359J; Sun, 10 Sep 2017 21:27:27 +0300 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1505068047; bh=Iku4oySkTCQYV3bCtHTeVEd9AtlyCJ7/1N1sOlsrv6w=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=k2kJlPHdqJTMu+eRJtNIzMGUr1CaKBPQZ9H2RRwcY2k6wu0iB994dJWV5JRbWH2XN hb/QBHCIlKFpO0yCNtqyNLEwCv/UPMM1m7ZwpWNmklSWramSR54F6cQtptKNvpsTxQ 9cUi9YAu6LHyTo1t4Wmg3KMvS6EHam0yz1rcq3lE= Original-Received: by smtp2j.mail.yandex.net (nwsmtp/Yandex) with ESMTPSA id OE0SqXDAAi-RPemFirY; Sun, 10 Sep 2017 21:27:26 +0300 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client certificate not present) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.com; s=mail; t=1505068046; bh=Iku4oySkTCQYV3bCtHTeVEd9AtlyCJ7/1N1sOlsrv6w=; h=Subject:To:References:From:Message-ID:Date:In-Reply-To; b=v/glBshzfzu+AMBbn7pL89b67qLWjAeafsVBhfTwZj5PYFlOJzzDwJRoAc7mIs0jR 2wRMWg+8OWOytQ5Gnq3NvmY8y7Z42j55bFRnacMqFRQ7bTH6+p6vxygC/U/IYOCBBv qsIWW1GuktVeZWQH9nuauIIFF3coQNDu9qw1WLLo= Authentication-Results: smtp2j.mail.yandex.net; dkim=pass header.i=@yandex.com In-Reply-To: <84r2veifo3.fsf@tm6592> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.198.247 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:114233 Archived-At: This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --901jurR1elKtC2SKow3nhR8k50VpQgrLV From: =?UTF-8?Q?Mario_Castel=c3=a1n_Castro?= To: help-gnu-emacs@gnu.org Message-ID: Subject: Re: How to visit a file and kill the current buffer? References: <84r2veifo3.fsf@tm6592> In-Reply-To: <84r2veifo3.fsf@tm6592> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 10/09/17 13:15, Marco Wahl wrote: > There is `find-alternate-file' which meets your requirements AFAICS. >=20 > I use it mostly from dired buffers where the function (actually > `dired-find-alternate-file') is bound to "a". This is what I was looking for. I will also use the dired keystroke you mentioned. I noticed that IDO binds C-x C-v to its own variant of this function, which does the same but uses the IDO facility for entering the file-name.= Thanks to everybody who replied. --=20 Do not eat animals; respect them as you respect people. https://duckduckgo.com/?q=3Dhow+to+(become+OR+eat)+vegan --901jurR1elKtC2SKow3nhR8k50VpQgrLV Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iHUEARMIAB0WIQS+wkyTBs7vJfjGA262380TuSZA2QUCWbWECgAKCRC2380TuSZA 2eaKAQD625qqFohcWgxBQqhM34v2dBZ1RyZfjDtKzb3RnnlL2wD9GPX74pHkXrR7 CN+l3QhuSqgGxan36MDEui0jPNvinDg= =6/H0 -----END PGP SIGNATURE----- --901jurR1elKtC2SKow3nhR8k50VpQgrLV--