From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dejan Jocic Newsgroups: gmane.emacs.help Subject: Re: Help Date: Mon, 09 May 2016 10:42:11 +0200 Message-ID: <87r3dbtyfw.fsf@ddej.ddeb.org> References: <8760uokqg4.fsf@debian.uxu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1462785379 12837 80.91.229.3 (9 May 2016 09:16:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 9 May 2016 09:16:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 09 11:16:13 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 1azhIL-00034z-Pq for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2016 11:16:05 +0200 Original-Received: from localhost ([::1]:40123 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azhIL-0006DY-8S for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2016 05:16:05 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36424) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azhHW-00056p-Bb for help-gnu-emacs@gnu.org; Mon, 09 May 2016 05:15:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1azhHT-0004Gt-Iv for help-gnu-emacs@gnu.org; Mon, 09 May 2016 05:15:14 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:50866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1azhHT-0004Gb-8Q for help-gnu-emacs@gnu.org; Mon, 09 May 2016 05:15:11 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1azhHN-000235-BT for help-gnu-emacs@gnu.org; Mon, 09 May 2016 11:15:05 +0200 Original-Received: from 178.220.209.32 ([178.220.209.32]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 11:15:05 +0200 Original-Received: from jodejka by 178.220.209.32 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 09 May 2016 11:15:05 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 47 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 178.220.209.32 User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4 (gnu/linux) Cancel-Lock: sha1:NIto3UX8Q7ITfXM/+x/mUP2Pg1c= 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:109904 Archived-At: Emanuel Berg writes: > ... writes: > >> I wanna ask a question about init.el. I write Elisp >> codes in it, but Emacs Seems don,t load it. Why? > > Are you sure that is the file that is being read on > Emacs startup? In the Unix world, the file is .emacs, > because typically every program has an init file (or > several), and many end up in the user's home > directory, so they can't be called "init". Not even in > this case with the Elisp extention, as other Emacs > components would also be ".el"! > > But you can still call it whatever you want and just > load it from .emacs - set the `load-path' there as > well so Emacs will know where to look! > > But even so calling it "init" is perhaps not as good > as calling it something that describes what it > contains - "keybindings.el", for example, if that is > what it is. > > Good luck! > > Come back with more questions if you don't get it > to work. > > PS. Another thing - try (succeed) to write a subject > line which somehow describes your problem - this > doesn't have to be super-elaborate, just "Emacs > can't find init.el on startup" or something. In my case, it does not matter, it does not load it from either ~/.emacs nor from ~/.emacs.d/init.el. It did load it from ~/.emacs on my previous installs, both Debian Wheezy and Debian Jessie with Gnome 3 as DE. Then, for some experimenting, I've did fresh install of Debian Jessie with KDE and it did not work. I'm now back on Gnome 3, but it still does not work. I must do eval-buffer on it every time after start. There is one more annoying thing with it. When I start Emacs with shortcut keys, it reads my ~/.Xresources. But when I start it from that Gnome 3 dash where favorite apps are, it does not. Xterm reads same ~/.Xresources in both cases.