* Emacs 19.29 vc problems and fix on DEC Alpha
@ 1995-10-31 5:00 Jeff G. Micono 9426
0 siblings, 0 replies; only message in thread
From: Jeff G. Micono 9426 @ 1995-10-31 5:00 UTC (permalink / raw)
I've noticed 2 problems with vc on Emacs 19.29 for DEC Alpha
using SCCS.
Problem and hack for vc-register:
=================================
The first is that C-x v i returns an error message from admin.
This is due to the fact that emacs fails to supply a value
to the -y argument. I got mine working by changing the following in
vc-backend-admin in vc.el (line 1533):
was: (vc-do-command 0 "admin" file 'MASTER ;; SCCS
(and rev (concat "-r" rev))
"-fb"
(concat "-i" file)
(and comment (concat "-y" comment))
(format
(car (rassq 'SCCS vc-master-templates))
(or (file-name-directory file) "")
(file-name-nondirectory file)))
is: (vc-do-command 0 "admin" file 'MASTER ;; SCCS
(and rev (concat "-r" rev))
"-fb"
(concat "-i" file)
;; (and comment (concat "-y" comment))
(format
(car (rassq 'SCCS vc-master-templates))
(or (file-name-directory file) "")
(file-name-nondirectory file)))
Problem with vc-toggle-read-only:
=================================
Once you've got the vc-register stuff working, there is still a
problem checking stuff back in. If you check out a file, change
it, and check it back in without killing the buffer containing the
file, everything is fine. But if you try this:
M-x find-file
test.c
## emacs recognizes SCCS minor mode
C-x C-q
## checked out, ready for edits
C-x k
## kill buffer
M-x find-file
test.c
## emacs recognizes SCCS minor mode
## then you make changes
C-x C-q
Now, you get an error from vcdiff:
test.c is not an SCCS file.
I then modified vcdiff to print out its arguments: Here's how
vcdiff is being run:
vcdiff -q test.c
Any help would be appreciated. Please post here as my email is
currently out of whack at sandia. If you must email me, use
my private email of aldebara@indirect.com.
Jeff Micono, Ktech Corporation
Mercenary for Sandia National Labs
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-10-31 5:00 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-10-31 5:00 Emacs 19.29 vc problems and fix on DEC Alpha Jeff G. Micono 9426
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox