Hi,

this is my first active participation in the TextMate list. I've been using the program for about 4 months now and it is absolutely worth ecery cent.

I did some modifications and improvements to the php, html and javascript bundles, mainly in terms of code snippets.

I've added a bunch of form related snippets to html, dom and event handling methods to Javascript and added php doc snippets.

I thought these might be good for others as well.

How do I contact the bundle maintainers about this or do I need to go straight the SVN route?
I tried searching the wiki and google, but didn't actually find a precise answer.
I've never used SVN so far, so I am not quite sure how to go about this.

Any help is greatly appreciated.

Torsten Walter
__________________________________________________
3d-M | Professional Solutions for Online and Offline Media
Zum Piepenkerl 2 | 49090 Osnabrück | Germany
__________________________________________________
__________________________________________________
phone: +49 541 69 16 645
mobile: +49 179 12 13 561
__________________________________________________
email: tw@3d-m.de

On Oct 31, 2007, at 1:00 PM, textmate-request@lists.macromates.com wrote:

Send textmate mailing list submissions to
textmate@lists.macromates.com

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.macromates.com/mailman/listinfo/textmate
or, via email, send a message with subject or body 'help' to
textmate-request@lists.macromates.com

You can reach the person managing the list at
textmate-owner@lists.macromates.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of textmate digest..."
Today's Topics:

   1. Re: Drag&Drop Operation with NIB - TM don't get the focus
      automatically (Hans-Joerg Bibiko)
   2. Re: Ruby templates disappeared; Python Company setting
      (John Tsombakos)
   3. TextMate and Leopard (John Tsombakos)
   4. Re: Ruby templates disappeared; Python Company setting
      (James Edward Gray II)
   5. Re: XMLMate plug-in broken as of TextMate 1.5.7?
      (Todd Ditchendorf)
   6. Re: Re: What about TextMate 2? (Dave Lenz)
   7. can I intercept / overwrite "Show Web Preview" (Roberto Saccon)
   8. Re: TextMate and Leopard (Takaaki Kato)
   9. Re: can I intercept / overwrite "Show Web Preview"
      (Hans-Joerg Bibiko)
  10. Minor Pasteboard question (problem) (Hans-Joerg Bibiko)
  11. Re: RSpec Bundle errors (Arthur P?try)
  12. Re: Slow Xcode builds? (Gerd Knops)
  13. Spaces (Richard K Miller)
  14. Re: Spaces (Pat Maddox)
  15. Re: Spaces (Richard K Miller)
  16. Re: Spaces (Thomas Aylott)
  17. Re: Remote host mysql database connection problem (Ciar?n Walsh)
  18. Re: Spaces (Henrik Nyh)
  19. Re: Spaces (Steve Finkelstein)
  20. Re: Ctrl key and shortcuts cease working (Matt Freels)
  21. Re: can I intercept / overwrite "Show Web Preview"
      (Roberto Saccon)
  22. Re: Remote host mysql database connection problem (Alain Couchot)
  23. Quick Search bundle in Leopard (Diego Barros)
  24. Re: can I intercept / overwrite "Show Web Preview" (Brad Miller)
  25. Re: can I intercept / overwrite "Show Web Preview"
      (Roberto Saccon)
  26. Need help finding and MOVING text (mlondon)
  27. Wrap selection as link - html weirdness (Digital Rust)
  28. Re: Need help finding and MOVING text (Jay Soffian)
  29. Re: Wrap selection as link - html weirdness (Thomas Aylott)
  30. Re: Minor Pasteboard question (problem) (Rob McBroom)
  31. Re: Need help finding and MOVING text (Roger Roelofs)
  32. Re: Need help finding and MOVING text (Paul McCann)
  33. Re: Minor Pasteboard question (problem) (Hans-Joerg Bibiko)
  34. Hard wrapping again (Guido Governatori)
  35. Re: Hard wrapping again (Hans-Joerg Bibiko)
  36. Re: Hard wrapping again (Andy Armstrong)
  37. Re: Hard wrapping again (Guido Governatori)
  38. Re: Hard wrapping again (Guido Governatori)
  39. Re: AS3/Flex, how to begin? (Gaby Vanhegan)
  40. No Halloween-TM this year? (Niels Kobsch?tzki)
  41. Re: AS3/Flex, how to begin? (Simon Gregory)
  42. Re: AS3/Flex, how to begin? (Gaby Vanhegan)

From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>
Date: October 30, 2007 1:03:08 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Drag&Drop Operation with NIB - TM don't get the focus automatically
Reply-To: TextMate users <textmate@lists.macromates.com>


On 30 Oct 2007, at 10:58, Hans-Joerg Bibiko wrote:
I wrote a drag command which calls "$DIALOG" to show a nib. Fine.
If I drag a file from Finder to a new empty TM window, the nib popups, but unfortunately TM don't get the focus.

If I drag and drop e.g. an image from Finder to an HTML document the current document gets the focus.

