From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Steve Newcomb Newsgroups: gmane.emacs.help Subject: Re: an inconvenient difference in Emacs 22 Date: 21 Sep 2007 22:21:54 -0400 Message-ID: <87myvf783h.fsf@zorba.coolheads.com> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1190427746 8907 80.91.229.12 (22 Sep 2007 02:22:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 22 Sep 2007 02:22:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: "Drew Adams" Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Sep 22 04:22:25 2007 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.50) id 1IYudT-00052y-NX for geh-help-gnu-emacs@m.gmane.org; Sat, 22 Sep 2007 04:22:23 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYudR-0000N6-7t for geh-help-gnu-emacs@m.gmane.org; Fri, 21 Sep 2007 22:22:21 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IYudD-0000Mh-Jj for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 22:22:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IYudB-0000ML-HJ for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 22:22:06 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IYudB-0000MI-Cp for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 22:22:05 -0400 Original-Received: from coolheads.com ([66.180.173.27] helo=amati.petesbox.net) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IYudB-0003D7-4e for help-gnu-emacs@gnu.org; Fri, 21 Sep 2007 22:22:05 -0400 Original-Received: from zorba.coolheads.com (cpe-024-025-048-063.ec.res.rr.com [24.25.48.63]) by amati.petesbox.net (Postfix) with ESMTP id CC112343769; Fri, 21 Sep 2007 22:21:57 -0400 (EDT) X-Mailer: emacs 21.4.1 (via feedmail 8 I) In-Reply-To: Original-Lines: 47 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.4 X-Detected-Kernel: Linux 2.4-2.6 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:47731 Archived-At: "Drew Adams" writes: > > "Steve Newcomb" wrote: > > > > In older versions of Emacs, C-X C-F ENTER has always re-read the > > file associated with the buffer the user was already in. > > > > In my shiny new Emacs 22, this doesn't happen. Instead, > > what is opened is the directory > > I believe that this was done deliberately. > > FWIW, you can do `C-x C-f C-n' to get what you want (at the cost of another > keystroke). The `C-n' retrieves the default value, which is the name of the > current file. FYI: That didn't work. From: "Denis Bueno" > I believe you can also do `C-c C-v RET'. FYI: That didn't work either. I suspect these things didn't work because of my own .emacs, which is old and woolly. > If you often revert a buffer (e.g. re-read a file), you might consider > binding `revert-buffer' to a quick key sequence - I use `S-f1', for > instance. Good idea. That worked! Thanks for these suggestions. In the end, an even better approach, at least for our purposes, may be global-auto-revert-mode. I am chagrined to discover that this mode has been around for a while, and I just didn't know it. Until I read your suggestions, I had never understood that, in the jargon of Emacs, "revert-buffer", means "update the buffer". I'm curious about this usage of the word "revert". "Revert" normally connotes some sort of retrograde motion. As far as I know, it never connotes forward motion at all, much less forward motion undertaken to catch up with someone else's forward motion. But, until I'm corrected, that's how I'll understand "revert" in the context of Emacs. -- Steve