From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.bugs Subject: bug#11490: vc-next-action overwrites changes in non-checked-out RCS file Date: Fri, 04 Jan 2013 10:57:19 +0800 Message-ID: <87txqxr6y8.fsf@gnu.org> References: <4FB40003.3050502@kamens.us> <4FB451AE.60508@kamens.us> <4FB65ECA.6000205@kamens.us> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1357268288 5163 80.91.229.3 (4 Jan 2013 02:58:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 02:58:08 +0000 (UTC) Cc: Jonathan Kamens , 11490@debbugs.gnu.org To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 04 03:58:24 2013 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 1TqxUD-0004RL-29 for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 03:58:21 +0100 Original-Received: from localhost ([::1]:44885 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqxTx-0008If-Tg for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 21:58:05 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43193) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqxTt-0008IZ-3Q for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 21:58:04 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TqxTq-0000VY-FL for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 21:58:01 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60327) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TqxTq-0000VL-CZ for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 21:57:58 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1TqxTu-0003r3-0c for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 21:58:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Chong Yidong Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jan 2013 02:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 11490 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: confirmed help Original-Received: via spool by 11490-submit@debbugs.gnu.org id=B11490.135726825514769 (code B ref 11490); Fri, 04 Jan 2013 02:58:01 +0000 Original-Received: (at 11490) by debbugs.gnu.org; 4 Jan 2013 02:57:35 +0000 Original-Received: from localhost ([127.0.0.1]:42345 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqxTS-0003qA-MN for submit@debbugs.gnu.org; Thu, 03 Jan 2013 21:57:34 -0500 Original-Received: from mail-pa0-f42.google.com ([209.85.220.42]:46014) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TqxTP-0003py-HH for 11490@debbugs.gnu.org; Thu, 03 Jan 2013 21:57:33 -0500 Original-Received: by mail-pa0-f42.google.com with SMTP id rl6so9050457pac.29 for <11490@debbugs.gnu.org>; Thu, 03 Jan 2013 18:57:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=p3knmGKY2VdIu3adUyCm1j7RdMNlcfzVVIvSJlsD5h0=; b=l9CK90GJSoQJCGeRQs5m+2uttVo1q1/Iw9R0BMvQOFipU7TD4nmx0IgsaKLStf6vPc 1RYxFPgOIx/Z285JKm6Z9+7K1TtWZn5WBBDbVG1uYqPDYKmDfzatDoQ+yAfBC4y09Pi/ hEWUHl3sZWTokWFjgMwRhQYepXzNd8NqQX3/aeQoHXjCPozWHToswakVf6hGTMncWM4L I1nOforLnxQBST5wKO7g+TWNT6mdIABUUFpKLVrvw4JCCjAP386VdOcgVvz+kP6NXqaf qWJ3Dpef9Ul1AgAa8WDluH1UjkKYdFbkka7DJ/x8EY3zm7rltF0bz7tI2jHnAjFrPjlL 8kww== X-Received: by 10.68.219.164 with SMTP id pp4mr158060509pbc.72.1357268246284; Thu, 03 Jan 2013 18:57:26 -0800 (PST) Original-Received: from ulysses ([155.69.16.140]) by mx.google.com with ESMTPS id s5sm32289339pay.31.2013.01.03.18.57.22 (version=SSLv3 cipher=OTHER); Thu, 03 Jan 2013 18:57:24 -0800 (PST) In-Reply-To: (Glenn Morris's message of "Mon, 21 May 2012 23:57:54 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.91 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:69363 Archived-At: >> I'm obviously not in any position of authority here, but as for my >> personal opinion, I would have no objection whatsoever to making >> vc-mistrust-permissions default to true for safety's sake. > > Me neither. It seems like the default should be the safest mode of > operation. > > However, Emacs 22.3 does not have this issuse; 23.1 onwards does. > Something was lost with the removal of vc-next-action-on-file, > and now vc-buffer-sync does not get called. Can someone summarize again a *correct* recipe to see the bug? What with the wrong initial bug report, and the imprecise follow-up, I can't figure out where the problem lies. If I do mkdir foo cd foo mkdir RCS echo initial > file ci -u -t-foo file [Edit file in root] emacs-24.0.96 -Q file C-x v v Then I get a prompt saying File has unlocked changes. Claim lock retaining changes? (yes or no) If I type yes, the changes are still there. What's the problem?