Is this behaviour changeable?

Furthermore it turns out that sometimes it works and sometimes not(?) Could it be a timimg issue?

Hans




From: "John Tsombakos" <tsom467@gmail.com>
Date: October 30, 2007 1:55:07 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] Ruby templates disappeared; Python Company setting
Reply-To: TextMate users <textmate@lists.macromates.com>




On 10/29/07, James Edward Gray II <james@grayproductions.net> wrote:
On Oct 29, 2007, at 10:58 AM, Alexy Khrabrov wrote:

> Greetings -- I was a happy user of Ruby templates until TextMate
> decided to upgrade itself.  Suddenly the Templates are gone from
> the Ruby bundle!  And indeed, they're not there in the latest Ruby
> bundle.  What happened to them and how can I get them back and
> never let go?

Allan and I felt that the template didn't add anything significant
over ⌘N, ⌃⌥⇧R, rb⇥ and thus we decided to remove it.

Yeah, I noticed it was gone too and was going to post a message also. Then I saw one of the bundle updates saying they were removed. Good thing I had some clue where to at least start to look!

And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.



From: "John Tsombakos" <tsom467@gmail.com>
Date: October 30, 2007 1:58:51 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: [TxMt] TextMate and Leopard
Reply-To: TextMate users <textmate@lists.macromates.com>


I'm sure Allan is all over it, but I noticed an issue with TextMate (v1.5.7) running on Leopard. Clicking the "gear" popup at the bottom of the window and selecting various bundles to see the commands, the text in the menus are different sizes! Some small, some large. I remember seeing this before and it was corrected.

I'll play around more tonight to see if there's some correlation between menu items and text size.

--john

From: James Edward Gray II <james@grayproductions.net>
Date: October 30, 2007 2:02:57 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Ruby templates disappeared; Python Company setting
Reply-To: TextMate users <textmate@lists.macromates.com>


On Oct 30, 2007, at 7:55 AM, John Tsombakos wrote:

And also, if I recall, I tried the Control-Option-Shift-R, but it didn't work. I had to use Control-Option-Shift-E, then choose Ruby from the list.

The commit message had a typo in it.  It said to use E, but the R (for Ruby) is correct.

James Edward Gray II





From: Todd Ditchendorf <itod@mac.com>
Date: October 30, 2007 2:05:56 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] XMLMate plug-in broken as of TextMate 1.5.7?
Reply-To: TextMate users <textmate@lists.macromates.com>


Thanks for the report. I'll try to get a fix out. what version of OS X are u using?

Todd Ditchendorf

On Oct 30, 2007, at 1:51 AM, Rob Foxworthington wrote:

Just a quick question... wondering if it's just me or if XMLMate 1.4.1
<http://www.ditchnet.org/xmlmate/> is broken as of TextMate 1.5.7
(1436)?

Instead of the XMLMate window appearing, the following is reported on
the Console when clicking Windows => Show XMLMate Palette...

 TextMate[430] initializeLibxml
 TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized
 TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized

Behavior started with the cutting edge release that preceded 1.5.7,
before that, everything was fine.

Thanks!

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate





From: Dave Lenz <info@ypmits.nl>
Date: October 30, 2007 2:20:39 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Re: What about TextMate 2?
Reply-To: TextMate users <textmate@lists.macromates.com>


Dutch cheese

Op 25 okt 2007, om 01:33 heeft Xavier Cambar het volgende geschreven:

  design the release party in California
then
  hold it in China where the Macs and iP*s all really come from. <G>

Err... What product does NOT come from China, nowadays??



Xavier Cambar

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate





From: "Roberto Saccon" <rsaccon@gmail.com>
Date: October 30, 2007 2:32:03 PM GMT+01:00
To: textmate@lists.macromates.com
Subject: [TxMt] can I intercept / overwrite "Show Web Preview"
Reply-To: TextMate users <textmate@lists.macromates.com>


for specific non-HTML files I would like to perform some commands and
then show the result as HTML preview, it that possible ?

-- 
Roberto Saccon
http://rsaccon.com




From: Takaaki Kato <devlist@samuraicoder.net>
Date: October 30, 2007 2:43:09 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] TextMate and Leopard
Reply-To: TextMate users <textmate@lists.macromates.com>



On Oct 30, 2007, at 9:58 PM, John Tsombakos wrote:

I'm sure Allan is all over it, but I noticed an issue with TextMate (v1.5.7) running on Leopard. Clicking the "gear" popup at the bottom of the window and selecting various bundles to see the commands, the text in the menus are different sizes! Some small, some large. I remember seeing this before and it was corrected.

In my experience, the tab triggers are larger. Not random. Can anybody confirm this?


Takaaki
-- 
Takaaki Kato
http://samuraicoder.net




From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>
Date: October 30, 2007 2:46:29 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
Reply-To: TextMate users <textmate@lists.macromates.com>



