I am often without internet, then I saved all the programming's doc I need on my local drive.
I'd like to use that documentation instead of looking for on the internet every time I ask textmate some docs. But in every bundle I didn't find it so easy (not just a global variable).
And another thing, I frequently update via svn my bundles, but what happen if I modify one of them (maybe changing one variable)??
Reading on the terminal looks like they're skipped because modified by me, is that right?
So how should I modify third party bundles?
Thanks a lot
andrea <kerny404@...> writes:
I am often without internet, then I saved all the programming's doc I need on my local drive.
Noone works with textmate without internet? Looking in the local docs could be even much quicker... At least for the principle bundles I would like to have a different way to manage the docs.
On 2 Apr 2008, at 11:45, andrea wrote:
[...] I'd like to use that documentation instead of looking for on the internet every time I ask textmate some docs. But in every bundle I didn't find it so easy (not just a global variable).
There is no universal system for how to store documentation, so each bundle does its own thing.
I think it would be rather difficult to come up with an easy way to just switch to local documentation, since most of the bundles have no way to figure out where such local documentation would be stored, thus you would still need to setup that per bundle.
And another thing, I frequently update via svn my bundles, but what happen if I modify one of them (maybe changing one variable)??
If you checkout directly to ~/Library/Application Support/TextMate/ Bundles then you will simply overwrite the version there and svn should mostly handle the potential conflicts for you.
If you store it in another location (as we recommend) TextMate stores a tmDelta file in ~/Library/… where it records only the stuff actually changed.
Reading on the terminal looks like they're skipped because modified by me, is that right?
So how should I modify third party bundles?
Not sure what you want/mean here.
Allan Odgaard ha scritto:
On 2 Apr 2008, at 11:45, andrea wrote:
There is no universal system for how to store documentation, so each bundle does its own thing.
I think it would be rather difficult to come up with an easy way to just switch to local documentation, since most of the bundles have no way to figure out where such local documentation would be stored, thus you would still need to setup that per bundle.
Yes ok, it would be enough that every bundle defines a variable like DOCS="http://www.hoogle.org", and if I manage to "download" the whole site I can just set my own path. In the haskell bundle I found this line
echo "<meta http-equiv="refresh" content="0; http://haskell.org/hoogle/?q=%24%7BTM_SELECTED_TEXT:=%24TM_CURRENT_WORD%7D%5..."
Probably the problem is that I can't lookup on local docs in this way without having apache running... mmmm that get's more complicated.
If you checkout directly to ~/Library/Application Support/TextMate/Bundles then you will simply overwrite the version there and svn should mostly handle the potential conflicts for you.
If you store it in another location (as we recommend) TextMate stores a tmDelta file in ~/Library/… where it records only the stuff actually changed.
Ok nice, but how should I say to textmate where I stored "my" bundles?
On Apr 7, 2008, at 12:45 PM, andrea crotti wrote:
If you checkout directly to ~/Library/Application Support/TextMate/ Bundles then you will simply overwrite the version there and svn should mostly handle the potential conflicts for you. If you store it in another location (as we recommend) TextMate stores a tmDelta file in ~/Library/… where it records only the stuff actually changed.
Ok nice, but how should I say to textmate where I stored "my" bundles?
Either:
~/Library/Application Support/TextMate/Pristine Copy/Bundles/ /Library/Application Support/TextMate/Bundles/
Both place will cause Textmate to create deltas for changes. Basically
~/Library/Application Support/TextMate/Bundles/
should only be for bundles that you yourself have created, or that you want to contribute changes to.
Ciarán Walsh ha scritto:
On 2 Apr 2008, at 10:45, andrea wrote:
I am often without internet, then I saved all the programming's doc I need on my local drive.
You didn’t say what bundles you use, but the PHP bundle supports this
The problem is that I use plenty of them, I would like to fix that thing for: haskell, php, python, latex, shellscript, applescript, css, html, javascript maybe sometimes java and C.
I'll try to fix some of them and post the results..