From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Thien-Thi Nguyen Newsgroups: gmane.emacs.bugs Subject: Re: vc with rcs does not generate correct versions Date: Mon, 29 Oct 2007 14:58:17 +0100 Message-ID: <87k5p681l2.fsf@ambire.localdomain> References: <87myu2gurb.fsf@mat.ucm.es> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1193666395 4694 80.91.229.12 (29 Oct 2007 13:59:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 29 Oct 2007 13:59:55 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org To: Uwe Brauer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 29 14:59:53 2007 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 1ImV9e-0004pQ-El for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2007 14:59:46 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImV9V-0003Pe-9u for geb-bug-gnu-emacs@m.gmane.org; Mon, 29 Oct 2007 09:59:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1ImV9S-0003NI-Rt for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2007 09:59:34 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1ImV9R-0003M0-GW for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2007 09:59:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1ImV9R-0003Lv-Ax for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2007 09:59:33 -0400 Original-Received: from ppp-58-39.21-151.libero.it ([151.21.39.58] helo=ambire.localdomain) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1ImV9P-0007Iz-J4 for bug-gnu-emacs@gnu.org; Mon, 29 Oct 2007 09:59:32 -0400 Original-Received: from ttn by ambire.localdomain with local (Exim 4.63) (envelope-from ) id 1ImV8D-0000rX-8y; Mon, 29 Oct 2007 14:58:17 +0100 In-Reply-To: <87myu2gurb.fsf@mat.ucm.es> (Uwe Brauer's message of "Mon\, 29 Oct 2007 10\:00\:56 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.50 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Genre and OS details not recognized. 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:16864 Archived-At: () Uwe Brauer () Mon, 29 Oct 2007 10:00:56 +0100 emacs -q. Open a new text file, test.txt. Add 1 line register the file, execute vc-register. Add a new line, execute vc-toggle. Now the modeline tells me I am in version 1.2 co -p1 test.txt gives me as output the current file. but co -p2 test.txt tells me revision 2 absent I add a 3rd line and execute vc-toggle. same result. co -p3 test.txt tells me revision 2 absent Now I use (setq debug-on-error t) vc-version-other-window and I obtain an error message which I attach. The error is not surprising sind co did not return any version above 1!!! under RCS, a revision number is never a simple integer. there is always at least one dot. in the above tests, you may see results more consistent w/ your expectation if you use "-p1.2" and "-p1.3". that is, the "1." is not optional. thi