From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: kgold@watson.ibm.com (kgold) Newsgroups: gmane.emacs.help Subject: Re: Reloading the Current Buffer Date: 15 Jun 2004 14:34:50 GMT Organization: IBM T.J. Watson Research Center Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <40cf090a_4@news1.prserv.net> References: <%Uszc.3960$US1.1497@fed1read02> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1088536036 18882 80.91.224.253 (29 Jun 2004 19:07:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 29 Jun 2004 19:07:16 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 29 21:07:09 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BfNwi-0004XR-00 for ; Tue, 29 Jun 2004 21:07:08 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BfNyO-0001s3-Ov for geh-help-gnu-emacs@m.gmane.org; Tue, 29 Jun 2004 15:08:52 -0400 X-Newsreader: xrn 9.02 Original-Newsgroups: gnu.emacs.help Original-NNTP-Posting-Host: yktgi01e0-s5.watson.ibm.com Original-X-Trace: 15 Jun 2004 14:34:50 GMT, yktgi01e0-s5.watson.ibm.com Original-Lines: 10 Original-X-Complaints-To: abuse@prserv.net Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed2.newsreader.com!newsreader.com!priapus.visi.com!orange.octanews.net!news-out.visi.com!petbe.visi.com!news.octanews.net!ash.uu.net!newsfeed.us.prserv.net!prserv.net!news1.prserv.net!alpha.watson.ibm.com!kgold Original-Xref: shelby.stanford.edu gnu.emacs.help:123776 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:19135 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:19135 In article <%Uszc.3960$US1.1497@fed1read02>, Fiber Optic writes: > Sometimes I would like to reload the current buffer from disk in emacs. > > Is there an easy way to do this without having to C-x C-f and search for > the file again? > > If anyone can post a simple lisp function I would appreciate it. auto-revert will do it automatically.