[PD-dev] CVS addition: -helppath

Adam Lindsay atl at comp.lancs.ac.uk
Thu Feb 20 18:36:17 CET 2003


Hi, Guenter, Frank, all,

guenter geiger said this at Thu, 20 Feb 2003 17:39:56 +0100:

>> I won't be able to test it until next tuesday or thursday.
>>
>> (I have mixed feelings with changes to m_pd.h in general, though,
>> because that's a "system header")
>
>mhm, do we really need this in m_pd.h ?

You're both right, we don't. I was being very literal in my imitation of
sys_addhelppath() and open_via_path(). I put the declarations where they
should be, and did a commit.

>If you need the declarations in different files within pd
>Either
>
>1) Put it in m_imp.h
>2) Put a declaration on top of the file where you use the function.

Thanks. That's an important coding guideline.

>Sorry about my ignorance, but isn't the help path relative to the
>pd installation path ? Isn't the installation path the path that
>should be changeable during runtime (together with the default externals
>path "extra" and the bin directory) ?

The way I use the helppath namelist is to initialise it with the pd path
+ /doc/5.reference (so it works as normal). 

If I want to, for example, add pddp help patches without overwriting the
original pd help patches, I can put them in another directory, and then
add that directory as another line in my .pdrc. I personally would use
these -path and -helppath directives to keep the pd installation "clean"
and then point to other directories for externals and their help patches.

>I might be wrong, have to check before complaining actually ...

I'm not sure I understood your question. I hope I approached a little of
the "why", though.

Thanks for keeping me honest,
adam

-- 
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Adam T. Lindsay                      atl at comp.lancs.ac.uk
 Computing Dept, Lancaster University   +44(0)1524/594.537
 Lancaster, LA1 4YR, UK             Fax:+44(0)1524/593.608
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-





More information about the Pd-dev mailing list