From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Emanuel Berg Newsgroups: gmane.emacs.help Subject: Re: Help Date: Wed, 11 May 2016 01:17:57 +0200 Message-ID: <87oa8djye2.fsf@debian.uxu> References: <8760uokqg4.fsf@debian.uxu> <87r3dbtyfw.fsf@ddej.ddeb.org> <20160509032222524260391@bob.proulx.com> <87h9e7tuo6.fsf@ddej.ddeb.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462922334 16381 80.91.229.3 (10 May 2016 23:18:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 10 May 2016 23:18:54 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed May 11 01:18:43 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b0GvI-00022J-VR for geh-help-gnu-emacs@m.gmane.org; Wed, 11 May 2016 01:18:41 +0200 Original-Received: from localhost ([::1]:49565 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0GvI-00040a-7c for geh-help-gnu-emacs@m.gmane.org; Tue, 10 May 2016 19:18:40 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55849) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Guv-0003bz-Ry for help-gnu-emacs@gnu.org; Tue, 10 May 2016 19:18:19 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Gur-000360-Hm for help-gnu-emacs@gnu.org; Tue, 10 May 2016 19:18:16 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:46783) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Gur-00035Y-3x for help-gnu-emacs@gnu.org; Tue, 10 May 2016 19:18:13 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1b0Gup-0001V4-En for help-gnu-emacs@gnu.org; Wed, 11 May 2016 01:18:11 +0200 Original-Received: from 131.207.216.81.static.u.siw.siwnet.net ([81.216.207.131]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 May 2016 01:18:11 +0200 Original-Received: from embe8573 by 131.207.216.81.static.u.siw.siwnet.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 11 May 2016 01:18:11 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: help-gnu-emacs@gnu.org Original-Lines: 64 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 131.207.216.81.static.u.siw.siwnet.net Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) Cancel-Lock: sha1:LCR+1+NLgpMUWTwXtgj4TcxpCCo= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:109922 Archived-At: Dejan Jocic writes: >> This sounds very odd. It should load ~/.emacs at >> the least. If it were me I would put a message in >> the file to verify this. Right at the top I would >> put this. (message "[reading file ~/.emacs]") ; >> -*-emacs-lisp-*- > > No need for that, it is obvious that it does not > read it. For example, I have some custom appearance > and added Melpa in my init file. It does not "see" > it on start, but it does after I do M-x eval-buffer > on init file. Try instead to find out what files it *does* read. This can help you pinpoint a user inconsistency problem if you learn some unexpected config files are read instead. Use the man page to find out how to put Emacs on red-alert and maximum verboseness and then examine the log after startup. > I'm starting it both in terminal and in X graphical > version. Result is same, it doesn not read init > file, no matter which one i choose to use. So, > neither ~/.emacs nor ~/emacs.d/init.el work. > Of course, I do not have both in same time. Btw, > Emacs seems to prefere ~/emacs.d/init.el cause that > is where it autosaves. It autosaved some stuff there > even when i had ~/.emacs. Think that it did not > happen beffore. ... didn't you say you were on Windows 10? On a Unix system this sounds like a file, user, link, or path problem. The file: see if there isn't a byte-compiled version (with an ".elc" extension) that gets loaded instead! (And verify that you systems shows the correct time, with 'date'.) In the shell, run 'whoami' and 'echo $USER'. Then check the `user-login-name' and `user-real-login-name' variables in Emacs. Also examine what happens when you type "emacs" - track down the binary with 'type' (in bash) or 'whence' (in zsh) - if it is a link, track it further with 'readlink -e LINK' - I have a zsh function to do this all at once, if you happen to use zsh [1]. Last examine $PATH (left-to-right) and `load-path'. Everything looks good? Can you load stuff from ~/.emacs.d/ with `load', for example? I don't think Emacs needs `load-path' to find the initial init file (whoa), but instead just uses HOME, but it can't hurt to have them paths correct as well. [1] http://user.it.uu.se/~embe8573/conf/.zsh/ide -- underground experts united .... http://user.it.uu.se/~embe8573 Emacs Gnus Blogomatic ......... http://user.it.uu.se/~embe8573/blogomatic - so far: 26 Blogomatic articles -