> all three R bundles (R, R Console (Rdaemon), R Console (R.app)) are now uploaded to macromates' svn repository (Review trunk).
First of all, thank you for the continued development of these
excellent bundles!
When using these new versions of the Rdaemon and R bundles, the first
time I send code to Rdaemon from an R file, it works fine. After that,
however, I can't send any more code (i.e. nothing happens) until I
kill and restart the Rdaemon. The Rdaemon console continues to
function on it's own. Sending code to R.app works fine.
It works fine for me with the previous versions of these bundles.
This is R 2.6.1, TextMate 1.5.7 (1455), OS X 10.5.2.
Any ideas?
Cheers,
Sean
Hi,
all three R bundles (R, R Console (Rdaemon), R Console (R.app)) are
now uploaded to macromates' svn repository (Review trunk).
- to install them simply delete them using the Bundle Editor and
restart TM.
- have a look at http://wiki.macromates.com/Main/SubversionCheckout
for details how to checkout
- an example script
export LC_CTYPE=en_US.UTF-8
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
svn co 'http://macromates.com/svn/Bundles/trunk/Review/Bundles/R
Console (R_app).tmbundle'
svn co 'http://macromates.com/svn/Bundles/trunk/Review/Bundles/R
Console (Rdaemon).tmbundle'
svn co 'http://macromates.com/svn/Bundles/trunk/Review/Bundles/
R.tmbundle'
- reload Bundles
Changes:
1) R
- web search for the current word using RSeek.org
- if Rdaemon runs Send Doc/Selection to Rdaemon simply sends the code
to R without opening console.Rcon
2) Rdaemon
- starts faster
- Graphic Manager (prototype) opt+apple+G 1
If one has opened several graphic devices (x11, png, quartz, etc.)
the Graphic Manager will display previews of all devices (not yet for
pdf() or postscript() and the original devices are still open). One
can click on a preview to set it to the current device, one can close
a device (or all), and one can save a device as pdf, eps or as 150
dpi png, jpeg, tiff, pict, bmp, gif, sgi, jpeg 2000, tga, psd in
color or as grayscale. The preview by itself is a pdf, thus one can
drag&drop it to a location.
(Feedback is highly welcomed!)
- second syntax highlighting "Plain" to suppress the highlighting of
R's output
- and some minor fixes
Have fun,
Hans
Would it be possible to have something like flymake (http://flymake.sourceforge.net/
) for TextMate?
If it's not currently possible to build such a feature as bundle,
could it be possible in TextMate 2?
Maybe someone has already thought about this and could post some
conclusions/reasons/show-stoppers to the list.
I was a bit surprised that searching for "flymake" in the list
archives and the wiki didn't yield any results.
Of course, "flymate" comes to mind as a the natural name for such a
functionality. :-)
-Jojo
Is it possible to disable soft-wrap for specific parts of a document?
Example: In Markdown I would like to be soft-wrap on *except* inside
tables.
Thanks
Gerd
Hi!
I installed MacTeX today with the Leopard-Fix for making the
TeX-environment-switch possible. I added /usr/texbin to my .bash_login
as well.
TeXShop has no problems rendering files. TextMate just tells me:
/bin/sh: kpsewhich: command not found
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
My tip: the path-variable TextMate uses doesn't include /usr/texbin
When I type env in the Terminal I get a PATH that includes /usr/texbin
but it seems that the stuff from .bash_login is only read in my
session when I type . ~/.bash_login
Therefore I guess there was a change in Mac OS X where my stuff gets
its environment from.
My question:
How do I get TeX working again in TextMate (and maybe: How do I get
Terminal to use .bash_login always)?
Any help appreciated.
Niels
I found an odd bug in the MultiMarkDown list sibling generation:
It will strip out any number preceded by a "$" after I hit enter at
the end of the line.
EXAMPLE:
- Here is a number (1234) and here are some a dollar amounts ($123),
($123.00), (-$123).
- Here is a number (1234) and here are some a dollar amounts (), (.
00), (-).
I think the problem lies in this line:
# Strip Marker
$old_line =~ s/^\s*((\*|\+|\-|\d+\.)\s*)//;
...but I'm still new to Perl and Regex
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I got a new Mac that has a second Option key instead of the dedicated
Enter key I had grown to love. I ended up writing a tiny app to make
it into an Enter key again:
http://henrik.nyh.se/2008/03/map-option-to-enter
I thought I'd mention it on this list since TextMate makes good use of
the Enter key, and Fn+Return isn't very pleasant.
I am sure there is an easy fix.
How do I use textmate with the macports python which is
/opt/local/bin/python2.4
I used macports to install some modules.
Hi Robin,
Yes, that was the problem. The beeping went away when I unchecked the
option in Skim.
Thanks
Shruti
On Mar 15, 2008, at 5:00 AM, textmate-request(a)lists.macromates.com
wrote:
>
> On 15/03/2008, Shruti Gorappa <gorappa(a)gmail.com> wrote:
>> I hear two beeps when I run "Typeset and View" (which I presume
>> are caused
>> because of the warnings) and would like to remove the beeps.
>
> The usual cause of beeping here is:
>
> 1. You are using Skim as the document viewer.
> 2. You forgot to disable "Check for file changes" in the Skim prefs.
>
> Robin
I am working on a Latex project that produces two warnings and
cannot remove these warnings.
I hear two beeps when I run "Typeset and View" (which I presume are
caused because of the warnings) and would like to remove the beeps.
Does anyone know which command produces these beeps and how I can fix
it?
Thanks.
Shruti Gorappa
I do almost all my writing in TM these days, using MultiMarkdown, and
then simply preview using the built-in browser to get pretty pages to
print when I need to. The built-in browser does a great job of
respecting left and right margins as set in style sheet, but it cares
not one whit for top and bottom margins and so when I print I get text
that starts at the very top and runs to the very bottom of the page.
Is there a way to change this within my little TM universe? Outputting
to a browser like Safari means I get all of Safari's headers and
footers, which I don't need.
john
Hi,
>I want TextMate to automatically use the 'CSS' Language scopes when I'm editing my <foo-css.inc.php> includes (which contain only css text), and to use the html Language scopes when I'm editing my html includes, <foo-inc.php> (which contain only html text).
OK, I can report that I solved my dilemma by renaming all the 'css.inc.php' files as '.inc.css' files, and TextMate properly sets the language as css.
I had read that using .css is less secure than using .php (which is why I didn't use .css to begin with), but that's probably only valid when the includes are inside the web site root; mine are outside.
Sorry for the false alarm.
Steven Rowat
Hello everyone,
I am heavily using the latex bundle currently and the bibliography
completion does not seem to work anymore. When trying to complete ~
\citep{Foo} I get 100% CPU usage by ruby and these messages after
killing it:
/Library/Application Support/TextMate/Bundles/Latex.tmbundle/Support/
lib/LaTeXUtils.rb:141:in `parse_bibfile': Interrupt
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:116:in `map'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:116:in `parse_bibfile'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:251:in `cite_scan'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:248:in `each'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:248:in `cite_scan'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:216:in `call'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:216:in `recursive_scan'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:215:in `each'
... 8 levels...
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:204:in `recursive_scan'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:255:in `cite_scan'
from /Library/Application Support/TextMate/Bundles/Latex.tmbundle/
Support/lib/LaTeXUtils.rb:63:in `get_citations'
from /tmp/temp_textmate.Bb9x12:8
I am using the latest version of BibDesk to manage my bibfile, which
inserts quite a lot of non bibtex code in custom fields e.g.
@article{McCafferty2002ME,
Author = {McCafferty, S and Bermingham, E and Quenouille, Brice and
Planes, Serge and Hoelzer, G and Asoh, K},
Date-Modified = {2008-01-27 17:23:40 +0100},
Filed = {Yes},
Journal = {Molecular Ecology},
Pages = {1377--1392},
Read = {No},
Title = {Historical biogeography and molecular systematics of the
{I}ndo-{P}acific genus \textit{{D}acyllus} ({T}eleostei:
{P}omacentridae)},
Volume = {11},
Year = {2002},
Bdsk-File-1 =
{YnBsaXN0MDDUAQIDBAUGCQpYJHZlcnNpb25UJHRvcFkkYXJjaGl2ZXJYJG9iamVjdHMSAAG
GoNEHCFRyb290gAFfEA9OU0tleWVkQXJjaGl2ZXKoCwwXGBkdJCVVJG51bGzTDQ4PEBEUViR
jbGFzc1dOUy5rZXlzWk5TLm9iamVjdHOAB6ISE4ACgAOiFRaABIAGWWFsaWFzRGF0YVxyZWx
hdGl2ZVBhdGjSDRobHFdOUy5kYXRhgAVPEQLMAAAAAALMAAIAAANtYWMAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAADCsBfOSCsAAAAQSwYfTWNDYWZmZXJ0eTIwMDItSGlzdG8jMTA0QkFELnB
kZgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABBLrb2LoXgAAAAAAAAAAAABAAM
AAAkgAAAAAAAAAAAAAAAAAAAABnBhcGVycwAQAAgAAMKv
+64AAAARAAgAAL2LhVgAAAABABQAEEsGABBGCwAQRggAB/
PvAABwQgACAEhtYWM6VXNlcnM6amlobzpXb3JrOmJpYmxpb2dyYXBoaWU6cGFwZXJzOk1jQ2
FmZmVydHkyMDAyLUhpc3RvIzEwNEJBRC5wZGYADgDwAHcATQBjAEMAYQBmAGYAZQByAHQAeQ
AyADAAMAAyAC0ASABpAHMAdABvAHIAaQBjAGEAbAAgAGIAaQBvAGcAZQBvAGcAcgBhAHAAaAB5ACAAYQBuAGQAIABtAG8AbABlAGMAdQBsAGEAcgAgAHMAeQBzAHQAZQBtAGEAdABpAGMAcwAgAG8AZgAgAHQAaABlACAASQBuAGQAbwAtAFAAYQBjAGkAZgBpAGMAIABnAGUAbgB1AHMAIABEAGEAYwB5AGwAbAB1AHMAIAAoAFQAZQBsAGUAbwBzAHQAZQBpAC8AIABQAG8AbQAuAHAAZABmAA8ACAADAG0AYQBjABIAnFVzZXJzL2ppaG8vV29yay9iaWJsaW9ncmFwaGllL3BhcGVycy9NY0NhZmZlcnR5MjAwMi1IaXN0b3JpY2FsIGJpb2dlb2dyYXBoeSBhbmQgbW9sZWN1bGFyIHN5c3RlbWF0aWNzIG9mIHRoZSBJbmRvLVBhY2lmaWMgZ2VudXMgRGFjeWxsdXMgKFRlbGVvc3RlaTogUG9tLnBkZgATAAEvAAAVAAIAC///AADSHh8gIVgkY2xhc3Nlc1okY2xhc3NuYW1loyEiI11OU011dGFibGVEYXRhVk5TRGF0YVhOU09iamVjdF8QfnBhcGVycy9NY0NhZmZlcnR5MjAwMi1IaXN0b3JpY2FsIGJpb2dlb2dyYXBoeSBhbmQgbW9sZWN1bGFyIHN5c3RlbWF0aWNzIG9mIHRoZSBJbmRvLVBhY2lmaWMgZ2VudXMgRGFjeWxsdXMgKFRlbGVvc3RlaTogUG9tLnBkZtIeHyYnoicjXE5TRGljdGlvbmFyeQAIABEAGgAfACkAMgA3ADoAPwBBAFMAXABiAGkAcAB4AIMAhQCIAIoAjACPAJEAkwCdAKoArwC3ALkDiQOOA5cDogOmA7QDuwPEBEUESgRNAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABFo=}}
The last large chunk is a Finder alias to a file on the disk, wich
allows to store many files associated with each reference. Could that
be preventing the ruby script to parse the file?
Anyone with the same setup?
BTW, the completion method involving bibdesk directly (through
applescripts) still works but is slower and requires mouse clicks.
Thanks in advance.
NB: this was already sent to textmate-dev but is probably more
appropriate here
JiHO
---
http://jo.irisson.free.fr/
Every time I launch TextMate, whether it's opening an existing file or
launching the app from my dock, my system emits the normal error beep.
There aren't any dialog boxes that appear so I'm at a bit of a loss
for what might be causing this. Any ideas?
Thanks,
Mark
It would be great if any text within <source> tags were ignored by the
auto-indent feature, it tries to treat my inline Groovy code as XML which is
less than useful.
Otherwise, I'm a TextMate loving Release Engineer and this editing mode
rocks :)
Thanks,
-Chris
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail: cpatti(a)gmail.com
"Technological progress is like an ax in the hands of a pathological
criminal." -Albert Einstein
Hi,
In brief, what I want is for TextMate to automatically use the 'CSS'
Language scopes when I'm editing my <foo-css.inc.php> includes (which
contain only css text), and to use the html Language scopes when I'm
editing my html includes, <foo-inc.php> (which contain only html
text).
What I've Tried:
I have read through the Language and Scopes sections of the manual, and then:
--in the Bundle Editor, made a new language called 'css-inc-php'
--copied the css langauge into it
--left the scopeName unchanged at 'source.css'
--changed the fileTypes to:
fileTypes = ( 'css', 'css.inc.php' );
However, this does not do anything, so I assume TextMate is not using
this information, at least in the way I've set it up.
Why This Is Important To Me:
I'm switching back and forth hundreds of times a day between the css
include and the non-css include, and each time I do so, I have to hit
control-shift-option-C or -H to get the CSS or HTML scope.
In other words, each time I switch from one include to the other
(which I do about once every minute), I'm looking at the wrong scope
language, because I just changed it for the previous file, and
TextMate, obligingly enough (but sadly in this case) remembers.
Is there a way to get this to happen, so TextMate will automatically
recognize the CSS Language for foo.css.inc.php files?
Thanks
Steven Rowat
Hi,
if one writes a tmcommand which should write unicode characters (ucs
hex code large than 0xFFFF) via "Insert as Snippet" the output is wrong.
It is not easy to reproduce it caused by the font problem but doable.
-create a new tmcommand
-write echo "
-open Character Palette; go to View: Code Tables; browse to Unicode
00020000 CJK Unified Ideographs Ext. B; scroll the glyph window to
code point 20050 (column 0); double-click on it to insert into the
tmcommand
-write after the inserted character a "
[if you have such a font you should see this:
otherwise you see a square or whatever.]
-set the output of the tmcommand to 'Insert as Snippet'
If you invoke that command instead of the Chinese character you will
see a simple 'P'.
If you set the output to 'Insert as Text' you will see the correct
character (if you have the font ;)
Why a 'P'? Answer: This character has the UCS code point 0x20050.
Insert as Snippet ignores the leading 2 and will insert 0x0050. And
0x50 is a 'P'.
One can do it for all characters beginning from 0x10000 up. Always
the same.
I know, this bug is more or less marginal but at least for me it's
important – it's my job ;)
Cheers,
Hans
Thanks Thomas,
I had a look at the CSS bundle already, but I will definitely try and
get a better grip on the rules you have there.
I think the idea of compressing as well as alphabetizing is good, but
I wanted to make it fairly solid before I looked at integrating with
anything else.
Alphabetizing is quite helpful when you get used to it, and certainly
helps when you're inheriting a code base. The script seems to run
very quickly, although I'm on a dual-core MBP.
Thanks for your reply,
Pete
On 11 Mar 2008, at 12:00, Thomas Aylott wrote:
> From: Thomas Aylott - subtleGradient <textmate(a)subtleGradient.com>
> Date: 10 March 2008 12:37:17 GMT
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Bundle to alphabetize CSS rules
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Personally this comment would confuse me for my own CSS. But I can
> imagine it being useful for working with other peoples crazy CSS
> files.
>
> There are already reformatting macros in the CSS bundle that I made
> to completely compress or pretty-print all your rules. It might make
> sense to merge these commands somehow. Depending on the speed of the
> php.
>
> Check out the regex I use in those macros. I tried to make it pretty
> flexable and just ignore the contents of of the rules. I haven yet
> heard of anyone running into a rule that my redormatter breaks.
>
> Thomas Aylott [SubtleGradient] from iPhone
The bundle includes v2.3.5 of the YUI! Compressor which weighs in at
about 900k, making an already large bundle a little larger. I've bound
the command to ⌃⌘C to keep it consistent with the other compression
commands.
If you've not already heard about the YUI! Compressor more information
is available at the YUI! Developer site[1]. It's a lot like Dean
Edwards' Packer but without the eval() and a different variable
renaming scheme (which seems to improve gzip efficiency).
(The bundle is nearly 2mb compressed so I've made it available for
download[2] instead of attaching it directly to the list)
john
[1]: http://developer.yahoo.com/yui/compressor/
[2]: http://from.johnmuhl.com/JavaScript Tools.tmbundle.zip
Is there an option that I've missed - to save a file as a copy and
then continue working in the original?
current 'save as' behaviour is to start editing the newly named copy.
I often do save as to create a restore point for a file and keep
getting caught out by the fact that I'm editing the new copy not the
old file...
any suggestions for how I might approach this better, or is there an
option for "save a copy of this with a new name and work in the
original"
;o)
TIA
I am currently taking an ancient Latin class.
Latin, in modern text, makes use of macron ( bars over letters ).
The best way to render these glyphs, I have found, is to use the
glyphs-description in the LaTeX set, e.g. \={u} produces a little u
with a bar over it.
Typing in 5 strokes just to produce that glyph is pretty painful, so i
wrote a bundle called "Latin Student". The bulk of of these features
were along the lines of ^u producing the aforegiven LaTeX set.
1. Is there any guide on how i could export this? A place where I
could check this and other ancillary notions like "linify based on ';'
prefixed by numbers"
2. Is there any interest in thinking about building a larger bundle
which could serve many Languages or non-Latin glyphsets
Valete,
Steven
Hi,
For what it's worth I just tried Hans-Joerg's "Save As..." command and it
worked exactly as expected: the steps involved were pretty minimal, but
maybe something got missed along the way?
(1) Download the "Save" file from Hans-Joerg's message.
(2) Change the extension to ".tmcommand", so the file name reads "
Save.tmcommand".
(3) Double click the newly named beast.
(4) Full steam ahead... using command-shift-s produced a byte-for-byte copy,
but also left me editing the original file.
Odd,
Paul
Hi.
I began working on a bundle to support google's ajax api, http://code.google.com/apis/ajax/
Currently I've implemented most of google maps, which is what I use
the most, but if anyone else is interested in implementing the other
APIs (search and feed), feel free.
Any feature requests or bug reports are welcome (with or without
patches)
I also plan on adding support for the pure maps API where everything
is prefixed with G or G_, but not sure if that should go into its own
bundle or not.
Regards,
Peter Haza
Hi!
For a long time I'm using the auto-completion of the LaTeX-bundle. I
have a bib-file with 290 entries and I want to use the auto-completion
of the bundle, soon after pressing escape for auto-completion there
are 3 ruby-processes in activity monitor to be seen that take up
altogether 180% of the processor (dual core ;) ) and no
auto-completion happens.
What can I do to track down and solve the problem?
Niels
I can't for the life of me figure out why this isn't working in my language
file, can someone help?
Thanks,
Steven
Sample text to search:
----snip------
<cffunction name="isEmpty" returnType="boolean" access="private"
hint="checks to see whether a field is empty">
<cfargument name="inputField" type="string" required="true" hint="the
input">
<cfset retBool = true />
<cfif Len(Trim(arguments.inputField))>
<cfset retBool = false />
</cfif>
<cfreturn retBool />
</cffunction>
-----snip-----
regex that works when using "find" inside TM:
<cffunction\sname=(["'])
bundle language text:
{ name = 'support.other';
contentName = 'entity.name.function';
begin = '(<cffunction\sname).(["''])';
end = '["'']';
},
--
Steven Ross
web application & interface developer
http://blog.stevensross.com
[mobile] 404-488-4364 [fax] 267-482-4364
[ AIM / Yahoo! : zeriumsteven ] [googleTalk : nowhiding ]
Hello 'Mates,
I'm working on a bundle (my first!) to alphabetize css attributes, as
described by Garrett Dimon here:
http://www.digital-web.com/articles/architecting_css/
I whipped up some 'working' (as in, it works on a 2000+ line CSS file
I threw it at) code here, which has some obvious problems. Here are
the key parts, all in PHP:
[code]
function find_rule()
{
global $input, $nOffset;
$nStart = strpos($input,'{',$nOffset);
if ( $nStart === false ) return false;
$nEnd = strpos($input,'}',$nStart);
$nOffset = $nEnd;
$nLen = $nEnd - $nStart + 1;
$aReturn[] = $nStart;
$aReturn[] = $nLen;
// return an array containing the start index and length of the next
rule
return $aReturn;
}
function alphabetize_rule($sRule)
{
preg_match_all('/[^:\s]*:[^;}]*;?/',$sRule,$aProps);
sort($aProps[0],SORT_STRING);
$sRule = implode(' ',$aProps[0]);
$sRule = '{ '.$sRule.' }';
return $sRule;
}
?>
[/code]
The problems, that I can see anyway, are in the regular expressions,
since a CSS rule can contain URLs and URLs can legitimately contain
both un-escaped semi-colons and I think even curly brackets. I can
spend a bit more time on those to search for '(' and ')' and allow
those characters between, so that's fine.
My real question is if anyone has any thoughts about managing the
whitespace that separates the rules. Generally I write CSS all on one
line, and my code will return attributes separated by spaces. Ideally
I'd like it to respect how the coder has written their CSS already,
leaving any newlines and indentation in place.
Does anyone have any thoughts on how best to do this? Do you think
this bundle would be useful?
Many thanks for any feedback.
Pete
Hi
Is there any string we can add somewhere in a document such that TM
recognizes it and sets the correctly spelling dictionary?
Basically, everytime I change from a PT to EN document (or vice-versa)
I need to change the spelling language.
Thanks for any hint.
Cheers
--
Alberto Simões
This is a bit off topic, but I have added a word count command to TextMate
for Latex using texWordCount.pl as described here
http://markelikalderon.com/blog/2007/12/30/latex-and-word-count-revisited/
This raised two questions.
1. Is there a "good practice" place to put such snippets of code, and
2. I put it in ~Library/Application Support/Textmate/Code
Adding the "Code" folder to the existing directory tree.
But this led me to a new problem in that I couldn't work out how to get that
directory tree found when trying to run the code. In Windows, because of
the space in "Application Support" I would gve the full and wrap it in
quotes, but the cmbinations I tried failed to work.
At the moment, I have created a new folder ~Library/TextMate for the script
and the word count seem to work well, it also picks up possible errors in
your latex code, but I haven't investigated that yet. A google search
confirms the need to use quotes, but I can't find an illustration of exactly
where these quotes go.
Some help would be gratefully received.
Thanks,
Graham
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
I am new to Textmate so maybe I just don't know if this already exists.
When I have a project I can set bookmarks. This is fine but it would be
nice if it would be possible to not only set bookmarks but to set
a) Bookmarks of different type (maybe color)
b) Add comments to bookmarks (annotations)
And aside from that it would be nice to be able to set a specific type
of bookmark (selected color) for results of the current search.
So it this already on the feature list, is it planned? or is it possible
to create a plugin that supports this feature. (I have more features in
my head but that for sure need a plugin)
Greetings,
Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.8 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkfQ+XEACgkQSuF5XhWr2njsPACgqcaQsMhNcAuXV4IhWl8VU7JQ
/mgAn3rQ5RjE7qTzbdMLfIjVi1yHxfmA
=CIxT
-----END PGP SIGNATURE-----
I'm having problems running the mate terminal command, I get the following
error:
/usr/bin/mate: line 1: ../SharedSupport/Support/bin/mate: No such file or
directory
Any help would be much appreciated.
--
Bryce Roney
--
View this message in context: http://www.nabble.com/error-with-Terminal-%27mate%27-command-tp15891059p158…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
I'm finding I cannot copy text from main window into the find window. Also, if I type in a find query, textmate is unable to find the text in the file (even though I see it there in front of me).
Furthermore, I cannot copy or paste between textmate and other applications at all.
I've tried uninstall and reinstall without success.
Mac OS X 10.4.1
Textmate 1.5.7 (1436)
Standard bundles only.
Any tips? Thanks....
Rob
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
When I post to my WordPress blog using the Blogging Bundle, I get this
message:
> 2008-03-05 11:23:41.229 osascript[1107:10b] Error loading /Library/
> ScriptingAdditions/QXPScriptingAdditions.osax/Contents/MacOS/
> QXPScriptingAdditions: dlopen(/Library/ScriptingAdditions/
> QXPScriptingAdditions.osax/Contents/MacOS/QXPScriptingAdditions,
> 262): no suitable image found. Did find:
> /Library/ScriptingAdditions/QXPScriptingAdditions.osax/Contents/
> MacOS/QXPScriptingAdditions: mach-o, but wrong architecture
> osascript: OpenScripting.framework - scripting addition /Library/
> ScriptingAdditions/QXPScriptingAdditions.osax declares no loadable
> handlers.
Mind you, the post is successful, but this is quite annoying.
Any thoughts?
SRH
Hi,
I have some tiny problems with TM's HTML output window.
I have a tmcommand which generates HTML code on basis on a shell
script. Fine, after invoking it I see my result.
In addition I added a button called 'Refresh' to that HTML page. I
want to use it to start that shell script again (which writes the
HTML code to a file) using TextMate.system and then via JavaScript
'location.href' or 'location.replace()' to refresh the HTML output
window.
Well, this only works if I press the button at least twice or three
times(?).
After pressing the refresh button I had a look at the new generated
html file and the content is correct, but TM'S HTML output window
displays still the 'old' version.
I tried the meta tags no-cache and expire with '0'. No success. I
also changed the actual html code a bit to be sure that TM recognizes
it's a new document.
Is there a built-in cache for the HTML ouptut? Or can someone advice
me? How can force TM to refresh the HTML output?
Many thanks in advance,
--Hans
I use the standard font, Monaco font at size 12 with anti-aliasing
enabled. Somewhat frequently, the text becomes aliased and strange
looking in places, and the simplest solution seems to be to highlight
the text, which fixes the problem. Does anyone else experience this,
and is there a fix? Thanks.
Armon
Hi all,
I posted some noise a few days ago about replacing the system read()
function with an implementation that worked with tm_dialog for the
purpose of allowing user's to enter input into scripts/processes
running inside of TextMate (where normally you would enter it on the
command line).
I have an example of this working in the Groovy bundle.
http://macromates.com/svn/Bundles/trunk/Bundles/Groovy.tmbundle/
Support/bin/groovymate.rb
In particular ...
TextMate::DialogRead.init :title => 'GroovyMate', :prompt => "The
script is requesting some input:"
What this does is set some environment variables up for the process
that is about to launch (in this case `groovy $TM_FILENAME`). Now
whenever the running Groovy script reads from STDIN, and there is no
data currently there, a dialog is presented allowing input to be given.
This is not quite production ready, but if you want to use this kind
of thing in your bundle I would appreciate you giving it a try so I
can find issues faster. Contact me if you want to try it out.
Just to be clear, this is not tied to Groovy in any way. It's just
what I chose for the example.
LD.
I know this has been talked about before from various angles and there is a
(very poor) workaround in the Textmate FAQ, but I'd like to make sure there
are absolutely no more options.
The problem is, as most of you are aware, Textmate refreshes it's project
list every time the Textmate window gains focus and any other time the
software deems a project refresh necessary.
This is fine for small projects of a few hundred files or less, but it's
absolutely asinine for large projects with many files. When I switch back
from reading docs in a browser or whatever, I have to wait for several
seconds of spinning beach ball while Textmate refreshes the entire project
list.
How can I turn this off? Seriously. How can I stop Textmate from
automatically refreshing the entire project? I don't mind that it just
takes some time to refresh the number of files I have in my project, but I
do mine that it thinks it needs to refresh on focus every time. I know when
my files get updated and I know what's going on in my project directories.
I want to control the refresh so it only happens when IO know files actually
change.
(Before you ask, these are local project files and I'm using a year old
Macbook Pro with 2GB of ram and a 7200 rpm HD upgrade. This is not a
machine or network problem.)
--
View this message in context: http://www.nabble.com/Major-Project-Issues-with-Refresh-%28Textmate-is-unus…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am really interested in using the "Edit in TextMate" feature in
Safari but it doesn't work on the sites where I want to use it. I
believe I installed it properly because it works from Mail and some
web pages in Safari. After a bit of experimentation it seems the "Edit
in TextMate" command doesn't work if there is more than one textarea
on the page.
As a test, I created two HTML files on my computer:
<html>
<textarea></textarea>
</html>
and
<html>
<textarea></textarea>
<textarea></textarea>
</html>
"Edit in TextMate" works for the first file. For the second file it
fails silently (I don't see any errors in the Console). I am running
TextMate Version 1.5.7 (1455) and Safari 3.0.4 on Leopard 10.5.2. Any
ideas?
-Adam
I get the following message...
~/Library/Application Support/TextMate/Support/bin/Textile.rb: No such file
or directory
...when I try to preview or use any of the commands in the Textile bundle.
When I investigated, I discovered that there actually is "no such file or
directory".
I did a google search and found this...
> 9046 deleted | Diffs: previous, other | Lines: 0 ( +0, -10 )
> Created: 2008-03-04 07:18:15 -0600 (11 hours ago) | Author: duff |
Changeset: 9046
> • move Textile.rb wrapper to Textile bundle and update the commands
which use it — I don't see
> the need to have this command available to all bundles (given that in
the now more than two years
> it has been available, only one bundle command actually used it outside
the Textile bundle).
Is there something I should do to get the bundle working again, as a result
of this change?
Thank you,
Victor
Hi all
I recently installed JUnit 4.4 on 10.5.2. However every time i try to
run my JUnit test classes using textmate's bundle i get a Could not
find class error.
TIA
Hi, folks.
This is more a Mac OS X problem than a TM one, but probably MT has
some way to solve it.
I use TM to write in Portuguese.
Unfortunately, Mac OS X Portuguese dictionary sucks.
Is there any way to make TM use ispell or aspell or hunspell?
Kindest regards,
Alberto
--
Alberto Simões
Hi,
I would like to use TextMate as my Haskell editor instead of Emacs but
one thing is holding me back and that is the wonderfull indentation
features in the Haskell mode for Emacs.
In Emacs I can write the following very easily and press tab to cycle
between the possible indentations. In the code below there are only
one possibility for each line, and pressing tab multiple times does
not insert any tab or space characters.
f_25 :: [a] -> a -> [a]
f_25 s c = foldr g [] s
where g x acc = if x == c
then acc
else x : acc
If I for example unindent the code so I get the code below, then
pressing tab once for each line (or seleting the code and executing M-
x indent-region) will give me the pretty indented version back. Is
there any chance that this kind of functionality could be implemented
in TextMate?
f_25 :: [a] -> a -> [a]
f_25 s c = foldr g [] s
where g x acc = if x == c
then acc
else x : acc
Kind regards,
Emil Hedevang
hi :)
is it possible to skip binary files with "Find in Project"? as we have
many big files like videos and images in our projects this not only
eats up a great amount of memory but is also slow. it also doesn't
make any sense to us since we want to search within the sourcecode and
not some videos or images :). excluding those folders was a solution
for some projects but we can't do it for all of them.
regards,
oktay.
Hello,
It seems that TM is leaking memory in Find in Project (probably in
OakDocument), it is NOT visible when working with small projects, but
with bigger it grows RSIZE memory infinitely.
Steps to reproduce:
$ mate /Developer/Documentation
... then Find in Project for "test".
In Performance Monitor watch as RSIZE grows above 1GB after about one
minute.
My Mac is MacBook Pro 2.2Ghz 2GB RAM, 10.5.2.
I think it has something to do with OakDocument that is created for
all searched files in the list, also for some non-text files.
I just spotted that TM is not freeing RSIZE (nor VM) after closing
some huge binary files like .pch (VC binary) or so. (Libraries). It
may have something to do with that.
It may have something to do with my former mail about big files with
single line inside.
Currently I work with some huge C/C++ projects, and lately searching
for any file ends up with TM eating all my memory.
BTW. Can't Find in Project work in separate thread?
Like: when pressing [Find] in the Find in Project, [Find] button is
made inactive, below appears spinning wheel icon "Working...", and
below we may have [Stop] button that appears only when thread is active.
I often use this, but it hangs TM for a while, moreover it is not
possible to interrupt it.
Best regards,
--
Adam Strzelecki |: nanoant.com :|
Hi there,
is there any way of making RakeMate not htmlize rake's output?
I have a rake task that outputs compilation errors, and would like to
make them clickable so the user can open the offending file, but the
HTML I generate is escaped, so it's not useful.
Any ideas/suggestions/recommendations?
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
The current svn version of texMate.py does not work on OS X 10.4.11.
The reason, I think, is that Python 2.3.5 is installed, which does not
have the "subprocess" module. Since r8813, the texMate script has used
this module.
Robin
hi,
Although I'm in no way related to the project, I'd like to inform that
the MissingDrawer plugin has been updated.
The changes are not yet significant, but the best is that the
development of that oh-so-good plugin starts again, and we can so
expect many new features coming to us!
Maybe my dreams of a 'Expand/Collapse all' option will soon come true...
URL: http://jannisleidel.com/2008/02/missingdrawer/
Regards,
XC
I've gone through the steps on the “Revert to Default Bundles” wiki
page, restored default shortcut keys in the OSX System Preferences,
deleted TextMate related Preferences and Caches and relaunched
TextMate and still can't get access to the “Show Bundle Items” menu
via ⌃⎋
Additionally, I cannot assign ⌃⎋ to any bundle items. It's as if
TextMate has started to ignore all instances of that key equivalent.
To make sure it wasn't a system wide issue with ⌃⎋ I setup a
Quicksilver trigger which worked as expected.
To make matters worse I can't even figure out where/how to re-bind
“Show Bundle Items” to another key equivalent so that I can at
least regain that functionality.
Help with any of this is appreciated.
john
I am trying to create a Shoes bundle. For those who don't know shoes, it is
a GUI framework for Ruby. I'd like the bundle to use the ruby bundle's text
highlighting, folding scheme, etc. I can (and currently have) copied the
language into the new bundle, but can I somehow inherit the language from
the ruby bundle? Thanks.
Mike
Hi,
I have added an xcode project to the bundles repo (http://
macromates.com/svn/Bundles/trunk/Review/Tools/tmread/) called tmread
(it need's a better name). From the help file ...
"The goal of this is to facilitate scripts/commands running via
TextMate that require user input to use tm_dialog to get the input,
where typically the user would enter it on the command line."
In essence, you can use this to run scripts via textmate and have
textmate present a dialog to the user to allow them to enter input
into the process.
I need some help to test this. It passed under every circumstance I
can concoct, but of course there could be lurking bugs.
To fully make use of this though, you need to be a bit clever about
how you write the output of the running process to wherever your are
writing it to (typically the HTML output window). Consider thing's
like RubyMate. It executes a ruby script, writing the output of said
script to the html output window. It currently does this on a line by
line basis. This is problematic if you have the following script ...
#!/usr/bin/env ruby
$stdout.print("Please enter username: ")
username = STDIN.gets
The problem here is that RubyMate would not output "Please enter
username: " before the dialog is presented to the user asking for the
username. So the user won't really know what they are inputting.
I am not 100% sure how to solve this. Parsing the input line by line
is too convenient to through out the window. What we really need is a
way to identify when it is likely that the script we are running is
presenting a prompt and then pass that through as a line, considering
that most prompts end when a newline is entered. I am at a bit of a
loss on how to do this.
I would encourage anyone interested to grab tmread from the repo to
read the readme, build it and have a play so we can catch any issues.
LD.