all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Robert Prije <rprije@janestreet.com>
To: Sven Joachim <svenjoac@gmx.de>
Cc: 13930@debbugs.gnu.org
Subject: bug#13930: Emacs doesn't cope well if it can't access/create .emacs.d
Date: Mon, 13 May 2013 07:33:48 +0800	[thread overview]
Message-ID: <CAE9s2cpjxCk=QyHTO9te4DxKDfPHxQiQbsU9U+VgW=mqnjrihw@mail.gmail.com> (raw)
In-Reply-To: <87txogefz3.fsf@turtle.gmx.de>

[-- Attachment #1: Type: text/plain, Size: 1505 bytes --]

Hi, just checking what the status of this bug is?

Thanks.


On Wed, Mar 13, 2013 at 12:32 AM, Sven Joachim <svenjoac@gmx.de> wrote:

> On 2013-03-12 17:10 +0100, Eli Zaretskii wrote:
>
> >> Date: Tue, 12 Mar 2013 11:52:08 +0800
> >> From: Robert Prije <rprije@janestreet.com>
> >> Cc: 13930@debbugs.gnu.org
> >>
> >> It does exactly the same thing with --debug-init (says "creating
> directory:
> >> permission denied...") and supplies no further information.
>
> FWIW, this can be reproduced by creating ~/.emacs.d as a file rather
> than a directory:
>
> touch /tmp/.emacs.d
> HOME=/tmp emacs --no-init-file
>
> Than the error is "File exists: /tmp/.emacs.d/".
>
> > How about running it under GDB with a breakpoint on report_file_error
> > and on xsignal?  If you start GDB from the src directory of the Emacs
> > sources, the .gdbinit file there defines a command xbacktrace which
> > will produce a Lisp-level backtrace in addition to the C-level
> > backtrace produced by the "bt" command of GDB.
>
> Done that and found out that locate-user-emacs-file tries to create the
> directory:
>
> ,----
> | (gdb) xbacktrace
> | "make-directory-internal" (0xffffca98)
> | "make-directory" (0xffffcc1c)
> | "locate-user-emacs-file" (0xffffcd98)
> | 0x82d3208 PVEC_COMPILED
> | "funcall" (0xffffcf10)
> | "eval" (0xffffd080)
> | "custom-reevaluate-setting" (0xffffd1fc)
> | "mapc" (0xffffd308)
> | "command-line" (0xffffd4bc)
> | "normal-top-level" (0xffffd5d0)
> | (gdb)
> `----
>
> Cheers,
>        Sven
>

[-- Attachment #2: Type: text/html, Size: 2270 bytes --]

  reply	other threads:[~2013-05-12 23:33 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-12  1:35 bug#13930: Emacs doesn't cope well if it can't access/create .emacs.d Robert Prije
2013-03-12  3:43 ` Stefan Monnier
2013-03-12  3:52   ` Robert Prije
2013-03-12  5:11     ` Stefan Monnier
2013-03-12  9:01       ` Robert Prije
2013-03-12 16:10     ` Eli Zaretskii
2013-03-12 16:29       ` Glenn Morris
2013-03-12 16:48         ` Eli Zaretskii
2013-03-12 16:32       ` Sven Joachim
2013-05-12 23:33         ` Robert Prije [this message]
2013-05-14  7:30           ` Glenn Morris
2013-05-14  8:46             ` Robert Prije
2013-05-14 16:01               ` Glenn Morris

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='CAE9s2cpjxCk=QyHTO9te4DxKDfPHxQiQbsU9U+VgW=mqnjrihw@mail.gmail.com' \
    --to=rprije@janestreet.com \
    --cc=13930@debbugs.gnu.org \
    --cc=svenjoac@gmx.de \
    /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.