From: Jambunathan K <kjambunathan@gmail.com>
To: emacs-devel@gnu.org
Subject: Re: reconciling defvars - using package manager
Date: Mon, 10 Oct 2011 02:26:39 +0530 [thread overview]
Message-ID: <817h4dzxx4.fsf@gmail.com> (raw)
In-Reply-To: <81vcryj5hr.fsf@gmail.com> (Jambunathan K.'s message of "Mon, 10 Oct 2011 01:35:04 +0530")
> 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
`----
--
prev parent reply other threads:[~2011-10-09 20:56 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-09 20:05 reconciling defvars - using package manager Jambunathan K
2011-10-09 20:56 ` Jambunathan K [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=817h4dzxx4.fsf@gmail.com \
--to=kjambunathan@gmail.com \
--cc=emacs-devel@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 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.