I remember some keen rsync bundle or command that someone had posted
but that's a bit too big a hammer for what I'm doing. I'd like to scp
my current working file in much the same way as I commit it to svn.
Has anyone worked on something like this?
Thanks,
Steve
Hello,
I have some problems with the Blogging bundle. When I try to fetch the
articles I get this error message:
---snip---
tm_dialog: failed to establish connection with TextMate.
/Users/thomas/Library/Application
Support/TextMate/Support/lib/dialog.rb:53:in `initialize': No such
dialog () (TextMate::WindowNotFound)
} for command: /Users/thomas/Library/Application\
Support/TextMate/Support/bin/tm_dialog -a -p \<\?xml\
version\=\"1.0\"\ encoding\=\"UTF-8\"\?\>'
'\<\!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\>details\</key\>'
'\ \<string\>\</string\>'
'\ \<key\>isIndeterminate\</key\>'
'\ \<true/\>'
'\ \<key\>summary\</key\>'
'\ \<string\>Contacting\ Server\ "bohnomat.de"…\</string\>'
'\ \<key\>title\</key\>'
'\ \<string\>Fetch\ Post\</string\>'
'\</dict\>'
'\</plist\>'
' ProgressDialog.nib from /Users/thomas/Library/Application
Support/TextMate/Support/lib/dialog.rb:26:in `new'
from /Users/thomas/Library/Application
Support/TextMate/Support/lib/dialog.rb:26:in `dialog'
from /Users/thomas/Library/Application
Support/TextMate/Support/lib/progress.rb:38:in `call_with_progress'
from /Users/thomas/Library/Application
Support/TextMate/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:546:in
`fetch'
from /tmp/temp_textmate.pmHLCP:3
---snap---
I hope someone can help me.
Thomas
Hi all,
The "Browse Tables" command returns a "mysqldb not found" error with
the latest cutting edge version of TM (1349) and a fresh checkout of
the SQL bundle on my computer using version 5.0.27 of MySQL.
mysql_config is in my PATH and I've followed the instructions for
installing the python module and the following relevant bit of code
from the checkinstall.py file runs without exception.
#!/usr/bin/env python
try:
import MySQLdb
except:
print 'mysqldb not found'
sys.exit(-1)
several months ago on the mailing list problems with "Browse Tables"
was attributed to Intel incompatibles, is that still an issue (I'm
using a MacBook Pro, but the MySQLdb module I got claimed to be
universal <pythonmac.org>)?
Any suggestions?
Peter
It's quite helpful that TM's project files are xml (plists, i believe). I
recently had a need to update the paths to a whole bunch of resources in a
project I'd setup. It was a fairly easy find/replace operation, but I had
to perform it in TextEdit because I couldn't get TM to open the file as a
text file instead of as a project. I suppose I could have resorted to some
form of file renaming shenanigans, but I'm wondering if there is another
way. Does anybody know how to do this without resorting to file extension
trickery?
-dave
I used to use
%&pdftemasclases
and other pre-dumped formated as usual in LaTeX but Cmd-R in TextMate
doesn't seems to recognize it.
Another good thing it should do could be to retypeset it until no
warnings and rebuild bibtex... etc.
For my own personal use I created the Portable Game Notation bundle,
I hope that it may come in handy for a few people on this mailing
list. I've included text from the Help command at the end of this
message to give details on what the bundle actually does, but just in
case you don't want to wade through all that text -
Portable Game Notation is a file specification which describes a game
of chess which is used in most chess applications, and is a popular
way to transfer games over the internet. As well as a language
definition and a Help command, a couple of snippets are included
which may save time describing the initial state of the game. There
is also a useful command included within the bundle to launch the
current game selected in the symbol list in an external Application.
The bundle is available from http://homepage.mac.com/
andy.herbert/.Public/Portable%20Game%20Notation.tmbundle.zip
I appreciate this bundle may only appeal to a niche interest group,
but any criticism and comments will be appreciated.
Further details included within the Help command follow:
## Portable Game Notation Bundle Help
The ["Portable Game Notation"](http://www.very-best.de/pgn-spec.htm)
specification provides a method for describing a complete game of
chess in human readable form, it is also a popular file format used
in home computer chess programs.
This bundle provides syntax highlighting, snippets, and a command to
view individual games in an external editor.
Syntax highlighting is available for the following scopes:
* Tag pairs for each game (Such as "Event" & "Site")
* Values for each tag pair
* Ply numeric
* Individual moves
* Individual moves involving captures
* King-side, or Queen-side castling
* "Check" notifications
* End-game result
* Comments between moves
In addition the entire move-list for each game can be folded within
TextMate, and spell checking is only enabled for in-game comments.
Individuals games stored in each PGN file can be immediately accessed
through Textmate's Symbol List (⇧⌘T), which displays
the values stored every game's tag pairs. An external editor can also
be used to visually display the moves in the current symbol scope.
### Creating a new game with the "Insert Seven Tag Roster" snippet
Each game described in a PGN file must include seven tags to describe
the setting for the game. The "Insert Seven Tag Roster" snippet
provides an easy way to include this information by typing
"tags⇥".
When the snippet is inserted then navigating through each value can
be achieved by pressing ⇥.
Default values for each tag are generated automatically, but certain
information such as the names of each opponent are expected.
For convenience the current date will be inserted in the required
"YYYY.MM.DD" format, although this can be altered as required.
### Describing each player's strength with the "Insert Elo Tags" snippet
Optional information on the strength of each opponent's play can be
defined by using the "Insert Elo Tags snippet", these values are to
be added with the rest of the tags in each game definition, and
describes the FIDE Elo rating for each player. A default value of "-"
indicates the rating at the time of the game is unknown.
### Viewing the current game in an external application using "View
Game"
An external application may be used to view the game currently
described by the value in the symbol list by defining the environment
variable "$TM\_PGN\_VIEWER" as the name of an installed application
(e.g. "Vektor3"). When the key combination "⌘R" is used
Textmate will launch the specified program as a seperate process.
Defining shell variables used within TextMate can be achieved by
using the key combination "⌘,", selecting the "Advanced"
preference pane by using the mouse, and finally selecting "Shell
Variables" as a sub-option.
Hi,
I'm just using the HTML bundle for the first time. I was thinking
it would be great if the tab triggers for more discoverable. Hence
this feature suggestion:
When hitting tab would trigger a tab-trigger, change the cursor.
It would only need/should only be a subtle change - change its colour
from black to navy blue. You'd then get an indication that something
would happen if you hit tab. You could try it - and undo if it
doesn't do what you want.
At the moment there could be all sorts of triggers that I just
don't know I'm missing...
Cheers,
Will :-}
Textmate's ability to write a new grammar which includes an existing
one is nice, but I'd like to do the opposite: make all existing
grammars include an extension...
I frequently use "structured comments", such as comments beginning
with "TODO:" to note bits of code that I've only stubbed out, or
"OPT:" for optimization opportunities. I'd like to be able to syntax-
highlight the most severe of these types of comments so that I always
notice these things as I'm scanning through a file.
I could just extend the grammar for each programming language with a
few new rules, but a much much better solution would be to add the
rules everywhere, such that anything within a "comment" scope and
which matched my rule got an additional "todo" scope.
Does Textmate already have a simple way to do this?
Is there a better approach to accomplish what I'm looking for?
Hello (sorry for my bad english)
I use textmate with the theme Eiffel to create my latex code.
When i want to put this code on my site, i use two commands of the
TextMate's Bundle :
Create HTML From Document and Create CSS From Current Theme
This works very fine : http://altermundus.fr/pages/lx/tb.html
But :
The css is very heavy and the source code also and it's very
difficult to modify this code
The same code is at this page on the site of Kjell Magne Fauskes
http://www.fauskes.net/pgftikzexamples/ (clic on the Sign diagram)
Kjell uses pygments a module of Python. The css and the code are more
simple and the result is correct
Two questions :
1) is it possible (perhaps with a better theme create only for
latex) to get a css more simple and a lighter source ?
2) is it possible to use pygments ( http://sourceforge.net/projects/
pygments/ or http://pygments.pocoo.org/ ) from TextMate with
Python's Bundle
Greetings Alain
ps : The result of the css with textmate is very fine but is
difficult to modify it directly by hand !
Sorry about that. Realized that I had forgotten to quote the first parameter
to the embedded applescript, which would cause issues with paths containing
spaces.
Here's the updated version of the bundle.