Subject: bug#7188: 23.2; vc-initial-comment not honoured

From: "DLA, Referat WDV" <[email-masked]>
Date: Mon, 11 Oct 2010 15:31:20 +0200 (CEST)

bug description:

-find a RCS controlled file that is unchanged (so state line says something like "RCS-1.1")
 e.g. c:\temp\a.txt

-do some edits without a previous explicit check-out

-do a "vc-next-action"

-the file will be checked out from the repository and locked,
 without a warning like "File has unlocked changes. Claim lock retaining changes?",
 effectively discarding the last edits.

Expected behaviour: preserve the changes through warning against the unlocked changes.

In GNU Emacs 23.2.1 (i386-mingw-nt5.1.2600)
 of 2010-05-08 on G41R2F1
Windowing system distributor `Microsoft Corp.', version 5.1.2600
configured using `configure --with-gcc (3.4) --no-opt --cflags -Ic:/xpm/include'

Important settings:
  value of $LC_ALL: nil
  value of $LC_COLLATE: nil
  value of $LC_CTYPE: nil
  value of $LC_MESSAGES: nil
  value of $LC_MONETARY: nil
  value of $LC_NUMERIC: nil
  value of $LC_TIME: nil
  value of $LANG: DEU
  value of $XMODIFIERS: nil
  locale-coding-system: cp1252
  default enable-multibyte-characters: t

Major mode: Text

Minor modes in effect:
  shell-dirtrack-mode: t
  diff-auto-refine-mode: t
  show-paren-mode: t
  cua-mode: t
  recentf-mode: t
  tooltip-mode: t
  mouse-wheel-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t
  column-number-mode: t
  line-number-mode: t
  transient-mark-mode: t