pdee/pdee — comment on commit fcae9287c97659c4dd094eee1f9334b938618206
File:  line 0
By gabrielelanaro:

2011/11/16 andreas-roehler <
reply@reply.github.com
>

> Am 16.11.2011 17:57, schrieb Gabriele Lanaro:
> > Notice that the customization of pdee-install-dir should be done before
> loading pdee (otherwise the variable isn't set).
>
> being not happy with pdee-install-dir
>
> with present INSTALL notes it should not be neccessary
>
>
> >
> > Since Emacs append the customizations at the end of the file
>
>
>
I've had problems to customize the PYTHONPATH for the custom python
libraries (pdee-python.el line 11):

(setenv "PYTHONPATH"
(concat
(getenv "PYTHONPATH") path-separator
(concat (expand-file-name pdee-install-dir) "python-libs/")))

If the pdee-install-dir is not set, it doesn't load the libraries
bundled.(you have anyway a working version because you have rope and
pymacs installed system-wide (I've had problem loading ropemacs
without setting the variable).

> Can't see that
>
> made the following test:
>
> saved a defcustom-test.el without evaluating it:
>
> ;;;;;;;;;;
> (defcustom letsee "myvalue"
> "Some test"
> :type 'string
> :group 'convenience)
>
> (message "%s" letsee)
> ;;;;;;;;;;
>
> then from scratch buffer:
>
> (load "MY_PATH/defcustom-test.el")
>
> -->
>
> myvalue
> Loading MY_PATH/defcustom-test.el (source)...done
> t
>
> ;;;;;;;
>
> looks fine, defcustom worked from the start
>
>
>
Yes in this way it works but not if from emacs you do:

M-x customize-variable pdee-install-dir

then edit the variable and save for future modification.

Anyway it works fine if in your .emacs you put:

(setq pdee-install-dir ".../")
(load-file ".../pdee-init.el)

> it is not recommendable to use the "customize-variable" interface
> >
> > ---
> > Reply to this email directly or view it on GitHub:
> >
> https://github.com/pdee/pdee/commit/fcae9287c97659c4dd094eee1f9334b938618206#commitcomment-725149
> >
>
> ---
> Reply to this email directly or view it on GitHub:
>
> https://github.com/pdee/pdee/commit/fcae9287c97659c4dd094eee1f9334b938618206#commitcomment-725407
>