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 15:09:11 -0800 (PST) Message-ID: 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 1390691419 25266 80.91.229.3 (25 Jan 2014 23:10:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jan 2014 23:10:19 +0000 (UTC) To: 16553@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 26 00:10:25 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 1W7CMr-0008HQ-5A for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jan 2014 00:10:25 +0100 Original-Received: from localhost ([::1]:52831 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CMq-0005g4-ED for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jan 2014 18:10:24 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43313) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CMd-0005Tm-CV for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 18:10:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W7CMU-0007Zw-Pb for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 18:10:11 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:50197) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W7CMU-0007Wu-Mr for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 18:10:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W7CMU-0006o6-7m for bug-gnu-emacs@gnu.org; Sat, 25 Jan 2014 18:10: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 23:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16553 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16553-submit@debbugs.gnu.org id=B16553.139069135526100 (code B ref 16553); Sat, 25 Jan 2014 23:10:02 +0000 Original-Received: (at 16553) by debbugs.gnu.org; 25 Jan 2014 23:09:15 +0000 Original-Received: from localhost ([127.0.0.1]:35983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7CLj-0006mt-4p for submit@debbugs.gnu.org; Sat, 25 Jan 2014 18:09:15 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:24774) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W7CLh-0006ml-7A for 16553@debbugs.gnu.org; Sat, 25 Jan 2014 18:09:13 -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 s0PN9BvD004719 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for <16553@debbugs.gnu.org>; Sat, 25 Jan 2014 23:09:12 GMT Original-Received: from userz7021.oracle.com (userz7021.oracle.com [156.151.31.85]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0PN9AbP021763 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for <16553@debbugs.gnu.org>; Sat, 25 Jan 2014 23:09:11 GMT Original-Received: from abhmp0003.oracle.com (abhmp0003.oracle.com [141.146.116.9]) by userz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0PN99IO005236 for <16553@debbugs.gnu.org>; Sat, 25 Jan 2014 23:09:09 GMT In-Reply-To: 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-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:84021 Archived-At: And in fact, if I do not redefine `describe-function-1', i.e., if I evaluate the original definition, then I get the same error. I did `debug-on-entry' for `help-fns--autoloaded-p' and then traced things until the error was produced. This is what I saw: All of the calls to `file-truename' that I saw returned the right values. There were multiple calls to `file-name-sans-extension', each of which, except for the last, was passed an absolute file name and returned the right value. The last of these correct calls was this one: Debugger entered--entering a function: * file-name-sans-extension("d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp= /emacs-lisp/cl-indent.elc") That returned, correctly, "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/lisp/emacs-lisp/cl-indent" (None of the calls involved file handlers or symlinks, FWIW.) The next thing I saw in the debugger was this bizarre call to `file-name-sans-extension': Debugger entered--entering a function: * file-name-sans-extension((require . fit-frame)) * #[514...] * apply(#[514...] (message-tab "d:/Emacs-24-2014-01-23/share/emacs/24.3.50/= lisp/gnus/message.el")) * help-fns--autoloaded-p(message-tab "d:/Emacs-24-2014-01-23/share/emacs/24= .3.50/lisp/gnus/message.el") describe-function-1(message-tab) describe-key("=09" 1 nil) call-interactively(describe-key nil nil) command-execute(describe-key) That is, as soon as the previous call to file-name-sans-extension returned, correctly (and I traced that call step by step, using `d'), `d' in the debugger came up with what you see above. I also tried `debug-on-entry' for `describe-function-1' (the vanilla Emacs version) and then `C-h f message-tab'. Same thing. My wild guess is that the problem comes somehow from using Cygwin (?).