On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
for specific non-HTML files I would like to perform some commands and
then show the result as HTML preview, it that possible ?

1)
Open Web Preview
Show Options
Check 'Pipe text through' "YOUR SCRIPT"

2)
Write a command which executes your script and set "Output" to "Show as HTML"

--Hans




From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>
Date: October 30, 2007 2:57:13 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Minor Pasteboard question (problem)
Reply-To: TextMate users <textmate@lists.macromates.com>


Hi,

I'm using Safari 3.0.3 on Tiger.

I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?
This could be under some circumstances quite useful but is there a way to suppress such behaviour?

Thanks,

Hans




From: Arthur Pétry <arthur.petry@bolloretelecom.eu>
Date: October 30, 2007 3:09:02 PM GMT+01:00
To: textmate@lists.macromates.com
Cc: alastair@kozmo.co.uk
Subject: Re: [TxMt] RSpec Bundle errors
Reply-To: TextMate users <textmate@lists.macromates.com>



Hi all,

I'm trying to run rspec bundle command but am getting errors.

/Users/alastair/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':
undefined method `parse' for Spec::Runner::OptionParser:Class
(NoMethodError) from /Users/alastair/Library/Application Support/
TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:33:in `chdir' from /Users/alastair/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:33:in `run' from /Users/alastair/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4


Does anyonene have any ideas what might be causing this?

Hi Alastair.

Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)

Resolved by changing one line in runner.rb see patch :

<patch.diff>


But I'm very new to Rspec, so I don't have any idea of why we have to do that and I don't know if it breaks something.


Arthur


From: Gerd Knops <gerti-textmate@bitart.com>
Date: October 30, 2007 4:18:37 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Slow Xcode builds?
Reply-To: TextMate users <textmate@lists.macromates.com>



On Oct 29, 2007, at 4:43 PM, Allan Odgaard wrote:

On 27 Oct 2007, at 18:38, Gerd Knops wrote:

Since upgrading to Leopard Xcode builds (using xcodebuild tool from the functions in the Xcode bundle) seems a lot slower, specifically it seems the "Checking Dependencies" phase is responsible for that.

Anybody else seing this? Anyone have a workaround?

I am also seeing that, and it sucks. I have one project that is an umbrella for 14 or so (sub)projects, and I think it takes >1 minute to check dependencies, even re-running the build (on a Mac Pro with plenty of memory) does not make it faster.

Afraid the only solution for now is file performance bugs for xcodebuild at http://bugreport.apple.com/

Already done, but I guess with bugreporter more is better...

Gerd





From: Richard K Miller <richardkmiller@gmail.com>
Date: October 30, 2007 4:40:37 PM GMT+01:00
To: textmate@lists.macromates.com
Subject: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>


So far I like Spaces, with a couple of caveats:

1. It can be confusing to open multiple windows of the same application in separate spaces. For example, I'd like to have one Textmate window for web development and another for my GTD list, in separate spaces. The problem is that when I use Command-Tab to switch to Textmate, it switches to the most recent Textmate window I used instead of the Textmate window in the current space (which is what I would prefer.) I think Command-Tab should give priority to application windows in the current space. As far as I can tell this is a Spaces characteristic since TextEdit behaves the same.

2. When I open the Find dialog in Textmate, it switches to the last space where I used Find, instead of bringing the Find dialog into the current space. I believe this is a Textmate issue, as it does not occur in TextEdit. If this is scheduled to be fixed in version 2.0, I can wait. Should I submit this as a bug, or is this expected behavior?

Richard






From: "Pat Maddox" <pergesu@gmail.com>
Date: October 30, 2007 4:49:55 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>


On Oct 30, 2007 8:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:
So far I like Spaces, with a couple of caveats:

1. It can be confusing to open multiple windows of the same
application in separate spaces. For example, I'd like to have one
Textmate window for web development and another for my GTD list, in
separate spaces. The problem is that when I use Command-Tab to switch
to Textmate, it switches to the most recent Textmate window I used
instead of the Textmate window in the current space (which is what I
would prefer.) I think Command-Tab should give priority to application
windows in the current space. As far as I can tell this is a Spaces
characteristic since TextEdit behaves the same.

2. When I open the Find dialog in Textmate, it switches to the last
space where I used Find, instead of bringing the Find dialog into the
current space. I believe this is a Textmate issue, as it does not
occur in TextEdit. If this is scheduled to be fixed in version 2.0, I
can wait. Should I submit this as a bug, or is this expected behavior?

Richard



______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



I wouldn't be so quick to blame TM.  I find a lot of funkiness with
other apps (firefox, mail).  I'm sure that since Spaces is brand new
there will be some wrinkles to iron out.  Though I'm not too sure that
Apple will actually fix them.

Also, I thought 2.0 was just a rumor that wasn't going to happen.  At
least that's what it says in the IRC chan...

Pat




