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 23:28:16 +0200 Message-ID: <83obi5mu1b.fsf@gnu.org> References: <26644883476B4EF2B79E867B8DFA30C2@us.oracle.com> <83wqwtn1ot.fsf@gnu.org> <98D62AD6E9EC444D81A1248D595E56E5@us.oracle.com> <83sj7hn0ju.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1354915729 1781 80.91.229.3 (7 Dec 2012 21:28:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 7 Dec 2012 21:28:49 +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 22:29:02 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 1Th5Tf-0008Ns-5C for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 22:28:59 +0100 Original-Received: from localhost ([::1]:53982 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th5TS-0003Rj-Uf for geb-bug-gnu-emacs@m.gmane.org; Fri, 07 Dec 2012 16:28:46 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:35854) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th5TP-0003RR-H1 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 16:28:44 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Th5TO-00080s-50 for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 16:28:43 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:49117) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Th5TO-00080o-2A for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 16:28:42 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Th5Ti-0004wL-5Z for bug-gnu-emacs@gnu.org; Fri, 07 Dec 2012 16:29: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 21:29: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.135491573818980 (code B ref 13113); Fri, 07 Dec 2012 21:29:02 +0000 Original-Received: (at 13113) by debbugs.gnu.org; 7 Dec 2012 21:28:58 +0000 Original-Received: from localhost ([127.0.0.1]:59368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Th5Te-0004w5-Ea for submit@debbugs.gnu.org; Fri, 07 Dec 2012 16:28:58 -0500 Original-Received: from mtaout20.012.net.il ([80.179.55.166]:43700) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Th5Tb-0004vu-Rw for 13113@debbugs.gnu.org; Fri, 07 Dec 2012 16:28:56 -0500 Original-Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MEO00B00J591N00@a-mtaout20.012.net.il> for 13113@debbugs.gnu.org; Fri, 07 Dec 2012 23:28:34 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MEO00BWYJNL0V20@a-mtaout20.012.net.il>; Fri, 07 Dec 2012 23:28:34 +0200 (IST) In-reply-to: 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:68140 Archived-At: > From: "Drew Adams" > Cc: <13113@debbugs.gnu.org> > Date: Fri, 7 Dec 2012 11:22:24 -0800 > > > 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. > > Thx. As I said: > > >> I added a call to `(debug)' in a section of my code that is > >> eval'd during application of a completion function for file names. Granted, I saw that, as I've skimmed through the backtrace you posted. But having file-name completion in the backtrace does not yet mean the recursive call I was talking about materialized. What would need to have happened is that in the middle of searching some directory, some Lisp would need to be called that invoked another search in some (maybe other) directory. That is not a frequent occurrence.