All,
using vc on XEmacs 21.4, git operations error out with "No such coding
system: utf-8".
M-x toggle-debug-on-error before a C-x v l gives
Debugger entered--Lisp error: (error "No such coding system" utf-8)
start-process-internal("git" #<buffer "*vc-change-log*">
"git"
"rev-list" "--pretty" "HEAD" "--"
"Makefile")
apply(start-process-internal "git" #<buffer "*vc-change-log*">
"git"
("rev-list" "--pretty" "HEAD" "--"
"Makefile"))
start-process("git" #<buffer "*vc-change-log*">
"git" "rev-list"
"--pretty" "HEAD" "--" "Makefile")
apply(start-process "git" #<buffer "*vc-change-log*">
"git"
("rev-list" "--pretty" "HEAD" "--"
"Makefile"))
ad-Orig-vc-do-command("*vc-change-log*" async "git"
"Makefile"
"rev-list" "--pretty" "HEAD" "--")
apply(ad-Orig-vc-do-command "*vc-change-log*" async "git"
"Makefile"
("rev-list" "--pretty" "HEAD" "--"))
(setq ad-return-value (apply (quote ad-Orig-vc-do-command) buffer
okstatus command file flags))
(if (or (and ... ...) (and ... ...)) (setq ad-return-value (apply ...
buffer okstatus command file flags)) (setq ad-return-value (apply ...
buffer okstatus command file flags)))
(let ((file ...)) (if (or ... ...) (setq ad-return-value ...) (setq
ad-return-value ...)))
(let (ad-return-value) (let (...) (if ... ... ...)) ad-return-value)
vc-do-command("*vc-change-log*" async "git" "Makefile"
"rev-list"
"--pretty" "HEAD" "--")
(let ((name ...) (coding-system-for-read git-commits-coding-system))
(vc-do-command buffer (quote async) "git" name "rev-list"
"--pretty"
"HEAD" "--"))
vc-git-print-log("/misc/pkgsrc/wip/c-news/Makefile"
"*vc-change-log*")
apply(vc-git-print-log ("/misc/pkgsrc/wip/c-news/Makefile"
"*vc-change-log*"))
vc-call-backend(GIT print-log "/misc/pkgsrc/wip/c-news/Makefile"
"*vc-change-log*")
byte-code("..." [file vc-call-backend vc-backend print-log
"*vc-change-log*"] 5)
#<compiled-function (&optional focus-rev) "...(64)" [buffer-file-name
focus-rev file vc-ensure-vc-buffer vc-workfile-version err (byte-code
"Á!Ä$<88>Äq<87>" ... 5) (...) pop-to-buffer vc-exec-after let (...)
ignore-errors vc-call-backend quote vc-backend (...) (goto-char ...)
(forward-line -1) (while ... ... ...) (goto-char ...) (if ... ...)
(quote show-log-entry) (...)] 14
("/usr/pkg/lib/xemacs/xemacs-packages/lisp/vc/vc.elc" . 56788) nil>()
call-interactively(vc-print-log)
I tried to set gits-commit-coding-system in vc-git.el, but to no avail.
The brute-force approach
(require 'un-define)
appears to help, but seems to be frowned upon.
What is the proper way to use vc.git.el on 21.4?
Cheerio,
Hauke
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-3281
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta