[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: icicles Lisp error
From: |
Drew Adams |
Subject: |
RE: icicles Lisp error |
Date: |
Wed, 17 Dec 2014 07:05:22 -0800 (PST) |
I could be wrong, but this looks like an Emacs bug. This code:
(file-relative-name "/home/rainer/.emacs.d/icicles/icicles-mode.el"
".")
is raising an error. This is what `file-relative-name' does
with its DIRECTORY argument (immediately):
(file-name-as-directory
(expand-file-name (or DIRECTORY default-directory)))
And for DIRECTORY = "." that should give the working directory as
a file name. I don't think the call to `file-relative-name' here
should be problematic.
Please consider reporting this to Emacs Dev: `M-x report-emacs-bug'.
> When starting up Emacs I run into this Lisp error when requiring
> icicles.
> GNU Emacs 24.3.1 (x86_64-pc-linux-gnu, GTK+ Version 3.8.2) of 2013-
> 07-27 on roseapple, modified by Debian
>
> icicles is from this morning, uncompiled.
>
> Debugger entered--Lisp error: (wrong-type-argument stringp nil)
> compare-strings("/home/rainer/.emacs.d/icicles/icicles-mode.el/"
> nil 0 nil nil nil nil)
> file-relative-name("/home/rainer/.emacs.d/icicles/icicles-mode.el"
> ".")
> byte-compile-abbreviate-
> file("/home/rainer/.emacs.d/icicles/icicles-mode.el" ".")
> byte-compile-warning-prefix(:error (:error "Error%s: "))
> display-warning(bytecomp "Wrong type argument: stringp, nil"
> :error "*Compile-Log*")
> byte-compile-log-warning("Wrong type argument: stringp, nil" nil
> :error)
> byte-compile-report-error((wrong-type-argument stringp nil))
> #[257 "\300!\207" [byte-compile-report-error] 3 "\n\n(fn ERROR-
> INFO)"]((wrong-type-argument stringp nil))
> funcall(#[257 "\300!\207" [byte-compile-report-error] 3 "\n\n(fn
> ERROR-INFO)"] (wrong-type-argument stringp nil))
> byte-compile(advice-compilation)
> ad-compile-function(describe-face)
> ad-activate-advised-definition(describe-face nil)
> ad-activate(describe-face nil)