I have the PHP bundle in `/Library/Application Support/TextMate/ Bundles/PHP.tmbundle`.
I have my personal bundle in `~/Library/Application Support/TextMate/ Bundles/McBroom.tmbundle`.
Both bundles contain preferences for comments that are scoped for "source.php". My understanding is that the preferences in my personal bundle should be taking precedence because that bundle is in my home directory and thus "more local". This is what seems to happen on my work machine (still running Tiger) with a similar configuration and this is how things appeared to work on my laptop pre-Leopard. But now, TextMate seems to be taking the preferences from the PHP bundle instead of mine. If I remove the PHP bundle from /Library and let the one in TextMate.app take over, it still seems to take precedence over the preferences in my home directory.
Any ideas?
--- Rob McBroom http://www.skurfer.com/
On 6 Nov 2007, at 22:38, Rob McBroom wrote:
[...] Both bundles contain preferences for comments that are scoped for "source.php". My understanding is that the preferences in my personal bundle should be taking precedence because that bundle is in my home directory and thus "more local".
No, who “wins” is decided entirely on scope, not location on disk. On a tie, the outcome is undefined.
Go to the bundle editor and simply delete the PHP comment preferences. This will in practice create a ~/Library/Application Support/TextMate/ Bundles/PHP.tmbundle/info.plist which only records that the default comments item is marked as deleted.