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#4936: 23.1.50; Position jumps when saving RCS-versioned files Date: Mon, 16 Nov 2009 10:29:17 -0500 Message-ID: References: <87pr7i6bfj.fsf@physik.rwth-aachen.de> <200911161429.nAGETmJI014898@godzilla.ics.uci.edu> Reply-To: Stefan Monnier , 4936@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1258402125 22826 80.91.229.12 (16 Nov 2009 20:08:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 16 Nov 2009 20:08:45 +0000 (UTC) Cc: 4936@emacsbugs.donarmstrong.com, Torsten Bronger To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Nov 16 21:08:37 2009 Return-path: Envelope-to: geb-bug-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 1NA7ri-0000hs-Kh for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Nov 2009 21:07:58 +0100 Original-Received: from localhost ([127.0.0.1]:39029 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA7ri-00011E-5j for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Nov 2009 15:07:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NA7rH-0000c8-KL for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2009 15:07:31 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NA7rE-0000Wt-Fv for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2009 15:07:31 -0500 Original-Received: from [199.232.76.173] (port=55899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NA7rC-0000Wg-Jj for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2009 15:07:26 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:38642) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NA7rB-0006wd-Jk for bug-gnu-emacs@gnu.org; Mon, 16 Nov 2009 15:07:26 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAGK7KKN001269; Mon, 16 Nov 2009 12:07:22 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nAGJoRDg031237; Mon, 16 Nov 2009 11:50:27 -0800 Resent-Date: Mon, 16 Nov 2009 11:50:27 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Mon, 16 Nov 2009 19:50:27 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4936 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4936-submit@emacsbugs.donarmstrong.com id=B4936.125840010027833 (code B ref 4936); Mon, 16 Nov 2009 19:50:27 +0000 Original-Received: (at 4936) by emacsbugs.donarmstrong.com; 16 Nov 2009 19:35:00 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.teksavvy.com [206.248.154.183]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nAGFTNoI004807 for <4936@emacsbugs.donarmstrong.com>; Mon, 16 Nov 2009 07:29:25 -0800 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: ApsEABP+AEtMCqHJ/2dsb2JhbACBTdUXhDwEiT6Ceg X-IronPort-AV: E=Sophos;i="4.44,751,1249272000"; d="scan'208";a="49473389" Original-Received: from 76-10-161-201.dsl.teksavvy.com (HELO pastel.home) ([76.10.161.201]) by ironport2-out.pppoe.ca with ESMTP; 16 Nov 2009 10:29:18 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id E7DC4F1A31; Mon, 16 Nov 2009 10:29:17 -0500 (EST) In-Reply-To: <200911161429.nAGETmJI014898@godzilla.ics.uci.edu> (Dan Nicolaescu's message of "Mon, 16 Nov 2009 06:29:48 -0800 (PST)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Mon, 16 Nov 2009 15:07:31 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32645 Archived-At: > This looks like it's due to your 2009-11-13 change to > `vc-rcs-consult-headers'. That's one way to look at it. > It replaced: > - (save-excursion > - (set-buffer (get-file-buffer file)) > with: > + (with-current-buffer (get-file-buffer file) > + (goto-char (point-min)) > So when `file' is in the current buffer the position is not restored. You mean "so point is never preserved, not even when file is in the current-buffer, as was accidentally the case before"? Stefan