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

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

VC (RCS): unlocked-changes handling


From: Carl Henrik Lunde
Subject: VC (RCS): unlocked-changes handling
Date: Mon, 28 Mar 2005 19:37:35 +0200

Hi,

If you change a file without acquiring a lock, and then run
`vc-next-action', the following prompt appears: "File has unlocked
changes.  Claim lock retaining changes? "

If you answer yes, you retain your buffer as it was, but the file is
overwritten with the old version (as it was on last checking, but with
your lock).

The buffer is still read only, and buffer-modified-p => nil, so
save-buffer has no effect.  A stupid user (*cough*) may try
kill-buffer and find-file to reopen the buffer, and then end up with
loosing his changes.

I think both of these flags should be changed, and/or the buffer
saved.

Thanks for looking at this

  Carl

In GNU Emacs 22.0.50.2 (i686-pc-linux-gnu, GTK+ Version 2.6.4)
 of 2005-03-26 on eon




reply via email to

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