Your message dated Thu, 23 Jan 2014 04:22:09 +0000
with message-id <[email protected]>
and subject line Closing old emacs21 bugs
has caused the Debian Bug report #170794,
regarding emacs21: vc-next-action-on-file fails to handle RCS owner changes
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
170794: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=170794
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: emacs21
Version: 21.2-1
Severity: normal

vc.el of current emacs21 has this piece of code which is activated by
RCS files which somebody else has changed but not committed:

       ;; Abnormal: edited but read-only
       ((and visited (eq state 'edited)
             buffer-read-only (not (file-writable-p file)))
        ;; Make the file+buffer read-write.  If the user really wanted to
        ;; commit, he'll get a chance to do that next time around, anyway.
        (message "File is edited but read-only; making it writable")
        (set-file-modes buffer-file-name
                        (logior (file-modes buffer-file-name) 128))
        (toggle-read-only -1))

The code is sensible but set-file-modes fails if you are not the owner
of the file (which is the case with RCS in this situation).  Thus there
should be some kind of fallback.  (The modes could be changed by copying
the file, unlinking the original, and moving the copy into the place of
the original.)

I corrected this locally by redefining vc-next-action-on-file not to
account this situation at all.  Thus it falls to normal commit, which
handles the situation fine with RCS.


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux mars 2.4.17 #1 Wed Mar 13 14:54:41 EET 2002 i686
Locale: LANG=C, LC_CTYPE=fi_FI@euro

Versions of packages emacs21 depends on:
ii  dpkg                    1.9.21           Package maintenance system for Deb
ii  emacsen-common          1.4.15           Common facilities for all emacsen.
ii  libc6                   2.2.5-11.1       GNU C Library: Shared libraries an
ii  libjpeg62               6b-5             The Independent JPEG Group's JPEG 
ii  liblockfile1            1.03             NFS-safe locking library, includes
ii  libncurses5             5.2.20020112a-8  Shared libraries for terminal hand
ii  libpng2                 1.0.12-3.woody.2 PNG library - runtime
ii  libtiff3g               3.5.5-6          Tag Image File Format library
ii  xaw3dg                  1.5-14           Xaw3d widget set
ii  xlibs                   4.1.0-17         X Window System client libraries
ii  zlib1g                  1:1.1.4-2        compression library - runtime



--- End Message ---
--- Begin Message ---
Hi! I'm closing this bug, since it affected emacs21, and the current
version is 23. If you still encounter this problem, please feel free to
re-open it and move it to the appropriate package, or ask me to do it.

 Solveig

--- End Message ---

Reply via email to