unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#11490: vc-next-action overwrites changes in non-checked-out RCS file
@ 2012-05-16 19:29 Jonathan Kamens
  2012-05-16 20:12 ` Glenn Morris
  0 siblings, 1 reply; 12+ messages in thread
From: Jonathan Kamens @ 2012-05-16 19:29 UTC (permalink / raw
  To: 11490

[-- Attachment #1: Type: text/plain, Size: 868 bytes --]

GNU Emacs 24.0.95.1 (x86_64-redhat-linux-gnu, GTK+ Version 2.24.10) of 
2012-04-06 on x86-13.phx2.fedoraproject.org

Make an RCS file writable with chmod +w without locking it.

Make changes to the file.

Type C-x v v.

The file will be locked and checked out and your changes will be 
overwritten.

This is Bad, Bad, Bad. It needs to check if there are non-checked-out 
changes and ask whether to preserve them.

It used to do this. I have no idea why it's behaving differently now or 
when it started behaving this way, but it's clearly wrong and dangerous, 
given the potential to lose work.

I lost a whole day of work recently as a result of this bug. Yeah, it 
was user error, but that's not really the point. It's easy to protect 
the user from losing work due to this editor, and it's something that 
Emacs used to do, so it should continue to do it.

   jik


[-- Attachment #2: Type: text/html, Size: 1204 bytes --]

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

end of thread, other threads:[~2013-01-05  9:35 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-05-16 19:29 bug#11490: vc-next-action overwrites changes in non-checked-out RCS file Jonathan Kamens
2012-05-16 20:12 ` Glenn Morris
2012-05-17  1:17   ` Jonathan Kamens
2012-05-18  0:45     ` Glenn Morris
2012-05-18 14:38       ` Jonathan Kamens
2012-05-22  3:57         ` Glenn Morris
2013-01-04  2:57           ` Chong Yidong
2013-01-04  3:11             ` Glenn Morris
2013-01-04  3:17               ` Jonathan Kamens
2013-01-04  3:21                 ` Glenn Morris
2013-01-04  3:33                   ` Jonathan Kamens
2013-01-05  9:35                     ` Chong Yidong

Code repositories for project(s) associated with this public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).