Hi,
I use the R-TextMate Bundle and just recently run into problems when executing code via 'Run Selection in R'.
After some loop-iterations I get the following error message and have to start the calculations all over again:
/Library/Application Support/TextMate/Bundles/R.tmbundle/Support/tmR.rb:157:in `write': Invalid argument (Errno::EINVAL)
from /Library/Application Support/TextMate/Bundles/R.tmbundle/Support/tmR.rb:157:in `print'
from /Library/Application Support/TextMate/Bundles/R.tmbundle/Support/tmR.rb:157
from /Library/Application Support/TextMate/Bundles/R.tmbundle/Support/tmR.rb:144:in `each'
from /Library/Application Support/TextMate/Bundles/R.tmbundle/Support/tmR.rb:144
There seems to be no inherent problem with the code. Sometime the script runs till the end, sometimes I get these error-messages ...
Can someone explain these error messages to me?
thanks in advance!
> textmate2 wiki with ads?
> no thanks :)
No problem. :)
> Why do we need matewiki.com (http://matewiki.com) when there is already wiki.macromates.com (http://wiki.macromates.com)?
I posted the first 5 reasons that came to mind an email or two back:
> 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 ___.
BTW, yes I know everyone hates ads but I can either get a job and not work on TextMate & other personal projects or try to get my hustle on and do what I care about. I'll set up a donate link soon since people are so vocally against ads. ;)
PS If you are logged in to the Wiki the ad disappears. Registration is obviously free and simple. Happy? :)
--
Brandon Fryslie
Dear all,
I'm just playing with the latex bundle and TM2. Every time I do anything
like edit text or save TM2 freezes and takes up one core on my machine. I
this due to 'attr.save-on-deactivate' ?
my .tm_properties file looks as follows:
#######
PATH =
"/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/usr/texbin:/usr/bin/local:/Library/Frameworks/GTK+.framework/Resources/bin"
[ *.{R, c, cpp, m, pl, rb, html, xml}]
scopeAttributes = 'attr.save-on-deactivate'
######
Also quick 2nd question how do I get the compiled pdf to appear in a
separate window like TM1 instead of at the bottom of the window?
Cheers,
Paul
Hi All,
I think the tabulation settings were preserved across TM2 sessions,
but they are actually not on my MBP.
What are the rules about the tabulation settings? Is there some
specific action(s) to do so that soft tabs are always on?
Thanks,
Emmanuel.
Hi All,
I'm editing C files with TM2, and the auto indentation is often wrong,
and forces the cursor to move to an unexpected position when I start
writing a new line.
I'm looking for information/guide to:
* disable the whole auto-indentation feature
* configure the auto-indentation feature, if it's feasible
* cancel the last auto-indentation action: Cmd-Z removes both the
indentation and the typed character. In many others editors, Cmd-Z
cancels the automatic action, then a second hit remove the last typed
char. Is there an equivalent in TM2?
Thanks,
Emmanuel.
Is there a way to prevent the tabs from changing order?
I usually setup my workspace, with specific files in the first tabs (e.g.,
spec/test on cmd-1 and code on cmd-2). It seems that every once in awhile
it changes the order. Can I get TM2 to leave the tab order alone?
I'm trying to use Textmate2 with a big php project. I have made a huge commit in the git repository and while processing the commit Textmate starts to hang bringing the cpu at 80% and memory up to 1.25GB.
Looking at the Console this is what I've found
30/01/2012 16:28:23 TextMate[24252] TextMate(24252,0xa059f540) malloc: *** mmap(size=872415232) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] TextMate(24252,0xa059f540) malloc: *** mmap(size=872415232) failed (error code=12)
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] *** error: can't allocate region
30/01/2012 16:28:23 [0x0-0x1e91e9].com.macromates.TextMate.preview[24252] *** set a breakpoint in malloc_error_break to debug
30/01/2012 16:28:23 TextMate[24252] Attempt to allocate 872415232 bytes for NS/CFData failed
30/01/2012 16:29:15 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 23)
30/01/2012 16:31:43 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 35)
30/01/2012 16:34:30 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 47)
30/01/2012 16:36:35 fseventsd[56] SLOWDOWN: client 0x10082ca00 (pid 24252) sleeping due to too many errors (num usleeps 59)
I have Textmate2 Version 2.0 (9005) installed.
Patrick Polloni
Hi,
my sources live in a network file system behind some complex automount
scheme, let's say /foo/bar/workarea/user/project. Whenever I open some
directory there inside TM2, I get tons of messages like these in the
system log:
> 30.01.12 11:11:34 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .git failed
> 30.01.12 11:11:34 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .hg failed
> 30.01.12 11:11:35 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .p4config failed
> 30.01.12 11:11:35 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .svn failed
> 30.01.12 11:11:36 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .git failed
> 30.01.12 11:11:36 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .hg failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .p4config failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .svn failed
> 30.01.12 11:11:37 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .git failed
> 30.01.12 11:11:38 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .hg failed
> 30.01.12 11:11:38 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .p4config failed
> 30.01.12 11:11:39 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .svn failed
> 30.01.12 11:11:39 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .git failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .hg failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .p4config failed
> 30.01.12 11:11:40 automountd[3079] parse_entry: getmapent for map sfs.worldwide.somewhere.workarea, key .svn failed
> 30.01.12 11:11:41 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .git failed
> 30.01.12 11:11:41 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .hg failed
> 30.01.12 11:11:42 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .p4config failed
> 30.01.12 11:11:42 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.bar, key .svn failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .git failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .hg failed
> 30.01.12 11:11:43 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .p4config failed
> 30.01.12 11:11:44 automountd[3079] parse_entry: getmapent for map auto.sfs.sol2.foo, key .svn failed
It seems that TM2 tries finding the config files all the way to the root
directory for each file or directory it sees in the directory tree. I
know TM2 development is not yet at performance tuning, I just wanted to
point out that there is a probably low-hanging fruit here.
On a related note, we are using perforce, but tend to have config files
named .perforce. Is the file name TM is looking for configurable (yet)?
Christopher
In my .tm_properties file I have the following:
[ text.html ]
tabSize = 4
[ source ]
tabSize = 2
If I edit a javascript file then I correctly see tabs taking up two spaces.
If I edit an html file then tabs are seen as four spaces. If I embed
javascript in the html file the tabs within the javascript code are now
taking up 4 spaces. Pressing Cmd-Shift-P shows the following scope:
text.html.basic
source.embedded.js.html
attr.rev-path.xhtml.html.about.misc.views.templates.WEB-INF.webapp.myproject.curt.Users
attr.os-version.10.8.6
attr.scm.svn
attr.scm.status.H
So it appears that the text.html.basic scope is taking precedence over the
source.embedded.js.html scope. Is there a way to have this behave in the
expected manner so that my javascript settings are honored when embedded in
html?
Thanks,
Curt
TM2 (at least in Ruby) seems to treat words as what the compiler sees,
rather than what the developer sees.
For example, in the following ruby code...
def some_variable
@so
end
With the cursor after '@so', when you hit escape, nothing happens. Given
that (from the developers point of view), the accessor method for
'some_variable' and the instance variable name for the same are the same
things, shouldn't that complete properly?
The same goes with symbols. This code has a similar problem...
before_filter :some_method
def some<cursor>
So far, this has probably been one of the frustrating issues in TM2 for me.
Is this going to be fixed/changed?
Hi,
I've got favorites for “lib” and “LIB” set, pointing to two different
locations. That works fine when I switch the file browser to the
favorites (with the heart shape icon), but in the command-shift-O
dialog, I only see one of them.
I know I can rename the favorites and probably will do that, but
shouldn't these two views into the favorites list behave similarly, at
least when I have no subfolders?
Christopher
Is it possible to change the key combination used for completion? Escape is a very far reach given how commonly I use completion. If not, I'll just have to resort to keyremap4macbook.
Thanks,
Connor
On Jan 30, 2012, at 6:00 AM, textmate-request(a)lists.macromates.com wrote:
> Date: Mon, 30 Jan 2012 11:10:32 +0000
> From: "ld(a)ldaley.com" <ld(a)ldaley.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: TM Bundle for Java - Improved Java Properties
> grammar
> Message-ID: <6ACE76A4-AF40-4943-AA54-0805C2990BDA(a)ldaley.com>
> Content-Type: text/plain; format=flowed
>
> On 29 Jan 2012, at 6:15, John Joyce wrote:
>
>> Hello List,
>> After ages of consternation with viewing Java Properties files that
>> had multiline values in KVPs not properly syntax colored, I have
>> created a better language grammar for Java Properties.
>>
>> It does several things...
>> First it captures comments of course.
>> Then single-line KVPs
>> Then KVPs with dangling spaces or tabs between the key and the = sign.
>> (These stand out awesomely during fast scrolling to find where they
>> are and fix them)
>> Then multi-line-value KVPs.
>>
>> One can never be 100% sure of these things, but I feel fairly
>> confident with it because the multi-line-value KVPs I have dealt with
>> are actually HTML emails stored in KVPs. :)
>>
>> By the way, it looks best in Sunburst them.
>>
>> Please consider it for inclusion.
>
> If you submit a pull request for
> https://github.com/textmate/java.tmbundle I'll happily include it.
>
> Thanks!
>
> LD.
Submitted pull request.
Thanks,
John Joyce
Oddity:
My cursor ist placed after the "h" in the tag that should become "h1". The tag has been produced using "Insert open/close tag with current word" but without anything selected. I just typed the "h".
when typing the "1" the snippet inserts weird stuff underneath, where the text "Headline 1" is (see second screenshot).
could someone with a little more expertise have a look at the snippet and possibly fix it? I have no idea why that happens.
Thanks,
Thomas
Hello List,
After ages of consternation with viewing Java Properties files that had multiline values in KVPs not properly syntax colored, I have created a better language grammar for Java Properties.
It does several things...
First it captures comments of course.
Then single-line KVPs
Then KVPs with dangling spaces or tabs between the key and the = sign. (These stand out awesomely during fast scrolling to find where they are and fix them)
Then multi-line-value KVPs.
One can never be 100% sure of these things, but I feel fairly confident with it because the multi-line-value KVPs I have dealt with are actually HTML emails stored in KVPs. :)
By the way, it looks best in Sunburst them.
Please consider it for inclusion.
zipped for your unzipping pleasure.
Thanks,
John Joyce
Sorry if this has been covered, but I couldn’t find a mention of it.
Is there a “Filter Through Command” in TextMate 2 (8998)? Was it re-implimented as a bundle item or something? I can’t find it and the old shortcut doesn’t seem to bring it up.
--
Rob McBroom
<http://www.skurfer.com/>
Dear Sir or Madam:
http://jpfly.com/woaint.php?fuducampID=38
Thu, 26 Jan 2012 8:40:39
______________
" At the commencement of winter, Artichoke plants should be protected against frost, which sometimes destroys them in our climate" (c) Kailene vtk5945
On 24/01/2012, at 20.54, Dirk Günther wrote:
> I use the LaTeX grammar and I have defined my own shortverb
> command [...] What should I do that |c| in \tabular{...} is not defined as
> verbatim?
As Allan suggested, I think that you need to have a rule in the LaTeX
grammar that will match the column specification part of the tabular
environment. Instead of writing a completely new rule, I tried changing the
relevant existing rule, copied below. The only difference is in the begin
match. I also tried adding your rule for scoping anything between pipes as
verbatim, and this change to the tabular rules seems to do what you want -
anything in the column spec is not scoped as verbatim. Hope that helps!
-Daniel Grady
{ begin = '(?x)
(?:\s*) # Optional whitespace
((\\)begin) # Marker - Function
(\{) # Open Bracket
(array|tabular[xy*]?)
(\}) # Close Bracket
(\s*\{.*\})? # Column specification
(\s*\n)? # Match to end of line absent of content
';
captures = {
1 = { name = 'support.function.be.latex'; };
2 = { name = 'punctuation.definition.function.latex'; };
3 = { name = 'punctuation.definition.arguments.begin.latex'; };
4 = { name = 'variable.parameter.function.latex'; };
5 = { name = 'punctuation.definition.arguments.end.latex'; };
6 = { name = 'variable.columnspec.tabular.latex'; };
};
contentName = 'meta.data.environment.tabular.latex';
end = '(?x)
(?:\s*) # Optional whitespace
((\\)end) # Marker - Function
(\{) # Open Bracket
(\4) # Previous capture from begin
(\}) # Close Bracket
(?:\s*\n)? # Match to end of line absent of content
';
name = 'meta.function.environment.tabular.latex';
patterns = (
{ match = '\\';
name = 'punctuation.definition.table.row.latex';
},
{ begin = '(?:^|(?<=\\\\))(?!\\\\|\s*\\end\{(?:tabular|array))';
end = '(?=\\\\|\s*\\end\{(?:tabular|array))';
name = 'meta.row.environment.tabular.latex';
patterns = (
{ match = '&';
name = 'punctuation.definition.table.cell.latex';
},
{ begin = '(?:^|(?<=&))((?!&|\\\\|$))';
end = '(?=&|\\\\|\s*\\end\{(?:tabular|array))';
name = 'meta.cell.environment.tabular.latex';
patterns = ( { include = '$base'; } );
},
{ include = '$base'; },
);
},
{ include = '$base'; },
);
}
Setup:
Some text here {Some text here {some more text here}} Some text here
1. Place cursor after the first } but before the second }
2. Press Ctrl-Up.
My understanding is that the cursor should jump to just after the first {,
instead it lands just before the second {.
Cheers,
David.
The default settings for TextMate 2 have soft wrapping turned on for text
scopes. When I'm editing a LaTeX document (text.tex.latex), this is fine,
except for tables. Inside of tabular environments I've usually got the
columns lined up so it's easier to read the source file, but when soft
wrapping is turned on this just becomes a huge mess. I thought it would be
possible to turn soft wrap off inside tables through the .tm_properties
file, and I tried adding this rule
[ meta.function.environment.tabular.latex ]
softWrap = false
but this doesn't seem to do anything. Do scope selectors work the same way
in .tm_properties as elsewhere? Does anyone have a suggestion for this,
short of altering the LaTeX bundle? Thanks for any help!
-Daniel Grady
The scope of a tabular environment is
text.tex.latex
meta.function.environment.general.latex
meta.function.environment.tabular.latex
meta.data.environment.tabular.latex
meta.row.environment.tabular.latex
meta.cell.environment.tabular.latex
attr.rev-path.tex.example.Documents.dgrady.Users
attr.os-version.10.6.8
Here is a short example that shows what I'm trying to accomplish:
\documentclass{article}
\begin{document}
This line should soft-wrap: Lorem ipsum dolor sit amet, consectetur
adipisicing elit, sed do eiusmod tempor.
\begin{table}
\begin{tabular}{c}
Lines inside the tabular environment should not soft wrap: Lorem ipsum
dolor sit amet, consectetur.
\end{tabular}
\caption{The caption should soft wrap: Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod.}
\end{table}
\end{document}
Hello,
I use the LaTeX grammar and I have defined my own shortverb command: | so
that I can write |foo| and have everything enclosed in | and | treated the
same as \verb|foo|. So I'd like to mark the contents between | and | as
verbatim, but not in the tabular definition such as
\begin{tabular}{|c|c|c|c}
My attempt
{ begin = '\|';
beginCaptures = { 0 = { name = 'punctuation.definition.verb.latex'; }; };
end = '\|';
endCaptures = { 0 = { name = 'punctuation.definition.verb.latex'; }; };
name = 'markup.raw.verb.latex';
},
works for requirement #1, but not for #2 (the tabular case). What should I
do that |c| in \tabular{...} is not defined as verbatim?
Thanks
Dirk
I want to access a set of 5 files which are not all in one folder. I can get
all 5 into the file browser and work with them. Good so far. Now I want to
save the set so that next month, when I need another change, I can open the
same set of files without visiting each location individually. What's a good
way to open the set of files with one action? I don't have control over
where the original files are stored. They are part of Apache2.
I thought of making a folder with a link to each file, which is ok for 5
files, but not for a larger group.
I think that .tm_properties might be an approach, perhaps by setting up a
folder with a list of includes, but that seems kind of clumsy. I suspect
this isn't hard, but I'm still finding my way around TM2. Any hints,
guidelines, whatever?
--Lewy
--
View this message in context: http://old.nabble.com/TM2-saving-pointers-to-set-of-files-tp33185861p331858…
Sent from the textmate users mailing list archive at Nabble.com.
TextMate 2 seems very promising feature wise, but one of my biggest complaints with version 1 was the slow performance of extremely large projects (20k+ files), particularly when using the "Go to file" command. I was very disappointed then to see that the v2 alpha is even slower in this regard, unusably so. When I try to type a file name, one letter appears at a time with up to ten seconds in between, and this is on a quad core i7 with an SSD. Even using the `find` command from the terminal is faster, and it walks the entire directory tree every time.
I understand that this is an alpha, and that performance was one of the things that was left for later tuning. But I'm afraid that more than tuning is needed in this case, although I could be wrong. I would simply ask that the performance of large projects be made more of a priority than it currently is.
Thanks,
Connor McKay
Hi,
Does anyone know what might prevent the results of a an executed command to show up in the R Console? Every time I type a command the line ends up cleared and no output is displayed. It seems that the command is getting executed as I can can see the result if I open up r_out. It even shows up in the history.
Here is a simple example of what I get on newly installed Rdaemon after launching from TM_Rdaemon.app and executing:
> ls()
After hitting return the console gets cleared to:
>
In r_out I get:
WARNING: unknown option '--TMRdaemon'
ARGUMENT '2' __ignored__
> source("/Users/linaskk/Library/Application Support/Rdaemon/daemon/start.r")
> sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');cat(geterr
<ary/Application Support/Rdaemon/r_tmp');cat(geterrm essage());sink(file=NULL)
> sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');args(ls)
> sink(file=NULL)
> sink('/Users/linaskk/Library/Application Support/Rdaemon/r_tmp');cat(gsub('
<ary/Application Support/Rdaemon/r_tmp');cat(gsub('. *?/library/(.*?)/.*','\\1
<aemon/r_tmp');cat(gsub('.*?/library/(.*?)/.*','\\1' ,as.vector(help('ls',try.
<?/library/(.*?)/.*','\\1',as.vector(help('ls',try.a ll.packages=F)),perl=T),s
<as.vector(help('ls',try.all.packages=F)),perl=T),se p='\n')
> sink(file=NULL)
> ls()
[1] "jpeg" "pdf" "png"
>
I've used Rdaemon before on other systems running the same OS X 10.6.8 without a problem, so I am not sure why it doesn't work on this particular system. The same thing happens in both TM1 and TM2.
-Liisi
Hi,
I just noticed that the Avian fork of the Subversion bundle has the key equivalents (Control-Shift-A) removed from the commands. Not a big problem, I added them back. But I wondered, is there any reason for this?
enas
Hi,
here's a minimal Perl example :
$word_plus = "$word\t$last_word $word";
if($word =~ m/^maka/i) {
if(exists($maka_{$word_plus})) {
$maka_{$word_plus}++;
} else {
$maka_{$word_plus} = 1;
}
}
- fold if clause
- place the caret left of "if($word ..."
- press ↩ to insert a new line
and I got this:
The text buffer is correct only the display is wrong since I can unfold it and I get the correct if clause back. I also changed to Obj-C and other languages and it also occurred thus it's not language depended.
Cheers,
--Hans
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