all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-mode: initial comments lost if using CVS
@ 2005-08-25 11:10 era eriksson
  2005-08-25 16:30 ` Aaron S. Hawley
  0 siblings, 1 reply; 5+ messages in thread
From: era eriksson @ 2005-08-25 11:10 UTC (permalink / raw)


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.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-08-26 18:39 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-25 11:10 vc-mode: initial comments lost if using CVS era eriksson
2005-08-25 16:30 ` Aaron S. Hawley
2005-08-26  6:09   ` era eriksson
2005-08-26 13:07     ` Aaron S. Hawley
2005-08-26 18:39       ` era eriksson

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.