From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "era eriksson" Newsgroups: gmane.emacs.bugs Subject: Re: vc-mode: initial comments lost if using CVS Date: Fri, 26 Aug 2005 09:09:41 +0300 Message-ID: <1125036581.20820.241522797@webmail.messagingengine.com> References: <1124968223.23992.241452312@webmail.messagingengine.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-15" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1125043465 22722 80.91.229.2 (26 Aug 2005 08:04:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 26 Aug 2005 08:04:25 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 26 10:04:21 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1E8XnR-0004gz-TN for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2005 08:34:38 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8Xr2-0005qJ-97 for geb-bug-gnu-emacs@m.gmane.org; Fri, 26 Aug 2005 02:38:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1E8XYG-0001GF-5t for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2005 02:18:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1E8XYC-0001El-VB for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2005 02:18:53 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1E8XYC-000175-58 for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2005 02:18:52 -0400 Original-Received: from [66.111.4.28] (helo=out4.smtp.messagingengine.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1E8XQk-0007H7-5B for bug-gnu-emacs@gnu.org; Fri, 26 Aug 2005 02:11:10 -0400 Original-Received: from frontend1.internal (mysql-sessions.internal [10.202.2.149]) by frontend1.messagingengine.com (Postfix) with ESMTP id 1ECEBCCAE6A; Fri, 26 Aug 2005 02:09:41 -0400 (EDT) Original-Received: from web3.messagingengine.com ([10.202.2.212]) by frontend1.internal (MEProxy); Fri, 26 Aug 2005 02:09:41 -0400 Original-Received: by web3.messagingengine.com (Postfix, from userid 99) id 124DE585; Fri, 26 Aug 2005 02:09:41 -0400 (EDT) X-Sasl-Enc: 7DTgK4gt4yYtRAXmS35vpOCQH1cAYlhucg4e6oFTRElf 1125036581 Original-To: "Aaron S. Hawley" Content-Disposition: inline X-Mailer: MIME::Lite 1.5 (F2.73; T1.001; A1.64; B3.05; Q3.03) In-Reply-To: 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:12837 Archived-At: On Thu, 25 Aug 2005 12:30:34 -0400 (EDT), "Aaron S. Hawley" said: > I can't confirm the behavior of the missing change comment, however I can > confirm a missing description when the file is added outside of Emacs > (and without a -m message). I'm assuming that your scenario entails adding > the file to CVS from the command-line rather than Emacs. Nope, this is specifically about adding a new file to CVS from within Emacs. Which version of Emacs were you trying this on? http://savannah.gnu.org/cgi-bin/viewcvs/emacs/emacs/lisp/vc-cvs.el.diff?r1=1.24.4.3&r2=1.77 doesn't reveal (to me) anything to indicate that this particular behavior would have been consciously changed, but some of the changes are rather wide-reaching (in particular, the introduction of vc-cvs-command to replace the generic vc-do-command), so perhaps it changed just as a side effect of something else. > $ mkdir ~/cvs > $ export CVSROOT=$HOME/cvs > $ cvs init > $ cd /tmp > $ mkdir vc-mode-test > $ cd vc-mode-test > $ cvs import -m"Created directory structure" vc-mode-test vc-mode test For quick experimentation, you don't really need to import. vnix$ mkdir /tmp/cvsroot vnix$ cvs -d /tmp/cvsroot init vnix$ mkdir /tmp/cvsroot/vc-mode-test vnix$ cvs -d /tmp/cvsroot co vc-mode-test vnix$ emacs vc-mode-test/foo.txt > In Emacs, > > Set vc-initial-comment to non-nil with `M-: (setq vc-initial-comment t)'. > Register the file (`cvs add') with `C-x v v' and enter a description. > Check-in the initial revision (`cvs commit') with `C-x v v' and enter a > change comment. Yes, this is correct. Just to be candid, which version of CVS are you using? I'm currently on 1.12.9 but this has been happening since I was using Emacs 20 (or was it even 19.35?) and CVS 1.11. /* era */ -- If this were a real .signature, it would suck less. Well, maybe not.