atom feed8 messages in at.iem.pd-devRe: [PD-dev] CVS addition: -helppath
FromSent OnAttachments
Adam LindsayFeb 19, 2003 5:21 pm 
Adam LindsayFeb 20, 2003 5:41 am 
Frank BarknechtFeb 20, 2003 6:16 am 
guenter geigerFeb 20, 2003 8:39 am 
Adam LindsayFeb 20, 2003 9:35 am 
Frank BarknechtFeb 20, 2003 9:58 am 
Adam LindsayFeb 20, 2003 10:15 am 
guenter geigerFeb 21, 2003 1:48 am 
Subject:Re: [PD-dev] CVS addition: -helppath
From:Adam Lindsay (at@comp.lancs.ac.uk)
Date:Feb 20, 2003 5:41:24 am
List:at.iem.pd-dev

Having gone for a full 12 hours without feedback (and having slept on it), I checked in the below-mentioned changes to devel_0_36. It touches g_editor, s_main, s_path, and m_pd.h. Testing and feedback welcomed.

adam

Hello folks,

I have a proposed addition to CVS that I'm a little nervous about adding without consulting others first. I did a little cut-modify-and-paste of some existing functions, and I have a first pass on code that allows one to modify the help search path. It's not pretty or well-tested, but I hope some will agree that's what CVS is for...

The usage is pretty straightforward: -helppath <path> -- add to help file search path

It works in the same order that you might expect from the -path command- line option (since it is basically a simplified version of the same search function).

Some thoughts: 1) It's on Miller's to-do list in notes.txt. Might be a good thing to get to it now; might be a bad thing to do it the "wrong" way. 2) The code is definitely a hack. It's not even a good hack. 3) I would *really* like this functionality to be in at least one version of Pd... IMHO, it would *really* help the usability, especially on MacOSX, so that there's a unified place for newbies to install externals from the Finder. (e.g., /Library/Pd/externals and /Library/Pd/help, which could be over-ridden by stuff in ~/Library/Pd )

I haven't checked anything in, yet, but the code is ready to go.