Hi all-
Finally published my two bundles for Forth and J:
<https://github.com/vze26m98/>
The Forth bundle is updated from the original deposit I did to the TM
SVN repository, so what's on Github is "new and improved."
The J Language bundle is (relatively) new.
Enjoy!
Charles
To reproduce this bug:
1) Open TextMate 2 Alpha
2) View -> Show File Browser
3) Try to change default directory from user home directory to smith else
4) TextMate 2 Alpha goes crazy and tries to iterate and open in a file browser every directory under home user directory.
The screenshot:
http://dl.dropbox.com/u/2658449/Screen%20Shot%202012-01-21%20at%207.21.14%2…
best regards,
Olexandr Shalakhin
There is a problem with TM2 not filling completely bg color specified by the theme, i.e. for embedded code is marked with different bg color. It was working fine in TM1, but in TM2 left side of the embedded block has still regular white background, moreover soft wrap indent has white background too.
--
Adam
> Have you tried looking at github.com/avian? I think that this is the home
> of the official TM2 forks of bundles.
Just what I wanted, thanks!
--
Brandon Fryslie
It would be nice if one could arrange the order of entries in the
"Favorites" list when displaying them in the File Browser.
Is there a way to do this that I have not yet stumbled upon?
cheers,
Curt
I'm currently having an issue with TextMate2 and just wanted to report it.
Whenever I try to install managed bundles, they seem to install fine, but
the animate and graphics end up "staying there" as if the animate got cut
off part way and ever finished, so it wasn't removed from the canvas. This
does not crash the application.
When I then try to open a file of that type, it asks which bundle I want to
use. When I select the one recommended (which I already "installed"), it
goes to download the bundle and then crashes after it finishes downloading
(it seems).
I'm not sure what else you need, and I remember having to report a similar
issue to Sparrow at one point due to a network share issue.
Console Inspector:
Sender: [0x0-0x1c01c0].com.macromates.TextMate.preview
Session: Aqua
Message: error with swap_and_unlink:
/var/folders/t0/t3z9mx6s4sn55lq5gm4_xy88000107/T/TextMate_dl_bytes.YJN1fP →
/Network/Servers/macserver1.fh.private/Volumes/fh-clients/Users/alexa/Library/Caches/com.macromates.TextMate/Bundles/ColdFusion
(2011-11-24).tbz
*Alexander Ambrose
@al3xnull / @h3xdump
http://www.linkedin.com/in/alexanderambrose
*
I'm a big fan of Ciarán Walsh's TextMate in Quicklook plugin that allows TextMate to generate my Quicklook previews with a qlgenerator plugin.
It doesn't seem to be installing correctly out-of-the-box with Avian, is there something I can do to get it working?
Thanks
--
Brandon Fryslie
www.matewiki.com
Hi,
in TM1 it was possible to use "txmt://open?line=xx" to go to line xx of the front most document.
Now TM2 gives an error message that "url is missing" which is correct in my case because I want to link from an HTML window back to an unsaved/untitled document.
Is there any workaround or is this on the TODO list?
Thanks,
--Hans
PS I like TM2 :)
Hi,
I'm coding lots of Obj-C++ stuff. I encountered two weird behaviours.
1)
To reproduce
- open a new window, set language to Obj-C++
- press ESC ⇢ nothing happens - fine
- press ⇥, and then ESC ⇢ "retain" will be inserted whereby I didn't type any character
furthermore
2)
- if I select something in a Obj-C++ doc and press ESC the selection will be replaced by retain
I have no idea if this is a feature or a bug but I would argue that this is a bit weird since it could happen that one presses ESC more or less accidentally. At least a selection should be untouched and ESC-completion should only be invoked if there's at least one character left from cursor as it is in TM1.
Thanks,
--Hans
The problem I previously had with the Site folders all expanding recursively is now happening to all my open TM2 windows when I quit and re-open the program. Each folder showing in the drawer (which I had open when I quit) expands even though most were closed when I quit the program.
This problem actually caused my Mac some grief when during a long expand all session of a new file, since I wasn't getting any work done, I put my Mac to sleep to see if that would stop it but when I tried to wake, it would wake for a second then go back to sleep on it's own. I had to reboot to restart everything.
Ed
Hi,
only a very tiny question.
Since one can ship a Theme with a bundle - very nice :) - the question came up whether it's planned to be able to specify which Theme will be used for a file according to the file's extension or scope or scopeAttribute?
This could be set e.g. in ~/.tm_properties
[ *.R ]
useTheme = "..."
Thanks and sorry, if this was already asked but I didn't find an hint.
--Hans
On Jan 17, 2012, at 3:59 AM, Adam Strzelecki wrote:
> Tested on r8998
8998? Is there some secret handshake needed to get that? TM2 here claims 8971 is the latest nightly build.
Gerd
Hi Allen!
Am 17.01.2012 um 10:59 schrieb textmate-request(a)lists.macromates.com:
> The brace expansion syntax MUST have a comma.
>
> {foo} ? literal ?{foo}?
> {foo,bar} ? ?foo? or ?bar?.
>
> So in your glob, simply remove the outer braces.
Thanks for the help. That was one part of the solution. The other one was to disable Show Hidden Items in the cogwheel menu (I somehow thought it refers to hidden files such as .tm_properties).
Max
When I go to Preferences > Bundles and attempt to install or uninstall a
bundle, Textmate 2 does not load the change. The bundle is not added (in the
case of an install) or removed (in the case of an uninstall) from the
Bundles menu.
I do however see that the bundle is added/removed from
"~/Library/Application Support/TextMate/Managed/Bundles".
Also, when I attempt to open a filetype without an associated bundle,
Textmate 2 will ask to install the bundle and then just hang.
What could be going on here?
--
View this message in context: http://old.nabble.com/TM2-Bundles-won%27t-Install-or-Uninstall-tp33156429p3…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I just encountered one very weird situation with TM 1.x.
Just setup new Lion installation and installed TM. Created project as
usual, but when I close with <cmd+q> Textmate (remember that project is
still active, it has opened files etc, so not closing project window first)
and re-launch after that, last project isn't opened. After that I choose in
recent files menu item, last project, and after that i get all files from
previous state successfully restored.
This cmd "defaults read com.macromates.textmate OakDisableSessionRestore"
gives me "0".
Any hints to solve this?
Thanks in advance.
I've started a TextMate Wiki to record some of the useful information from the mailing list and other sources regarding TextMate 2.
Check it out at: http://www.matewiki.com.
Since it's a real Wiki, any one can feel free to add information. My goals are to keep it a lean development resource and to prevent repeated information from other sources of TextMate documentation. Please give it a look and let me know what you think, if you are interested.
--
Brandon Fryslie
www.matewiki.com
Here is a temporary bugfix for the Show Scope (HTML) command:
Replace lines 86 and 87 with this:
abort "Could not locate your theme file!" unless theme_plist = find_theme('766026CB-703D-4610-B070-8DE07D967C5F')
That will just make it try to use the Twilight theme before failing completely.
I've noticed on Github, the bundles don't contain the Avian only stuff. Is there a place we can fork / submit a pull request for fixes for stuff like this?
--
Brandon Fryslie
www.matewiki.com
> Interesting idea for the logo competition - shame it seems to be only open
> to men, or women who consider themselves 'dudes' and are interested in
> 'chicks'.
Ahahahaha some late nights went into going through those mailing list archives...
> Why not just ask him for access at: wiki.macromates.com (http://wiki.macromates.com) ?
I want EVERYONE to have access to it, not just me which will lead to a broader and more updated resource. The macromates CSS theme is way too thin for my screen. I'm a control freak and want to be able to use it as a personal resource for TextMate bundle development. I'm going to put ads on it in an attempt to support my wild and not-yet-profitable personal projects. I'd rather figure ___ out myself then get access to someone else's ___.
Those are the first 5 I came up with.
--
Brandon Fryslie
www.matewiki.com
On Friday, January 20, 2012 at 7:56 AM, textmate-request(a)lists.macromates.com wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com (mailto:textmate@lists.macromates.com)
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com (mailto:textmate-request@lists.macromates.com)
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com (mailto: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: TM2: latex sync with Skim (David Howden)
> 2. Where to commit fixes for TM2 only bundles? & a bugfix
> (Brandon Fryslie)
> 3. Introducing MateWiki: A Wiki For TextMate 2 (Brandon Fryslie)
> 4. Re: Introducing MateWiki: A Wiki For TextMate 2 (Adam Merrifield)
> 5. Re: Introducing MateWiki: A Wiki For TextMate 2 (Nigel Green)
> 6. Re: Introducing MateWiki: A Wiki For TextMate 2 (Adam Merrifield)
> 7. Re: Introducing MateWiki: A Wiki For TextMate 2 (Adam Strzelecki)
> 8. Re: Introducing MateWiki: A Wiki For TextMate 2 (Adam Merrifield)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 20 Jan 2012 06:05:18 -0800 (PST)
> From: David Howden <dhowden(a)gmail.com (mailto:dhowden@gmail.com)>
> To: textmate(a)googlegroups.com (mailto:textmate@googlegroups.com)
> Cc: TextMate users <textmate(a)lists.macromates.com (mailto:textmate@lists.macromates.com)>
> Subject: [TxMt] Re: TM2: latex sync with Skim
> Message-ID:
> <32980776.1762.1327068318696.JavaMail.geo-discussion-forums@vby8>
> Content-Type: text/plain; charset="utf-8"
>
> I have a strange issue with Skim + TextMate 2. When using the Skim ->
> TextMate syncTeX (i.e. Cmd-Shift-Click to show place in the TeX file),
> occasionally TM2 opens a new window with the TeX file in rather than
> switching to the window where it is already open (i.e. where it was
> compiled from). This happens intermittently. It seems that if I launch
> Skim before I launch TM2 this goes away though?
>
> I have switched the settings in Skim to call a shell script which records
> the file path that Skim is requesting from TextMate. When running this
> command from a terminal, TM2 consistently opens the document in the correct
> window.
>
> Anyone have a similar problem?
>
> Thanks,
>
> David.
>
More odd stuff happening when all the folders are expanded. Now that TM2 is expanding all my folders in the drawer when it restarts or when I create a new file, it also slows down each edit I do to an open document. I get beach balled for about a minute with each edit I make (either a simple keypress or copy/paste). When all the folders are expanded in the drawer I have 400-500 files showing.
When I close all the opened first level folders (which is a time consuming task in itself) the editing gets back to being snappy again. Don't know why editing a document would cause the app to scan through all the visible files in the drawer (if that is in fact what it is doing).
Ed
1 image worth 100s words. So here is a screenshot.
Same "column" in both lines... But first (ASCII-only) says its 47th column while second reports about 76th col.
Not very handy while trying to fit in 56/80 or other boundaries.
-- Alex
I do not know if anyone asked you about that already, but was tighter scripting integration via MacRuby (or Lua) ever considered for TM2?
Since I can see half of the bundle scripts (these doing heavier work) are Ruby already, I can see that integrating with MacRuby could bring potential benefits:
(1) persistent memory structures, each bundle could possible create some class storage variables, i.e. keep there autocompletion information
(2) TM2 could expose more dynamic API to the scripts: hooks, callbacks
(3) direct access to the editor buffer & GUI elements, exposing scope tree to the scripts
(3) scripts running via MacRuby could use all Cocoa API, making life easier for other apps integration, i.e. via AppleScript
(4) many (most?) of the work now done by TM2 core could be offloaded to the bundles and its developers, so TM2 itself could be just set of classes driven by MacRuby scripts
(5) possible to make more advanced autocompletion for various languages, thanks to (1) (2) (3)
But also I can see potential problems:
(1) no compatibility with TM1 (but anyway TM2 is about to be free upgrade to TM1, and also superior to its predecessor)
(2) bundle script can hog TM memory, and also hang TM, more discipline is needed for such scripts, but TM2 could supervise such scripts and kill them if necessary (similar way the browsers do with JavaScript)
(3) potential class namespace collisions, but then each bundle could possibly run inside its own MacRuby environment
(4) TM2 would need to bundle some version of MacRuby.framework
Regards,
--
Adam Strzelecki
Hey all.
Was playing with TM2 Ruby bundle lately, and found one interesting thing.
I had code:
require 'rubygems'
require 'mysql'
conn=Mysql.new('localhost', 'user', 'user')
puts conn.server_info
When I run this code in irb, or with ruby command line interpreter from Terminal.app I'm getting server version back (thats what I expect to see)
I have Mac OS Lion, rvm installed and TM_RUBY variable points to /Users/troyanov/.rvm/bin/textmate_ruby what is correct.
If I hit cmd+R in TM2, I'm getting:
(tried to edit catch_exception.rb, commented all cgi stuff... but no success, had a strange call to Mysql.new() with error like it should run with no args.)
/Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15: [BUG] Segmentation fault
ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin11.2.0]
-- Control frame information -----------------------------------------------
c:0004 p:---- s:0018 b:0018 l:000017 d:000017 CFUNC :sub
c:0003 p:0170 s:0013 b:0008 l:000718 d:000007 BLOCK /Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000308 d:000308 TOP
-- Ruby level backtrace information ----------------------------------------
/Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15:in `block in <top (required)>'
/Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb:15:in `sub'
-- C level backtrace information -------------------------------------------
See Crash Report log file under ~/Library/Logs/CrashReporter or
/Library/Logs/CrashReporter, for the more detail of.
-- Other runtime information -----------------------------------------------
* Loaded script: /Users/troyanov/Desktop/untitled.rb
* Loaded features:
0 enumerator.so
1 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/encdb.bundle
2 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/enc/trans/transdb.bundle
3 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/defaults.rb
4 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/rbconfig.rb
5 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/deprecate.rb
6 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/exceptions.rb
7 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.rb
8 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems.rb
9 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/x86_64-darwin11.2.0/pathname.bundle
10 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/pathname.rb
11 /Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Ruby.tmbundle/Support/RubyMate/catch_exception.rb
12 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/version.rb
13 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/requirement.rb
14 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/platform.rb
15 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb
16 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/path_support.rb
17 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/site_ruby/1.9.1/rubygems/dependency.rb
18 /Users/troyanov/.rvm/gems/ruby-1.9.3-p0(a)general/gems/mysql-2.8.1/lib/mysql.rb
19 /Users/troyanov/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/escape.rb
20 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/cgi/core.rb
21 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/cgi/cookie.rb
22 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/cgi/util.rb
23 /Users/troyanov/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/cgi.rb
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html