emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Martin Beck <elwood151@web.de>
To: emacs-orgmode@gnu.org
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)	[thread overview]
Message-ID: <loom.20140315T082604-577@post.gmane.org> (raw)
In-Reply-To: 87eh273cd5.fsf@gmail.com

Jambunathan K <kjambunathan <at> gmail.com> writes:

> 
> M <Elwood151 <at> 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

  reply	other threads:[~2014-03-15  7:32 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-21 12:54 How to load .el file during startup and execute its commands (Win7/org8) elwood151
2014-02-10  9:28 ` Martin Beck
2014-03-12  9:55   ` FW: " M
2014-03-12 11:06     ` Jambunathan K
2014-03-15  7:32       ` Martin Beck [this message]
2014-03-12 15:17     ` Bastien
2014-03-12 15:29       ` John Hendy
2014-03-12 16:14         ` Bastien
2014-03-12 18:08           ` John Hendy
2014-03-15  7:35       ` Martin Beck

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.orgmode.org/

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

  git send-email \
    --in-reply-to=loom.20140315T082604-577@post.gmane.org \
    --to=elwood151@web.de \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.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).