unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Mario Castelán Castro" <marioxcc.MT@yandex.com>
To: help-gnu-emacs@gnu.org
Subject: Re: How to visit a file and kill the current buffer?
Date: Sun, 10 Sep 2017 13:27:22 -0500	[thread overview]
Message-ID: <e5f52607-0522-307d-31f7-f7ebd1b3bf0b@yandex.com> (raw)
In-Reply-To: <84r2veifo3.fsf@tm6592>

[-- Attachment #1: Type: text/plain, Size: 623 bytes --]

On 10/09/17 13:15, Marco Wahl wrote:
> There is `find-alternate-file' which meets your requirements AFAICS.
> 
> 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.

-- 
Do not eat animals; respect them as you respect people.
https://duckduckgo.com/?q=how+to+(become+OR+eat)+vegan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

  reply	other threads:[~2017-09-10 18:27 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.245.1505063646.14750.help-gnu-emacs@gnu.org>
2017-09-10 18:15 ` How to visit a file and kill the current buffer? Marco Wahl
2017-09-10 18:27   ` Mario Castelán Castro [this message]
2017-09-10 17:13 Mario Castelán Castro
2017-09-10 17:24 ` tomas
2017-09-10 17:48   ` Mario Castelán Castro
2017-09-10 18:37     ` Emanuel Berg
2017-09-10 19:14       ` tomas
     [not found]       ` <mailman.265.1505070877.14750.help-gnu-emacs@gnu.org>
2017-09-10 22:13         ` Emanuel Berg
2017-09-10 18:01 ` Eli Zaretskii
2017-09-10 18:18   ` Drew Adams
2017-09-10 18:16 ` Drew Adams

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=e5f52607-0522-307d-31f7-f7ebd1b3bf0b@yandex.com \
    --to=marioxcc.mt@yandex.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).