When I first posted about this, it was about the recently new ability to do this:<br><br>[symbol somedir(<br>|<br>[openpanel]<br><br>But this only works if "somedir" is at "$HOME/somedir" on linux and "/usr/blahblah/pdir/somedir" on mac. So if my directly layout is something like "~/patches/somedir", I have to explicitly write in the message to [openpanel] "/home/myname/patches/somedir". This will only work on my directly layout, so if it is a patch I'm going to share, I cannot use this new feature (might I add I really like the feature). <br>
<br>I was only suggesting that [openpanel]/[savepanel]'s symbol argument has the patch's current directory appended to it, unless the "~" sign is used for home, or a full path is given. I think, as Martin suggested, this is all handled internally with canvas_getdir() and open_via_path().<br>
<br>Regarding the normal operation of [openpanel]/[savepanel], i.e. sending it a bang, I think it would be nice if the last directory navigated to is remembered, else the $HOME. <br> <br>-rich<br><br><div class="gmail_quote">
On Thu, May 29, 2008 at 2:26 PM, Frank Barknecht <<a href="mailto:fbar@footils.org">fbar@footils.org</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hallo,<br>
<div class="Ih2E3d">Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:<br>
<br>
> The problem here is that most people do not start Pd from the command<br>
> line. With Pd-extended, it is now included in the standard free<br>
> desktop menus (only tested on GNOME, should work on KDE), so I'll bet<br>
> most people use that rather than the command line (I do on Ubuntu).<br>
<br>
</div>The HOME directory already is the default directory on Linux with<br>
Gnome/KDE/Blackbox or whatever, as it's the working directory when<br>
starting Pd from the manager. No need for any changes AFAIK.<br>
<br>
I'm the wrong person to comment on MS-Windows or Mac, as I don't use<br>
these and don't care even the teeny-tiniest bit about what happens to<br>
Pd on these systems, but please leave it on Linux as it is the<br>
standard here. All other apps like Vim, Emacs, Gimp, Firefox use the<br>
`pwd` as default and I can't see why Pd should behave differently.<br>
<br>
If you want to confirm this yourself, try the following with the gimp:<br>
<br>
$ cd /tmp<br>
$ gimp &<br>
<br>
Then make a new file, select "Save" and it will give you "/tmp" as<br>
first directory choice.<br>
<div><div></div><div class="Wj3C7c"><br>
Ciao<br>
--<br>
Frank Barknecht _ ______footils.org__<br>
<br>
_______________________________________________<br>
<a href="mailto:PD-list@iem.at">PD-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br>