From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#19161: 24.4; vc-mode reload on commit - don't jump to start of buffer Date: Thu, 11 Dec 2014 16:09:56 -0500 Message-ID: References: <7E039918541B4C4183BFDB8F015C74302E421EED@WCL-EXCH02.wcl.local> <7E039918541B4C4183BFDB8F015C74302E422493@WCL-EXCH02.wcl.local> <7E039918541B4C4183BFDB8F015C74302E422FA7@WCL-EXCH02.wcl.local> <7E039918541B4C4183BFDB8F015C74302E4244AB@WCL-EXCH02.wcl.local> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1418332294 2041 80.91.229.3 (11 Dec 2014 21:11:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Dec 2014 21:11:34 +0000 (UTC) Cc: "'19161@debbugs.gnu.org'" <19161@debbugs.gnu.org> To: Ed Avis Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Dec 11 22:11:26 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1XzB1B-0005Hy-8Q for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 22:11:25 +0100 Original-Received: from localhost ([::1]:54334 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB1A-00051r-NH for geb-bug-gnu-emacs@m.gmane.org; Thu, 11 Dec 2014 16:11:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52673) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB0z-00051a-DW for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:11:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XzB0p-0001UV-DT for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:11:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:33898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XzB0p-0001UL-9z for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:11:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1XzB0o-0006rt-Ja for bug-gnu-emacs@gnu.org; Thu, 11 Dec 2014 16:11:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 11 Dec 2014 21:11:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 19161 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 19161-submit@debbugs.gnu.org id=B19161.141833220426321 (code B ref 19161); Thu, 11 Dec 2014 21:11:02 +0000 Original-Received: (at 19161) by debbugs.gnu.org; 11 Dec 2014 21:10:04 +0000 Original-Received: from localhost ([127.0.0.1]:43264 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzAzr-0006qT-Mt for submit@debbugs.gnu.org; Thu, 11 Dec 2014 16:10:04 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:62735) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1XzAzp-0006pt-Dh for 19161@debbugs.gnu.org; Thu, 11 Dec 2014 16:10:02 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IPAS-Result: AjsPAOwQflTO+ILA/2dsb2JhbABbgweDYIVaxR0EAgKBJBcBAQEBAQF8hAMBAQMBViMFCws0EhQYDSSISgnWWQEBAQEGAQEBAR6QbweESAWLAaQugXiEGSGCdwEBAQ X-IronPort-AV: E=Sophos;i="5.07,502,1413259200"; d="scan'208";a="100227841" Original-Received: from 206-248-130-192.dsl.teksavvy.com (HELO ceviche.home) ([206.248.130.192]) by ironport2-out.teksavvy.com with ESMTP/TLS/DHE-RSA-AES256-SHA; 11 Dec 2014 16:09:55 -0500 Original-Received: by ceviche.home (Postfix, from userid 20848) id 603C4660F3; Thu, 11 Dec 2014 16:09:56 -0500 (EST) In-Reply-To: <7E039918541B4C4183BFDB8F015C74302E4244AB@WCL-EXCH02.wcl.local> (Ed Avis's message of "Thu, 27 Nov 2014 11:28:24 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:97232 Archived-At: Version:25.1 > Surely the simplest fix is to save the current point (as a line number > and column number), revert the file, and then put point back to where > it was? I installed a similar change in "master". It doesn't preserve line-number nor column number, but it keeps the point in the same place in proportion to the changed text. > In the particular case of reverting after a version control checkin > this would give more useful behaviour. I wouldn't advocate it for > ordinary revert-buffer operations. I actually did it for all revert-buffer operations. Stefan