From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Leo Newsgroups: gmane.emacs.bugs Subject: bug#4061: 23.1.50; C-x C-v and saveplace Date: Sat, 15 Aug 2009 21:18:10 +0100 Message-ID: References: Reply-To: Leo , 4061@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 1250368042 1974 80.91.229.12 (15 Aug 2009 20:27:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 15 Aug 2009 20:27:22 +0000 (UTC) To: 4061@emacsbugs.donarmstrong.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 15 22:27:03 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 1McPqA-0007i5-D9 for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 22:27:02 +0200 Original-Received: from localhost ([127.0.0.1]:56347 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McPq9-0001cL-Gs for geb-bug-gnu-emacs@m.gmane.org; Sat, 15 Aug 2009 16:27:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1McPq5-0001c8-2p for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 16:26:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1McPq0-0001bs-IX for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 16:26:56 -0400 Original-Received: from [199.232.76.173] (port=33196 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1McPq0-0001bh-FD for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 16:26:52 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:59281) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1McPpz-00025q-VC for bug-gnu-emacs@gnu.org; Sat, 15 Aug 2009 16:26:52 -0400 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 n7FKQn9s007869; Sat, 15 Aug 2009 13:26:49 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n7FKPBSD007602; Sat, 15 Aug 2009 13:25:11 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Leo Original-Sender: "Leo, Shidai Liu" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sat, 15 Aug 2009 20:25:11 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4061 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4061-submit@emacsbugs.donarmstrong.com id=B4061.12503674956631 (code B ref 4061); Sat, 15 Aug 2009 20:25:11 +0000 Original-Received: (at 4061) by emacsbugs.donarmstrong.com; 15 Aug 2009 20:18:15 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ppsw-6.csi.cam.ac.uk (ppsw-6.csi.cam.ac.uk [131.111.8.136]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n7FKIDku006622 for <4061@emacsbugs.donarmstrong.com>; Sat, 15 Aug 2009 13:18:15 -0700 X-Cam-AntiVirus: no malware found X-Cam-SpamDetails: not scanned X-Cam-ScannerInfo: http://www.cam.ac.uk/cs/email/scanner/ Original-Received: from smaug.linux.pwf.cam.ac.uk ([193.60.95.72]:43230) by ppsw-6.csi.cam.ac.uk (smtp.hermes.cam.ac.uk [131.111.8.156]:587) with esmtpsa (LOGIN:sl392) (TLSv1:DHE-RSA-AES128-SHA:128) id 1McPhb-00082Y-JQ (Exim 4.70) for 4061@emacsbugs.donarmstrong.com (return-path ); Sat, 15 Aug 2009 21:18:11 +0100 In-Reply-To: (Leo's message of "Thu, 06 Aug 2009 04:29:21 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Sat, 15 Aug 2009 16:26:56 -0400 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:30214 Archived-At: On 2009-08-06 04:29 +0100, Leo wrote: > Please describe exactly what actions triggered the bug > and the precise symptoms of the bug: > > With saveplace enabled, it will be nice if place (point) can survive C-x > C-v. At the moment, C-x C-v will move the point to a 'random' place. > > Leo In `find-alternate-file', the old buffer is renamed, the new buffer is created and then the renamed old buffer is killed. so the place is not saved before re-opening the file. It seems at the moment for a user the clean way to implement this feature is by using defadvice. But I think this is a very useful feature to have. -- Leo's Emacs uptime: 11 days, 19 hours, 50 minutes, 33 seconds