GNU bug report logs - #13930
Emacs doesn't cope well if it can't access/create .emacs.d

Previous Next

Package: emacs;

Reported by: Robert Prije <rprije <at> janestreet.com>

Date: Tue, 12 Mar 2013 01:47:01 UTC

Severity: normal

Merged with 16154

Fixed in version 24.4

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Glenn Morris <rgm <at> gnu.org>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#13930: closed (Emacs doesn't cope well if it can't
 access/create .emacs.d)
Date: Tue, 14 May 2013 16:03:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Tue, 14 May 2013 12:01:51 -0400
with message-id <roobcdlfdc.fsf <at> fencepost.gnu.org>
and subject line Re: bug#13930: Emacs doesn't cope well if it can't access/create .emacs.d
has caused the debbugs.gnu.org bug report #13930,
regarding Emacs doesn't cope well if it can't access/create .emacs.d
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
13930: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=13930
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Robert Prije <rprije <at> janestreet.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Emacs doesn't cope well if it can't access/create .emacs.d
Date: Tue, 12 Mar 2013 09:35:55 +0800
[Message part 3 (text/plain, inline)]
If emacs can't reach or create .emacs.d it gets into a sort of half-loaded
state.

Here's an example of how this causes problems for me:

I often have processes spawn emacs for me using sudo.

My home directory has 700 permissions and exists on a root-squashed NFS
share. Consequently root can't reach it.

As a result, whenever I run sudo emacs on a file, it throws the error:

"Creating directory: Permission denied, /home/rprije/.emacs.d/"

in my minibuffer. It fails to load my file and I have to do C-x C-f on the
file to open it manually. If it's a temporarily created file, it often
loses the file completely and I can't regain it.

I'd have expected running with -Q or -q would help but it sadly makes no
difference.

$ emacs --version
GNU Emacs 23.2.1
[Message part 4 (text/html, inline)]
[Message part 5 (message/rfc822, inline)]
From: Glenn Morris <rgm <at> gnu.org>
To: 13930-done <at> debbugs.gnu.org
Subject: Re: bug#13930: Emacs doesn't cope well if it can't access/create
	.emacs.d
Date: Tue, 14 May 2013 12:01:51 -0400
Version: 24.4

Thanks for testing, applied to trunk. Barring unexpected, should be in 24.4.


This bug report was last modified 11 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.