From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Deniz Dogan Newsgroups: gmane.emacs.help Subject: Re: reload modified files in buffer Date: Tue, 14 Dec 2010 10:28:03 +0100 Message-ID: References: <4D0714F3.5040704@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1292318961 28171 80.91.229.12 (14 Dec 2010 09:29:21 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 09:29:21 +0000 (UTC) Cc: emacs-help To: Rajinder Yadav Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Dec 14 10:29:16 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 1PSRC8-00072B-2i for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 10:29:16 +0100 Original-Received: from localhost ([127.0.0.1]:38374 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSRC7-0004Kz-Gq for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 04:29:15 -0500 Original-Received: from [140.186.70.92] (port=34155 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSRBU-0004KD-Kl for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 04:28:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSRBT-00049z-1V for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 04:28:36 -0500 Original-Received: from mail-iw0-f169.google.com ([209.85.214.169]:55326) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSRBS-00049T-Lt for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 04:28:34 -0500 Original-Received: by iwn40 with SMTP id 40so625252iwn.0 for ; Tue, 14 Dec 2010 01:28:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:cc:content-type; bh=L4LHX9nFMYHq3fogrYtxZk9XqYK6SKUyxdPvl6j2mok=; b=vezCMdWJ0okdEIznK4KbZ6Akqeq8mwC0EFY9pIGE+y7cA/dNzoQkIzj1Kbf33seTcE XdkcSNeeBvgCiFuJpHqd7rSsn5tIIZxs1axUMPinNbdIpqM8/Y4fIdNTJ++Htpig8mY8 x+01LKnDAg2d9KGTjLLyxIf4h8qyzRTzG5IDY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=uxMKfFJw5iPizxo8j9yYszqF/WaEm25Rw0+M8uTJbq5Qn1gJN9qisZLWOGTne6sMLZ aPDAZvmmju2kL/Aq0geckxcBYjNM1wLLICJEncyBE0XZdc/5eu6PE9d2Uq9hx8c/j2fF 6Tjr5mDdHmLqFY4tPi1pk1AqjyePom7qy6zlg= Original-Received: by 10.231.11.71 with SMTP id s7mr3027706ibs.86.1292318913667; Tue, 14 Dec 2010 01:28:33 -0800 (PST) Original-Received: by 10.231.33.140 with HTTP; Tue, 14 Dec 2010 01:28:03 -0800 (PST) In-Reply-To: <4D0714F3.5040704@gmail.com> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) 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:77483 Archived-At: 2010/12/14 Rajinder Yadav : > How can I get emacs to automatically reload files in its buffer that have > been modified externally? > > 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. I would like this to happen > transparently. > If the buffer file has been modified, Emacs should warn you about modifying it before it lets you. What version of Emacs are you using? -- Deniz Dogan