bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

vc-mode: initial comments lost if using CVS


From: era eriksson
Subject: vc-mode: initial comments lost if using CVS
Date: Thu, 25 Aug 2005 14:10:23 +0300

In GNU Emacs 21.3.1 (i386-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
 of 2005-03-05 on terranova, modified by Debian
configured using `configure '--build=i386-linux' '--host=i386-linux'
'--prefix=/usr' '--sharedstatedir=/var/lib' '--libexecdir=/usr/lib'
'--localstatedir=/var/lib' '--infodir=/usr/share/info'
'--mandir=/usr/share/man' '--with-pop=yes' '--with-x=yes'
'--with-x-toolkit=athena' 'CFLAGS=-DDEBIAN -g -O2'
'build_alias=i386-linux' 'host_alias=i386-linux''
Important settings:
  value of $LC_ALL: en_US.UTF-8
  value of $LC_COLLATE: sv_FI@euro.UTF-8
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: sv_FI@euro.UTF-8
  value of $LC_NUMERIC: sv_FI@euro.UTF-8
  value of $LC_TIME: sv_FI@euro.UTF-8
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8
  default-enable-multibyte-characters: t

Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:

The description of the variable vc-initial-comment is:

 ,-------------------------
 | vc-initial-comment's value is t
 |
 | Documentation:
 | *If non-nil, prompt for initial comment when a file is registered.
 |
 | You can customize this variable.
 |
 | Defined in `vc'.
 `-------------------------

My expectation would be that the initial comments would be passed in as
the new file's description. But under CVS, the Description: of a new
file is always empty if I've registered it in Emacs.

Steps to repro:

  M-: (setq vc-initial-comment 't)
  Create a buffer with some text in it. Save in a convenient location,
  such as /tmp/foo.txt
  vc-register (C-x v v)
  Supply an initial comment and finish (C-c C-c)
  (If you don't have an RCS or CVS subdirectory in /tmp; Emacs will
  offer to create an RCS subdirectory.)

If you were using RCS, at this point the file will be checked in, and
your initial comment will be visible in the description: when you type
C-x v l.

However, under CVS, the file is only "added" but not "committed" at this
point. The next C-x v v will ask for a commit comment, and actually
commit the current file to the repository.

Now, under CVS, if you type C-x v l, the description: field will be
empty, and there will be no trace of your initial comment.

This has been in Emacs vc-mode for as long as I've been trying to use
this feature.

/* era */

-- 
If this were a real .signature, it would suck less.  Well, maybe not.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]