[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: reconciling defvars - using package manager
From: |
Jambunathan K |
Subject: |
Re: reconciling defvars - using package manager |
Date: |
Mon, 10 Oct 2011 02:26:39 +0530 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (windows-nt) |
> The question concerns `org-inlinetask-export-templates' which is
> defvared in `org-inlinetask.el.
>
> In org-7.7 which is bundled with Emacs pretest the variable has some
> value say v1.
>
> In the daily builds, say org-20111009.tar, the above variable has a
> different value say v2.
>
> Now when I upgrade it to the daily build I find that the variable stays
> at the 7.7 value. As a user I was expecting that the variable reflects
> the org-20111009 setting.
This is a non-issue.
For the sake of record, org-inlinetask is an optional feature. So I had
this in my .emacs
,---- .emacs
|
| (require 'org-inlinetask) ;; this loads the Emacs-pretest version
|
| ;; end of init file
|
| ;; packages (and hence the daily org build) get inited here .
| ;; This is because `package-enable-at-startup' is t
| ;; So the org-inlinetask-export-templates' stays at it's 7.7 levels
| ;; This is what is unfortunate
`----
So, to get the expected behaviour, I need to have an explicit control
over when the packages get loaded. (I believe) this should work, going
by the manual.
,----
| (custom-set-variables
| '(package-enable-at-startup nil))
|
| ;; blah blah
|
| (package-initialize) ;; load the org daily build
|
| (require 'org-inlinetask) ;; live happily ever after
`----
--