Before I re-installed Tiger and installed Textmate I was able to call
'tm' from command line and it worked perfectly... now it does not
open tm unless I pass something to it... is that the way it is
suppose to work?
I don't know if TextMate supports read-only documents or not, but I
would like to be able to specify a custom view filter for a given
document in my project that produced a read-only text or html file in
place of the document's content that automatically displayed as a
normal project tab. The document in the tab view should have all of the
TextMate-specific features of a normal Commmand output window (e.g. go
to line, etc.)
Use Cases
---------
TextMate doesn't allow you to view jpegs, which is fine. But if I could
define a filter to run on selection that produced HTML output, I could
not only view the jpeg in the tab, but I could list statistics about
the file (size, dimensions, etc.) that I could either just read or
select and copy-and-past somewhere else in my project.
Viewing object files using the output from otool would also be handy,
particularly with the go-to feature and the ability to convert to (more
attractive) html output.
Man pages are another option. Define a blank file "xcodebuild.man" and
include it in your project hierarchy, setting a project-wide .man
filter to the output from Bwana (which does html man pgae output). Now
you can just click on (or tab to) the man page to read it, without
having an extra window pop-up or having to execute a command.
Custom UIs embedded in TextMate are another huge opportunity. Define a
Project.build_ui file and filter through something that generates an
HTML page that nicely renders all of your build options, along with
some handy buttons to initiate a build, view the last build results (in
an embedded HTML scroll view, whose lines have standard Command go-to
line behavior), etc. The customization possibilities for TextMate are
endless.
An embedded Subversion UI is another option.
An embedded Trac page is another. The possibilities are endless.
The key thing is that the filter is *automatic*. This makes it appear
in a tab just like any other built-in TextMate feature as far as the
user is concerned. This builds on the existing Command...
infrastructure Allan's already built.
UI Implementation
-----------------
Select file in Project browser and choose "Filter through Script...".
Up pops a dialog similar to the Command editor dialog. Extra options
include: update when source changes, update on view, and update first
time only.
Project-wide options would allow you to assign filters to extensions
automatically (e.g. .jpg).
Any comments or suggestions are welcome.
Best, Erich
On 02-05-2005, at 19:43, Erich Ocean wrote:
> Saw this over at daringfireball.net[1]:
>> NSTextView — the default text editing control in Cocoa apps — has
>> been significantly upgraded [in Tiger]. You can do discontinuous
>> selections with Command-drag, and column selections with Option-
>> drag. You can use these new selection gestures in most Cocoa apps —
>> including in textarea fields in Safari and any other app that uses
>> Web Kit. (Thanks to Quentin Carnicelli.)
> It's nice to see Cocoa's text support improving, even though it's not
> up to the level of Allan's work.
Actually, it [column mode selection] seems useless in NSTextView since
it doesn't paste back in column mode. Kinda like BBEdit did theirs I
think.
--
Sune.
On 02-05-2005 13:52, Ollivier Robert wrote:
> According to Brian Lalor:
>
>>take this time, however, to make sure everyone's aware of DarwinPorts.
>>For reasons I completely forget, now, I've preferred DarwinPorts to
>>Fink since I started using OS X.
>
>
> You have the same differences as between Debian and FreeBSD (no flame
> intended): more reactivity, more up-to-date packages and preference for
> source-to-be-compiled packages.
Also big plus for me is making *really* sure that it will not tamper with
other files than the one it installs itself.
I found this great guide [1] to install DarwinPorts under a special ports
user, which only has rights to the directory where it is supposed to
install stuff and nowhere else.
I was always doubting about Fink or DP and chose Fink for it's point and
click interface, that turned out to be horrible, but worked most of the
time. Now that I'm on Tiger, I'll switch to DP if I have time..
Jeroen.
[1] http://www.phil.uu.nl/~js/blog/2004/02/17#darwinports
--
<http://www.je-ju.net/~jeroen/blog/>
On May 2, 2005, at 11:33, Hannu Rajaniemi wrote:
> Ah. I thought I already sent this to the list, but maybe it didn't go
> through. What I seem to get is
>
> 2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named
> text.html.basic
It did, and also a reply from Brad! ;)
The problem is that you do not have the (sourced) HTML syntax. At least
not an up-to-date version which has the scopeName set to
text.html.basic.
I'm on beta 7.
When I open the Get Info window on a file, and deselect the "Save as
absolute path" checkbox, then close the Get Info window and re-open it,
the checkbox is checked again. Is this a known bug/feature? I'm trying
to convert all my project references to relative so that I can move the
project between different users on my machine.
Best, Erich
Hi,
Today, I updated to Tiger and downloaded the b7: then I did a SVN
checkout of the bundles. Everything appeared to be working fine, until
I tried the Markdown bundle (I write my blog in Markdown). The bundle
seems to work, but I get an immensely annoying system bell sound with
every keystroke! The problem seems to be restricted to the Markdown
bundle, as far as I can tell.
Anyway, thanks again for TextMate: it's really becoming a brain
extension for me. Any chance of seeing any Automator/TM interplay in
the future?
- Hannu Rajaniemi
On 4/30/05, Brad Miller <bmiller(a)luther.edu> wrote:
> Also if you would take a look at your console and let us know what messages
> are coming out in the console when the beeps are happinging.
>
Good point. What I seem to get is
2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named text.html.basic
with every keystroke, so it probably does have something to do with
the HTML language definition.
- Hannu