From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: suvayu ali Newsgroups: gmane.emacs.help Subject: Re: reload modified files in buffer Date: Tue, 14 Dec 2010 08:57:19 +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 1292313757 27888 80.91.229.12 (14 Dec 2010 08:02:37 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 14 Dec 2010 08:02:37 +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 09:02:33 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 1PSPqD-0007O6-2W for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 09:02:33 +0100 Original-Received: from localhost ([127.0.0.1]:49123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSPqB-0005KB-LK for geh-help-gnu-emacs@m.gmane.org; Tue, 14 Dec 2010 03:02:31 -0500 Original-Received: from [140.186.70.92] (port=55742 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PSPpK-0003U4-H1 for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 03:02:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PSPlU-0005t8-FA for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 02:58:32 -0500 Original-Received: from mail-gy0-f169.google.com ([209.85.160.169]:52379) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PSPlU-0005sh-Bs for help-gnu-emacs@gnu.org; Tue, 14 Dec 2010 02:57:40 -0500 Original-Received: by gyg10 with SMTP id 10so215954gyg.0 for ; Mon, 13 Dec 2010 23:57:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:sender:received :in-reply-to:references:from:date:x-google-sender-auth:message-id :subject:to:cc:content-type; bh=gU+IN10jnhapt4bZq0I7N1lZMM8Drf2OuhKXE1cQ+sk=; b=msKppnAyCWzBoZeueph3ltOppQwr+LrmRrUEA+MXy3q/F01gSPLsVY2tPLSX7qGnk1 2G5aO+tZKbE1u+9Xnoex+RSCSs1fpPVw8+PM/6lVZaNWPDLE+0VKoKVfPnf+P71Nhd5E 0DzAA8iJEUBsfQGCLtDhWIgPihOL+CSLhYdOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=wLOaRjtWtZrVUa0YSciKQacZSucqW6w5WaZ4O6svQm16GbOBnFgyy6TYjgX1g2rFoF TaW+gOp0Tzbq3G1mAUBRdXFQx6t8DB5PnqoESQ3qdLRb7VrLIwj6GwtFQeV5aBdigrjd vxqoqwLnqUvvpNO8NAL3/BsunpLrZ5t/+xvA0= Original-Received: by 10.150.199.15 with SMTP id w15mr7501167ybf.326.1292313459265; Mon, 13 Dec 2010 23:57:39 -0800 (PST) Original-Received: by 10.147.124.4 with HTTP; Mon, 13 Dec 2010 23:57:19 -0800 (PST) In-Reply-To: <4D0714F3.5040704@gmail.com> X-Google-Sender-Auth: JIh4l9FICHlGSpsipUFxt-AP0m4 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:77482 Archived-At: On Tue, Dec 14, 2010 at 7:55 AM, Rajinder Yadav wrote: > 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. > `M-x auto-revert-mode' -- Suvayu Open source is the future. It sets us free.