emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: M <Elwood151@web.de>
Cc: emacs orgmode-mailinglist <Emacs-orgmode@gnu.org>
Subject: Re: FW: How to load .el file during startup and execute its commands (Win7/org8)
Date: Wed, 12 Mar 2014 16:36:14 +0530	[thread overview]
Message-ID: <87eh273cd5.fsf@gmail.com> (raw)
In-Reply-To: <CF45EDBC.1BBAC%Elwood151@web.de> (M.'s message of "Wed, 12 Mar 2014 10:55:56 +0100")

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

And copy-paste the relevant portion to your .emacs.  That is all.  No
need to mess with load-path.

----------------------------------------------------------------

Here is what I get, when I follow the above sequence on one of my files.

    (load-file "~/.emacs.d/lisp/hx.el")

  reply	other threads:[~2014-03-12 11:06 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 [this message]
2014-03-15  7:32       ` Martin Beck
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=87eh273cd5.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=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).