unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Philippe Delavalade <philippe.delavalade@orange.fr>
To: help-gnu-emacs@gnu.org
Subject: Re: File .emacs not read
Date: Fri, 1 Dec 2017 12:07:07 +0100	[thread overview]
Message-ID: <20171201110706.GA6022@magellan.machin.org> (raw)
In-Reply-To: <87lginre22.fsf@hornfels.zedat.fu-berlin.de>

Le jeudi 30 novembre à 16:17, Loris Bennett a écrit :
> Hi,
> 
> Philippe Delavalade <philippe.delavalade@orange.fr> writes:
> 
> > Hi.
> >
> > I'm using emacs 25.3.1 under linux ; I just upgraded slint-14.2 to 14.2.1rc2.
> >
> > Now when starting emacs as user philippe or root or others, it seems that
> > ~/.emacs is not read and I obtain a window *warnings* saying : 
> >
> > Error (initialization): User GDM has no home directory
> >
> > I looked for this error on google but answers don't help me.
> >
> > Thanks for advices.
> 
> I don't think this is an Emacs problem.  GDM sounds like the Gnome
> Display Manager and on my Debian system the user 'Debian-gdm' is the
> owner of my Gnome shell.  Bizarrely you seemed to have managed to log in
> as a similar system user.  As this user doesn't have a home directory,
> let alone a .emacs, you get the error you are seeing.

Thanks for your answer.

I'm really logged as I should be (root, philippe, etc.).

I don't know the real status of gdm; Gnome is not installed, just gdm so
that accessibility for blind people works in a gui (I don't use this).

> 
> What does 'whoami' or 'id' say?  Maybe some other stuff than just slint
> got upgraded and broke your display manager.

Maybe but I'm using console.

I observed that if I use C-x C-u for instance, emacs asks me if I want to
enable the command for future editing sessions. If I say yes, it asks to
create directory /home/philippe/tmp/~GDM/. When saying yes, it creates
the directory with a .emacs in it with the line
(put 'upcase-region 'disabled nil)

But in a new cessions, it does not read this file .emacs and still asks
for upcasing the region. Then it creates a new .emacs exactly the same as .emacs~.

I'll try to see with the slint maintainer but I knwo he is not an emacs user...

Thanks again.

Regards.

-- 
Ph. Delavalade



  reply	other threads:[~2017-12-01 11:07 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.4870.1512053942.27995.help-gnu-emacs@gnu.org>
2017-11-30 15:17 ` File .emacs not read Loris Bennett
2017-12-01 11:07   ` Philippe Delavalade [this message]
2017-12-01 19:26     ` Emanuel Berg
2017-12-02 10:00       ` Philippe Delavalade
2017-12-03  1:02         ` Emanuel Berg
2017-12-01 19:32     ` Nick Dokos
2017-12-02 10:04       ` Philippe Delavalade
2017-11-30  8:26 Philippe Delavalade

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

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171201110706.GA6022@magellan.machin.org \
    --to=philippe.delavalade@orange.fr \
    --cc=help-gnu-emacs@gnu.org \
    /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.
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).