> 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
hdGl2ZVBhdGjSDRobHFdOUy5kYXRhg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AwMi1IaXN0b3JpY2FsIGJpb2dlb2dyYXBoeSBhbmQgbW9sZWN1bGFyIHN5c3RlbWF0aWNzIG9mIHRoZSBJbmRvLVBhY2lmaWMgZ2VudXMgRGFjeWxsdXMgKFRlbGVvc3RlaTogUG9tLnBkZtIeHyYnoicjXE5TRGljdGlvbmFyeQAIABEAGgAfACkAMgA3ADoAPwBBAFMAXABiAGkAcAB4AIMAhQCIAIoAjACPAJEAkwCdAKoArwC3ALkDiQOOA5cDogOmA7QDuwPEBEUESgRNAAAAAAAAAgEAAAAAAAAAKAAAAAAAAAAAAAAAAAAABFo=}}
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 ]