The short of it is that I would like to use Textmate to do some
transcription work. I have never been entirely happy with Transcriva,
which I paid for, and while the power and convenience of Scrivener
are appealing, I don't really want to buy yet another application for
this purpose. I own, use, and love TextMate, and I have been very
impressed with the things like the ScreenMate bundle.
Now, I know I could write an AppleScript -- okay, I've never been any
good with AS, but it's there -- I was just hoping that I could not
and thus be able to work entirely within TextMate. All I need is a
keystroke, or perhaps two, that would start and stop playback of an
MP3 file. (I assume I would have to do this through QuickTime, but if
there's a simpler command-line tool that could do this, that would be
fine with me.) The only wrinkle I would like to add would be to be
able to set an "auto-rewind" to the START or STOP command so that
when playback commenced again it would start X seconds backwards from
where it stopped. Setting this X in a config file of some kind would
be fine with me.
I'm a command creation newb, so any fingers pointed in the right
direction would be appreciated.
john
That is pretty awesome, thanks Stanley!
I am not quite happy with the tags.yaml approach though: I can't seem
to just add
~/Library/Application\ Support/TextMate/Bundles/TODO.tmbundle/
Support/tags.yaml
when the TOTO bundle lives in /Library/Application\ Support/TextMate/
Bundles/TODO.tmbundle. The version in the home directory is not
picked up. So I have to change it where the TODO bundle resides, and
that is bad because that directory is kept in sync via svn.
Also the tags.yaml file can't be edited with the bundle editor.
Any chance it could be moved to a Preferences file, so that it can be
edited with the bundle Editor and also can reside away from where the
Bundle lives?
Thanks much
Gerd
Hi folks,
Does anyone know where I can get the PSD file for the TextMate
wallpaper that was around back in Jan?
I tried the original site but the download link doesn't work anymore.
http://www.wishingline.com/notebook/archives/2007_01.php#001127
Have emailed owner but got no reply so far.
Just wanted to make a customized one for my workflow. If anyone still
has it and doesn't mind sharing it I would
really appreciate it.
Thanks,
Charlie.
Hello,
I am looking into building my own bundles and was wondering if it is
possible to somehow get the last 3 or so words before the caret. I
know there is a variable for the current line and current word, but
can I somehow get the last 3 or so words even if they are on different
lines?
Thanks!
Christoph
--
I'm trying a new usenet client for Mac, Nemo OS X.
You can download it at http://www.malcom-mac.com/nemo
Hi there.
I'm trying to create a set shell script templates under the 'New From
Templates...' menu command.
I've created a template entry in the Shell Script bundle, using the
default commands setup, with the extension set to .sh and the scope
set to source.shell (i've tried it with and without this, and
reloaded bundles between attempts.)
I've added a template file (script.sh) to the template, with just the
following contents:
#!/bin/bash
# ${TM_NEW_FILE_BASENAME}
# Created by ${TM_USERNAME} on ${TM_DATE}.
# Copyright (c) ${TM_YEAR} ${TM_ORGANIZATION_NAME}. All rights
reserved.
which is pretty much a default entry I guess.
The Shell Script option now appears as a submenu in the 'New From
Templates...' menu item, but when I select it, I get nothing :-(
Okay, this one has me beat - what am I doing wrong?
R
Hi folks,
I just tried the JavaScript Tools bundle today to use the lint
feature and when I try to check the example .js file that comes
with the jsl binary i get the following:
/Users/cogamble/Library/Application Support/TextMate/Pristine Copy/
Bundles/JavaScript Tools.tmbundle/Support/bin/lint.rb:29: undefined
method `+' for nil:NilClass (NoMethodError) from /Users/cogamble/
Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript
Tools.tmbundle/Support/bin/lint.rb:27:in `map' from /Users/cogamble/
Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript
Tools.tmbundle/Support/bin/lint.rb:27 from /Users/cogamble/Library/
Application Support/TextMate/Pristine Copy/Bundles/JavaScript
Tools.tmbundle/Support/bin/lint.rb:22:in `map' from /Users/cogamble/
Library/Application Support/TextMate/Pristine Copy/Bundles/JavaScript
Tools.tmbundle/Support/bin/lint.rb:22
Is this bundle still working or am I doing something wrong?
Thanks,
Charlie.
It would be interesting TextMate to be able to accept text-clippings
over its icon (Dock, Finder, alias etc) opening then a new windows
with the text contents of that clipping. Wouldn't it?
(My apologizes for any issue possible repetition)
-----
Juan
jfalgueras(a)uma.es
Hi All,
Just upgraded to the 3.0 beta for OS X of Safari, and it seems that the
"Edit in Textmate" no longer works :(
I was using it all the time so I noticed real soon when it stopped.
Cheers,
---Guy PGP Key on Request
Hi,
Is there any support for setting a background image in the editor
window? Or any plans to add this? I've found the transparency support
but I'm not that fussed about seeing my other windows, I'd rather
just see a tinted image.
Thanks
---
Jeremy Wilkins
Ibex Internet Ltd
Parkside Business Park
Parkside Rd.
Kendal
Cumbria
LA9 7EN
Tel: 0845 226 8342
Fax: 08718 729374
http://www.ibexinternet.co.uk/
Hi there...
Maybe I'm overlooking something but I can't seem to find it...
I'm in the 'Fonts & Colors' prefpane of TextMate and I want to delete
some BG-colors of some elements. Each time I click on an element's BG
I get a color-popup asking me to pick a color. What if I don't want a
color... It's still gives me a color-square under the BG-column. How
do I delete the BG?
Greetings
Ypmits
Hi-
I use textmate for the markup a lot of XML projects I work on, and
have adapted some of the wrapping features to meet my needs.
One snippet I use frequently is "perl -pe 's/.+/<\${1:listitem}><\
${2:flashtext}>$&<\/\$2><\/\$1>/'" which takes a columnar list and
wraps each line in <listitem><flashtext></flashtext></listitem>. I
would like to find an easy way to then wrap the entire list in a
<flashlist> tag.
I know I can just reselect the whole list and wrap it with a copy of
the HTML bundle's "Wrap Selection..." tag, but I'd like to make my
list in one fell swoop.
So, what's a good way to combine the "Wrap Selection..." with a "Wrap
Each Selected Line..."?
Thanks!
James Fishwick
Associate Media Producer
Houghton Mifflin
College Media Development
email: james_fishwick(a)hmco.com
phone: 434.284.3727
im: iamfishwick
Dear List,
I know I am probably doing something silly, but I can't seem to solve
this seemingly trivial problem.
I've installed the restructured text bundle, and the restructured text
tools themselves. the reST tools work fine from the command line. My
environment.plist looks like:
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>DISPLAY</key>
<string>:0.0</string>
<key>PATH</key>
<string>/Library/Frameworks/Python.framework/Versions/Current/bin:/usr/local/bin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/teTeX/bin/i386-apple-darwin-current:/Users/nicholas/bin</string>
</dict>
</plist>
On running the rst2html command from the bundle, I get the error message:
Couldn't find rst2html.py
You can either set the TM_RST2HTML variable to the full path of your
docutils (docutils.sourceforge.net) installation (e.g.
/Library/Frameworks/Python.framework/Versions/2.4/bin or set the PATH
variable to include the path of the docutils converters.
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialog.app/Contents/MacOS
/sw/bin
/sw/sbin
/bin
/sbin
/usr/bin
/usr/sbin
/usr/texbin
/usr/local/bin
/usr/X11R6/bin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
If I create a variable TM_RST2HTML and set it to:
/Library/Frameworks/Python.framework/Versions/Current/bin/
I get an error saying that that path cannot be found (even though I
*know* it exists.
(the relevant utilities exist both there and in my ~/bin)
Can anyone explain what is wrong?
Best wishes,
Nicholas
Who else uses Textmate for Scheme? I know, most of the LISP community
use Emacs alone for religious reasons, but since there was a Scheme
language definition already there, I can't be the only one :-)
Anyway, for my own use I've been adding to the Scheme language a bit;
telling it about define-syntax, then adding properties so that
(define (foo ...) ...), (define foo ...) and (define-syntax foo ...)
all result in 'foo' appearing in the symbol list, and writing a few
snippets for common things.
I'd like to look into figuring out a good way to do help on current
symbol type stuff, but I'm not sure where best to refer to. Since the
current language starts 'csi' as the interpreter, the Chicken
documentation on callcc.org would be a good bet, but it would be nice
to keep the Scheme language as implementation-indepedent as possible.
Or have a base Scheme language then a special module for Chicken
Scheme that binds run script, help on symbol, etc.
If there's any other TextMate schemers about, I can post the
resulting diffs, and if everyone likes them, send 'em in to go in the
repository?
ABS
--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4
Okay, I must be going nuts. I could *swear* that when editing source,
when I backspaced to remove a tab the entire tabstop got removed. All
eight character-widths, or whatever my tab size is set to. This happened
even if I had soft tabs enabled; backspacing would chew up spaces back to
the previous tabstop.
But that's not happening now. Now, when I backspace over a tab, the
cursor moves one character and the tab is replaced by (tab size - 1)
spaces.
I could also *swear* that up until recently the cursor keys would jump an
entire tabstop at a time (if moving over a tab), and that you couldn't
cursor into the "dead" space after the end of the line. But now, the
cursor keys always move exactly one character width, whether in a tab or
past the EOL.
So, did something suddenly change? I'm using the bleeding edge updates,
and regularly updating the bundles by svn, so I can see a change slipping
past me. Or maybe I toggled some unknown preference value by mistake?
Or is this the way it's always been and I'm just crazy?
--
Steve King, <steve(a)narbat.com>
Hello,
I started a new bundle for editing COBOL (indeed... ;-)
http://pieterb.be/coding/cobol/
Right at the moment I've only some syntax highlighting, but I' did
like to know how
I can implement auto-numbering.
I am only a beginner with these bundles.
Each new line should start with a number of 6 digits, if possible
with +10 for each new line.
(calculated with the number in 1-6 off the previous line)
000100
000110
...
Each line ends after 80 columns (or characters)
Is it possible to always(!) wrap after 80 chars?
Another issue: commenting; cobol uses a star in column 7 to show a
line is comment.
For example:
000220*A helloworld example....
000230
Is this possible.
Any help is greatly appreciated...
Pieter Baele
pieter.baele(a)telenet.be
A solid systems's approach should not be based on "but it works".
Yet, time and time again, we see that for most people this is the
case. They don't care about good software, only about "good enough"
software. So the programmers can continue to make such mistakes.
Hello,
There are some problems with the blogging bundle with Wordpress 2.2. Pings
and Comments are always set to off.
I know it has been mentioned before and it seems to be a bug in WP. I
didn't see a bug report on the WP trac and am not really too familiar with
the API, so could you clarify what's causing this and whether it really is
a WP bug so I can submit a bug report to the WP guys?
Thanks!
Christoph
Hi, I've been using TextMate for almost a year now and I think it's great,
except for one feature which I find annoying - when you select a block of
text and hit a pair key (Eg. ', ", [, < etc) instead of overwriting the
selected text it nestles it in between two of the key you pressed.
I thought that I'd probably get used to it in a few weeks but I guess I
haven't and I still find it really annoying when I forget to hit backspace
first. So I was just wondering if anyone knew of a way to disable the
feature?
Many thanks!
Mark
--
View this message in context: http://www.nabble.com/Disabling-the-%27pairs-around-selected-text%27-featur…
Sent from the textmate users mailing list archive at Nabble.com.
Is there any fast way to generate doxygen style comments for c++ functions
based on what parameters the function is passed and what it returns? I have
some existing code without any comments, and I was looking for a quick way
to put in template comment blocks that I can go through and fill in details
quickly.
thanks for the help,
dave
Okay, I give. I can't for the life of me figure out how to get
TextMate to print using something like a 9pt type. I've tried growing
and shrinking my screen type face, but that doesn't seem to have any
affect. Adjusting the default type size in Preferences has some
effect, but not all that much that I can tell. What am I missing?
john
Sorry for my bad english
Hello :)
I'm a big fan of TextMate for LateX. I can't work without this very
fine tool
My site (www.altermundus.fr) is a classic one with html and css.
I present a lot of pictures and LaTeX codes but I would like now to
use a database
for my png pictures and all my files or (pages ?)
I'm a neewbie with Python and Ruby so i don'tknow what is the best
tool to make this
with texmate.
A lot of scripts in Textmate are ruby scripts so perhaps it's more
interesting
to learn Ruby but what is the tool the more esay to use with TexMate :
(Ruby and Rails) or (Python and Django) ?
I don't need a blog only a static web but with a database for the
pages and
aa simple method to create new one.
The Bundle is very important so what is the best bundle for my problem ?
Thanks
Alain Matthes
On Jun 15, 2007, at 12:10 AM, Allan Odgaard wrote:
> I am forwarding you this, as I don’t think you’re subscribed.
Thanks. Correct, I'm not subscribed, although I've been reading this
thread via the archives. I can't realistically keep up with all of
the lists where WordPress XML-RPC issues might come up, so if you
don't mind making me aware of them I'm happy to work on them as they
arise.
> Begin forwarded message:
>
>> From: "Christoph Koehler" <christoph.koehler(a)gmail.com>
>> Date: 15. Jun 2007 05:14:40 GMT+02:00
>> To: textmate(a)lists.macromates.com
>> Subject: [TxMt] Re: Wordpress 2.2 and Pings/Comments
>> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>>
>>> I've deployed the patch for this to all wordpress.com blogs.
>>> There is also a ticket for wordpress.org:
>>>
>>> http://trac.wordpress.org/ticket/4469
>>>
>>> I'll follow up and make sure the committers there are aware of it.
>>>
>>> Thanks for point this out and doesn't hesitate to contact me
>>> about any other questions/issues/bugs that come up in XML-RPC for
>>> WordPress.
>>>
>>
>> Thanks for the quick action! That's really amazing! I tested the
>> patch on my local install and comments work fine now, but pings
>> are still always disabled.
I tested it against my local install as well and both ping and
comments settings worked as expected. I did this with a PHP script
though, not TextMate. Christoph can you (or someone else) confirm
exactly what TextMate is sending over the wire? A dump of the exact
XML data that is being sent might provide some clues as to why ping
status isn't being properly set.
--
Joseph Scott
http://joseph.randomnetworks.com/
Hi there,
I 've just found a post like this:
>> I didn't know where else to ask this question. If I purchase a
>> single licenses for TextMate can I use it on a
>> Desktop and a Laptop? (As long as I'm not using them at the same
>> time?) I ask this question because I believe
>> it was true with the Office 2004 Student and Teacher Edition license.
Allan answered:
> Yes -- it's a personal license, so as long as you are the user or
> TextMate is running on your machine, everything is fine (needs to put
> that somewhere on the site :) ).
but I need to know if I can use textmate on my laptop at work? I got
a personal MacBook at home and a company's MacBook Pro at work and
both would running textmate nut not at the same time and only used by
me.
I know... 39 EUR are not expensive for this mighty mighty editor but
If I can save money... :-)
Greetings,
Daniel
PS: Good work, Allan :-)
Hi,
I've stumbled on a problem with TextMate's python handling which goes
into an infinite loop (or a really long computation) during certain
circumstances. When this happens, TextMate doesn't react to any input
anymore, which causes dataloss of everything typed after the last save.
I have the following function (<> only shows the position of the
caret and is no text) in a python file:
def c(docstring, baseindent=0):
#from http://www.python.org/dev/peps/pep-0257/
lines = docstring.splitlines()
# Determine minimum indentation (first line doesn't count):
indent = sys.maxint
for line in lines[1:]:
stripped = line.lstrip()
if stripped:
indent = min(indent, len(line) - len(stripped))
# Remove indentation (first line is special):
trimmed = [<>lines[0].strip()]
if indent < sys.maxint:
indent -= baseindent
for line in lines[1:]:
trimmed.append(line[indent:].rstrip())
# Return a single string:
return '\n'.join(trimmed)
Now I type ]<enter> and watch TextMate die. It'd be cool if this
could be fixed.
To reproduce the problem:
1. Open TextMate
2. Paste the above function into TextMate, put your caret where <> is
(and remove <> from the text)
3. Go into python mode (shift-ctrl-opt-p 4)
4. enter ]<cr>
Bye,
Nico
Having a hard time to get ruby scripts to recognize modules. Checked "$:"
and got the following:
/usr/lib/ruby/site_ruby/1.8
/usr/lib/ruby/site_ruby/1.8/powerpc-darwin8.0
/usr/lib/ruby/site_ruby/1.8/universal-darwin8.0
/usr/lib/ruby/site_ruby
/usr/lib/ruby/1.8
/usr/lib/ruby/1.8/powerpc-darwin8.0
/usr/lib/ruby/1.8/universal-darwin8.0
The module I am trying to "require" is in this list (the first listing in
fact). When I try to to run script from TextMate "command + R" the script
keeps failing. When I ask text mate to get required "shift + command + D"
TextMate complains that it can not find require "snmp". When I run script
from the terminal though it finds the 'require' I requested. Any ideas?
Brad
Hi,
TextMate has been crashing on me in the find dialog and I found this solution:
http://comox.textdrive.com/pipermail/textmate/2006-August/012696.html
So, I disabled history for the find dialog and now the text inputs are
small text fields instead of text boxes. Any ideas?
Thanks!
-Roberto.