From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sven Joachim Newsgroups: gmane.emacs.help Subject: Re: reload modified files in buffer Date: Wed, 15 Dec 2010 17:04:08 +0100 Organization: Gnus News User Services Message-ID: <87wrnbyqdj.fsf@turtle.gmx.de> References: <87bp4ox1y4.fsf@turtle.gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1292431261 740 80.91.229.12 (15 Dec 2010 16:41:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 15 Dec 2010 16:41:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 15 17:40:57 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PSuPQ-0007wC-Aw for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 17:40:56 +0100 Original-Received: from localhost ([127.0.0.1]:55874 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSuPP-0006tN-Q1 for geh-help-gnu-emacs@m.gmane.org; Wed, 15 Dec 2010 11:40:55 -0500 Original-Path: usenet.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!uio.no!quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 20 Original-NNTP-Posting-Host: p54861f69.dip.t-dialin.net Original-X-Trace: quimby.gnus.org 1292429048 10850 84.134.31.105 (15 Dec 2010 16:04:08 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Wed, 15 Dec 2010 16:04:08 +0000 (UTC) User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2.91 (gnu/linux) Cancel-Lock: sha1:hPImc6cc/T8jMqhVioHf+r/6xj8= Original-Xref: usenet.stanford.edu gnu.emacs.help:183308 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:77554 Archived-At: 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