I just spent about 2 hours "customizing" the LaTeX bundle to include some of the "snippets" and templates that I used to use in TeXShop's editor. After quitting and restarting TextMate, I noticed that at least two of my templates have disappeared, the order of my snippets and templates has changed, and the modifications I made to the "Filter List..." in the Bundle Editor have all been reset, that is, all the bundles that were unchecked in the filter have been checked again and now show in the editor. Is this a bug or something that I am doing wrong?
Thank you,
-- Gary L. Gray
I am experiencing similar problems. When do bundle-data get saved?
On 22 jan 2006, at 22.28, Gary L. Gray wrote:
I just spent about 2 hours "customizing" the LaTeX bundle to include some of the "snippets" and templates that I used to use in TeXShop's editor. After quitting and restarting TextMate, I noticed that at least two of my templates have disappeared, the order of my snippets and templates has changed, and the modifications I made to the "Filter List..." in the Bundle Editor have all been reset, that is, all the bundles that were unchecked in the filter have been checked again and now show in the editor. Is this a bug or something that I am doing wrong?
Thank you,
-- Gary L. Gray ______________________________________________________________________ For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Mikael Säker mikael@sicher.org http://www.sicher.org
"Strangers have the best candy."
On Jan 22, 2006, at 3:39 PM, Mikael Säker wrote:
I am experiencing similar problems. When do bundle-data get saved?
When asking such questions, please state what version of TM you are running, and whether you have done a subversion checkout for the bundles, and where do those reside. I don't really have an answer to your questions, except that most bundle stuff is saved as it takes place, and closing the bundle editor probably definitely saves it.
Gary,
1) you don't get to control the order of the snippets and templates, I think. 2) The two disappearing templates are worry-some. Can you recreate them, tell us how you created them etc? We need reproducible test cases of the problems in order to fix them (well, in order for Allan to fix them, this is probably a TM issue, not a bundles issue). 3) The "Filter list..." problem is an interesting one. Just wondering, do you get any messages in the console? Open console.app and look at console.log, see if there are any messages from TextMate. 4) Are you running your computer as administrator?
Mikael,
can you be more specific/give examples that we could perhaps reproduce?
Haris
On Jan 22, 2006, at 5:41 PM, Charilaos Skiadas wrote:
On Jan 22, 2006, at 3:39 PM, Mikael Säker wrote:
I am experiencing similar problems. When do bundle-data get saved?
When asking such questions, please state what version of TM you are running, and whether you have done a subversion checkout for the bundles, and where do those reside.
I am using TextMate 1.5 (906).
As for the latter two questions, I am afraid that you are going to have to guide me a bit since I have almost no idea what you are talking about. After a little poking around, the only TextMate bundle I can find is at:
/Users/gray/Library/Application Support/TextMate/Bundles/Latex.tmbundle
I don't really have an answer to your questions, except that most bundle stuff is saved as it takes place, and closing the bundle editor probably definitely saves it.
Gary,
- you don't get to control the order of the snippets and
templates, I think.
Then consider this a feature request to be able to do that. :-)
In fact, it would be nice if snippets within a bundle could be grouped via subfolders. For example, in the LaTeX bundle you might have several snippets within a folder called "Equations" and several in one called "Lists", etc.
- The two disappearing templates are worry-some. Can you recreate
them, tell us how you created them etc? We need reproducible test cases of the problems in order to fix them (well, in order for Allan to fix them, this is probably a TM issue, not a bundles issue).
I will create them again and see if I have problems. They way I originally created them was by simply duplicating one that was already there and then modifying it.
- The "Filter list..." problem is an interesting one. Just
wondering, do you get any messages in the console? Open console.app and look at console.log, see if there are any messages from TextMate.
There are a few. Here are the entries from about the time I was doing stuff:
2006-01-22 15:55:12.025 TextMate[989] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key 2006-01-22 15:56:59.709 TextMate[989] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key 2006-01-22 15:58:11.211 TextMate[989] *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key 2006-01-22 16:05:08.528 TextMate[989] Exception raised during posting of notification. Ignored. exception: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key 2006-01-22 16:08:41.908 TextMate[989] Exception raised during posting of notification. Ignored. exception: *** -[NSCFDictionary setObject:forKey:]: attempt to insert nil key
- Are you running your computer as administrator?
Yes.
Mikael,
can you be more specific/give examples that we could perhaps reproduce?
I understand that these things are hard to fix without something that is reproducable. I will see what I can do.
-- Gary
On 23/1/2006, at 1:40, Gary L. Gray wrote:
- you don't get to control the order of the snippets and
templates, I think.
Then consider this a feature request to be able to do that. :-)
The order should be saved in the info.plist contained in the bundle (and the bundle should be located in ~/Library/Application Support/ TextMate/Bundles).
In fact, it would be nice if snippets within a bundle could be grouped via subfolders. For example, in the LaTeX bundle you might have several snippets within a folder called "Equations" and several in one called "Lists", etc.
This will likely be possible in some future version.
[...] Open console.app and look at console.log, see if there are any messages from TextMate.
There are a few. Here are the entries from about the time I was doing stuff: [...]
That does indeed look like problems with storing the bundle items. If it happens again, please let me know (especially if you find a way to reproduce the exceptions).
Mikael,
can you be more specific/give examples that we could perhaps reproduce?
Sorry, I can't since I don't exactly know what chain of actions followed my latest configuration tests. But I'll try to come up with a solid test-case.
/M
On 22 jan 2006, at 23.41, Charilaos Skiadas wrote:
On Jan 22, 2006, at 3:39 PM, Mikael Säker wrote:
I am experiencing similar problems. When do bundle-data get saved?
When asking such questions, please state what version of TM you are running, and whether you have done a subversion checkout for the bundles, and where do those reside. I don't really have an answer to your questions, except that most bundle stuff is saved as it takes place, and closing the bundle editor probably definitely saves it.
Gary,
- you don't get to control the order of the snippets and
templates, I think. 2) The two disappearing templates are worry-some. Can you recreate them, tell us how you created them etc? We need reproducible test cases of the problems in order to fix them (well, in order for Allan to fix them, this is probably a TM issue, not a bundles issue). 3) The "Filter list..." problem is an interesting one. Just wondering, do you get any messages in the console? Open console.app and look at console.log, see if there are any messages from TextMate. 4) Are you running your computer as administrator?
Mikael,
can you be more specific/give examples that we could perhaps reproduce?
Haris
For new threads USE THIS: textmate@lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate
-- Mikael Säker mikael@sicher.org http://www.sicher.org
"Strangers have the best candy."