Hello,
I'm trying to use the database browser with TextMate 1.5.6 (1405)
with Postgres 8.2.1. I've configured the SQL Bundle and when I try to
activate the browser, I see this error message:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:178:in `abort': cannot convert
Array into String (TypeError) from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:
178 from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
SQL.tmbundle/Support/bin/db_browser.rb:167:in `html' from /
Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/
Support/bin/db_browser.rb:167
I've already made the password prompt regex change suggested in
another posting, but that did not help.
Thanks for looking into this.
-B
Dear friends!
I am using Textmate for my LaTeX projects (writing arcticles at the
university).
I want the following macro: I want to mark a text that I have written
and then I want to push a special keyboard shortcut to activate it.
Example: "This is a text and it is just an example."
I want to mark the word "text", push a keyboard shortcut and then it
should create automatically:
"This is a \frqq text\flqq\ and it is just an example."
Can this be realized with TextMate?
Kind regards!
Chris (Austria)
For what it's worth, here's a refined version of this morning's
quickie HTML anchor commands. I'm definitely open to input.
They're tied to CTRL-SHIFT-R. That's probably something else's
shortcut, too, but I've lost track. There are two commands so the
shortcut gives you a menu with 2 options. Creating an anchor just
gives you a snippet with a suggested name based on the selected
text. Creating an anchor link gives you a list of all of the current
named anchors in the page and lets you select what to link to.
Thanks,
Brett
I had to whip this up this morning for a site that had a ton of named
anchor tags. There may have been something previously but I missed
it. If you highlight the text to link and hit CTRL-SHIFT-A, it will
give you a dialog with a suggested name for the anchor. Confirming
the dialog after any necessary modifications will create the href
link to the anchor and copy the name of the anchor to the clipboard.
Then you place the cursor or highlight the text to become the anchor
and hit CTRL-SHIFT-A again. It will create the anchor from the
clipboard. This makes for rapid index development.
The only drawback is that my current system of using the same
keyboard shortcut twice means if you hit undo after pasting the
anchor you lose the clipboard and have to start that anchor over from
the beginning. It may be wise to separate the two functions, but I
didn't want to take up more shortcuts than necessary ;).
Brett
Hi,
I'm using Version 1.5.6 (1405) with Postgres 8.2.4. I've configured my setup
in the SQL Bundle,
but when opening the Databrowser nothing shows. I get the display of
"Databases" but there are no databases shown. When I add a wrong one, the
databrowser will complain that the db is unknown.
I can post mor information when necessary.
CU
Christian
--
View this message in context: http://www.nabble.com/SQL-Bundle%3A-Postgres-with-Databrowser-shows-nothing…
Sent from the textmate users mailing list archive at Nabble.com.
El 10/07/2007, a las 14:00, textmate-request(a)lists.macromates.com
escribió:
> tell application "TextMate"
> set w to window index 2
> set visible of w to false
> set visible of w to true
> end tell
it works like a charm. Thanks a lot. It will be for me a very
frequent shortcut.
- Juan FC.
Since upgrading to the latest version yesterday, the Convert Tabs To Spaces
menu option doesn't always work. I click on it and my text doesn't change.
But what I noticed later was a copy of my file's text had been appended to
the end of the file. More failures made more copies of the content.
Strange, I'm trying to reproduce the problem now and it's not occurring. It
works correctly every time.
This is with version 1.5.6 (1405).
THanks,
Ernest
--
View this message in context: http://www.nabble.com/Convert-Tabs-to-Spaces-is-unreliable-tf4059276.html#a…
Sent from the textmate users mailing list archive at Nabble.com.
I found a question on this posed in the dev mailing list, but am posting in
the user mailing list, because it is now a user issue :-)
Any luck with this... I see the release notes mention using the keychain to
store passwords, but I'm not sure how to go about doing this...
Brad Miller wrote:
>
> I've been trying to get the new browser to work. But I get the following
> error:
>
> ERROR 1045 (28000): Access denied for user 'bmiller'@'localhost' (using
> password: NO)
>
> It looks like I should be prompted for a password? There is no place to
> enter one in the configuration dialog. I've searched my keychain and
> cannot find one. Is there some variable I should be setting to tell the
> SQL
> bundle that I want to use a password?
>
> Brad
>
> --
> Brad Miller
> Assistant Professor, Computer Science
> Luther College
>
> On 7/7/07, Ciarán Walsh <ciawal(a)gmail.com> wrote:
>>
>> Switching in new SQL bundle from WIP branch
>>
>> Changed:
>> D branches/WIP/Bundles/SQL.tmbundle/
>> A trunk/Bundles/SQL.tmbundle/
--
View this message in context: http://www.nabble.com/sql-bundle-and-the-keychain--tf4043562.html#a11486125
Sent from the textmate users mailing list archive at Nabble.com.
Hey Kim,
Actually I was able to fix the problem by going to:
Bundles -> Bundle Editor -> Reload Bundles
This fixed multiple problems for me:
1) TODO Bundle
2) Markdown Preview
3) My Personal Bundle Snippets
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Based on a recent post, I have found easy to switch between the two
front-most windows,
osascript -e '
tell application "TextMate"
set index of window 2 to 1
end tell
' &>/dev/null &
(binded to numeric(0), making it really fast two use it!!, I use the
little finger)
but it doesn't work as desired since, although it exchanges the
windows order, it doesn't exchange the active one, leaving the window
behind the new front-most one active :(
Has anyone know some solution?
Thanks.
-- Juan FC
Hi there.
GetBundle is a great helper for installing and maintaining bundles!
A suggestion to its maintainer: would it be possible to add a "revert bundle
command"? I imagine that this could simply throw a dialog of all loaded
bundles and then delete the delta folder.
A really nice (but major, I imagine) would be a "merge" command which took a
bundle file on the desktop and merged its changes into an existing bundle,
on an item by item basis, prompting for conflicts.
I would use this for managing changes where I edit my own private bundles on
several machines and wish to get them all back into sync (I never figured
out subversion well enough to do it using SVN).
Some time ago, someone posted a message about a runtime error with bundles.
The problem was never resolved in the mailing list, but perhaps it was
outside the list...
I'm seeing the same problem. Whenever I try to execute a python script
within TextMate using <command>r, I see this error:
csh: setenv: Too many arguments. /bin/bash: line 2: : command not found
My default shell for my terminal sessions is tcsh, not bash. If that's any
help...
The very same script executes fine in a terminal window. If I execute from
TextMate using the Bundle -> Run Script (terminal), it works fine. If I just
execute the script in a terminal window, it works fine. Open the script in
BBEdit, and execute via the #! menu and it works fine.
Similarly, perl scripts return the same dumb error, yet work fine elsewhere.
I updated all my bundles with subversion, per the help file. I added
/Library/Application Support/TextMate/
and
/Library/Application Support/TextMate/Bundles
like the instructions indicated, and then added the bundles I expect to use.
Perhaps someone can tell me the error I've made.
Until then, back to BBEdit...
TextMate version 1.5.6, Mac OS X 10.4.10, MacBook Pro.
--
Richard Brosnahan
Editor in Chief
Broz News
http://broznews.org
I have never let my schooling interfere with my education.
Mark Twain, author
Hi,
I often find myself wanting to open a currently selected tab in a new
window (without having to track down the actual file in the file
drawer), so that I can look at it in parallel with another tab. Is
there a shortcut to do it? I can't find anything like that.
Any hints would be greatly appreciated.
Tench
hello :)
I've a problem when I compile with the TextMate command, often I've
a good result but when I compile the same document with texshop or with
kile on ubuntu I 've some errors. Texhsop and Kile stops the
compilation but not TextMate....
But the errors are real and I think that for the Textmate'command these
errors are only warnings.
Is it possible to modify this ?
Thanks Alain (sorry for my bad english)
Thanks, Alan, but I guess I was a bit unclear. I was hoping it would
look for the TODOs in just the files in the current project file, and
not all the files in the TM_PROJECT_DIRECTORY and down.
For example, if I have a project /Users/uner/Development/
exampleProj.tmproj with two files
/Users/uner/Development/vob/examples/example.cpp
/Users/uner/Development/vob/examples/tests/test.cpp
If I pick one of these files, type "echo $TM_PROJECT_DIRECTORY" and
do a ^R, I get "/Users/uner/Development/vob/examples", and that's the
folder the TODO bundle starts scanning from (i.e. it does /Users/uner/
Development/vob/examples/ and all subdirectories).
I'd really like it to just scan example.cpp and test.cpp.
Is there a way to do this, or do you have a suggestion for some code
I can copy from another bundle to see if I can hack this together
myself?
On Jul 8, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> From: Allan Odgaard <throw-away-1(a)macromates.com>
> Date: July 8, 2007 1:24:51 AM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] TODO Search Path/Recursion
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
> On 8. Jul 2007, at 06:04, Eric Uner wrote:
>
>> [...]
>> 1) Get the bundle to just show me the list it came up with last
>> time and only refresh when I need it to, or better yet,
> Could be done, but I don’t think many would prefer this behavior.
>> 2) Get it to only search the files in the current project?
> That should be the default -- try check the value of the
> TM_PROJECT_DIRECTORY variable from within your project.
> You can also set TM_TODO_IGNORE to exclude certain files/folders.
> On 8. Jul 2007, at 06:04, Eric Uner wrote:
>> [...]
>> 1) Get the bundle to just show me the list it came up with last
>> time and only refresh when I need it to, or better yet,
> Could be done, but I don’t think many would prefer this behavior.
>> 2) Get it to only search the files in the current project?
> That should be the default -- try check the value of the
> TM_PROJECT_DIRECTORY variable from within your project.
> You can also set TM_TODO_IGNORE to exclude certain files/folders.
Hi all,
(I'm posting this here because this section of the Textmate wiki:
"Use the mailing list...For everything related to bundle items, since
a lot of the stuff is done by other TM users (who for the most part
are subscribed to this list)")
I just upgraded to the newest version of Textmate (1.5.6 (1405)), now
when I hit the key combo (ctrl-shift-t), I get the error message:
/Users/jdoe/Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/lib/settings.rb:62:in `markers': undefined
method `+' for nil:NilClass (NoMethodError) from /Users/jdoe/
Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/todo.rb:32
I have not made any changes to the new "Preferences" section of the
TODO Bundle.
Does anyone have any suggestions on how I can correct this?
----
BrianH
binarynomad(a)gmail.com
Dear all, Having troubles getting Skim 0.5 to work with the Latex Watch
bundle. The compiled PDF is not updated on saving the source LaTeX. PDF sync
back and forwards works perfectly. Is anyone else having this problem?
Regards,
Mark P
Maybe a dumb question, but when/where do I enter my password for the
new SQL bundle in 1.5.6? I get a "Access Denied... using Password NO"
error.
Thanks
I have installed the "Edit in Textmate" bundle, with apparent success,
except that when I invoke the function, either through the hotkey
combination or by selecting the item from the edit menu in Safari,
nothing happens. I simply get the OS X warning sound.
Looking in the console I see the following:
2007-07-07 01:17:38.606 TextMate[9345] Can't open input server
/Users/chris/Library/InputManagers/Edit in TextMate
Not sure what this is all about, since this link does actually exist,
and links to the folder in
/Applications/TextMate.app/Contents/Resources.
Any idea how to get this working?
Thanks in advance.
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.4.dmg
Changes since 2.3:
- Warn if PostScript mode is used with a non-default previewer.
- Expand the help file a little.
- With TeXShop, use open_for_externaleditor on the .tex file, to work
around an encoding-related bug in TeXShop.
- Add a refresh command for Skim, which works in Skim 0.5 and later.
This is just as well, since the automatic file-change checking is broken
in Skim 0.5!
Robin
Hi all,
I'm errors of the following persuasion when using the new todo
bundle. A new window pops up and the progress spinner runs for a bit.
The script then bails with this output:
/tmp/temp_textmate.jnhxMD:64:in `initialize': No such file or
directory - /Applications/TextMate.app/Contents/SharedSupport/Bundles/
TODO.tmbundle/Support/template.rhtml (Errno::ENOENT) from /tmp/
temp_textmate.jnhxMD:64:in `open' from /tmp/temp_textmate.jnhxMD:64
I see there's no "template.rhtml" file in my TODO bundle's Support
folder (only template_SOMETHING.rhtml)
I'm using:
* the just updated version of textmate (Version 1.5.6 (1401));
* macports ruby (1.8.6);
I updated my Bundles and Support directory from subversion and got
this problem. I then blew out the bundle from my subversion checkout
to force textmate to use the TODO bundle from TextMate's own bundles,
still the same thing.
What am I doing wrong?
Thanks,
-steve
The other problem i solved with creating a symlink..
But i wonder how to store the MySQL password. I couldn't find anything
in the bundle documentation and there isn't a input field
Did i miss something ?
Regards J.
Hello,
is it possible to somehow add own values to the wrap column menue?
I'm often using 72 as wrap column for writing emails, and adding this to
the menue as a user defined value would be really nice.
Thanks,
Eike
The new TODO bundle looks great, but searching through the NFS links
and all the tags and dirs etc. involved in my projects each time I
want to see the list is impractical. I may as well grep -r half my hard
drive. :-)
Before I start hacking away at the Ruby, is there some easy way I
am missing to either:
1) Get the bundle to just show me the list it came up with last
time and only refresh when I need it to, or better yet,
2) Get it to only search the files in the current project?
Thanks,
Eric