From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jonathan Kamens Newsgroups: gmane.emacs.bugs Subject: bug#11490: vc-next-action overwrites changes in non-checked-out RCS file Date: Thu, 03 Jan 2013 22:33:33 -0500 Message-ID: <50E64D8D.1010201@kamens.us> References: <4FB40003.3050502@kamens.us> <4FB451AE.60508@kamens.us> <4FB65ECA.6000205@kamens.us> <87txqxr6y8.fsf@gnu.org> <50E649D6.4090808@kamens.us> <55obh51vlw.fsf@fencepost.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="------------010801010509080903060401" X-Trace: ger.gmane.org 1357270443 26595 80.91.229.3 (4 Jan 2013 03:34:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 4 Jan 2013 03:34:03 +0000 (UTC) Cc: 11490@debbugs.gnu.org, Chong Yidong To: Glenn Morris Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 04 04:34:19 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 1Tqy31-0002tV-3u for geb-bug-gnu-emacs@m.gmane.org; Fri, 04 Jan 2013 04:34:19 +0100 Original-Received: from localhost ([::1]:52827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqy2l-0007CT-VB for geb-bug-gnu-emacs@m.gmane.org; Thu, 03 Jan 2013 22:34:03 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:48428) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqy2i-0007CJ-Sp for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 22:34:03 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Tqy2f-0003Fe-SR for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 22:34:00 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:60381) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Tqy2f-0003FW-P7 for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 22:33:57 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Tqy2j-0005ei-US for bug-gnu-emacs@gnu.org; Thu, 03 Jan 2013 22:34:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Jonathan Kamens Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 04 Jan 2013 03:34: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.135727042121713 (code B ref 11490); Fri, 04 Jan 2013 03:34:01 +0000 Original-Received: (at 11490) by debbugs.gnu.org; 4 Jan 2013 03:33:41 +0000 Original-Received: from localhost ([127.0.0.1]:42399 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tqy2P-0005e8-FE for submit@debbugs.gnu.org; Thu, 03 Jan 2013 22:33:41 -0500 Original-Received: from jik3.kamens.brookline.ma.us ([128.177.28.63]:45802) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Tqy2N-0005dy-9Z for 11490@debbugs.gnu.org; Thu, 03 Jan 2013 22:33:40 -0500 Original-Received: from jik2.kamens.brookline.ma.us (209-6-65-228.c3-0.abr-ubr1.sbo-abr.ma.cable.rcn.com [209.6.65.228]) (authenticated bits=0) by jik3.kamens.brookline.ma.us (8.13.8/8.13.8) with ESMTP id r043XXUi029136 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 3 Jan 2013 22:33:33 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 In-Reply-To: <55obh51vlw.fsf@fencepost.gnu.org> X-Scanned-By: MIMEDefang 2.73 on 128.177.28.63 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:69369 Archived-At: This is a multi-part message in MIME format. --------------010801010509080903060401 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Please read the WHOLE LIST OF COMMANDS I SENT in my test case. I made the file writable in that list only to modify it. If you read the whole list of commands, you will see that I make it unwritable again before editing it with emacs. And that's exactly the problem... if the file isn't writable, emacs assumes that it's not checked out and not modified it and checks it out when you hit C-x v v, overwriting the changes in it. --------------010801010509080903060401 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Please read the WHOLE LIST OF COMMANDS I SENT in my test case.

I made the file writable in that list only to modify it. If you read the whole list of commands, you will see that I make it unwritable again before editing it with emacs. And that's exactly the problem... if the file isn't writable, emacs assumes that it's not checked out and not modified it and checks it out when you hit C-x v v, overwriting the changes in it.

--------------010801010509080903060401--