From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16553: 24.3.50; `file-truename' returns a cons? (wrong-type-argument stringp (...)) Date: Sat, 25 Jan 2014 14:35:38 -0800 (PST) Message-ID: 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 1390689440 5840 80.91.229.3 (25 Jan 2014 22:37:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 22:37:20 +0000 (UTC) To: 16553@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jan 25 23:37:27 2014 Return-path: Envelope-to: geb-bug-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 1W7Bqw-0003wS-P4 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 23:37:26 +0100 Original-Received: from localhost ([::1]:52750 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Bqw-0001fy-CJ for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 17:37:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37739) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7Bqj-0001fj-4O for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:37:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BqZ-00079c-23 for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:37:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50176) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BqY-00079Y-UI for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W7BqY-0005wV-Hc for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jan 2014 22:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.139068937022772 (code B ref -1); Sat, 25 Jan 2014 22:37:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 25 Jan 2014 22:36:10 +0000 Original-Received: from localhost ([127.0.0.1]:35962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Bph-0005vC-VZ for submit@debbugs.gnu.org; Sat, 25 Jan 2014 17:36:10 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35938) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7Bpf-0005v1-H7 for submit@debbugs.gnu.org; Sat, 25 Jan 2014 17:36:08 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BpV-0006rc-16 for submit@debbugs.gnu.org; Sat, 25 Jan 2014 17:36:07 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:60971) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BpU-0006rY-UC for submit@debbugs.gnu.org; Sat, 25 Jan 2014 17:35:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BpM-0001ZC-8E for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:35:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7BpD-0006h2-MU for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:35:48 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:26591) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7BpD-0006fZ-Bu for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 17:35:39 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s0PMZbsX019338 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sat, 25 Jan 2014 22:35:38 GMT Original-Received: from userz7022.oracle.com (userz7022.oracle.com [156.151.31.86]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0PMZaWl020416 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sat, 25 Jan 2014 22:35:37 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userz7022.oracle.com (8.14.5+Sun/8.14.4) with ESMTP id s0PMZaaq018049 for ; Sat, 25 Jan 2014 22:35:36 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84017 Archived-At: I ran into this when using my setup, not emacs -Q Debugger entered--Lisp error: (wrong-type-argument stringp (require . fit-f= rame)) file-name-nondirectory((require . fit-frame)) file-name-sans-extension((require . fit-frame)) help-fns--autoloaded-p(message-tab=20 "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp/g= nus/message.el") describe-function-1(message-tab) describe-key("=09" 1 nil) call-interactively(describe-key nil nil) command-execute(describe-key) I do redefine `describe-function-1', but I don't see why that should be involved here. It seems to me that the call to `help-fns--autoloaded-p' is valid, and from then on only vanilla code is involved, AFAIK. `help-fns--autoloaded-p' does this, at the start: (let* ((file (file-name-sans-extension (file-truename file))) >From the above backtrace, I can only guess that `file-truename' applied to that file name must be returning a cons. However, if I use `M-:' to evaluate: (file-truename "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp/gnus/messag= e.el") then I get the same absolute file name back - no cons. So I'm puzzled. In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2014-01-23 on ODIEONE Bzr revision: 116129 monnier@iro.umontreal.ca-20140123150141-qopqqhpm8jqo8a= 18 Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include'