[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
vc-mcvs-registered stub broken for ~
From: |
Alan Shutko |
Subject: |
vc-mcvs-registered stub broken for ~ |
Date: |
Tue, 17 Jun 2003 19:04:12 -0500 |
User-agent: |
Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) |
Please describe exactly what actions triggered the bug
and the precise symptoms of the bug:
emacs -q
M-: (vc-mcvs-registered "~/.emacs.bmk") RET
yields
Debugger entered--Lisp error: (wrong-type-argument stringp nil)
directory-file-name(nil)
(if (file-directory-p (expand-file-name "MCVS/CVS" dir)) t
(directory-file-name dir))
(setq dir (if (file-directory-p ...) t (directory-file-name dir)))
(while (and (stringp dir) (not ...)) (setq dir (if ... t ...)))
(let ((dir file)) (while (and ... ...) (setq dir ...)) (if (eq dir t) (progn
... ...)))
vc-mcvs-registered("~/.emacs.bmk")
eval((vc-mcvs-registered "~/.emacs.bmk"))
eval-expression((vc-mcvs-registered "~/.emacs.bmk") nil)
call-interactively(eval-expression)
This happens because in the loop in the vc-mcvs-registered stub in
loaddefs.el, (file-name-directory "~") is called, which returns nil,
so dir is set to nil causing the error.
I've noticed this problem with both bookmark-default-file and
save-place-file. Both have "~/" in the path, which breaks this.
If I load vc-mcvs, I can save the problems.
In GNU Emacs 21.3.50.5 (i686-pc-linux-gnu, X toolkit, Xaw3d scroll bars)
of 2003-06-17 on wesley.springies.com
Important settings:
value of $LC_ALL: nil
value of $LC_COLLATE: C
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US
locale-coding-system: iso-latin-1
default-enable-multibyte-characters: t
Recent input:
s <help-echo> <down-mouse-1> <mouse-1> <help-echo>
<down-mouse-1> <mouse-1> <help-echo> s <help-echo>
<down-mouse-1> <mouse-1> d x s <down-mouse-1> <mouse-1>
C-h f C-g M-x f i n d - f u <tab> <return> <return>
q q C-x C-s C-g <help-echo> M-: ( C-g C-g M-: ( c <backspace>
v c - m c v s - r e g i s t e r e d SPC " ~ / . e m
a c s . b m l <backspace> <backspace> m k " ) <return>
<help-echo> <down-mouse-1> <mouse-1> C-x h <switch-frame>
M-x r e m <backspace> p o r <tab> <return>
Recent messages:
Invalid face text property value: temp-face- [7 times]
QuitInvalid face text property value: temp-face-
Invalid face text property value: temp-face- [3 times]
QuitInvalid face text property value: temp-face-
Invalid face text property value: temp-face- [15 times]
Entering debugger...
Invalid face text property value: temp-face- [8 times]
Mark set [2 times]
Invalid face text property value: temp-face- [8 times]
Loading emacsbug...done
--
Alan Shutko <address@hidden> - I am the rocks.
Looking for a developer in St. Louis? http://web.springies.com/~ats/
If his brain were a TV, the slogan would be "All static, all the time!"
- vc-mcvs-registered stub broken for ~,
Alan Shutko <=