From: Eli Zaretskii <eliz@gnu.org>
To: Drew Adams <drew.adams@oracle.com>
Cc: 13113@debbugs.gnu.org
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 [thread overview]
Message-ID: <83sj7hn0ju.fsf@gnu.org> (raw)
In-Reply-To: <98D62AD6E9EC444D81A1248D595E56E5@us.oracle.com>
> From: "Drew Adams" <drew.adams@oracle.com>
> 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.
next prev parent reply other threads:[~2012-12-07 19:07 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-12-07 16:30 bug#13113: 24.3.50; `x-create-frames' raises error trying to eval `directory-files' (???) Drew Adams
2012-12-07 18:42 ` Eli Zaretskii
2012-12-07 18:53 ` Drew Adams
2012-12-07 19:07 ` Eli Zaretskii [this message]
2012-12-07 19:22 ` Drew Adams
2012-12-07 21:28 ` Eli Zaretskii
2012-12-07 21:36 ` Drew Adams
2012-12-07 21:43 ` Eli Zaretskii
2012-12-07 21:48 ` Drew Adams
2012-12-07 21:53 ` Eli Zaretskii
2014-02-10 4:49 ` Lars Ingebrigtsen
2014-02-10 5:00 ` Drew Adams
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83sj7hn0ju.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=13113@debbugs.gnu.org \
--cc=drew.adams@oracle.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.