Hi,
I noticed that the mate CL tool has a -r --recent option to add the file to the Open Recent menu but this doesn't seem to work for me. Am I doing something wrong? Also I would say that this should be the default but it isn't a big deal since I can just alias mate as mate -r.
Thanks, Jason
On 22/11/2005, at 23:50, Jason Haslam wrote:
I noticed that the mate CL tool has a -r --recent option to add the file to the Open Recent menu but this doesn't seem to work for me. Am I doing something wrong?
No, that seems to be broken. I've fixed it.
Also I would say that this should be the default but it isn't a big deal since I can just alias mate as mate -r.
Personally, the majority of my “mate” use (in addition to $EDITOR) is for things entirely restricted to Terminal (which has its own history) and involves opening dozens of files each day (many of them being temporary). So that's why it's not enabled by default (i.e. it'd destroy the usefulness of the Recent menu).
Though I have no idea how many keep the two file system views (Finder versus Terminal) as task specific as I do.
Personally I never use TM's Open Recent, because almost everything I open in TM is via mate.
Perhaps I should go ahead and alias it as Jason suggested. Hmmm....
On Nov 22, 2005, at 4:24 PM, Allan Odgaard wrote:
Personally, the majority of my “mate” use (in addition to $EDITOR) is for things entirely restricted to Terminal (which has its own history) and involves opening dozens of files each day (many of them being temporary). So that's why it's not enabled by default (i.e. it'd destroy the usefulness of the Recent menu).
Though I have no idea how many keep the two file system views (Finder versus Terminal) as task specific as I do.
I'm a 'switcher'... coming from windows PC/linux and now want to start developing my web-apps (python) on mac os. TM seems to be a nice and even powerful editor with lots of features... but I currently could not see were to start!
I could not find a introduction which would enable me to read and understand what TM-help-pages want to tell me.
:joe.
On Nov 23, 2005, at 9:09 AM, jochen2.mueller@bechtle.com wrote:
I could not find a introduction which would enable me to read and understand what TM-help-pages want to tell me.
Of course Allan will have his own plans, objectives, etc., but I wish he would maybe stop development on TM (maybe, after 1.1 or something) and dedicate some considerable time to some good documentation; in particular introductory material. For example, I would love to have access to some video-based tutorials that, by way of example, give me a better overview of how "macros", "snippets", "commands", "bundles", etc. all fit together into the concept that is TextMate. (And these kinds of things are pretty easy to produce these days.)
Some time ago, I saw a 15-minute video produced by Jon Rentzsch introducing WebObjects by way of building a very simple address book application. That one single video not only demonstrated the mechanics of WebObjects, but also its "way" of building applications.
I think something similar for TextMate would be tremendously useful for people like myself, who are probably only using about 5% of the application's capabilities. (And I'm sure it would sell more licenses! :-)
-- Matt Henderson matt.henderson@gmail.com (personal) | matt@makalumedia.com (work) http://matt.makalumedia.com
On 23/11/2005, at 9:31, Matt Henderson wrote:
[...] For example, I would love to have access to some video-based tutorials that, by way of example, give me a better overview of how "macros", "snippets", "commands", "bundles", etc. all fit together into the concept that is TextMate. (And these kinds of things are pretty easy to produce these days.)
The Introduction to Rails movie shows TextMate in use with heavy use of snippets and some macros: http://www.rubyonrails.org/media/video/ rails_take2_with_sound.mov
While it doesn't show how this stuff is setup, the snippets/macros used can be found in the Ruby and Rails bundles (in the Bundle Editor).
I have considered starting a screen-cast, and a friend of mine is likely to take over wrt documentation. But the presence of screen- capturing software does not make it an easy task. Good tutorial-style documentation takes very long to produce, and so does coming up with good examples for use in the movies.
As for the things you mention: macros is a way to record and replay your actions. Nothing more.
Snippets is a way to insert templates into your code with placeholders, variables, and real-time substitutions on the placeholders. Here's the syntax for snippets with many examples of use: http://macromates.com/blog/archives/2005/08/25/the-power-of- snippets/ and here's a movie showing off some advanced snippets http://macromates.com/movies/intelligent_snippets.mov which is explained here http://macromates.com/blog/archives/2005/09/02/beta-17- notes/
Commands are shell scripts. The possibilities of shell scripts are limited only by your imagination (since they are really just programs, and can call out to other language interpreters). In the context of TextMate, here are several examples where the HTML output option is used: http://macromates.com/blog/archives/2005/09/28/html- output-for-commands/ -- I'd suggest going through the various commands in the bundle editor to see what else can be done. Many of the commands are scripts to work on the selection.
As for customizing TextMate, that's the 3 building blocks. The extra twist is the ability to limit activation of these to particular subsets of your source via scopes, which is explained here: http:// macromates.com/blog/archives/2005/07/06/introduction-to-scopes/
Thanks. This works as expected now.
Jason
On Nov 22, 2005, at 5:24 PM, Allan Odgaard wrote:
On 22/11/2005, at 23:50, Jason Haslam wrote:
I noticed that the mate CL tool has a -r --recent option to add the file to the Open Recent menu but this doesn't seem to work for me. Am I doing something wrong?
No, that seems to be broken. I've fixed it.
Also I would say that this should be the default but it isn't a big deal since I can just alias mate as mate -r.
Personally, the majority of my “mate” use (in addition to $EDITOR) is for things entirely restricted to Terminal (which has its own history) and involves opening dozens of files each day (many of them being temporary). So that's why it's not enabled by default (i.e. it'd destroy the usefulness of the Recent menu).
Though I have no idea how many keep the two file system views (Finder versus Terminal) as task specific as I do.
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