I'm trying to get recentfiles written to ~/.pdsettings and I think I'm missing something obvious. (see my patch attached or here: http://pastebin.com/3apUXLzs ).
so far I can read from .pdsettings and get the recentfiles in the File menu (when I wrote them in theremanually) but, in s_files.c/glob_savepreferences():
char *pathelem = namelist_get(recentfiles_list, i)
does not make it. I think that I don't really understand the way pd and the gui communicate with each other.
I think I found my error. should I add a method in m_glob.c that appends a filename to recentfiles_list. then when opening a window in Tcl, send the new filename to pd (please correct me if I'm wrong) ? I'll try after sleeping a bit :)
cheers, _y