* reconciling defvars - using package manager
@ 2011-10-09 20:05 Jambunathan K
2011-10-09 20:56 ` Jambunathan K
0 siblings, 1 reply; 2+ messages in thread
From: Jambunathan K @ 2011-10-09 20:05 UTC (permalink / raw)
To: emacs-devel
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.
I am wondering whether replacing defvar with defcustom will improve the
situation here
or
are there any other workarounds.
TIA,
Jambunathan K.
--
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: reconciling defvars - using package manager
2011-10-09 20:05 reconciling defvars - using package manager Jambunathan K
@ 2011-10-09 20:56 ` Jambunathan K
0 siblings, 0 replies; 2+ messages in thread
From: Jambunathan K @ 2011-10-09 20:56 UTC (permalink / raw)
To: emacs-devel
> 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
`----
--
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-10-09 20:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-09 20:05 reconciling defvars - using package manager Jambunathan K
2011-10-09 20:56 ` Jambunathan K
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.