Using the reStructuredText bundle, I keep running into a problem with TextMate "forgetting" the soft tabs settings I apply to the .rst file extension.
When I quit TextMate, start it, open my project's folder, then open a .rst file, it knows my preferred tab size, but it defaults to hard tabs.
When I switch it to soft tabs, it remembers it for the duration of the TextMate session. That is, when I close the window for the project, then reopen it, it still remembers that I prefer soft tabs for .rst files.
I've even closed TextMate, opened com.macromates.textmate.plist file with the Property List Editor and made sure that Root/ OakTextViewScopedSoftTabs/text.restructuredtext/softTabs was set to "Yes", saved it, closed PLE, reopened TextMate, and it still thinks that I want hard tabs for .rst files.
It doesn't seem to be doing this for other file types. Very frustrating! I'd gotten used to the habit of letting TextMate remember my soft tab settings; now I seem to be getting into a defensive habit of double-checking soft tab settings -- not exactly an experience I enjoy having spent money for. :)
Any suggestions about what I can do to get TextMate to remember soft tab settings?
Thanks,
-- Matthew Scott gldnspud@gmail.com
On 24 Feb 2009, at 23:54, Matthew Scott wrote:
Using the reStructuredText bundle, I keep running into a problem with TextMate "forgetting" the soft tabs settings I apply to the .rst file extension. [...]
It doesn't seem to be doing this for other file types. Very frustrating! I'd gotten used to the habit of letting TextMate remember my soft tab settings; now I seem to be getting into a defensive habit of double-checking soft tab settings -- not exactly an experience I enjoy having spent money for. :)
Well, clearly something is wrong. Try quit TextMate then run:
defaults delete com.macromates.textmate OakTextViewScopedSoftTabs
To “start over” and see if that fixes it. E.g. it might be that something bad got into this data structure that somehow prevents TextMate from properly updateing it.
On Thu 2009-03-05, at 13:51, Allan Odgaard wrote:
On 24 Feb 2009, at 23:54, Matthew Scott wrote:
Using the reStructuredText bundle, I keep running into a problem with TextMate "forgetting" the soft tabs settings I apply to the .rst file extension. [...]
Well, clearly something is wrong. Try quit TextMate then run:
defaults delete com.macromates.textmate OakTextViewScopedSoftTabs
To “start over” and see if that fixes it. E.g. it might be that something bad got into this data structure that somehow prevents TextMate from properly updateing it.
Still getting the same problem. And in fact it is not limited to .rst files I've now noticed — my previous statement that it was not happening to other file types is incorrect.
Here's some more detail:
$ defaults read com.macromates.textmate OakTextViewScopedSoftTabs 2009-03-08 13:56:37.547 defaults[72816:10b] The domain/default pair of (com.macromates.textmate, OakTextViewScopedSoftTabs) does not exist
Open TextMate, quit. Still same output.
Open TextMate, open project, quit. Still same output.
Open TextMate, open project, open rst file, quit. Still same output.
Open TextMate, open project, open rst file, change to soft tabs, quit: $ defaults read com.macromates.textmate OakTextViewScopedSoftTabs { "source.catch-all" = { softTabs = 0; updated = 2009-03-08 14:02:37 -0700; }; "source.plist" = { softTabs = 1; updated = 0001-12-31 16:00:00 -0800; }; "source.ruby" = { softTabs = 1; updated = 0001-12-31 16:00:00 -0800; }; "source.yaml" = { softTabs = 1; updated = 0001-12-31 16:00:00 -0800; }; "text.catch-all" = { softTabs = 0; updated = 2009-03-08 14:02:37 -0700; }; "text.restructuredtext" = { softTabs = 1; updated = 2009-03-08 14:02:49 -0700; }; }
Open TextMate, open project, open rst file. Still using hard tabs.
-- Matthew Scott gldnspud@gmail.com
That was silly.
I had installed http://konstochvanligasaker.se/tabmate/ at some point, but wasn't using it.
After disabling TabMate, TextMate started remembering my tab preferences again. :)
On Thu 2009-03-05, at 13:51, Allan Odgaard wrote:
On 24 Feb 2009, at 23:54, Matthew Scott wrote:
Using the reStructuredText bundle, I keep running into a problem with TextMate "forgetting" the soft tabs settings I apply to the .rst file extension. [...]
It doesn't seem to be doing this for other file types. Very frustrating! I'd gotten used to the habit of letting TextMate remember my soft tab settings; now I seem to be getting into a defensive habit of double-checking soft tab settings -- not exactly an experience I enjoy having spent money for. :)
Well, clearly something is wrong. Try quit TextMate then run:
defaults delete com.macromates.textmate OakTextViewScopedSoftTabs
To “start over” and see if that fixes it. E.g. it might be that something bad got into this data structure that somehow prevents TextMate from properly updateing it.
textmate mailing list textmate@lists.macromates.com http://lists.macromates.com/listinfo/textmate
-- Matthew Scott gldnspud@gmail.com