From: Richard K Miller <richardkmiller@gmail.com>
Date: October 30, 2007 5:00:18 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>



On Oct 30, 2007, at 9:49 AM, Pat Maddox wrote:

On Oct 30, 2007 8:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:
So far I like Spaces, with a couple of caveats:

1. It can be confusing to open multiple windows of the same
application in separate spaces. For example, I'd like to have one
Textmate window for web development and another for my GTD list, in
separate spaces. The problem is that when I use Command-Tab to switch
to Textmate, it switches to the most recent Textmate window I used
instead of the Textmate window in the current space (which is what I
would prefer.) I think Command-Tab should give priority to application
windows in the current space. As far as I can tell this is a Spaces
characteristic since TextEdit behaves the same.

2. When I open the Find dialog in Textmate, it switches to the last
space where I used Find, instead of bringing the Find dialog into the
current space. I believe this is a Textmate issue, as it does not
occur in TextEdit. If this is scheduled to be fixed in version 2.0, I
can wait. Should I submit this as a bug, or is this expected behavior?

Richard

I wouldn't be so quick to blame TM.  I find a lot of funkiness with
other apps (firefox, mail).  I'm sure that since Spaces is brand new
there will be some wrinkles to iron out.  Though I'm not too sure that
Apple will actually fix them.

Also, I thought 2.0 was just a rumor that wasn't going to happen.  At
least that's what it says in the IRC chan...

I don't believe TM is to blame for #1. As for #2, I haven't tested other apps, but TextEdit seems to behave correctly while TM doesn't work. I suppose that could still be a bug in Spaces.

I hadn't heard about 2.0 being a rumor.





From: Thomas Aylott <textmate@subtlegradient.com>
Date: October 30, 2007 5:25:23 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>


There's a workaround for #2

I just wrote an article about it on my blog: subtleGradient.com

I'll be releasing an updated GUI replacement pack soon that fixes this issue today or tomorrow.

(Never wait for mythical upgrades that have no release dates ;)

Thomas Aylott [SubtleGradient] from iPhone

On Oct 30, 2007, at 11:40 AM, Richard K Miller <richardkmiller@gmail.com> wrote:

So far I like Spaces, with a couple of caveats:

1. It can be confusing to open multiple windows of the same application in separate spaces. For example, I'd like to have one Textmate window for web development and another for my GTD list, in separate spaces. The problem is that when I use Command-Tab to switch to Textmate, it switches to the most recent Textmate window I used instead of the Textmate window in the current space (which is what I would prefer.) I think Command-Tab should give priority to application windows in the current space. As far as I can tell this is a Spaces characteristic since TextEdit behaves the same.

2. When I open the Find dialog in Textmate, it switches to the last space where I used Find, instead of bringing the Find dialog into the current space. I believe this is a Textmate issue, as it does not occur in TextEdit. If this is scheduled to be fixed in version 2.0, I can wait. Should I submit this as a bug, or is this expected behavior?

Richard



______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate




From: Ciarán Walsh <ciawal@gmail.com>
Date: October 30, 2007 5:34:37 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Remote host mysql database connection problem
Reply-To: TextMate users <textmate@lists.macromates.com>



On 28 Oct 2007, at 04:03, Alain Couchot wrote:


When I try to connect with TM I get a message : Unknown system variable ''
coming from mysql server.

Hi Alain,

That’s odd – looks like your server doesn’t have an encoding set. I’ve modified the SQL bundle to handle this gracefully, so you have the following options:

• If you are already using an SVN checkout of the bundle just update it
• If you’re not then check the manual under “Getting New Bundles” for information on how to get it
• You can use this patch to fix the problem:

======================
Index: db_browser_lib.rb
===================================================================
--- db_browser_lib.rb (revision 8375)
+++ db_browser_lib.rb (working copy)
@@ -55,11 +55,7 @@
   def get_mysql(database = nil)
     unless @@connector
       @@connector = Mysql::new(@settings.host, @settings.user, @settings.password, database || @settings.name, @settings.port)
-      begin
-        encoding = @@connector.query('SELECT @@character_set_database AS server').fetch_hash
-      rescue
-        encoding = {:server => 'utf8'}
-      end
+      encoding = @@connector.query('SELECT @@character_set_database AS server').fetch_hash
       @@connector.query('SET NAMES utf8;') if encoding["server"] != 'latin1'
     end
     @@connector


======================
Apply it in /Applications/TextMate.app/Contents/SharedSupport/Bundles/SQL.tmbundle/Support/bin/

Or of course you can just wait for the next TextMate update, when you’ll get it automatically.

Ciarán



From: "Henrik Nyh" <henrik@nyh.se>
Date: October 30, 2007 6:04:42 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>


On 10/30/07, Pat Maddox <pergesu@gmail.com> wrote:
Also, I thought 2.0 was just a rumor that wasn't going to happen.  At
least that's what it says in the IRC chan...

