unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#13930: Emacs doesn't cope well if it can't access/create .emacs.d
@ 2013-03-12  1:35 Robert Prije
  2013-03-12  3:43 ` Stefan Monnier
  0 siblings, 1 reply; 13+ messages in thread
From: Robert Prije @ 2013-03-12  1:35 UTC (permalink / raw)
  To: 13930

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

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

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-05-14 16:01 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
2013-05-14  7:30           ` Glenn Morris
2013-05-14  8:46             ` Robert Prije
2013-05-14 16:01               ` Glenn Morris

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).