From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 102b9a,9f7fffd9b3f9b10b,start X-Google-Attributes: gid102b9a,public X-Google-Thread: fee84,9f7fffd9b3f9b10b,start X-Google-Attributes: gidfee84,public From: "Jeff G. Micono 9426" Subject: Emacs 19.29 vc problems and fix on DEC Alpha Date: 1995/10/31 Message-ID: <473u5r$9o@news.sandia.gov>#1/1 X-Deja-AN: 118375200 content-type: text/plain; charset=us-ascii organization: Sandia National Laboratories x-url: news:comp.emacs mime-version: 1.0 newsgroups: comp.emacs,comp.unix.osf.osf1 x-mailer: Mozilla 1.1N (X11; I; OSF1 V3.0 alpha) 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