all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Drew Adams <drew.adams@oracle.com>
To: Lars Magne Ingebrigtsen <larsi@gnus.org>, emacs-devel@gnu.org
Subject: RE: Reloading files
Date: Mon, 4 Apr 2016 12:51:10 -0700 (PDT)	[thread overview]
Message-ID: <bd3ef3be-a05e-46b6-ba27-88e8603351ca@default> (raw)
In-Reply-To: <m3fuv1mb8w.fsf@gnus.org>

> Back in the olden days, hitting `C-x C-f RET' in a buffer visiting a
> file would reload the current file.

I think you mean "visit", not "load".  (Or else I don't understand.)

> Then this changed to `C-x C-f M-n', which is fine.

That happened after Emacs 20, by Emacs 22 at least.

> Has Emacs grown a new command for reliably reloading the current visited
> file that I'm just not able to find?  `revert-buffer' is not on any
> keys, and is way too chatty, anyway.  (And a bit scary.)

Sounds like you want `C-x C-v' (`find-alternate-file').  That does
more than revert the buffer, but it at least does that.



  reply	other threads:[~2016-04-04 19:51 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-04 19:20 Reloading files Lars Magne Ingebrigtsen
2016-04-04 19:51 ` Drew Adams [this message]
2016-04-06 22:03 ` Mathias Dahl

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

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

  git send-email \
    --in-reply-to=bd3ef3be-a05e-46b6-ba27-88e8603351ca@default \
    --to=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.