When I validate a syntax, textmate send me the following message:
Please install PyChecker or PyFlakes for more extensive code checking.
Syntax Errors...
Only say the line of the error. But not which is this.
I already downloaded pychecker and pyflakes, but I didn't find the
way to install in textmate to cheking my code.
Anybody knows how to install this.
On Jun 21, 2006, at 3:18 AM, textmate-request(a)lists.macromates.com
wrote:
> Mailing list subscription confirmation notice for mailing list
> textmate
>
> We have received a request from 201.124.204.149 for subscription of
> your email address, "simonglez(a)yahoo.com.mx", to the
> textmate(a)lists.macromates.com mailing list. To confirm that you want
> to be added to this mailing list, simply reply to this message,
> keeping the Subject: header intact. Or visit this web page:
>
> http://lists.macromates.com/mailman/confirm/textmate/
> 184c6a1473362f87febad79d52838a093629e38f
>
>
> Or include the following line -- and only the following line -- in a
> message to textmate-request(a)lists.macromates.com:
>
> confirm 184c6a1473362f87febad79d52838a093629e38f
>
> Note that simply sending a `reply' to this message should work from
> most mail readers, since that usually leaves the Subject: line in the
> right form (additional "Re:" text in the Subject: is okay).
>
> If you do not wish to be subscribed to this list, please simply
> disregard this message. If you think you are being maliciously
> subscribed to the list, or have any other questions, send them to
> textmate-owner(a)lists.macromates.com.
>
I've just seen the TM screen cast on blogging, so I thought I'd try
the new tool. I've configured so that it has my WP blog URL, when I
try to fetch the Posts I get:
/usr/lib/ruby/1.8/net/protocol.rb:21:in `require': No such file to
load -- socket (LoadError)
from /usr/lib/ruby/1.8/net/protocol.rb:21
from /usr/lib/ruby/1.8/net/http.rb:28:in `require'
from /usr/lib/ruby/1.8/net/http.rb:28
from /usr/lib/ruby/1.8/xmlrpc/client.rb:281:in `require'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:281
from /Applications/Tools/TextMate/TextMate.app/Contents/
SharedSupport/Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:
1:in `require'
from /Applications/Tools/TextMate/TextMate.app/Contents/
SharedSupport/Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:1
from /Applications/Tools/TextMate/TextMate.app/Contents/
SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:3:in
`require'
from /Applications/Tools/TextMate/TextMate.app/Contents/
SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:3
from /tmp/temp_textmate.8vs4g5:2:in `require'
from /tmp/temp_textmate.8vs4g5:2
Any suggestions? many thanks
regards, Jonathan
hi,
I am trying to convert Markdown syntax to LaTex, using MultiMarkdown in
TextMate via the Markdown bundle menu, and am getting a parsing error.
With the following simple Markdown example:
> This is a test.
>
> This is another pp.
..I get exactly what I expect if I use MultiMarkdown (via the bundle
dropdown menu) to convert this text to HTML or to RTF, and everything works
fine. However, when I try to convert the text above to LaTex (which is my
ultimate goal here), I get the following error:
> -:3: parser error : Extra content at the end of the document
> <p>This is another pp.</p>
> ^
> unable to parse -
>
Various little tweaks like adding/removing extra newlines at the end (or
adding a section heading at the beginning) made no difference.
I am new to TextMate/MultiMarkdown -- there may be some step I'm skipping or
something obvious I'm doing wrong?
thanks,
Amy
Hi,
I am a BBEdit convert. I must be doing something wrong when I select
text and then expect to move it by mousing-down on the new selection
and moving the cursor. Is this posted in a AQ somewhere?
Thank you!
Art
It seems I only ever speak up to complain. :) So, let me assure you:
I love TextMate beyond all reason.
And now, the bug:
When I run any of the blogging scripts, such as "Fetch Post," I get
this prepended to the file:
> 2006-06-20 17:54:11.197 CocoaDialog[24277] [Amendment] Loaded
> 2006-06-20 17:54:11.575 CocoaDialog[24277] CFLog (21): Error
> loading /Volumes/Data/Users/username/Library/QuickTime/DivX
> 5.component/Contents/MacOS/DivX 5: error code 4, error number 0
> (Library not loaded: /Library/Application Support/DivXNetworks/
> liblame3.92.dylib
> Referenced from: /Volumes/Data/Users/username/Library/QuickTime/
> DivX 5.component/Contents/MacOS/DivX 5
> Reason: image not found)
> 2006-06-20 17:54:11.579 CocoaDialog[24277] CFLog (21): Error
> loading /Volumes/Data/Users/username/Library/QuickTime/DivX
> 5.component/Contents/MacOS/DivX 5: error code 4, error number 0
> (Library not loaded: /Library/Application Support/DivXNetworks/
> liblame3.92.dylib
> Referenced from: /Volumes/Data/Users/username/Library/QuickTime/
> DivX 5.component/Contents/MacOS/DivX 5
> Reason: image not found)
> 2006-06-20 17:54:16.685 CocoaDialog[24290] [Amendment] Loaded
> 2006-06-20 17:54:17.083 CocoaDialog[24290] CFLog (21): Error
> loading /Volumes/Data/Users/username/Library/QuickTime/DivX
> 5.component/Contents/MacOS/DivX 5: error code 4, error number 0
> (Library not loaded: /Library/Application Support/DivXNetworks/
> liblame3.92.dylib
> Referenced from: /Volumes/Data/Users/username/Library/QuickTime/
> DivX 5.component/Contents/MacOS/DivX 5
> Reason: image not found)
> 2006-06-20 17:54:17.103 CocoaDialog[24290] CFLog (21): Error
> loading /Volumes/Data/Users/username/Library/QuickTime/DivX
> 5.component/Contents/MacOS/DivX 5: error code 4, error number 0
> (Library not loaded: /Library/Application Support/DivXNetworks/
> liblame3.92.dylib
> Referenced from: /Volumes/Data/Users/username/Library/QuickTime/
> DivX 5.component/Contents/MacOS/DivX 5
> Reason: image not found)
(Note: I have my home folder in a separate volume named "Data", with
NetInfo edited to point at the proper path; until now, this hasn't
caused a problem. The exact path is munged for privacy purposes.)
This all gets prepended to the text file when I post, as well. But
_not_ into the blog post itself, for which I am grateful. :)
When I drag an image into the blog post, I get this:
> 2006-06-20 18:00:44.946 CocoaDialog[24722] [Amendment] Loaded
> 
My initial guess is that some kind of debugging/logging thing is
tripping me up. But who knows?
I'm running today's bleeding edge build.
Can anyone help? Besides this minor inconvenience, this is a dream
come true.
--
Josh DiMauro
josh(a)metacarpal.net
http://blog.metacarpal.net
I just watched the fantastic screencast and got an immense desire to
try it out. Alas, when I try to fetch posts I get this:
/usr/lib/ruby/1.8/xmlrpc/client.rb:535:in `do_rpc': HTTP-Error: 404
(RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Users/haris/Library/Application Support/TextMate/Bundles/
Blogging.tmbundle/Support/lib/metaweblog.rb:31:in `getRecentPosts'
from /Users/haris/Library/Application Support/TextMate/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:542:in `fetch'
from /Users/haris/Library/Application Support/TextMate/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:541:in `popen'
from /Users/haris/Library/Application Support/TextMate/Support/lib/
progress.rb:11:in `call_with_progress'
from /Users/haris/Library/Application Support/TextMate/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:541:in `fetch'
from /tmp/temp_textmate.Eq92Lq:3
Any thoughts on how to troubleshoot this?
Haris
Never really use the "Paste Line to Paste Bin" command, but after
noticing the blog entry (and how much it's improved lately) I figured
I'd give it a shot. Not working quite right, though--it looks like
something is appending "1" to the URL for the paste.
I highlight some text, select the command, and whether I choose "Copy
to Clipboard" or "Open in Browser," I get the same URL: <http://
pastie.caboo.se/15121>, rather than the correct <http://
pastie.caboo.se/1512>.
Any ideas?
--
Chris Biagini
http://assortedgeekery.com/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just a quick note before I head out on a camping trip. I have added
rudimentary support for user-defined tab commands in the GTD bundle.
To use them, set up the contexts.gtd file as before, and them enter
the command as:
xx @@ [tab]
Where xx is the user -defined trigger and @@ is the GTD tab trigger.
As always, please send me feedback. Thanks.
Alaskamike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFEl06Q4oDM7Rgs0h0RApixAJ458N8mcw0eZUbccjj8Gb5HUjQJTQCaA2Ah
kGKhvWlsmFjrCWZoWcY3Bxo=
=yU1F
-----END PGP SIGNATURE-----
Now, I'm finding it hard to determine which list is more dynamic,
which one his the highest traffic / better signal-to-noise ratio,
TextMate-users or emacs-devel....
But this really drew my attention:
http://www.emacswiki.org/cgi-bin/wiki/rails.el
The Emacs rails elisp package includes, quote, "TextMate-like
snippets (snippets.el)"...
There's two conclusions I draw here:
1. Emacs, as the multi-headed, universally-powerful, endlessly-
extensible, despairingly-complex beast of an editor that it is, is
adapting, no doubt successfully, to the agile approach to Rails
programming. And "that screencast" must have had an impact.
2. TextMate is evolving beyond its niche - when a top hacker's tool
like Emacs emulates one of your features, this is a sign that you're
doing something right. So congratulations to Allan and to everybody
on this list! Emulation is the best possible display of respect.
Another topic which has been cropping up lately, and which you no
doubt have thought about it (somewhere in the back of your brains,
when not too busy hacking at this or that bundle) is the following:
How can a resolutely closed-source application like TM attract such
an open-source-like community environment? Does it have anything to
do with software architecture (a closed framework with an open
approach to extensibility through bundles), or with Allan's social
skills?
I suppose one day we'll be talking about this here on the list, once
TextMate moves ahead a couple of steps more and becomes *the* Mac
editor.
Just my couple of hundred euros.
Best,
Kamen
------------------------------------
Kamen Nedev
c/Pelayo Nº38, 5º Izda.
28004 Madrid
España
(+34) 649 77 80 37
kamennedev(a)gmail.com
http://emitmedia.blogspot.comhttp://emit-es.blogspot.comhttp://emit.omweb.com
Hello,
I'm not exactly sure if that's what the menu's called, but I'm
referring to the one that pops up when you hit Ctrl-Shift-Opt-?, as
in ⌃⌥⇧P, and lists all the language grammars starting with P.
Anyway, I always used to move to the arrow keys to select the
language. Now that I think about it I probably could have typed the
first few chars to get where I wanted, but having the number
shortcuts is awesome.
Thank you Allan, for continuing to make TextMate the best text editor
on any platform. CVS support be damned! ;-) Keep adding the small but
useful features like this one and you'll keep your loyal customers
thrilled about TextMate. Like I recently blogged about Apple, it's
the excruciating attention to the smallest, seemingly unimportant
details that really make me love something. I'm sure many others feel
the same.
The major features like snippets are easy to get used to and take for
granted, and will certainly be mimicked. Your innovative features and
attention to detail will set TextMate apart even when the prominent
features are copied. This is easily the best €40 I've spent on
software. It was a steal. Thanks again!
Sami
I'm running latest cutting edge build, 1112. Setup Blog works fine,
but nothing happens when I attempt to retrieve or post to blog. Also,
when I go to Blogging help, I get: "/bin/bash: line 83:
SmartyPants.pl: command not found"
Any Ideas what the problem might be?
I keep having intermittent problems with bundles that use ruby
scripts. I get errors along the lines of:
> /tmp/temp_textmate.gD8qB9:11:in `require': No such file to load --
> erb (LoadError) from /tmp/temp_textmate.gD8qB9:11
Any clue on the cause?
-ryan
When trying to use this bundle to "Fetch Post", the rb process get's
stuck trying to open a cocoa dialogue window and when I force quit
the rb process, the following message is returned repeatedly in the
open text document:
2006-06-05 22:42:18.007 CocoaDialog[6820] Unknown dialog type secure-
standard-inputbox. Available types:
fileselect, msgbox, yesno-msgbox, ok-msgbox, textbox, progressbar,
inputbox, standard-inputbox, dropdown, standard-dropdown.
Anybody have a solution?
I was getting tired of waiting to fire up Transmit every time I
wanted to edit a file with TextMate over FTP, so I decided to create
my own modest script, I decided to post it here just in case anybody
else found it useful
--- Start "ftpmate"
#!/usr/bin/env bash
REMOTE_FILE=$(echo $1 | awk -F '/' '{print $NF}')
LOCAL_FILE="/tmp/"$REMOTE_FILE
CD="/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS/CocoaDialog bubble --background-top
EFEFEF --background-bottom CACACA --icon-file /Applications/
TextMate.app/Contents/Resources/TextMate.icns"
ftp -o $LOCAL_FILE ftp://$1
if [[ $? = "0" ]]; then
MD5_OUT=$(md5 $LOCAL_FILE)
mate -w $LOCAL_FILE
if [[ "$MD5_OUT" != "$(md5 $LOCAL_FILE)" ]]; then
ftp -u ftp://$1 $LOCAL_FILE
if [[ $? = "255" ]]; then
$CD --title "FTPMate" --text "$REMOTE_FILE updated" &
else
$CD --title "FTPMate" --text "Unable to update $REMOTE_FILE" &
fi
fi
rm -r $LOCAL_FILE
else
$CD --title "FTPMate" --text "Unable to retrieve $REMOTE_FILE" &
fi
--- End
usage : ftpmate [user[:password]@]host[:port]/path
The script attempts to fetch the file and writes it to /tmp/ where it
is opened by TextMate, after the 'mate' process has ended a checksum
is compared to the pre-opened checksum and if it has changed then the
file is uploaded.
I decided to use the bubble requester in the CocoaDialog app because
I am calling the script outside a shell session and want to know the
file had successfully been uploaded.
Likewise I also made a script using SCP instead of FTP
--- Start "scpmate"
#!/usr/bin/env bash
REMOTE_FILE=$(echo $1 | awk -F '/|:' '{print $NF}')
LOCAL_FILE="/tmp/"$REMOTE_FILE
CD="/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS/CocoaDialog bubble --background-top
EFEFEF --background-bottom CACACA --icon-file /Applications/
TextMate.app/Contents/Resources/TextMate.icns"
scp $1 $LOCAL_FILE
if [[ $? = "0" ]]; then
MD5_OUT=$(md5 $LOCAL_FILE)
mate -w $LOCAL_FILE
if [[ "$MD5_OUT" != "$(md5 $LOCAL_FILE)" ]]; then
scp $LOCAL_FILE $1
if [[ $? = "0" ]]; then
$CD --title "SCPMate" --text "$REMOTE_FILE updated" &
else
$CD --title "SCPMate" --text "Unable to update $REMOTE_FILE" &
fi
fi
rm -r $LOCAL_FILE
else
$CD --title "SCPMate" --text "Unable to retrieve $REMOTE_FILE" &
fi
--- End
usage : scpmate [user@]host:path
I love textmate, it's always lacked in CVS support, you add features
that are the easiest to add like subversion or other weird libraries.
But not the ONE thing that is a show stopper for almost everyone.
Every office USES CVS? Why can't this be the #1 priority of textmate?
Textmate as an editor is nothing without CVS support. I hate having
to use BBedit, to browse CVS, or textwrangler, then switching back to
textmate.
The one and only thing the developers should focus on right now is.
CONNECTIVITY.
who agrees with me? we your customers want CVS support, and SFTP,
FTP, and networked support, and not through some third party client.
You want to make textmate the worlds best editor? Add in features
that crappy clients like eclipse or zend developer environment have,
that let you browse and commit to the CVS trunk, and roll back.
Anyone who wants, and thinks this is the most important feature of
textmate (aside from being a text editor) please comment and show
your support. I'm personally willing to donate an extra $500 for
seemless CVS intergration, not that crappy bundle that's going around.
As a user interface designer, I could even help you design the
sidebar for browsing CVS, subversion, and feature sets. But everyone
is EDITING files online, it shouldn't be hard to intergrate, there
are SO many free libraries for unix that you can use!!! especially
for the sftp, and so forth, you don't have to re-invent the wheel.
Pleeeeeeease..
Best Regards your loyal customer,
court kizer
The LaTeX snippets for sections, when they contain a label, look like
this:
\section{${1:section name}}\label{sec:${2:${1/(\w+)|\W+/(?1:\L$0:)/g}}}
Somehow (I don't get the syntax for this yet) the $2 part strips non-
word characters from $1. Is it also possible to do transformations
like replacing umlauts äöü with aou?
Thanks,
Dan
…gives me the following on Konsole:
2006-06-19 07:56:01.918 TextMate[13929] removeBundleItem: delete /
Users/dekay/Library/Application Support/TextMate/Bundles/
daniel.latex.tmbundle/Snippets/\subsubsection .. (ssub).plist (Sub
Sub Section (ssub)), success YES
2006-06-19 07:56:01.919 TextMate[13929] removeBundleItem: delete /
Users/dekay/Library/Application Support/TextMate/Bundles/
daniel.latex.tmbundle/Snippets/\subsubsection .. (ssub).plist (Sub
Sub Section (ssub)), success NO
Is it normal that a delete action creates two lines of output like this?
Dan
Hello. I'm interested in modifying the LaTeX Article template. The
Article template (from Edit Templates) uses a perl one-liner to
import a file called "article_in.tex," where, I assume, most of the
interesting stuff lives. I can't for the life of me find
"article_in.tex." Where is it? (And the metaquestion, I guess, is
"if I want to make substantive changes to the latex article template,
is editing article_in.tex in fact the right thing to do?)
this is the default latex article template code, BTW:
if test \! -e "$TM_NEW_FILE"; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_USERNAME=`niutil -readprop / /users/\$USER realname` \
AUTHOR_ADDR=$(RA="defaults read AddressBookMe"; cat <<EOA
`$RA FirstName` `$RA LastName`
\\\\ `$RA StreetAddr1`
\\\\ `$RA StreetAddr2`
\\\\ `$RA ZipPostal` `$RA City`
\\\\ `$RA Email`
\\\\ http://www.xxx.yyy/mysite.html
EOA) \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< article_in.tex > "$TM_NEW_FILE"
fi
thanks for your help.
--andreas
I just uploaded a new GTD sort command as part of the GTD bundle.
The code may not be pretty, but I think it works. To use it, you
need to create a contexts.gtd file in your GTD project. This file
holds the contexts that the sort function uses to sort a file. There
are several items in the file that don't do anything yet, but I'm
hoping to keep the file stable as I add functionaility. As always,
feedback is encouraged!
Alaskamike
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I am working on a command to sort my GTD list by context. The
problem I have is that if I have not saved the file, the command
sorts the saved version of the file instead of what's currently in
TextMate. How do I select the current file instead of the saved
file? Thanks.
Mike
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
iD8DBQFElJFT4oDM7Rgs0h0RAonEAJ4pIraMScWW5vqOBL9izTSY9oY0JwCguPB1
Pe6tfT9vMkfEpKBFKbQQ4IA=
=czuY
-----END PGP SIGNATURE-----
Dear All,
I get the following error when running Convert Document / Selection
to LaTeX on a MultiMarkdown document:
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
/Library/Application%20Support/TextMate/Bundles/Markdown.tmbundle/
Support/xhtml2latex.xslt:829: parser error : StartTag: invalid
element name
<<<<<<< .mine
^
compilation error: file /Library/Application%20Support/TextMate/
Bundles/Markdown.tmbundle/Support/xhtml2article.xslt line 38 element
import
xsl:import : unable to load /Library/Application%20Support/TextMate/
Bundles/Markdown.tmbundle/Support/xhtml2latex.xslt
Any ideas? Thanks.
All the best, Mark
I've been wanting to try my hand at bundle writing for a few weeks,
and this morning I began tinkering with what could possibly grow into
a reStructuredText bundle.
The first thing I attempted to figure out was how to recognize the
section titles in reStructuredText. From the language specification
(http://docutils.sourceforge.net/docs/ref/rst/restructuredtext.htm):
Sections are identified through their titles, which are marked
up with adornment: "underlines" below the title text, or
underlines and matching "overlines" above the title. An
underline/overline is a single repeated punctuation character
that begins in column 1 and forms a line extending at least as
far as the right edge of the title text.
For example:
A Title
-------
=============
Another Title
=============
Not a title
-----
==================================
Don't think this is a title either
==================================
It isn't clear to me how to capture these patterns with the language
grammar match rules, or indeed if it is even possible with the
current TextMate toolset. It doesn't seem like 'match' can work for
a multi-line pattern such as any of the above, and I haven't figured
out how one can use 'begin/end' to match a 2 or 3 line rule
(underline or overline/underline) but exclude things which don't match.
Is it possible? I freely admit that it's been quite a few years
since I've taken a compilers class (or tried to do a language-parsing
type thing), so I apologize if I'm missing something obvious.
The Markdown language (which I've never personally used) has a
similar underline mechanism for specifying headings, but it looks
like the Markdown TextMate bundle heading rule only captures the
underline and not the heading text. For example, a Markdown heading
and scopes:
A heading <= meta.paragraph.markdown, text.html.markdown
========= <= markup.heading.1.markdown, text.html.markdown
Thanks for any insight!
--
Matt Anderson
Is it possible to add entries to or edit the menu that appears when
one right clicks or control clicks in the text editing area of the
TextMate window?
I'd like to see a "Look [highlighted word] Up in Dictionary" command
like that found in Safari / TextEdit / Mail / etc under Tiger. I
know that there is a TextMate (applescript) command mentioned on the
wiki which can do something similar with a key equivalent, but I'm
used to the consistent interface to do this across these other
programs, and I'd love to have the same interface in TextMate.
Thanks!
--
Matt Anderson