From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: icicles Lisp error Date: Wed, 17 Dec 2014 07:05:22 -0800 (PST) Message-ID: <73008f0b-1d75-4c57-a413-5314b9fa22ee@default> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1418828784 23283 80.91.229.3 (17 Dec 2014 15:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 17 Dec 2014 15:06:24 +0000 (UTC) To: Rainer Stengele , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 17 16:06:17 2014 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Y1GB7-0000Rx-Bm for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2014 16:06:17 +0100 Original-Received: from localhost ([::1]:49956 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GB6-0002C0-9e for geh-help-gnu-emacs@m.gmane.org; Wed, 17 Dec 2014 10:06:16 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50273) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GAR-0001wr-Vv for help-gnu-emacs@gnu.org; Wed, 17 Dec 2014 10:05:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Y1GAJ-0000OV-8K for help-gnu-emacs@gnu.org; Wed, 17 Dec 2014 10:05:35 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:40515) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Y1GAJ-0000OF-2F for help-gnu-emacs@gnu.org; Wed, 17 Dec 2014 10:05:27 -0500 Original-Received: from ucsinet22.oracle.com (ucsinet22.oracle.com [156.151.31.94]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id sBHF5Od0021245 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 17 Dec 2014 15:05:25 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by ucsinet22.oracle.com (8.14.5+Sun/8.14.5) with ESMTP id sBHF5NiC016103 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 17 Dec 2014 15:05:24 GMT Original-Received: from abhmp0011.oracle.com (abhmp0011.oracle.com [141.146.116.17]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id sBHF5NkV019528; Wed, 17 Dec 2014 15:05:23 GMT In-Reply-To: X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8.2 (807160) [OL 12.0.6691.5000 (x86)] X-Source-IP: ucsinet22.oracle.com [156.151.31.94] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 141.146.126.69 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:101640 Archived-At: 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 =3D "." 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 >=20 > icicles is from this morning, uncompiled. >=20 > 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=01!\207" [byte-compile-report-error] 3 "\n\n(fn ERROR- > INFO)"]((wrong-type-argument stringp nil)) > funcall(#[257 "\300=01!\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)