unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Sven Joachim <svenjoac@gmx.de>
To: help-gnu-emacs@gnu.org
Subject: Re: reload modified files in buffer
Date: Wed, 15 Dec 2010 17:04:08 +0100	[thread overview]
Message-ID: <87wrnbyqdj.fsf@turtle.gmx.de> (raw)
In-Reply-To: mailman.9.1292427789.4561.help-gnu-emacs@gnu.org

On 2010-12-15 16:42 +0100, Peter Dyballa wrote:

> Am 14.12.2010 um 08:12 schrieb Sven Joachim:
>
>>> When editing a rails app, if I run a rails generate command, I don't
>>> want to have to reload a file manually. Sometimes I start to edit a
>>> file that is out of sync in the buffer and then get into a mess.
>>
>> Doesn't Emacs warn you when you do this?
>
>
> It does! But wouldn't it be better GNU Emacs would reload the file
> instead of warning/asking things?

I would not appreciate if Emacs did that without asking first.  And
reverting the buffer (= reloading the file) is among the offered options
in such a situation.

Cheers,
       Sven


  parent reply	other threads:[~2010-12-15 16:04 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1.1292309755.5276.help-gnu-emacs@gnu.org>
2010-12-14  7:12 ` reload modified files in buffer Sven Joachim
2010-12-15 15:42   ` Peter Dyballa
2010-12-15 19:14     ` Andrea Crotti
2010-12-15 19:26       ` Peter Dyballa
2010-12-16  0:39       ` suvayu ali
2010-12-16 11:42         ` Rajinder Yadav
2010-12-16 16:32           ` PJ Weisberg
2010-12-16 18:08           ` suvayu ali
2010-12-17 23:09           ` Andrea Crotti
     [not found]   ` <mailman.9.1292427789.4561.help-gnu-emacs@gnu.org>
2010-12-15 16:04     ` Sven Joachim [this message]
2010-12-14  6:55 Rajinder Yadav
2010-12-14  7:57 ` suvayu ali
2010-12-14  9:28 ` Deniz Dogan
2010-12-14 15:19 ` Andrea Crotti
2010-12-15 15:43   ` suvayu ali
2010-12-15 16:58     ` Andrea Crotti

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=87wrnbyqdj.fsf@turtle.gmx.de \
    --to=svenjoac@gmx.de \
    --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).