From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#13113: 24.3.50; `x-create-frames' raises error trying to eval `directory-files' (???) Date: Fri, 07 Dec 2012 21:07:33 +0200 Message-ID: <83sj7hn0ju.fsf@gnu.org> References: <26644883476B4EF2B79E867B8DFA30C2@us.oracle.com> <83wqwtn1ot.fsf@gnu.org> <98D62AD6E9EC444D81A1248D595E56E5@us.oracle.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354907328 26928 80.91.229.3 (7 Dec 2012 19:08:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2012 19:08:48 +0000 (UTC) Cc: 13113@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Dec 07 20:09:01 2012 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 1Th3IB-0007at-L3 for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 20:08:59 +0100 Original-Received: from localhost ([::1]:43109 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th3Hz-00080o-CV for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 14:08:47 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:38886) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th3Hw-00080S-8M for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 14:08:45 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Th3Hv-0006X9-1N for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 14:08:44 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49000) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th3Hu-0006X4-UC for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 14:08:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Th3IE-0001hZ-F7 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 14:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 07 Dec 2012 19:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 13113 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 13113-submit@debbugs.gnu.org id=B13113.13549072936481 (code B ref 13113); Fri, 07 Dec 2012 19:09:02 +0000 Original-Received: (at 13113) by debbugs.gnu.org; 7 Dec 2012 19:08:13 +0000 Original-Received: from localhost ([127.0.0.1]:59251 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Th3HR-0001gU-K2 for submit@debbugs.gnu.org; Fri, 07 Dec 2012 14:08:13 -0500 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:56868) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Th3HQ-0001gN-5g for 13113@debbugs.gnu.org; Fri, 07 Dec 2012 14:08:13 -0500 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0MEO00300CT62000@a-mtaout23.012.net.il> for 13113@debbugs.gnu.org; Fri, 07 Dec 2012 21:07:51 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEO003GDD522B00@a-mtaout23.012.net.il>; Fri, 07 Dec 2012 21:07:50 +0200 (IST) In-reply-to: <98D62AD6E9EC444D81A1248D595E56E5@us.oracle.com> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.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:68132 Archived-At: > From: "Drew Adams" > Cc: <13113@debbugs.gnu.org> > Date: Fri, 7 Dec 2012 10:53:41 -0800 > > > (and auto-save-list-file-prefix (file-directory-p > > (file-name-directory > > auto-save-list-file-prefix)) > ... > > which is a fragment from menu-bar.el: > > > > (bindings--define-key menu [recover-session] > > '(menu-item "Recover Crashed Session" recover-session > > :enable > > (and auto-save-list-file-prefix > ... > > > And why that should raise this error, and what this error means, I > > > also have no idea. This means nothing to me - what is going on > > > here? > > > > My crystal ball says that directory traversal functions were invoked > > recursively, somehow. This is not supported on Windows, or at least > > that's my reading of the code. > > Can you elaborate a bit on what you mean by directory traversal functions being > invoked recursively? Well, the above snippet calls directory-files later on, which is the call that barfed. This is one API that invokes directory traversal -- a function that reads and returns all the file names in a directory. Another example is directory-files-and-attributes. Also, any file-name completion needs to traverse a directory. If some Lisp form in the call stack also called one of these functions, you could see this "no error" error, according to my reading of the code.