From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Beck Subject: Re: FW: How to load .el file during startup and execute its commands (Win7/org8) Date: Sat, 15 Mar 2014 07:32:10 +0000 (UTC) Message-ID: References: <87eh273cd5.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:33119) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOj5I-0005IN-HP for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 03:32:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WOj5B-0003iw-7X for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 03:32:44 -0400 Received: from plane.gmane.org ([80.91.229.3]:41734) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WOj5B-0003ir-0R for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 03:32:37 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WOj59-0006NN-LP for emacs-orgmode@gnu.org; Sat, 15 Mar 2014 08:32:35 +0100 Received: from p5B2DB3C5.dip0.t-ipconnect.de ([91.45.179.197]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Mar 2014 08:32:35 +0100 Received: from elwood151 by p5B2DB3C5.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 15 Mar 2014 08:32:35 +0100 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Jambunathan K gmail.com> writes: > > M web.de> writes: > > > have to load my settings file manually (open, eval-buffer, close) at > > each startup... > > By hand, do > > M-x load-file RET path-to-file RET > > Now after you have done this, do > > M-x list-command-history RET > For my understanding: Is there a difference between load and load-file? Anyway, thanks a lot! That helped me quickly finding the source of my 2 real problems: I first loaded the second .el file with my custom settings from my .emacs and then afterwards overwrote these custom agenda settings like the agenda-files with the following commands in my .emacs, which had been inserted at the end of the .emacs file... :-( By placing the loading of my custom settings from the 2nd file at the end of my .emacs, the problem was solved. The other problem was, that due to a permissions problem, the evaluation of my .emacs file was interrupted at the (server-start) command.. Kind regards Martin