That was a perhaps poorly phrased (something like: "TM2 is only a
rumor – don't ask") way of saying "don't bother the developer about
TM2". The IRC channel topic has since replaced that text with a link
to http://macromates.com/wiki/FAQ/TextMate2.



From: "Steve Finkelstein" <sf@stevefink.net>
Date: October 30, 2007 6:08:17 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] Spaces
Reply-To: TextMate users <textmate@lists.macromates.com>


Also keep in mind, Spaces in its current implementation is far from
perfect. I've already experienced a bug that lost all of my windows.
The applications were not prematurely exited, but no matter what I
did, I could not bring them into the foreground or regain control of
them. I have not been able to replicate this particular bug, but I
have submitted a note about it to Apple.

- sf

On 10/30/07, Henrik Nyh <henrik@nyh.se> wrote:
On 10/30/07, Pat Maddox <pergesu@gmail.com> wrote:
Also, I thought 2.0 was just a rumor that wasn't going to happen.  At
least that's what it says in the IRC chan...

That was a perhaps poorly phrased (something like: "TM2 is only a
rumor – don't ask") way of saying "don't bother the developer about
TM2". The IRC channel topic has since replaced that text with a link
to http://macromates.com/wiki/FAQ/TextMate2.


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate





From: Matt Freels <matt@furtherin.net>
Date: October 30, 2007 3:37:26 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Ctrl key and shortcuts cease working
Reply-To: TextMate users <textmate@lists.macromates.com>


I just ran into a problem where after the recent update (version 1436), all of TM's shortcuts involving the ctrl key broke.

What is an example of a shortcut which broke?

Well, not helpfully at all bug-context-wise but much to my relief, the shortcut keys started working again.

Commands that didn't work included switching language definitions, Insert Open/Close Tag in HTML, seemed like anything that didn't use the command key except some of the emacs-like shortcuts (^a, ^e, ^k, etc.). I'm sorry I can't tell you for sure.

One thing I didn't think of trying while troubleshooting the problem but have done in the meantime was to switch languages in the international panel. I sometimes jump back and forth between italian and english in the same session, and maybe that broke things.

Thanks,

--matt




From: "Roberto Saccon" <rsaccon@gmail.com>
Date: October 30, 2007 7:58:36 PM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
Reply-To: TextMate users <textmate@lists.macromates.com>


thanks, I should have mentioned that I am aware of that, what I don't
know is how to make those steps part  of a language bundle, so I can
distribute this functionality, without the User having to install it
manually.

On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:

On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
for specific non-HTML files I would like to perform some commands and
then show the result as HTML preview, it that possible ?

1)
Open Web Preview
Show Options
Check 'Pipe text through' "YOUR SCRIPT"

2)
Write a command which executes your script and set "Output" to "Show
as HTML"

--Hans

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



-- 
Roberto Saccon
http://rsaccon.com




From: Alain Couchot <ac@sdv.fr>
Date: October 30, 2007 10:35:44 PM GMT+01:00
To: textmate@lists.macromates.com
Subject: [TxMt] Re: Remote host mysql database connection problem
Reply-To: TextMate users <textmate@lists.macromates.com>


Thanks for your help and your patch
I installed the new bundle without success
Perhaps should I say that my dabase is configured in french language and the exact error message is in french :

Variable syst�me '' inconnue

Regards
Alain

Ciarán Walsh a écrit :
Hi Alain,
That’s odd – looks like your server doesn’t have an encoding set. I’ve modified the SQL bundle to handle this gracefully, so you have the following options:





From: "Diego Barros" <diego@heyboyo.com>
Date: October 30, 2007 11:24:53 PM GMT+01:00
To: textmate@lists.macromates.com
Subject: [TxMt] Quick Search bundle in Leopard
Reply-To: TextMate users <textmate@lists.macromates.com>


Hi all,

Anyone that's using the Quick Search bundle under Leopard finding that it's now broken? I'm getting the following error as soon as I choose "Quick Search"

/tmp/temp_textmate.xdnrYn:4:in `require': no such file to load -- /Library/Application Support/TextMate/Support/lib/dialog (LoadError) from /tmp/temp_textmate.xdnrYn:4 from /tmp/temp_textmate.xdnrYn:4:in `each' from /tmp/temp_textmate.xdnrYn:4


I've updated the bundles directory to the latest, but alas still no joy. Any help would be appreciated.

Cheers,
Diego 


From: Brad Miller <bonelake@gmail.com>
Date: October 30, 2007 11:29:33 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
Reply-To: TextMate users <textmate@lists.macromates.com>


Roberto,

Maybe I'm not really understanding what you want to do, but  You can always write a command for your bundle (with whatever processing you want to the file) and then set the key equivalent to ⌃⌥⌘-p.  If you set the scope for your command to your language scope then your command will take precedence over the general preview command.

Brad


On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:

thanks, I should have mentioned that I am aware of that, what I don't
know is how to make those steps part  of a language bundle, so I can
distribute this functionality, without the User having to install it
manually.

