From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bruce Hackett Subject: Re: Command key problem in agenda view Date: Fri, 16 Jan 2009 15:37:09 +0000 Message-ID: <4970A9A5.1070800@met.no> References: <10514.83.109.5.94.1232054603.squirrel@webmailsunny.oslo.dnmi.no> <87wscvekby.fsf@CPU107.opentrends.net> <497075DB.1020603@met.no> <87eiz39ybi.fsf@CPU107.opentrends.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0741907167==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNql2-0002H7-8i for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 10:37:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNqkz-0002GC-LN for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 10:37:15 -0500 Received: from [199.232.76.173] (port=57084 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNqkz-0002G1-6s for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 10:37:13 -0500 Received: from smtp1.oslo.dnmi.no ([128.39.62.241]:34753) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNqky-0006O7-Er for emacs-orgmode@gnu.org; Fri, 16 Jan 2009 10:37:12 -0500 In-Reply-To: <87eiz39ybi.fsf@CPU107.opentrends.net> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Daniel Clemente Cc: emacs-orgmode@gnu.org --===============0741907167== Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Daniel Clemente wrote:
However, there is another small issue here: Isn't there a better way to locally
install an updated version of an emacs package that comes with a centrally
managed OS? In my case, there is an enterprise-wide installation of emacs that I
cannot change - I had to ask a system administrator to make the filename change
for me.
    

  Well, yes; many people do that. You just install your files in a local directory (I use ~/.emacs.d/, for instance ~/.emacs.d/org-6.17c) and ask Emacs to use it; in your .emacs.el:
  (add-to-list 'load-path "~/.emacs.d/org-6.17c/lisp") (require 'org-install)

  Automatically, Emacs loads the one you specified instead of the global one. I think it is because add-to-list adds elements at the beginning of the list, therefore with more priority. Check: C-h v load-path RET

  I never had the problem of a global file overwriting my settings; Emacs behaves very well with that.


-- Daniel
  
I checked my load-path and the local site was at the end of the list. What I have in my .emacs is similar to yours, but not quite the same:

(setq load-path (append load-path '("~/.emacs.d/org/lisp")))

This was something I picked up long, long ago, and never worried about. My guess is that "append" really means just that, and that "add-to-list" means prepending.

Anyway, org-mode is working correctly now. Thanks for your help!
Bruce



-- 
------------------------------------------------------------------------
   Bruce Hackett                         Senior Scientist
   Norwegian Meteorological Institute (met.no), R & D Div.
   P.O. Box 43 - Blindern                e-mail: Bruce.Hackett@met.no
   N-0313 Oslo                           Phone:  +47 22 96 33 39
   NORWAY                                Fax:    +47 22 96 33 80
                                         Mob:    +47 48 048 958
   URL:  http://met.no/english/r_and_d_activities/people/bruceh.html
------------------------------------------------------------------------
--===============0741907167== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0741907167==--