From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K 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 Message-ID: <87eh273cd5.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:53677) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNgz5-0003vo-1Z for Emacs-orgmode@gnu.org; Wed, 12 Mar 2014 07:06:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WNgyw-0007to-D8 for Emacs-orgmode@gnu.org; Wed, 12 Mar 2014 07:06:02 -0400 Received: from mail-pb0-x235.google.com ([2607:f8b0:400e:c01::235]:42645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WNgyv-0007tj-Uq for Emacs-orgmode@gnu.org; Wed, 12 Mar 2014 07:05:54 -0400 Received: by mail-pb0-f53.google.com with SMTP id rp16so936108pbb.40 for ; Wed, 12 Mar 2014 04:05:53 -0700 (PDT) In-Reply-To: (M.'s message of "Wed, 12 Mar 2014 10:55:56 +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: M Cc: emacs orgmode-mailinglist M 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")