On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:

On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
for specific non-HTML files I would like to perform some commands and
then show the result as HTML preview, it that possible ?

1)
Open Web Preview
Show Options
Check 'Pipe text through' "YOUR SCRIPT"

2)
Write a command which executes your script and set "Output" to "Show
as HTML"

--Hans

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)



-- 
Roberto Saccon
http://rsaccon.com

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate





From: "Roberto Saccon" <rsaccon@gmail.com>
Date: October 31, 2007 12:50:15 AM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] can I intercept / overwrite "Show Web Preview"
Reply-To: TextMate users <textmate@lists.macromates.com>


Brad, thanks. I didn't know about that (It's just the third day I am
using textmate)

On 10/30/07, Brad Miller <bonelake@gmail.com> wrote:
Roberto,

Maybe I'm not really understanding what you want to do, but  You can
always write a command for your bundle (with whatever processing you
want to the file) and then set the key equivalent to ⌃⌥⌘-p.  If
you set the scope for your command to your language scope then your
command will take precedence over the general preview command.

Brad


On Oct 30, 2007, at 1:58 PM, Roberto Saccon wrote:

thanks, I should have mentioned that I am aware of that, what I don't
know is how to make those steps part  of a language bundle, so I can
distribute this functionality, without the User having to install it
manually.

On 10/30/07, Hans-Joerg Bibiko <bibiko@eva.mpg.de> wrote:

On 30 Oct 2007, at 14:32, Roberto Saccon wrote:
for specific non-HTML files I would like to perform some commands
and
then show the result as HTML preview, it that possible ?

1)
Open Web Preview
Show Options
Check 'Pipe text through' "YOUR SCRIPT"

2)
Write a command which executes your script and set "Output" to "Show
as HTML"

--Hans

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you
don't)



--
Roberto Saccon

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)


______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate



-- 
Roberto Saccon
http://rsaccon.com



From: mlondon <mlondon@sprynet.com>
Date: October 31, 2007 1:18:50 AM GMT+01:00
To: textmate@lists.macromates.com
Subject: [TxMt] Need help finding and MOVING text
Reply-To: TextMate users <textmate@lists.macromates.com>



Hi,

I need to edit a giant vCard file which has been exported from Palm Desktop
and contains about 1000 entried. The Palm export puts my Notes directly
under the phone number and then all my custom fields below that. When I open
in Address Book, the Custom fields are buried below my notes.

I would like to be able to FIND a string and move it up or down in the file.
Is this possible?

For example:


FN:Pam
N:;Pam
ADR:;;1911 North Duncan Road;Champaign;IL;61821;USA
LABEL;QUOTED-PRINTABLE:1911 North Duncan Road=0D=0AChampaign, IL
61821=0D=0AUSA
TEL;WORK:217-355-9331
TEL;FAX:217-355-9413
ORG:Balough Scientific Books
NOTE;QUOTED-PRINTABLE:=0D=0A[Comments]=0D=0ADistributors of PROSEA books
REV:20020222
X-Palm-Category1:Bookstore

I would like to move the line containing: "X-Palm-Category1:Bookstore" ABOVE
the line which starts: NOTE;

Thank you...
-- 
View this message in context: http://www.nabble.com/Need-help-finding-and-MOVING-text-tf4704885.html#a13448389
Sent from the textmate users mailing list archive at Nabble.com.





From: Digital Rust <digitalrust@digitalrust.com>
Date: October 31, 2007 1:36:50 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Wrap selection as link - html weirdness
Reply-To: TextMate users <textmate@lists.macromates.com>


I've come across some odd behavior when using the html bundle and converting mail addresses to links:

If I copy name@email.com and then use the key comand, it results in <a href="mailto:&#x64;&#x61;&#x76;&#x65;&#x40;&#x64;&#x61;&#x76;&#x65;&#x2E;&#x63;&#x6F;&#x6D;">name@email.com</a>

Is there a workaround?

-Dave




From: "Jay Soffian" <jaysoffian+txmt@gmail.com>
Date: October 31, 2007 2:10:47 AM GMT+01:00
To: "TextMate users" <textmate@lists.macromates.com>
Subject: Re: [TxMt] Need help finding and MOVING text
Reply-To: TextMate users <textmate@lists.macromates.com>


On 10/30/07, mlondon <mlondon@sprynet.com> wrote:

I would like to be able to FIND a string and move it up or down in the file.

Pipe the document through:

perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
unless @hold;  if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'

j.




From: Thomas Aylott <textmate@subtlegradient.com>
Date: October 31, 2007 2:11:24 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Wrap selection as link - html weirdness
Reply-To: TextMate users <textmate@lists.macromates.com>


is it only obfuscating the email in the link and not the actual text of the email?
Or do you not want it to obfuscate at all?

On Oct 30, 2007, at 8:36 PM, Digital Rust wrote:

