From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Reload file from disk Date: Sat, 11 Nov 2017 12:59:48 +0100 Message-ID: <87tvy158ln.fsf@linux-m68k.org> References: <87zi7tdvj5.fsf@mid.deneb.enyo.de> <83vaihnm63.fsf@gnu.org> <83shdlnln4.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1510401605 13482 195.159.176.226 (11 Nov 2017 12:00:05 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 11 Nov 2017 12:00:05 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux) Cc: fw@deneb.enyo.de, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 11 12:59:57 2017 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eDUS4-00033v-KT for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 12:59:56 +0100 Original-Received: from localhost ([::1]:45256 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDUSB-0004F9-OJ for ged-emacs-devel@m.gmane.org; Sat, 11 Nov 2017 07:00:03 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44600) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eDUS5-0004F1-9x for emacs-devel@gnu.org; Sat, 11 Nov 2017 06:59:58 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eDUS4-0008Mn-F0 for emacs-devel@gnu.org; Sat, 11 Nov 2017 06:59:57 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:37001) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eDUS0-0008KW-P8; Sat, 11 Nov 2017 06:59:52 -0500 Original-Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3yYwSQ0kLGz1qsD4; Sat, 11 Nov 2017 12:59:50 +0100 (CET) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3yYwSQ0HLVz1yg3t; Sat, 11 Nov 2017 12:59:50 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id leXY8nhoXyxV; Sat, 11 Nov 2017 12:59:49 +0100 (CET) X-Auth-Info: DVT4h+IEjJ1RGpmpsX35mULdiu4iVZg6TX7dXjq6YtFA/w8FFRVhtA0sYmLBI1// Original-Received: from localhost (ppp-188-174-147-163.dynamic.mnet-online.de [188.174.147.163]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Sat, 11 Nov 2017 12:59:49 +0100 (CET) Original-Received: by localhost (Postfix, from userid 1000) id 827792C1388; Sat, 11 Nov 2017 12:59:48 +0100 (CET) X-Yow: Yow! Is my fallout shelter termite proof? In-Reply-To: <83shdlnln4.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 11 Nov 2017 12:40:47 +0200") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 212.18.0.9 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:220068 Archived-At: On Nov 11 2017, Eli Zaretskii wrote: >> Date: Sat, 11 Nov 2017 12:29:24 +0200 >> From: Eli Zaretskii >> Cc: emacs-devel@gnu.org >> >> > But over the years, C-x C-f M-n RET started doing more and more >> > bizarre things. It now inserts the file name at point in the buffer, >> > which is particularly annoying if you try to reload a ChangeLog file. >> >> It does? I cannot reproduce this in "emacs -Q". > > Sorry, I see that I misunderstood your somewhat ambiguous wording. I > see what you meant now, and the answer is the same: customize > file-name-at-point-functions to nil, and both the behaviors that > annoyed you will be gone. Even better, bind revert-buffer to a key. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."