Hi there,
I've just updated my bundles from the repository as I thought I'd see
what new goodies are available. Now however when I attempt to commit
I get the usual status window with the following message:
"These files are not under version control, and so will not be committed:
._add_countries.php
test/unit/._postage_price_test.rb
test/fixtures/._products.yml
app/helpers/._application_helper.rb
app/helpers/._basket_helper.rb
app/models/._customer.rb
app/models/._sku.rb
app/models/._country.rb
app/models/._basket.rb
app/models/._card.rb
app/models/._order.rb
app/models/._product.rb
app/models/._basket_item.rb
..."
(and so on)
Then CommitWindow pops up with all those files listed again
(understandably with a ? status) and they are all selected too. This
is different behaviour to what I'm used to - the previously the
subversion bundle silently ignored ._* files and wouldn't even mention
their presence the status window.
I realise the ._* files appear as the project is on a NFS share but
previously this wasn't a problem. Is there way to tell the bundle to
globally ignore ._* or is the only option to set the svn:ignore
property recursively on every directory (and every new directory in
the future)?
(I've update the entire /Library/Application Support/TextMate/
checkout so I've got the up-to-date version of CommitWindow.app too)
Cheers,
Paul.
Hello!
I found an earlier post in the archiv files, but it seems, that this
command isn´t realised yet.
My Latex projects contain multiple files and the Code Brwoser only
shows the outline of the active one.
What I need, is an outline of the whole project. Are there any
solutions?
Helge
Hello,
I'm trying to get the MySQL bundle working so I can browse tables.
I get this on my MacBook Pro:
Traceback (most recent call last): File "/Applications/Document/
TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/
tableBrowser.py", line 284, in ? sys.exit(main()) File "/Applications/
Document/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/
Support/bin/tableBrowser.py", line 109, in main listTables
(dbName,dbHost,dbPort,serverType,passwd,dbUser) File "/Applications/
Document/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/
Support/bin/tableBrowser.py", line 130, in listTables mycon =
MySQLdb.connect(db=dbName,host=dbHost,port=int
(dbPort),user=dbUser,passwd=passwd) NameError: global name 'MySQLdb'
is not defined
I tried using tablebrowser.py standalone and it failed due to no
MySQLdb module for Python.
Downloaded and installed MySQLdb and now Python works properly with
the module and MySQL.
Alas, TextMate still can't find MySQLdb and fails with the same error.
I note that the first line of tablebrowser.py is:
#!/usr/bin/env python
My python is at:
/usr/bin/python
Is TextMate using some other Python than my native one?
If not, why can I interactively use Python with MySQL, but TextMate
won't work.
I have all the TM environment variables set so I don't think that is it.
Thoughts?
Thanks,
ml
Hi,
I had written about this before, but I am still seeing this.
If I have a mounted volume (Either AFP, or in the latest case NFS),
and I've opened some files from that volume (and have subsequently
closed them), when I go to dismount that
volume, I get an error in the Finder stating that the volume is in use.
It always end up being Textmate. Using the terminal, I can see:
john$ lsof | grep TextMate
TextMate 376 john cwd VDIR 26,9 4096 343647
/Volumes/10.1.1.104/public_html
(The volume that is mounted is just /Volumes/10.1.1.104/, public_html
is the directory I happened to open a file from.)
The only way around this is to quit TextMate. Any ideas why TM in
holding onto the volume like that?
Thanks,
jt
I have the following drag command for zip files to be inserted as snippet:
echo -n "<a href=\"http://$TM_REMOTE_URL/file_download/\${1:file_id}\"
title=\"\${2:"$TM_DROPPED_FILE"}\">\${3:"$TM_DROPPED_FILE"}</a>"
This will insert a download snippet for a default URL on a live server.
However, I would like to strip the path somehow from the variable.
Does anyone know how to do this,through a substitution reg ex maybe ?
Additionally a variable named $TM_FILE_NAME (That would just insert the
name of the file instead of $TM_DROPPED_FILE would make much sense here
for such a drag command, where you don't care
so much about the path.
regards, marios
Hi all,
[apologies if this appears more than once; been having posting trouble]
guerom00 wrote:
> Hi there,
>
> This a feature request : I would like to be able
> to cancel a “Find in Project”.
> Because while TM searches, it basically freezes
> for any other actions...
>
> TIA :)
More generally, this brings up the question of why the system (not just
TM!) becomes unresponsive, and why the search is so slow (at least for
projects that include whole directory trees).
Yours,
Andrew
TM is very sensitive about order in which Alt and mouse button are
released. I often end up with regular selection when I try to select
columns.
I've checked XCode and Word - both requre Alt to be pressed only when
clicking mouse button, not when relasing. I find that much easier to work
with - it's fail-safe and I don't have to hold Alt when selecting.
Is there a reason why TM has selection implemented like this? Can this be
changed or made configurable?
--
regards, porneL
Mike,
Thanks for responding. I uninstalled and reinstalled the latest
bundle just to make sure (through the GetBundle bundle). I do have
excluded.gtd in the project, and when I added "excluded.gtd" to
itself, the Active GTD List view error cleared up. However, the
Export to Geektool command still throws up an error even with all
this. The error comes up as a tooltip, so I had to enter it by hand:
/tmp/temp_textmate.bQodQm:42: undefined method `pre_match' for
nil:NilClass (NoMethodError)
from /tmp/temp_textmate.bQodQm:38: in `each'
from /tmp/temp_textmate.bQodQm:38
from /tmp/temp_textmate.bQodQm:34: in `each'
from /tmp/temp_textmate.bQodQm:34
from /tmp/temp_textmate.bQodQm:28: in `each'
from /tmp/temp_textmate.bQodQm:28
By the way, thanks for the great bundle, which was working for me not
long ago. It's very useful to have the output function the way it
outputs to Geektool. You may want to clear up in your introduction on
the blog whether the exclusions file is excluded.gtd or exclusions.gtd.
Adam
> Two questions:
>
> Are you using the latest version from the repository?
> Do you have an "excluded.gtd" file in your TM Project?
>
> If you don't have the "excluded.gtd" file, you can get it at my blog
>
> Let me know if that doesn't work.
>
> Mike
>
>> On 9/19/06, Adam Potthast <adamqp(a)freeminds.net> wrote:
>> Has anyone else had problems with "Active GTD List View" and "Export
>> to Geektool" in the GTD bundle following the last couple of Textmate
>> updates?
>>
>> When I run Active GTD List view I get the following error:
>>
>> /tmp/temp_textmate.H0K13x:78: undefined method `pre_match' for
>> nil:NilClass (NoMethodError) from /tmp/temp_textmate.H0K13x:74:in
>> `each' from /tmp/temp_textmate.H0K13x:74 from /tmp/
>> temp_textmate.H0K13x:70:in `each' from /tmp/temp_textmate.H0K13x:70
>> from /tmp/temp_textmate.H0K13x:67:in `each' from /tmp/
>> temp_textmate.H0K13x:67
>>
>> Export to Geektool throws up a different error that I can't copy and
>> paste, but it appears to be missing the 'pre_match' method as well.
>>
>> Regular GTD List view still seems to work fine.
>>
>> Thanks,
>> Adam
>>
>>
>> _____________________________________________________________________
>> _
>> For new threads USE THIS: textmate(a)lists.macromates.com
>> (threading gets destroyed and the universe will collapse if you
>> don't)
>> http://lists.macromates.com/mailman/listinfo/textmate
Based on suggestions from Allan I've revised the Fetch Categories command to
work with a multi-select menu (using osascript). You can now just choose
multiple categories at once and it will insert the text "Category:
your_category" for each selected item. Once again, this is only tested with
Wordpress on my end, so I'm curious to hear if it works with other blogging
software.
I have also made the command available for download at:
http://blog.circlesixdesign.com/downloads/FetchCategories2.zip
I'm having a lot of fun writing commands and snippets, but I'm no
programmer. If anyone sees fit to clean up the code, feel free, and I'd
love a copy to learn from if you do.
Brett
Hi,
I am pretty close to set up my development environment exactly the way I
want it.
The TXP Bundle runs much nicer now, with no warnings in Console output.
In the meanwhile, while using it and testing along, I came across a
problem that has puzzled my for hours.
I hope, that someone might be able to help.
I have a project Folder that uses a local document root Folder in my
Site folder for Testing, no problems with that.
However in order to use the completion command, for completions, that I
want for a special Tag <txp:article />, I have a Preference Item, that
contains the following command:
{ completionCommand = 'find "$TM_DIRECTORY" \
-name "$TM_CURRENT_WORD*article.txfml" -maxdepth 2 \
-exec basename "{}" \;|sort'; }
as described in Section 4.2 of the manual, in order to provide the
filenames of a special folder, that contains the needed filenames that I
need to provide as attribute values for the above mentioned tag.
My first problem here is, that I would need maxdepth 4 and even worser,
maxdepth 4 and 5.
I tried to alter the command, setting maxdepth to 4 and 5, since I need
to maintain the directory structure of my site folders.
This does not seem to work.
The second problem is, that I also have some other completions for Tag
names and attribute names, which are sitting normally in arrays, in some
other pref Items.
I set up another pref Item,
with :
{ disableDefaultCompletion = '1'; }
and scope :
text.html.txp entity.name.tag.single.article.txp
which is the same scope that I have for the above command, in order to
suppress the default completions on article form attribute values,
but the only thing that the escape key cycles through, are the near by
found values in the open document.
What am I doing wrong here ?
(Note also, that the file endings I have, have the form eg.:
.article.txfml, comment.txfml, file.txfml, etc, which are needed,
to fine grade those completions based on this article form completion
command.
Any help appreciated.
regards, marios