I've come across some odd behavior when using the html bundle and converting mail addresses to links:

If I copy name@email.com and then use the key comand, it results in <a href="mailto:&#x64;&#x61;&#x76;&#x65;&#x40;&#x64;&#x61;&#x76;&#x65;&#x2E;&#x63;&#x6F;&#x6D;">name@email.com</a>

Is there a workaround?

-Dave

—Thomas Aylott – subtleGradient—





From: Rob McBroom <textmate@skurfer.com>
Date: October 31, 2007 4:56:01 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Minor Pasteboard question (problem)
Reply-To: TextMate users <textmate@lists.macromates.com>


On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:

I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?
This could be under some circumstances quite useful but is there a way to suppress such behaviour?

I imagine that they started using the shared "find buffer" for that field in Safari. Forgive me if this is old news, but if you select something and hit ⌘E, it gets put into a system wide buffer. That string then becomes "the thing you're searching for" in all Cocoa applications. I've seen it shared between OmniWeb, TextMate, Quicksilver, TextEdit, etc. Although it usually only applies to the ⌘F "search in page", I guess they decided to use it for the web search control in Safari as well.

I don't know of a way to suppress the behavior, but you could avoid it by using OmniWeb. :)

---
Rob McBroom
<http://www.skurfer.com/>







From: Roger Roelofs <roger.roelofs@gmail.com>
Date: October 31, 2007 7:46:07 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Need help finding and MOVING text
Reply-To: TextMate users <textmate@lists.macromates.com>


Jay Soffian wrote:
perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
unless @hold;  if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'

  

(not TextMate related ... sorry)
I'm somewhat familiar with perl, but I've never seen  'if /^NOTE/../^X-Palm/' before.  Where can I find it in the docs?


Roger
--
roger-roelofs@gmail.com





From: Paul McCann <pmccann@gmail.com>
Date: October 31, 2007 8:28:23 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Need help finding and MOVING text
Reply-To: TextMate users <textmate@lists.macromates.com>


Roger Roelofs asked:

I'm somewhat familiar with perl, but I've never seen  'if /^NOTE/../^X-Palm/' before.  Where can I find it in the docs?

You can see an explanation of this "flip-flop" operator with some nice examples via

  perldoc perlop

Search for "Range Operators".

Cheers,
Paul

From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>
Date: October 31, 2007 9:34:00 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Minor Pasteboard question (problem)
Reply-To: TextMate users <textmate@lists.macromates.com>


On 31 Oct 2007, at 04:56, Rob McBroom wrote:
On 2007-Oct-30, at 9:57 AM, Hans-Joerg Bibiko wrote:

I use Safari's upper right search text field to google something. Fine. After doing that I return to TM and the search string appears in TM's Find Dialog?
This could be under some circumstances quite useful but is there a way to suppress such behaviour?
I imagine that they started using the shared "find buffer" for that field in Safari. Forgive me if this is old news, but if you select something and hit ⌘E, it gets put into a system wide buffer. That string then becomes "the thing you're searching for" in all Cocoa applications. I've seen it shared between OmniWeb, TextMate, Quicksilver, TextEdit, etc. Although it usually only applies to the ⌘F "search in page", I guess they decided to use it for the web search control in Safari as well.

I don't know of a way to suppress the behavior, but you could avoid it by using OmniWeb. :)
Thanks. I see.

I only wonder whether TM could be configured in such a way to use either the "shared find buffer" or a "local find buffer". I believe, if any, that would be a question to Allan.

Cheers,

--Hans



From: Guido Governatori <guido@itee.uq.edu.au>
Date: October 31, 2007 9:46:07 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] Hard wrapping again
Reply-To: TextMate users <textmate@lists.macromates.com>


For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).

Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.

What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).

All the best

Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMate
http://www.defeasible.org






From: Hans-Joerg Bibiko <bibiko@eva.mpg.de>
Date: October 31, 2007 10:22:57 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Hard wrapping again
Reply-To: TextMate users <textmate@lists.macromates.com>


On 31 Oct 2007, at 09:46, Guido Governatori wrote:
For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).

Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.

What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).
Please forgive me, if I understood your problem wrong!

Did you try to set the "wrap column" to what ever; select all (APPLE+A); press CTRL+Q?
That you could record as macro.

Or is there something I missed?

Best,

--Hans





From: Andy Armstrong <andy@hexten.net>
Date: October 31, 2007 10:34:13 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Hard wrapping again
Reply-To: TextMate users <textmate@lists.macromates.com>


On 31 Oct 2007, at 08:46, Guido Governatori wrote:
Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.

What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).


Just set up a command that pipes the text through fmt.

-- 
Andy Armstrong, Hexten








From: Guido Governatori <guido@itee.uq.edu.au>
Date: October 31, 2007 11:14:30 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Hard wrapping again
Reply-To: TextMate users <textmate@lists.macromates.com>


On 31 Oct 2007, at 09:46, Guido Governatori wrote:
For many reasons, I would like to have the possibility to hard wrap my file (mainly for LaTeX files).

Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.

What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).
Please forgive me, if I understood your problem wrong!

Sorry I should have been more precise.

Did you try to set the "wrap column" to what ever; select all (APPLE+A); press CTRL+Q?

I have tried it but it does not do what I want.

The problem with CTRL-Q is that it does not "respect" LaTeX constructions.

For example

long line to be wrapped
\[
  math
\]
long line to be wrapped

with the proposed solution produces

long line to be wrapped \[ math \] long line to be wrapped

while with the one line at a time reformatting the above case is handled properly.

Thanks anyway

Guido

--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.itee.uq.edu.au/~guido  http://www.governatori.net
http://www.defeasible.org






From: Guido Governatori <guido@itee.uq.edu.au>
Date: October 31, 2007 11:24:19 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] Hard wrapping again
Reply-To: TextMate users <textmate@lists.macromates.com>



On 31/10/2007, at 7:34 PM, Andy Armstrong wrote:

On 31 Oct 2007, at 08:46, Guido Governatori wrote:
Reformat paragraph alone (^Q) does not work in the way I like, but selecting a line Shift-cmd-L and ^Q does what I want.

What I would like to know is whether there is a way to automate this procedure for a file (all the line in the file), or whether I have to write my own command for this (or there is a script called by ^Q).


Just set up a command that pipes the text through fmt.

It merges lines.

line
\[
  math
\]
line

is transformed into

line \[
  math
\] line

But the worst part is with comments :-(

Thanks anyway

Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMate
http://www.defeasible.org






From: Gaby Vanhegan <gaby@vanhegan.net>
Date: October 31, 2007 11:29:28 AM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] AS3/Flex, how to begin?
Reply-To: TextMate users <textmate@lists.macromates.com>



On 24 Oct 2007, at 06:35, Boysenberry Payne wrote:

So I'm guessing the work of porting is only as hard as it was to build it
the first time minus the part of figuring out the logic.

True, it's not as fearsome as I suspected it would be.

One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)?  I need to add a -default-size argument to the compiler but can't see where.  I don't want to edit the build script but I want to put it in the 'right' place.  Is there a project specific variable I could use?

Gaby

--
Junkets for bunterish lickspittles since 1998!



From: Niels Kobschätzki <n.kobschaetzki@googlemail.com>
Date: October 31, 2007 12:12:36 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: [TxMt] No Halloween-TM this year?
Reply-To: TextMate users <textmate@lists.macromates.com>


Sad, that this year my TM didn't switch to Halloween-mode - I really liked it :)

Niels




From: Simon Gregory <simon@helvector.org>
Date: October 31, 2007 12:32:50 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] AS3/Flex, how to begin?
Reply-To: TextMate users <textmate@lists.macromates.com>


One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)?  I need to add a -default-size argument to the compiler but can't see where.  I don't want to edit the build script but I want to put it in the 'right' place.  Is there a project specific variable I could use?

There are two ways to do this, firstly you could choose the Build (custom) command and have it execute your own script. However I'd recommend that you use a build-config.xml file which mxmlc reads when it beings the compilation process. You should see that it reads {flex_sdk_home}/frameworks/flex-config.xml (you can open this file by running the Configuration > Open flex-config.xml command) as the first step of compilation. By default mxmlc will also search for a config file in the same directory as your Main.as or Main.mxml file with a -config.xml suffix (so Main-config.xml).

In your case the contents of the file should be:

<flex-config>
<default-size>
<width>100</width>
<height>200</height>
</default-size>
</flex-config>

Hope this helps.
Simon




From: Gaby Vanhegan <gaby@vanhegan.net>
Date: October 31, 2007 12:44:03 PM GMT+01:00
To: TextMate users <textmate@lists.macromates.com>
Subject: Re: [TxMt] AS3/Flex, how to begin?
Reply-To: TextMate users <textmate@lists.macromates.com>



On 31 Oct 2007, at 11:32, Simon Gregory wrote:

One question though; where is a sensible place to set any extra arguments that are passed to mxmlc at compilation time (Apple-B)?  I need to add a -default-size argument to the compiler but can't see where.  I don't want to edit the build script but I want to put it in the 'right' place.  Is there a project specific variable I could use?

There are two ways to do this...

By default mxmlc will also search for a config file in the same directory as your Main.as or Main.mxml file with a -config.xml suffix (so Main-config.xml).

That's exactly what I was looking for, thank you!  I had put the directives into the Flex/frameworks/flex-config.xml files originally as a work-around but I wasn't happy with this.  This solution solves the problem neatly and cleanly.  

Many thanks!

Gaby

--
Junkets for bunterish lickspittles since 1998!


_______________________________________________
textmate mailing list
textmate@lists.macromates.com
http://lists.macromates.com/mailman/listinfo/textmate