Hi
as posted yesterday Im new to Textmate. So like any other 'beginner' I
stuck to the screencasts first, trying to adopt what is shown there.
Yesterday I posted that self-closing tags wont be done by the key-
command [crtl] + <
Akos kindly answered today I have to set a new variable for this action.
This has not been shown in the screencast.
Now Im trying to autocomplete the insertion of a doctype, but again no
shortcut will bring what is shown in the screencast.
A.) Have features changed since the screencasts have been recorded?
This is kind of confusing ... because screencasts are meant to
beginners.
B.) Is it possible to have more screencasts in general to bring the
folks into stuff?
That woud be great, so learning by watching is quite more confortable
and faster.
(And I guess its even faster for the authors to record a screencast on
certain issues rather than writing about them)
Thnx in advance!
------------------
Dennis
I have just tried to install the "Edit in Textmate" package.
When I tried and failed, I got an error message which reads:
sh: tail: command not found
Error
The input manager (/Contents/Resources/Edit in Textmate) was not found in
the Textmate application bundle.
You may need a newer version of Textmate.
I don't understand why this happens; I have just downloaded and paid for
Textmate recently.
I'm also having trouble setting up the terminal command so that I can open
Textmate using the "mate" command; the default links do not show up in the
Enhanced Terminal Usage wizard box. If I were to navigate to the /usr/bin
directory, which directories should I link to in order to set it up?
Thanks in advance.
--
View this message in context: http://www.nabble.com/Can%27t-install-Edit-in-Textmate-package-tp15392164p1…
Sent from the textmate users mailing list archive at Nabble.com.
I've been wrestling with this one for a bit and I can't seem to find
the right combination of bundle edits to make things work the way I
think they should.
When using PHP, it is oftentimes necessary to place a "<?php" tag
right at the beginning of the file, as any leading whitespace will
render the header() function useless. Unfortunately, whenever I open
such a file in TextMate, it is not recognized as HTML. There's no
syntax highlighting, no autocompletion, nothing. Getting rid of the
opening PHP block, or simply inserting a space in front of it sets
everything right, but then the script obviously stops working.
The HTML bundle has two separate patterns declarations pertaining to
PHP, one which requires leading whitespace, and another which does
not. Mucking around with these patterns has yielded no improvements,
and I'm not sure where else to look at this point. Find doesn't work
in the bundle editor, and hitting the "Test" button or reloading
bundles makes you lose your place in the file, so trial-and-error is
an especially painful process here. The handful of search terms I
could come up with didn't turn up anything, so I'm looking to see if
anyone has any suggestions.
Thanks
I'm trying to teach myself the basics of programming -- I'm working
with Python -- and one of the things I'm doing is going over extant
scripts that I find useful to see how they do what they do. One of the
scripts I'm interested in is pwyky, and so I wanted to print out the
file but I need line numbers to help me keep track of where I am. No
problem. Textmate has that in its eponymous bundle! But when I run it,
I get the following dialogue error in the preview window:
sh: ps: command not found
Received exception:TextMate::AppPathNotFoundException
I checked the first level code in the Bundle Editor, but this has to
be somewhere in one of the Ruby scripts, but I am shy about digging in
there. Any help would be appreciated.
john
I love the blogging bundle, and the primary 'fetch' use case would be
to fetch within the last n-many posts, in the Blogging bundle, the
value of n is a nice and sensible 20.
BUT
What if I decided that I wanted to go back and edit something from a
*long time* ago. Could I somehow retrieve the post via the bundle
either by slug or by unique ID?
Steven
I love textmate and the integration with latex but again and again it
just stops working.
Current incarnation of the problems is the following:
1. In a multifile document (thesis) I edit one sub-document and
recompile (ctrl-r) and the message I get is: "Latexmk: All targets
(ClassicThesis2.pdf) are up-to-date"
- I have tried compiling from the master document - same result.
- I have tried 'trash aux files' and same result
2. Separate problem (earlier on): I am using skim, and in the past
when I would compile in Textmate, it would pop into focus. Now all it
does is bounce in the dock.
Also again and again the window comes up asking if it should
automatically update the file.
Any suggestions appreciated.
Christopher Brewster
*****************************************************
Department of Computer Science, University of Sheffield
Dear R users,
in the last weeks I've looked for a better R integration into TM.
Finally I came up with these three bundles:
1) R
In principal I rewrote all commands to be more flexible and to avoid
to call R to get some information (except for the command 'Tidy').
I.e to show e.g. a function signature/help/insert a function
parameter/completion etc. the command will look for it within R's
help file system. This is not only faster but also one has now access
to all installed packages. In addition to that these commands also
parse the entire R script for function declarations.
Please note if a command using that index will be invoked for the
first time or if you deleted or installed a package the index file
will be rebuilt, and this takes some milliseconds.
I also fine-tuned Rmate. Now all plot are displayed inside of the
output window as thumbnails (click on it to open; drag it to save it
as pdf). Furthermore now it is also possible to send a very large R
script to Rmate. By using the old approach Rmate's pipe overflowed.
2) R Console (Rdaemon)
I fine-tuned the entire Rdaemon. I used it many days and it turned
out it's stable, fast, and you're more flexible once you understood
the underlying philosophy. In other words it makes really fun. Of
course, R is rather complex and I'm sure that I missed some things.
3) R Console (R.app)
In that bundle you will find all commands to remote the standard R.app.
Both Console bundles are extensions to the R bundle, meaning they
make usage of commands, snippets, etc. defined in the R bundle.
For each bundle I tried to write an help file. In beforehand sorry
for my terrible English, it's fast written and not yet proof-read.
The best thing to start is to read the help file and have a look at
the bundle menus.
!!VERY IMPORTANT!!
Before installing these bundles please backup the 'old' R bundle
(maybe, what I did is a flop ;) and delete the bundles R and - if it
exists - Rdaemon; quit TM; start TM; and then install the new bundles.
All these bundles have beta status. Thus I would be very appreciated
if someone could test them and give me any feedback regarding:
-what doesn't work
-what is illogical or unclear
-bad arrangement or key binding
-what's missing/wrong/unclear in the help file
...
plus what Mac OSX version, ppc or intel, which R version
If Allan is back I will upload the new R bundle to the repository and
both Console bundles to the test repository.
Cheers,
Hans
>
Hi there,
first post: wanna say hello and excuse (in advance) for beeing nOOby :0)
1.) bug - self-closing tags:
^ + < …for opening/closing tags this key-command does work fine, but
not for self-closing tags like <img /> or <hr />
space and slash is missing, it just closes the tag normally.
Is this a bug?
2.) I have found some tutorial, but w'd like to know if there's
somebody out with a link-ressource to share with me
(mostly Im interested in HTML/CSS to start with)
ThnXS
Dennis
Hello,
I'm new to TextMate so please forgive my ignorance. My question is: is
it possible to, or would it be possible to make, TextMate work well
with xdvi? Even though part of the world is trending toward using PDF
to display on the Mac, e.g. with Skim, there are still some advantages
to xdvi, in particular that the display and updating are very fast,
and it is much faster to latex a long document than to pdflatex it.
There are two things that would be needed.
1. When using latex as the engine, it seems that TextMate also invokes
dvips to create a PDF file. This should be turned off. (Perhaps there
is already an option for this?) Also, one would need to invoke latex
with src-specials turned on (latex -src-specials).
2. One would like to be able to synchronize from TextMate to xdvi.
This can be done with a command like:
xdvi -sourceposition lineno$texfile $dvifile
for example
xdvi -sourceposition 50myfile.tex mymasterfile.dvi
Syncing from xdvi to TextMate is already relatively easy.
I'm guessing all this may be easy for those who are familiar with
bundle editing (not me!), or even perhaps has been done already?
Thanks
Geoff Vallis
A while ago i submitted to the list this idea of using
jsMath to get an instant preview of LaTeX formulas in
the form of html tooltips. I'm not a programmer so i
won't be able to do it myself, but i reckon there is
some interest on such a tool, and it looks easily
doable if you know TM's syntax (which, sadly, i
don't).
http://www.math.union.edu/~dpvc/jsmath/
Best wishes,
baptiste
>
> > De: Allan Odgaard <throw-away-2(a)macromates.com>
> À: TextMate users <textmate(a)lists.macromates.com>
> Date: Tue, 11 Dec 2007 07:42:38 +0100
> Objet: Re: [TxMt] LaTeX equation tooltip preview
>
> On 9 Dec 2007, at 12:17, baptiste auguie wrote:
>
> > I've always been slightly jealous of emacs' auctex
> > mode with previewing of images and equations in a
> TeX
> > document. I understand the issue of dealing with
> fancy
> > fonts in a source editor, but would it be possible
> to
> > create a preview of parts of the code in the form
> of
> > tooltips?
>
> The Dialog 2, presently in the WIP branch at the
> repository, allows
> you to show HTML tool tips, so this would make it
> possible.
>
> And the idea indeed sounds very good.
>
>
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
I love the feature that automatically inserts the opening square
bracket.
However one case that it always seems to get wrong:
if(!aString isEqualToString:anotherString
When typing the closing bracket, the opening brackte is inserted
before the '!' instead of behind.
Gerd
Hi,
When generating log messages in my Cocoa projects I make heavy use of
TM's ability to convert output in the format 'SourceFile.m:lineNo:' to
links.
This does not work for grouped files if the 'Path Type' in Xcode is
set to 'Relative to Enclosing Group'. Changing it to 'Relative to
Project' fixes it.
Not sure if that is new with Xcode 3 or if it can be fixed
(Xcode.tmbundle/Support/bin/run_xcode_target.rb, path_for_basename()),
my ruby/.xcodeproj fu is not up to speed...
Gerd
Hi
I've made a drag command for dragging css files into other css files.
The current behavior when you drag a css file onto another is to paste
the content of the dragged css into the other css.
This command will rather insert an @import url("relative/path/to/css");
The import rule for css is specified here: http://www.w3.org/TR/REC-CSS2/cascade.html#at-import
ph
Hi all,
I've just installed the Git bundle (on Tiger), and I keep getting
those error messages :
Git log =>
/tmp/temp_textmate.U9qQdq:4: command not found: git log _notes.markdown
Gits status =>
sh: line 2: git: command not found /tmp/temp_textmate.j2NZhz:4:
command not found: git ls-files -o --exclude-per-directory=.gitignore
/tmp/temp_textmate.j2NZhz:4: command not found: git ls-files -m
--exclude-per-directory=.gitignore
Note: when I run those commands in the terminal, they work fine.
Alain
* I'm currently experimenting with TextMate as an alternative to xemacs and have encountered a problem in the python bundle.
* The problem is that PyMate is providing its own sitecustomize.py to hook various functions.
* This conflicts with our company's production/testing platforms. They also uses sitecustomize to make site-specific customizations (such as hooking the logging module handlers etc).
* I'm sure our approach isn't unusual. Unfortunately TextMate's usage of it for *application* specific reasons prevents our own site customisations from loading.
* Is a possible alternative for TextMate to use a launcher script approach? eg something that
- hooks the desired functions as currently
- hacks sys.argv and execfiles into the target file, such as
# remove us from the argument list, set __file__ to be the script to run then exec it
del sys.argv[0]
__file__ = sys.argv[0]
execfile(sys.argv[0])
This should have the same effect and ensure that a platforms sitecustomize is loaded. I'm happy to work on and submit a patch to the appropriate people if desired (not sure who that would be)
derek.
--
E-Mail sent with anti-spam site TrashMail.net!
Free disposable email addresses: http://www.trashmail.net/
Hi,
I use the Dvorak-Qwerty-Cmd keyboard layout and some key combinations don't
work as they should. More specifically, TextMate seems to be trying to
intercept the physical key information rather than the logical key as
defined by the layout. Let me try to clarify that with some examples.
- If I press ^P, instead of moving up one line TextMate executes a shell
command based on the current word, which is bound to ^R. That is because the
letter P of the Dvorak layout is in the place of the R of the usual layout;
- Likewise, if I press ^' TextMate reformats the paragraph, because
reformatting the paragraph is ^Q and ' is in the place of the Q of the usual
layout.
If there's no TextMate action associated with the physical key, the action
associated with the LOGICAL key gets executed instead, for instance:
- ^F, ^B and ^B work normally to go forward, back and line down with the
caret, because F, B and N are respectively Y, N and L in the usual layout,
and there aren't actions associated to ^Y, ^N an ^L;
- ^R and ^Q do what they're supposed to do (execute shell command and
reformat paragraph), as physically I'm pressing ^O and ^X, which again have
no actions associated to them, so the logical keys are considered. As a
result, I have pairs of key combinations that do the exact same thing, e.g.
^P and ^R, ^' and ^Q (and no key combination moves the caret one line up :(
).
The actions that involve the Cmd key aren't affected, because by definition
when you press Cmd on the Dvorak-Qwerty-Cmd layout the remaining keys are
supposed to behave just live in the usual layout (this is meant to make it
easier to use keyboard shortcuts such as Cmd-C and Cmd-V).
The real problem isn't much the fact that some keys behave like different
keys, but the fact that it prevents me from using some shortcuts at all, for
instance there's no longer a shortcut tho move the caret up one like, like I
said above.
So if anyone has anything to say about that, I'd appreciate.
-Alexandre.
I'm just updating the Perl language definition to support the new
keywords and operators in 5.10. I notice that keyword.control.perl
includes 'switch' and 'case' (which aren't Perl keywords; it's given/
when in 5.10) and also 'select' which is a function rather than a
control keyword.
Is there a compelling reason not to remove switch, case and move
select to the functions list?
Also, because I'm a TM language definition newbie, does anyone have
any tips about how to handle the // (defined or) operator? In some
contexts // is an empty regex; in others it's an operator
my @x = split //, $line; # regex, common idiom to chop into chars
my $x = $y // $z; # operator, equiv: my $x = defined $y ? $y : $z
--
Andy Armstrong, Hexten
My absence through January was caused by a longer trip to the southern
part of Africa (South Africa, Botswana, Zimbabwe, and a short day-trip
to Zambia).
I’ll be going through mailing list letters chronologically the next
couple of days and hopefully reply to most unanswered questions etc.
In a Ruby file, when I press command-R to run, about half the time I get an
error indicating that we tried to compile as an Xcode project and we are not
an Xcode project. Why is TextMate doing this and how can I prevent it? The
language thingy at the bottom says it's Ruby so clearly someone in there
knows it is; it just doesn't seem to be the same guy who responds to
command-R. Thx. m.
--
matt neuburg, phd = matt(a)tidbits.com, <http://www.tidbits.com/matt/>
A fool + a tool + an autorelease pool = cool!
One of the 2007 MacTech Top 25: <http://tinyurl.com/2rh4pf>
AppleScript: the Definitive Guide - Second Edition!
<http://www.amazon.com/gp/product/0596102119>
I'm having problems with the standard subversion integration in
leopard. When I try to do a log command in textmate I get the
following in the popup window:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/rexml/source.rb:226:in `pos': Illegal seek (Errno::ESPIPE) from /
System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/
rexml/source.rb:226:in `current_line' from /System/Library/Frameworks/
Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rexml/parseexception.rb:
44:in `line' from /System/Library/Frameworks/Ruby.framework/Versions/
1.8/usr/lib/ruby/1.8/rexml/parseexception.rb:28:in `to_s' from /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/escape.rb:
30:in `htmlize' from /Applications/TextMate.app/Contents/SharedSupport/
Bundles/Subversion.tmbundle/Support/svn_helper.rb:90:in
`handle_default_exceptions' from /Applications/TextMate.app/Contents/
SharedSupport/Bundles/Subversion.tmbundle/Support/format_log_xml.rb:171
REXML::ParseException
I don't have any custom bundles loaded and I haven't done anything to
the stock leopard ruby installation. Leopard was a scratch install on
this machine too, so there shouldn't be any cruft left laying around
from Tiger.
Any ideas?
Matt
Has anyone else gotten this effect?
I post to my blog with the TextMate blogging bundle (thanks, Brad!),
and if I go to re-edit a post, the timestamp changes. As far as I can
tell, that's related to me getting back a timestamp in the TextMate
document that says something like:
Date: 2008-01-19 16:32:44 -0500
...which is roughly 9:30pm EST, according to my blog. If I re-publish
that post from TextMate with that datestamp in there, it suddenly then
becomes:
Date: 2008-01-19 11:32:44 -0500
...which shows up as roughtly 4:30pm. If I edit a post multiple times,
it keeps subtracting 5 hours, to the point that I can even end up at
the point of it having been posted the previous day.
Do I have something set up wrong here, or is there a workaround?
Thanks for any help!
Cheers,
MB
Hi
I am new to the world of textmate and java programming. I have
searched the Textmate blog and Java Forum for answers but nothing.
The program compiles and runs in the terminal by using javac Bert.java
and java Bert
But as soon as I want to use Textmate to compile and run the error is
returned:
Exception in thread "main" java.lang.NumberFormatException: null
Must be textmate problem. Could someone help me?
The short program that is want to compile and run is as follows:
import java.io.*;
public class Bert
{
public static void main(String[] args) throws IOException
{
//Declaring Variables
int price, downpayment, tradeIn, months, loanAmt;
double annualInterest, payment, interest;
String custName, inputPrice, inputDownPayment, inputTradeIn,
inputMonths, inputAnnualInterest;
BufferedReader dataIn = new BufferedReader(new
InputStreamReader(System.in));
//Get Input from User
System.out.println("What is your name? ");
custName = dataIn.readLine();
System.out.print("What is the price of the car? ");
inputPrice = dataIn.readLine();
System.out.print("What is the downpayment? ");
inputDownPayment = dataIn.readLine();
System.out.print("What is the trade-in value? ");
inputTradeIn = dataIn.readLine();
System.out.print("For how many months is the loan? ");
inputMonths = dataIn.readLine();
System.out.print("What is the decimal interest rate? ");
inputAnnualInterest = dataIn.readLine();
//Conversions
price = Integer.parseInt(inputPrice);
downpayment = Integer.parseInt(inputDownPayment);
tradeIn = Integer.parseInt(inputTradeIn);
months = Integer.parseInt(inputMonths);
annualInterest = Double.parseDouble(inputAnnualInterest);
//Calculations
interest = annualInterest / 12;
loanAmt = price - downpayment - tradeIn;
payment = loanAmt / ((1 / interest) - ( 1 / (interest * Math.pow(1 +
interest, months))));
//Output
System.out.print("The monthly payment for " + custName + " is $");
System.out.println(payment);
}
}
Hi
I've been browsing the list archive but cannot reaaly find an answer to
my problem. It has to do either with the blog setup
(com.macromates.textmate.blogging.text) or with teh communication with
my wordpress blog.
For some non understandable reason I destoryed my blog setup and now I
am f*cked. When enterning in the com.macromates.textmate.blogging.text
file the items $blgname $blog-url, I receive a "Received excepttion.
Wrong content-type: No blogs are availble".Wwhich is of course utterly
untrue :/
So how to fix this?
Regards, Judith
Hi,
maybe someone is able to give me an hint (esp. regexp and grammar
experts ;)
I'm writing a Language and I want to include TM's folding feature.
foldingStartMarker :=
each line which begins with '>' AND the next line does not begin with
'>'
foldingStopMarker :=
each line which does not begin with '>' AND the next line begins with
'>'
Fine.
I tried:
foldingStartMarker = '^>[^\n]*$(?!\n>)';
foldingStopMarker = '^[^>][^\n]*$(?=\n>)';
but it does not work. If I test these regexps in Find&Replace Dialog
it works.
What am I doing wrong? Or is this not possible?
Here's an example how it should look like:
v > foo
^ blabal
> foofoo
v > foofoofoo
blablabla
blablabla
blablabla
blablabla
^ blablabla
v > bla
^ foo
>
whereby 'v' := foldingStartMarker ; '^' := foldingStopMarker
Many thanks in advance,
--Hans
Dear all,
please forgive me if I'm totally wrong, but I didn't find some in the
net.
If I set some self-defined shell variables and TM installs a new
revision (cutting-edge) it seems to me that all my self-defined shell
variables are gone. Is this correct? If yes, is there a way to avoid it?
Many thanks,
--Hans
Hi all,
since i recently upgraded to Leopard, I experience heavy slowdown of
TextMate, when I edit LaTeX files. Note that this occurs not always,
and doesn't seem to depend on the size of the file. Indeed, if I just
let TextMate open and continue editing after some time, this
inexplicable slowdown has disappeared.
Does anyone else has experienced slowdown of TextMate in conjuction
with Leopard+LaTeX ?
Yeah, I'm on a roll today with annoying questions :)
In Go To File, which I love, is there a way to have the pattern match
against the directory name and the file name?
For instance, I have a lot of files that all have the same name (eg
view.jsp), but they all live in different directories.
Scrolling through 60 different view.jsp's is a bit of a pain, so I was
curious if there's a way to narrow down the file based on directory?
Thanks again :)
--
View this message in context: http://www.nabble.com/Is-there-a-way-to-search-against-directory-name-in-%2…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
I'm not sure if this is pure coincidence since I've upgraded Adium to the
newest version, but attached is a screenshot which displays an error when I
try to use the pastie command bundled into TextMate. It's definitely one of
my favorite features, so I'm curious if anyone has ran into this as well?
I'll down grade Adium before dealing with this issue.
http://catalyst.httpd.org/tmp/tm.png
Any ideas?
- sf
Hi all
I've been using the Objective-C bundle for about a year now for all my Cocoa
coding. It has a lot of nice features, but there are few shortcomings and I
was wondering if anyone is actively working on this.
A few things off the top of my head:
- No completion of new classes in leopard (eg. NSGradient, Core Animation
classes) or any syntax highlighting for new Objective-C 2.0 features.
- Cocoa classes are automatically highlighted (eg. declaring a variable as
NSRect will show "NSRect" highlighted). Other Apple classes like those in
CoreGraphics should also get the same treatment. Declaring a variable as a
CGRect won't show "CGRect" highlighted. Also help doesn't work for these
items.
- "Completion: Partial Method Signature" is really handy for inserting
delegate method signatures. It does however insert different spacing then
the "Interface/Class Method" snippet.
For example in an interface file:
Typing "-awakeFromN<tab>" will insert "-(void)awakeFromNib;"
Typing "m<tab>" will insert "- (id)method:(id)anArgument;" (notice the extra
space after the "-")
-
Hello,
I was wondering if anyone could point me in the right direction here. I
searched the list archives and have tried the following.
Opened up ~/Applications/TextMate.app/Contents/Info.plist and found this
entry:
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>rhtml</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>RHTML</string>
<key>CFBundleTypeName</key>
<string>HTML with embedded Ruby</string>
</dict>
Which I modified to be:
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>rhtml</string>
<string>erb</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>RHTML</string>
<key>CFBundleTypeName</key>
<string>HTML with embedded Ruby</string>
</dict>
I also later tried:
<dict>
<key>CFBundleTypeExtensions</key>
<array>
<string>rhtml</string>
<string>html.erb</string>
</array>
<key>CFBundleTypeIconFile</key>
<string>RHTML</string>
<key>CFBundleTypeName</key>
<string>HTML with embedded Ruby</string>
</dict>
Saved Info.plist, then Quit completely out of TextMate. Next, opened up an
existing rails project, but the 'index.html.erb' for example, still showed
the generic TextMate icon in the project drawer, not the tiny blue globe one
that 'rhtml' files use. (I really like the way it strikes the eye... what
can I say?)
Has anyone been able to get Rails 2.0's new 'html.erb', 'css.erb', etc.
files to show up in the drawer with teh sexy rhtml icon? =)
Cheers,
- Shanti
ps. this is probably completely unrelated, but I also went through Finder
and did the 'get info' -> 'change all' trick to open all 'html.erb' files in
TextMate, yet the icon in Finder remains the generic white OSX one, not
TextMate's. Figured that's an OS X thing but thought I'd mention it just in
case.
Hello, I am new here and new to textmate which I love. I am not a programmer,
and use textmate as an outliner and word processor. I know that text mate is
more geared towards coders, but it has the features I need and the level of
community support is unheard of for a word processor.
My primary use of textmate is with a nearly fully transparent background
coupled with fully opaque text (foreground) and fully opaque line
highlighting. This allows me to focus on my text while watching my soothing
desktop backgrounds behind my work, or looking at my research.
I was wondering if it was possible, and easy (for a non technical person
such as myself) to not only have line highlighting, but also have the
current paragraph highlighted as well. My hope is to be able to have yellow
text over solid red line highlight, and the rest of the paragraph
highlighted a slightly opaque green on blue for a sort of secondary post.
BTW, love the program, love that it has forums, love what it does for blog
markup.
1st post, I hope I haven't broken any rules. Thanks in advance for any help
that can be offered.
--
View this message in context: http://www.nabble.com/Highlight-line%2C-works%2C-Highlight-Paragraph--tp146…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I am using comments like
%
=
=
=
=
=
=
=
=
========================================================================
% Doing something...
%
=
=
=
=
=
=
=
=
========================================================================
(...)
%
=
=
=
=
=
=
=
=
========================================================================
% Doing another thing...
%
=
=
=
=
=
=
=
=
========================================================================
(...)
to structure the code inside my MATLAB files. For easier navigation I
would like to use these comments as folding markers and symbols (for
the "Go to symbol" command). I know that I have to play around with
the language grammar to do so, but alas my more than limited knowledge
of regular expressions has prevented me from succeeding. Maybe one of
the language grammar/regex experts here has a quick tip for me?
Thanks,
Carsten
Hi,
I have two bundles 'R' and 'R daemon'. R has the scope 'source.r' and
R daemon has the scope 'source.rd-console'.
In both bundles I have a macro which is bound to the key '(' which
actually do the same but using different ways. Fine.
If I am inside the R scope 'source.r' the correct macro is called
after pressing '('.
BUT if I am inside R daemon scope 'source.rd-console' the wrong macro
is called – meaning the macro of scope 'source.r' will be executed!
If I set the scope selector of the macro inside of the 'R' bundle to:
source.r -source.rd-console
then it works.
Well, to be honest, I don't see the point here why I have to exclude
a scope explicitly. Or is this a naming-of-scopes issue?
Thanks in advance,
--Hans
Hi Haris,
when I use the Show Label as Tool Tip command
on a non-existing label (say, on \eqref{ZZZ} when
no \label{ZZZ} exists), instead of the expected
Not Found message I get inserted into the file
undefined method `context' for nil:NilClass
so I guess you might add a check on the nillness
of context in your script.
If you find the time to work on it, maybe you
might also consider this small request (I see
that some infrastructure is already in place
in LaTeXUtils): a similar command to work
on citations, i.e. when invoked on a \cite,
the tooltip shows the corresponding bibitem,
possibly finding it into the .bbl file. I guess
the two things (for labels and citations)
could happily coexist in the same script.
Thank you for your work,
Piero
I'm trying to define a "smart" snippet for LaTeX sub/superscript.
What I would like to achieve is a snippet
(1) triggered by _ (or ^ for superscripts)
(2) curly braces are inserted only when there are least two
characters after _
Thus, if I type
_a, then I get _a
if I type
_ab then I get _{ab}
My current attempt is as follows:
_${1/(.{2,})|./(?1:{)/}$1${1/(.{2,})|./(?1:})/}$0
However, the above has a major shortcoming:
When I type _ as the second character after the first _, then the
caret is in the wrong place. Thus,
_a_
produces
-{a|_}
and the caret is between a and _ instead of being after the second _
Any suggestions?
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMate/http://www.governatori.net/TextMate/LaTeXExtension.tmbundle.ziphttp://www.defeasible.org
Hi all,
I've noticed that my subversion keywords don't get expanded/updated
when I commit from TextMate (they do when I commit from the command
line). Is there a workaround? (Sorry if I've missed something
obvious -- I did google.)
thanks,
wb
Howdy,
I've been a Textmate user for years now but moved to Aptana for a while but
now I'm back! :) Simply love Textmate.
A feature I used constantly in Aptana however, I cannot seem to find or
figure out a similar solution to in Textmate.
I'd like to be able to put my cursor on a word (in a JS file let's say) and
have that word highlighted _everywhere_ else in the document making it very
easy to find / see where it is. Aptana also put a little yellow marker in
one of it's gutters to show where the instances are vertically in the file
too. Makes it _very_ quick to find things. Is this possible?
Thank you very much!
--
---------------
.: Jamal :.
When I attempt to find within a project, grep searches within
build directories even though they are excluded from the project
in TextMate. Is there a way of restricting grep to the directories
that you have included within your project?
Thanks,
cf
Hello,
I have modified my keyboard (Dvorak, if that matters) to produce the
following combinations:
Option + C -> č
Shift+Option+C -> Č
Option+S -> š
Shift+Option+S -> Š
(and some more).
This all works wonderful everywhere, except that Shift+Option+S in
TextMate results in something like
cat: /tmp/TextMate-ScratchSnippet.txt: No such file or directory
The same actually happens when pressing that combination on US layout
(except that probably not many TextMate users ever need to type "Í" on
it) and no other key is problematic, only S.
My question is: where to turn that non-working feature off
(Shift+Option+S), so that I will be able to use that key combination
to get my character?
Thanks a lot,
Mojca
Hi all,
Is it possible to give PHP a shortcut in the window which associates
files with a language? Not entirely sure of the technical name of it,
but if you follow the key sequence ctrl+shift+alt+p the list of
available languages are:
1) perl
2) plain text
3) property list
4) python
Any chance of getting PHP on the list?
Thanks!
/sf
Hello All:
I am currently using Ultra Edit on a PC at work and Textmate on my MacBook
for when I am not in the office.
I want to convert to using only my MacBook however, the one progg that is
holding me back is Ultra Edit. I want to be able to convert all my project
files over to TextMates project files.
Please tell me there is a way I can accomplish this,
All the best,
Paul
--
View this message in context: http://www.nabble.com/Want-to-go-all-Mac-but.....-tp15167242p15167242.html
Sent from the textmate users mailing list archive at Nabble.com.
Following positive to enthusiastic reviews, I downloaded TextMate
last week for evaluation. While it is based on powerful concepts and
there are some impressive features in there, I am overall rather
disappointed by its practical usability - many details just don't
work as they should. However, I may be overlooking something, so I'd
appreciate corrections by more experienced users.
My two main file types are Python and LaTeX source code. LaTeX
support is rather nice, once it is properly configured. But I had
expected a more reasonable folding: what I want to fold is sections,
subsections, etc. not begin-end blocks.
Python support is really disappointing. Folding is completely useless
(blocks end at the first blank line), tabs are not handled in a
reasonable way (using hard tabs with an indentation other than 8 is
an invitation for disaster in Python code), leading to indentation
errors, and the error output in PyMate is insufficient (I want the
full traceback).
I looked a bit at the language definitions, and I have the impression
that reasonable folding for LaTeX and Python cannot be implemented in
TextMate, as the beginning and end of a block must be defined by a
regular expression matching a single line. Or did I overlook something?
Konrad.
Is there a way to create a new project from a list of files, such that
the files are automatically grouped by directory?
My problem is that I have a fairly large project directory tree, which I
normally edit by typing "mate ." on the command line. That does exactly
what I want, except that it includes every file in the tree, not just
source files. Assuming it's not a clean directory to start with I get a
lot of binary files. I've set up filters to eliminate obvious
non-source extensions such as *.o, *.so, etc. but I can't filter out the
names without extensions (such as the names of compiled executables).
Also, some of the intermediate files have the same extensions as the
source files. For instance, the Pyrex compiler produces *.c files to
pass to the C compiler. I may have real source *.c files in with the
*.pyx files, and I don't want to see the intermediate *.c files in the
project listing. (More to the point, I don't want "Find in Project..."
to bother searching them!)
Since this is all in SVN I can easily get a list of true source files
via the 'svn ls -R' command. But how do I get that list into TextMate?
I've tried 'mate `svn ls -R`', and it *almost* does what I want.
Unfortunately the files aren't grouped by directory. Even more
unfortunately, since the svn command lists directories under its control
as well as files , I get two copies of each file in the project list:
One at the top-level as explicitly given, and one at a sub-level when
its containing directory is explicitly given. So a directory tree like:
top/
foo.c
bar.c
subdir/
baz.c
qux.c
...ends up giving me a project containing "foo.c, bar.c, baz.c, qux.c"
at the top level, along with a "subdir" grouping which contains "baz.c"
and "qux.c". I want the project groupings to exactly mirror the
directory structure.
Ideas? I can easily write a script to post-process the output of 'svn
ls -R', as long as I know what sort of list will make TextMate happy.
I'm trying to avoid having to output a full-blown XML *.tmproj file, but
I'm afraid that's what it's going to come down to.
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
Hi List,
I've encountered some issues with Ruby Regexp's and interpolation,
specifically Embedded code with #{}.
Ruby allows embedded code inside Regexp literals, but the Ruby Bundle
doesn't seem to recognise that fully. So I've changed the scope
selector for the “Embedded Code…” snippet to
(string.quoted.double.ruby|string.interpolated.ruby|
string.regexp.classic.ruby|string.regexp.mod-r.ruby) - string source
to make it behave like it should.
Unfortunately I don't know enough about TextMate Language Grammars to
correct the erroneous Syntax Highlighting (i assume in the
interpolated_ruby section.
Here's the current situation:
/#{code}/, %r{#{code}} - #{} gets correctly highlighted as
source.ruby.embedded.source
/[#{}]/ doesn't get highlighted (incorrectly)
There's also the /o option to regex which changes how #{} blocks are
interpolated, but that can probably be ignored.
Would be great if someone with more language-grammar-fu could correct
that.
—G
Attention all git users,
I have an alternative active Git.tmbundle repository set up with
active development going on. It's set up to synchronize with
subversion and will continue to get any updates published through
macromates website.
It features quite a few bug fixes that I've encountered while using
it, plus a few new features (one of them being edit conflicts with
file merge).
If you like features, and you like bleeding edge, come'n git it!
Project page:
http://gitorious.org/projects/git-tmbundle
git clone git://gitorious.org/git-tmbundle/mainline.git
Tim
One super-nifty feature of the blogging bundle is the drag-
and-drop image uploading, which sets you up with the
appropriate image code in your blog post. Often, however,
I have received the following error instead of a successful
upload:
Received exception:HTTP-Error: 412 Precondition Failed
It seems to happen with some images and not others.
Anyone seen this and have a solution?
Recently I got an eBook reader so I've been trying to scan in some of my
books instead of buying them again.
I've got the process down pretty well (thanks to a a OpticBook 3600) but I'm
having trouble doing some fine editing.
As you can imagine, the text can get pretty big so I need automated
processes to make this efficient.
I've been using text mate do do a lot of this - unwrapping text and such,
but I need to remove the page numbers/titles.
So, with this text:
Ser Waymar Royce glanced at the sky with disinterest. "It does that every
day
about this time. Are you unmanned by the dark, Gared?"
Will could see the tightness around Gared's mouth, the barely sup
2 GEORGE R.R. MARTIN
pressed anger in his eyes under the thick black hood of his cloak. Gared had
spent forty years in the Night's Watch, man and boy, and he was not
accustomed
to being made light of. Yet it was more than that. Under the wounded pride,
Will could sense something else in the older man. Yonervous tension that
came perilous close to fear.
---
I need to figure out a way to remove the page numbers and the break that
will be a number then the author/title. And then I'd need to be able to
reflow it like the rest of the text without a big space there.
Any help would be greatly appreciated.
(It stands to mention that I really can't write applescript or anything
along those lines. I need an "inside textmate" solution, or other program I
may have.)
--
View this message in context: http://www.nabble.com/Ebook-Editing-tp15127738p15127738.html
Sent from the textmate users mailing list archive at Nabble.com.
I am trialling TextMate with a view to using it with R, but I am slightly
confused as to how I get it to work with R, and indeed the funcionality with
R.
I had niaively assumed that I would be able to just download an R bundle and
install it (like ESS with Emacs), but R isn't listed as a bundle in
TextMate.
Further investigation led me to coming across discusion about Subversion
repository where I did find mention of what might be the R bundle. This led
me onto apparantly needing to download subversion software and I began to
feel I had maybe gone astray, as it started to seem very complicated. There
is also mention of other R options in this mailing list.
All told I'm afraid I need led by the hand a bit to help me sort this out as
to what I might need to do to get TexMate and R workng together.
Many thanks,
Graham
(Reposted as I accidentally responded to an existing thread)
It seems to me that the RSpec bundle's 'it' snippet is in need of some
love. By default, a newly inserted spec passes. This seems odd as it
is misleading. It also makes it harder find what specs still need to
be completed if you return to an RSpec module after a break.
I propose that the 'it' snippet is changed to the following:
it "${0:should ${1:description}}" ${3:do
${2:pending("Needs to be written")}
end}
This tweak simply adds a 'pending' statement as the body of a newly
created spec. When run, the tester will be alerted to an unfinished
test.
Thoughts?
Thanks!
Matt Darby, M.S.
IT Manager / Lead Web Developer
Dynamix Engineering Ltd.
1108 City Park Ave.
Columbus, OH 43206
Cell: (614) 403-5289
www.dynamix-ltd.com
hello
I try to understand how work this file but I don't know python
if texCommand == 'latexmk':
writeLatexmkRc(engine,constructEngineOptions(tsDirs,tmPrefs))
if engine == 'latex':
texCommand = 'latexmk.pl -pdfps -f -r /tmp/latexmkrc '
else:
texCommand = 'latexmk.pl -pdf -f -r /tmp/latexmkrc '
If I understand, in ayy case, you use latexmk ?
is it possible to use pdflatex directly without latexmk ?
Regards Alain
hello
I've a file and I can compile this file with texshop
A lot of teachers can compile it on Linux and XP
I can compile it with the TERMINAL`
pdflatex --shell-escape /Users/ego/Boulot/SANDBOX/trytablor.tex
This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)
\write18 enabled.
%&-line parsing enabled.
entering extended mode
.....
This is MetaPost, Version 0.993 (Web2C 7.5.6)
(XCasmpTV.mp (/Users/ego/Library/texmf/metapost/tableauVariation.mp)
[0] )
1 output file written: XCasmpTV.0
Transcript written on XCasmpTV.log.
[MP to PDF] (./XCasmpTV.0) [1{/usr/local/texlive/2007/texmf-var/
fonts/map/pdf
tex/updmap/pdftex.map}] (./trytablor.aux) ){/usr/local/texlive/2007/
texmf-dist/
fonts/enc/dvips/base/8r.enc}</usr/local/texlive/2007/texmf-dist/fonts/
type1/pub
lic/fourier/fourier-ms.pfb></usr/local/texlive/2007/texmf-dist/fonts/
type1/adob
e/utopia/putb8a.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/
adobe/utopi
a/putbi8a.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/adobe/
utopia/putr
8a.pfb></usr/local/texlive/2007/texmf-dist/fonts/type1/adobe/utopia/
putri8a.pfb
>
Output written on trytablor.pdf (1 page, 33559 bytes).
Transcript written on trytablor.log.
but with textmate
This is MetaPost, Version 0.993 (Web2C 7.5.6)
{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map}
!pdfTeX error: pdflatex (file /usr/local/texlive/2007/texmf-var/fonts/
map/pdfte
x/updmap/pdftex.map): fflush() failed
==> Fatal error occurred, no output PDF file produced!
I would like to be sure that the problem is the script.
My question : Is it possible to use the old script or a new script
for pdflatex
to make a test ?
Alain
Regards
The file : tablor is on CTAN you need to install giac_osx
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
the file use giac and metapost
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{graphicx,tablor}
\usepackage[upright]{fourier}
\DeclareGraphicsRule{*}{mps}{*}{}
\begin{document}
\begin{TV}
TV([-5,7],[],"f","x",x^2,0,\tv)
\end{TV}
\end{document}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Hello everyone,
I have just updated my Rails to 2.0.2 but now when I edit a html.erb file,
TextMate doesn't show any syntax highlighting: all the text is white. Is it
possible to add syntax highlighting ???
Thank you and have a good 1!
SIG
Hi list,
When I opened a existing file, then do File>Save as, with a new file
name, and the original file will disappear from the Drawer! I can
verify the file is still in system, but the drawer is out of sync
until I reopen TextMate(or, I have to add "existing file" back into
the drawer manually).
Has anyone seen this? This is repeatable and getting very annoying...
please help.
-Zemian
Hello
I would like to know if it's possible to use the old script to typeset
and view.
I understand a little the old one but with python it's difficult to me
to make modification.
I have a file .tex that use metafont and giac. I can compile this file
with texshop and pdflatex or latex.
With textmate I can compile it only with LaTeX, with pdflatex I have a
strange error fflush ().
I would like to know if the new command can produce this error
Thanks
Regards
Alain Matthes
I'm trying to draw some plots using the tikz
package. The coordinates are computed automatically
via gnuplot. I set the Latex bundle preferences to
use the --shell-escape option as required.
Indeed, when I typeset using CMD R, the graph is drawn perfectly.
But when I use Latex Watch, the graph is not drawn.
What might be the reason? Paths as usual?
Thanks for help,
Piero
I'm sure that this is probably a stupid user error, but one of the few
things which bothers me about TextMate is that it seems to insist on
padding lines with blanks when I mouse click past the end of the line.
This makes it hard to do things like generating clean patches with diff.
Is there a hidden setting somewhere in TextMate so that clicking to
the right of existing text will select an insert point at the end of
the existing line, rather than extending the line with blanks?
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
hello all,
i do a lot of work with python and gtk. the builder file is written as
a .glade file, which is xml.
Is there a way that when i edit a .glade file in textmate, i can have
textmate treat the file as if it is an .xml file?
thanks,
shawn
great editor you guys have here by the way. much worth the coin.
A quick query...
When working in Markdown, the language grammar only seems to pick up
headings if they have a blank line (or another heading) above them. So
for instance, this:
# Heading 1
## Heading 2
some text here
## Heading 3
some text here
... is fine, and all headings are recognised as such and coloured
correctly. However, I use { and } in my Markdown documents to enable
folding, and this:
# Heading 1
## Heading 2 {
some text here
}
## Heading 3 {
some text here
}
... would make Heading 3 not be picked up as a heading, even though
the Markdown script will pick it up as such and convert to HTML
properly.
Is it possible to change the language grammar so that the headings
with no blank line above are picked up? At the moment I have to leave
a blank line between all my folded text and I'd like not to have to.
I've had a go at this but my regex-fu is not strong and I ended up
breaking all the highlighting...
Many thanks,
Nigel
Hello
I would like to know exactly when I run pdflatex, if the script
used by TM is the same that the script used by TeXShop because
I have an error with TM (see below) and I don't have an error with
TexShop
Regards Alain
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
(/usr/local/texlive/2007/texmf-dist/tex/context/base/supp-pdf.tex
[Loading MPS to PDF converter (version 2006.09.02).]
\scratchcounter=\count92
\scratchdimen=\dimen105
\scratchbox=\box27
\nofMPsegments=\count93
\nofMParguments=\count94
\MPscratchCnt=\count95
\MPscratchDim=\dimen106
\MPnumerator=\count96
\everyMPtoPDFconversion=\toks17
)
\openout3 = `XCasTV.out'.
system(giac <XCasTV.in )...executed.
system(mpost XCasmpTV)...executed.
File: XCasmpTV.0 Graphic file (type mps)
[MP to PDF] (./XCasmpTV.0) [1
{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map}
!pdfTeX error: pdflatex (file /usr/local/texlive/2007/texmf-var/fonts/
map/pdfte
x/updmap/pdftex.map): fflush() failed
==> Fatal error occurred, no output PDF file produced!
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thanks Paul,
I have check this issue with your suggestion and found the require
'rubygem' line was there. I am suspicious that it may be due to the
environment. I am using Locomotive2 on a Macintosh. I am now looking
into that as a possible issue. But thanks for your reply. It was
something I had thought about as well.
Hi all,
I'm having issues with the Paste Selection Online command. Seems the
culprit is a missing folder in /var/folders. Has anyone ever
encountered something similar? Should I just manually create this
folder?
The feature is completely hosed until I can figure out how it broke
and what to do to resolve it.
Thanks for the help,
- sf
Hello
When I compile a file with pdflatex and texshop, I get a pdf file
but when I use TextMate I have this error :
{/usr/local/texlive/2007/texmf-var/fonts/map/pdftex/updmap/pdftex.map
!pdfTeX error: pdflatex (file /usr/local/texlive/2007/texmf-var/fonts/
map/pdfte
x/updmap/pdftex.map): fflush() failed
I have some difficulties to understand that :
Perhaps some different options when I use TexShop ?
An idea ??
Regards
Alain
Trying to see what changes I have in my Bundles with respect to the
official repository, I have issue the commands in
> http://wiki.macromates.com/Bundles/HowToContribute
> Asunto: Re: [TxMt] Commit bit on the Perl Bundle?
> Responder a: TextMate users <textmate(a)lists.macromates.com>
>
> On 22 Jan 2008, at 00:00, Luke Daley wrote:
>>> What's the situation with getting a commit bit for the Bundles repo?
>>
>> http://wiki.macromates.com/Bundles/HowToContribute
>
>
> Is that the page you meant? I can't see any mention of getting commit.
>
> --
> Andy Armstrong, Hexten
(On the way. That page has a errata in
it tries to change to a dir that doesn't exist)
But I can't get any thing because svn always tells me the same weird
message:
% cd ~/Library/Application\ Support/TextMate/Bundles
% l
total 0
drwxr-xr-x@ 7 juan staff 238B Mar 28 10:35:45 2007 C.tmbundle/
drwxr-xr-x@ 5 juan staff 170B May 7 10:32:34 2007 HTML.tmbundle/
drwxr-xr-x@ 8 juan staff 272B Jul 30 00:09:15 2007 JUAN.tmbundle/
drwxr-xr-x@ 7 juan staff 238B Feb 25 18:12:03 2007 LaTeX.tmbundle/
drwxr-xr-x@ 4 juan staff 136B Feb 8 10:16:01 2007 Man
Pages.tmbundle/
drwxr-xr-x@ 5 juan staff 170B Feb 7 02:07:55 2007 Perl.tmbundle/
drwxr-xr-x@ 5 juan staff 170B Feb 12 15:25:36 2007 Ruby.tmbundle/
drwxr-xr-x@ 5 juan staff 170B Feb 12 11:59:41 2007 Source.tmbundle/
drwxr-xr-x@ 4 juan staff 136B Apr 7 23:36:01 2007 TODO.tmbundle/
drwxr-xr-x 8 juan staff 272B Aug 25 02:36:13 2006 Tcl.tmbundle/
drwxr-xr-x@ 6 juan staff 204B Feb 20 23:50:11 2007 Text.tmbundle/
drwxr-xr-x@ 4 juan staff 136B Mar 16 23:02:15 2007
TextMate.tmbundle/
% svn st http://macromates.com/svn/Bundles/trunk/Bundles/Text.tmbundle
svn: warning: 'http://macromates.com/svn/Bundles/trunk/Bundles/Text.tmbundle'
is not a working copy
is not a working copy. I am not used to use cvs. I wish TextMate had
a gui interface for this rather important process: to know the local
changes with respect the original/current official bundles.
What am I doing bad?
Thanks.
Using Ruby-On-Rails I have been able to use parseexcel with little
trouble. Just today I started to use a script that was working and it
now reports "MissingSourceFile: no such file to load — parseexcel'
I installed parseexcel on my Mac. Have used it a few times in the past
and now can not get the scripts to find it. I am hoping someone can
direct me to where to begin my search, fix, what ever.. I need this to
work.
Thanks in advance
I see it in the Actionscript bundle - but for the life of me I can't
get it to work... any help would be MOST appreciated
Saul Rosenbaum
Visual Chutzpah
---------------------------------
Strengthening Brands Through Illustrated Images And Interactive Design
VISIT US ON THE WEB
web: http://www.visualchutzpah.com
email: lists(a)visualchutzpah.com
illos: http://www.saulrosenbaum.com
blog: http://www.saulrosenbaum.com/blog
---------------------------------
Hi. I happened to notice that the Perl "Read File" snippet was using
bareword filehandles and doing a lot more work than it has to. The following
uses lexical filehandles, 3-argument open (to prevent anything in the filename
from being misinterpreted as an open sigil) and a do block to simplify the
assignment.
Finally, a third, blank position is provided so you can tab straight to the
next line instead of the end of the block.
my \$${1:var} = do { local \$/; open my \$fh, "<", "${2:file}"; <\$fh>; };
$3
PS It's worth mentioning that this is backwards compatible to 5.6 which
should be more than plenty these days.
--
If at first you don't succeed--you fail.
-- "Portal" demo
Schwern and I have been chatting on IRC about Perl support in
TextMate. We're both fairly prolific Perl developers and would like to
be able to maintain the Perl Bundle on behalf of the Perl community.
What's the situation with getting a commit bit for the Bundles repo?
--
Andy Armstrong, Hexten
I've written up a simple snippet to run the current file as a Perl test. To
ensure compatibility it has no bells or whistles, just runs the file through
Test::Harness and displays the output. Future versions might snaz it up but
it would be nice to have something basic at least.
I used Ctrl-Apple-t for the command but it's fine to change that to whatever
the normal convention is for "run a test".
I've attached the .tmbundle file. Sorry if this isn't the proper way to
submit a snippet.
--
Whip me, beat me, make my code compatible with VMS!
> Dear Sir, I use a keyboard mapping to write spanish accents in latex.
>
> This is a development made for Juan L. Verona, http://
> www.unirioja.es/cu/jvarona/TeXkeylayout.html
>
> This help me to share latex files without the use of inputenc package.
>
> The code for this keymap is joined in a file down this mail.
>
> I have tried with several applications in Mac OS X and works fine.
> For example, this sentence with Mail.app,
>
> -- "El avi\'on sol\'{\i}a volar bajo el a\~no pasado" (El avión
> solía volar bajo el año pasado)--
>
> Nevertheless, in TexMate the same sentence will be like this
>
> "El avinn sol\'{\i}a volar bajo el a\~no pasado"
>
> Accent followed by a vocal different of "i" doesn't do the
> secuence "\'o" for example.
>
> It seems something particular of the TexMate application. Anyone
> know why this is happening?
>
> Thanks you very much for your help
>
> Pablo L.

Is there an official version of the footnotes plugin which works with
rails 2.0.2?
The latest version of the footnotes plugin doesn't seem to work at all
with Rails 2.0.x. There was a 3rd party patch published at
http://pastie.caboo.se/125311 but this no longer seems to apply
cleanly.
There's also a footnotes-edge plugin mentioned on teh rails wiki
http://wiki.rubyonrails.org/rails/pages/Textmate+Footnotes+Plugin
This seems to have part of the caboo.se patch applied, I had to
manually change the
vendor/plugins/footnotes/templates/rescues/template_error.rhtml file
based on the patch, and things seem to be working for me now.
But I was wondering what the official status is.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
I would like to compile a *plain* tex document which includes some postscript
(.eps) figures. The problem is that if I choose tex (or etex) as the engine
the dvi file is correctly generated, but its not automatically converted to
pdf, nor the dvi file is sent by the viewer (Skim). This is no problem with
*latex* files containing eps figures, since in that case the command
"Typeset & View (PDF)" converts the .dvi file to .ps (by running dvips) and
the resulting .ps file to .pdf (with ps2pdf), and opens the .pdf file. Is
there an easy way to get TextMate to automatically run dvips and ps2pdf in
succession when the engine is tex or etex, instead of latex?
Cheers,
Artemio
--
View this message in context: http://www.nabble.com/compiling-*plain*-tex-documents-with-postscript-figur…
Sent from the textmate users mailing list archive at Nabble.com.
Here's a little hack that TextMate-using Perl fans may find useful:
http://use.perl.org/~AndyArmstrong/journal/35429
It makes TextMate follow the current Perl debugger file and line so
you can easily see where you are in a program you're debugging by
flipping to TextMate.
--
Andy Armstrong, Hexten
Hello Mathew,
You can find the command by opening your Bundle Editor (Bundles>Bundle
Editor>Show Bundle Editor or by ⌃⌥⌘B)
and navigate to SQL>Database Browser there just change the command
from:
db_browser.rb
to:
db_browser.rb --rows 50
This should work.
Regards,
Alex
On Jan 19, 2008, at 12:12 AM, mathew wrote:
> thank you alex,
> but i don't actually understand how to do that,
> i'm not familiar with how the bundles work
>
> can you please explain to me what you mean?
>
> thank you for your help
>
> mathew
>
> On 19/01/2008, at 2:32 AM, Alex Podaras wrote:
>
>> Hello Mathew,
>>
>> I haven' t tried the following but it should work,
>> try changing the command for Database Browser to something like:
>>
>> db_browser.rb --rows 50
>>
>> this will probably solve your problem.
>>
>> Regards,
>> Alex
>>
>> On Jan 18, 2008, at 3:55 PM, mathew wrote:
>>
>>> Hello,
>>>
>>> when i use the sql bundle to create a mysql view
>>> such as the following:
>>>
>>> CREATE VIEW cp_qry_offset AS
>>> select
>>> O.offset_id,
>>> O.account_id,
>>> O.calculation_id
>>> O.quantity,
>>> O.type,
>>>
>>> T.description as type_description
>>>
>>> from cp_offset O
>>>
>>> join cp_offset_type T
>>> on O.type = T.type_id
>>>
>>>
>>> for reasons unknown to me, but suspiciously related to the sql
>>> bundle's
>>> habit of returning 10 rows of a
>>> select at a time in the database browser,
>>> it seems the bundle is appending:
>>>
>>> limit 0,10
>>>
>>> to the view definition.
>>>
>>> which means i then have to edit the view with another
>>> tool to remove this limit before it will work
>>>
>>> do you know why that is happening?
>>>
>>> i'm guessing its related to this in db_browser.rb in the sql bundle,
>>> but i don't know how to change it
>>>
>>> if not query=~ /\bLIMIT\b/i and run_query =~ /\s*SELECT/i
>>> run_query << ' LIMIT %d OFFSET %d' % [@page_size, offset]
>>> @limited = false
>>> end
>>>
>>> can anyone help?
>>>
>>> thanks
>>> mathew
>>>
>>>
>>> ______________________________________________________________________
>>> For new threads USE THIS: textmate(a)lists.macromates.com
>>> (threading gets destroyed and the universe will collapse if you
>>> don't)
>>> http://lists.macromates.com/mailman/listinfo/textmate
>>
Hello,
when i use the sql bundle to create a mysql view
such as the following:
CREATE VIEW cp_qry_offset AS
select
O.offset_id,
O.account_id,
O.calculation_id
O.quantity,
O.type,
T.description as type_description
from cp_offset O
join cp_offset_type T
on O.type = T.type_id
for reasons unknown to me, but suspiciously related to the sql bundle's
habit of returning 10 rows of a
select at a time in the database browser,
it seems the bundle is appending:
limit 0,10
to the view definition.
which means i then have to edit the view with another
tool to remove this limit before it will work
do you know why that is happening?
i'm guessing its related to this in db_browser.rb in the sql bundle,
but i don't know how to change it
if not query=~ /\bLIMIT\b/i and run_query =~ /\s*SELECT/i
run_query << ' LIMIT %d OFFSET %d' % [@page_size, offset]
@limited = false
end
can anyone help?
thanks
mathew
Though I have been successful at getting the blogging bundle to work
in Tiger, when I try to run it in Leopard and fetch a post I get the
following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/timeout.rb:54:in `open': execution expired (Timeout::Error)
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:564:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:56:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/timeout.rb:76:in `timeout'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:564:in `connect'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:557:in `do_start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:546:in `start'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:1044:in `request'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/
ruby/1.8/net/http.rb:1001:in `post2'
... 9 levels...
from /Library/Application Support/TextMate/Support/lib/ui.rb:17:in
`dialog'
from /Library/Application Support/TextMate/Support/lib/progress.rb:
42:in `call_with_progress'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:551:in `fetch'
from /tmp/temp_textmate.b0oDWV:3
has anyone been able to get the blogging bundle to work in Leopard?
My System:
OS X v. 10.5.1
iMac Intel Core Duo
ruby 1.8.6
wordpress 2.3
Any insight you can provide will be greatly appreciated.
Tony
Hi,
if one invokes a tmcommand which is displaying something and
afterwards one invokes an other tmcommand which displays an inline
menu, the tooltip is still visible.
One should trigger that command which hides the tooltip if ANY key is
pressed. (Or?)
Here's a screenshot showing that:
Or is there a way to get rid of it?
Thanks,
Hans
I want to edit .muttrc, the Mutt MUA configuration file, with TextMate.
It's a simple plain text file, so no syntax highlighting, and that's a
big issue.
There's a specific bundle for UNIX configuration files?
Any suggestion?
Thank you very much
Corrado
is there a way to sync the project drawer with the current file? e.g. if i'm
viewing foo/bar/baz.html, then the project drawer would snap open with that
file selected if the folder hierarchy was collapsed. currently i can view
a file with all folders collapsed.
--
View this message in context: http://www.nabble.com/sync-project-drawer-with-current-file--tp14842687p148…
Sent from the textmate users mailing list archive at Nabble.com.
The attached patch fixes a couple of bugs (one of which could put the
system into an infinite loop under some circumstances), and adds some
documentation.
I hope someone can apply it to the repository, assuming it looks okay.
Robin
I am running Version 1.0.2 (v20) of Skim, Version 1.5.7 (1455) of
TextMate, Leopard (10.5.1). I could give you a file if you want, but
all you need to do is have two distinct .tex files with the exact same
name and in different directories on your computer. Have both of them
open in TextMate. Compile one and it will show up in Skim. Compile
the other and it will think that you're trying to update the first
file that you compiled because they have the same name.
Keith
Hi,
Just purchased TextMate and really like it. (I'm a long time BBedit
user.)
One thing I'm having difficulty with is navigating around the auto-
paired characters.
I understand the key shortcut to exit the pair and jump to a new line,
but sometimes that isn't what I want.
For example:
In HTML:
<img src="picture.jpg" width="20" height ="20">
When I'm don't typing the picture.jpg, I then need to jump past the
closing quote so that I can continue typing the rest of the tag.
There isn't an easy way that I can find, so I have to take my hands
off the keyboard and press the right arrow key. It seems really
inconvenient.
Is there some key combo that just jumps to outside the quote or
"closing auto-paired" character??
Thanks,
-N
Hi,
In the Fortran bundle, there doesn't appear to be any support for
comment lines beginning with an asterisk, only for comments beginning
with C or c. I have tried to add this in to the language but I am
quite unfamiliar with how to do this properly and am I not very
familiar with regular expressions. I tried adding the following in
the bundle editor (using comment.line.c.fortran as an example) but it
still does not recognize lines beginning in * as comments. Any help
would be appreciated.
{ name = 'comment.line.asterisk.fortran';
begin = '^[*]';
end = '$\n?';
beginCaptures = { 0 = { name =
'punctuation.definition.comment.fortran'; }; };
patterns = ( { match = '\\\s*\n'; } );
},
Thanks,
Stefan
Hi folks,
I have been experimenting Scala lang a bit, and it auto open the source in
PlainText mode with TM, which is fine for me at the moment. But the source
keep having RedDot underlines on many words that made it very hard to read!
How can I disable this?
Thanks,
Zemian
Especially when coding python, I would like TextMate to auto detect if
the current file is using space over tabs.
When using libs from different projects, it's tiresome to remember to
check and switch everytime you jump between files (editing in
different repos)
Instead of detecting this, I would relly like TM to remember my
selection,
Now, if I switch to Soft Tabs, jump back to my Tabbed file I need to
change every time (global setting)
any magic tricks!?
best
/d
I've been trying to use the TODO bundle with a very large project
containing a bunch of external/imported code which I don't control. In
this project, Show TODO Items... takes a veritable eternity to run
because of the volume of code it must scan. My project, however, is
set to filter out a significant amount of this within TextMate, but
these filters are being ignored by the bundle.
Upon investigation, it seems the issue is the core textmate.rb support
library whose ProjectFileFilter (used by each_text_file) reads the
TextMate prefs for its file/dir filters, rather than getting them from
the current project first. Indeed, there doesn't seem to be any
reference to the current project filters in the TM_* environment
variables or in textmate.rb.
It would be great to see this filters respected by some of these core
library commands where it seems they really should be taking effect.
So, I have noticed that when I have multiple files open each with the
same name (but in different directories) and I compile one and then
another, TextMate doesn't seem to be telling Skim that they are
actually different files. I never had this problem before. I posted
before about how one time I upgraded and I noticed that my compiled
PDF no longer came to focus upon compiling, and at the same upgrade
this problem started. I start compile one file and it opens the PDF,
but when I try to compile another file with the same name it doesn't
open the new PDF because it just thinks that it's the same PDF I
already have open. Are these two symptoms connected? Has anyone
found out why the change in functionality? And/or how to revert it?
I almost wish I could downgrade, but I tried the SVN thing that
someone said to try and it didn't work for me.
Keith
Hi guys,
I downloaded the jQuery bundle from the repository, however, I'm not happy
with a few things, and need to make local corrections.
One of those things is the default scope it gives it (source.js.jquery).
Since jQuery is available in every JS file I am editing, is there a way to
mass edit the entire bundles scope to be source.js ?
Every time I've manually gone through the bundle and edited the scope, every
time I restart, it's back to being source.js.jquery.
Is there a way to mass edit the bundle scope, AND have it stick?
Thanks guys,
--
View this message in context: http://www.nabble.com/Mass-editing-the-bundle-scope-tp14695883p14695883.html
Sent from the textmate users mailing list archive at Nabble.com.
I have a problem with LaTeX Watch. If I save a file with changes, it
endlessly reloads the .pdf until I quit Skim.
I set TM_LATEX_WATCH_DEBUG=1 but saw no messages in the console.
I agree; it would be best to always end up at the end
of the panel, so you can rerun if needed after making changes.
Thx for the great Latex Bundle and the Latex Watch, etc.,
M.P.
>
> Message: 4
> Date: Sun, 6 Jan 2008 17:43:52 +0000 (UTC)
> From: Chris <listservs(a)mac.com>
> Subject: [TxMt] Typeset and View issue
> To: textmate(a)lists.macromates.com
> Message-ID: <loom.20080106T174059-278(a)post.gmane.org>
> Content-Type: text/plain; charset=us-ascii
>
> When compiling LaTeX documents, the Typeset and
> View pane works properly when invoked from by running
> the compile command from the contextual menu, or by
> using the hotkey combination. However, when commands
> are run by clicking the buttons provided at the bottom
> of the T&V panel at the end of a completed command
> (e.g. re-run latex, run bibtex), the panel does not
> scroll down automagically to follow the most recent
> output. This makes it hard to follow.
Hi there,
I'm starting using textmate for a existing actionscript 2.0 project.
I compile with flash but want touse the validate sxntax feature of the
bundle.
I modified the yaml file but still I just get errors about classes not
found.
can anyone point me in the right direction how to specify the classpaths?
thanks
joerg
--
View this message in context: http://www.nabble.com/actionscript-classpath-tp14664374p14664374.html
Sent from the textmate users mailing list archive at Nabble.com.
When compiling LaTeX documents, the Typeset and
View pane works properly when invoked from by running
the compile command from the contextual menu, or by
using the hotkey combination. However, when commands
are run by clicking the buttons provided at the bottom
of the T&V panel at the end of a completed command
(e.g. re-run latex, run bibtex), the panel does not
scroll down automagically to follow the most recent
output. This makes it hard to follow.
Hi
I did a quick search of the archives and didn't find anything so if I missed
it, I apologise in advance.
I can't find anything anywhere about being on the Textmate 2 Beta programme
(though I can quite accept that there is currently not such a programme). If
there is such a programme how do I apply to be on it and if there isn't, do
you think you'll create one? (and if so, see previous question :))
Thanks for your time
Teifion Jordan
Hi,
while sitting on the entire R stuff I had an idea concerning Rmate.
If Rmate plots something it will save these images (PDFs) in a
temporary folder, and at the end it will open these files in Preview.
Fine.
My suggestion is, instead of open Preview automatically to display
all images inside of the Rmate output window as pdfs right after the
last output. If one clicks on an image it opens it with the default
application, or one can drag it to a location to save it as pdf.
As demo I did a screencast 9MB
http://www.bibiko.de/TMRmate.mov
Would this be useful?
Best,
--Hans
Hi.
I'm new to Textmate and I love it - but there's one nasty thing I
couldn't get rid of, so I ask you here.
If I copy and paste (CMD-C and CMD-V) inside Textmate, everythings
fine. If I copy (CMD-V) from text from another application, say
Firefox or even Textedit, and I copy (CMD-P) that into Textmate, that
won't work. All I got was something I copied earlier in Textmate. It
doesn't work the other round, copying something from Textmate to, say,
Textedit. Copy/Paste between my other programs works fine, for
instance between Firefox and Textedit.
What have I done wrong? It seems that Textmate uses a different
clipboard than the one from Mac OS (my version is 10.4). How can I
make Textmate use OS's clipboad instead of its own?
Thanks in advance for any help,
Bernd
--
berndschiffer.blogspot.com
Hi,
>> here comes a suggestion for all R users.
>> I wrote a tiny R daemon bundle in order to run R 'inside' of TM.
>> There is no need to start RGUI etc.
>> I found a naive way to do it and it turns out, at least for me,
>> it's quite useful. So my question is whether this approach is also
>> useful for others. If yes, I/we can elaborte this bundle.
This is a fantastically useful prospect for R users: just a vote in
favor of continuing work on this. A functional equivalent within TM to
ESS within Emacs would really break the last strong reason many Latex
+R types have for sticking with Emacs.
Kieran
Hi all,
I'm sure this used to work for me... I used ctrl + shift + ">" as a
shortcut for <% %> or <%= %>
I have been trying this today and it doesn't work. I have recently
upgraded to Leopard. I also use a Matias Tactile Pro 2 keyboard (but I
have tried my Apple BT keyboard and my PowerBook keyboard with the
same effect).
I had a look at the KeyBindings page on the website and also tried Key
Codes. I also checked out the Console log and couldn't see anything
obvious.
Can anyone guide me towards a resolution of this?
Thanks,
Ian.
Hi all. Did you try the new mdfind? it's really fast.
Test it like this: create a command
"Find and Open in Finder"
Input: selected text or line
Output: Discard
Text of the command:
mdfind "kMDItemDisplayName == ${TM_CURRENT_LINE}" | xargs open
If you put the cursor on a line containing
a filename (no path, just the filename complete
of its extension) and issue the command,
spotlight will search for the file and open it.
On my MacBookPro it takes 1/3 sec which
means ten times faster than using the GUI.
Just a test, of course one can do much better
things. For a list of a file metadata
(like kMDItemDisplayName above) use the command
mdls filename
Ciao
(and a happy new year)
Piero
Hi,
I've currently working on a project that targets Rails 1.2, not 2.0.
I've just run 'convert to partial' and got a 2.0 style xxxx.html.erb,
is there an env var or similar I can set to make it use .rhtml instead?
Are there likely to be any other 2.0 only gotchas in the new release?
Thanks
jebw
I am not *writing* XML files, but I often want to understand one --
either just for education or because I need to modify it.
Often the file in question was automatically generated and "ease of
reading by humans" was not part of the process.
Right now, I trying to pull apart a XML file where a single element
contains about 90 attributes. Thankfully, they *do* seem to be
ordered alphabetically, but they are all run together in a single
line. That is, there are no linefeeds between attributes. Which
would be just what I'd like (for readability anyway -- I'm hoping
that "white space is white space and it won't matter whether those
white-spaces are space characters or line feeds).
For this file, using Find and Replace seems to work. (Find
<doublequote><space> replace with <doublequote><newline>). I don't
know enough about XML to know if it always going to be as easy as that.
The XML bundle item "Tidy" actually runs xmllint, but I don't see a
way to make that do what I want.
Searching Google on "XML pretty print" I came up with a number of
hits, but many bits of code were from the year 2000 or so.
Does anyone know of any... contemporary solutions? Or have other
suggestions/ideas?
Thanks!
eo
Hi,
Since I updated to r1455 this morning I have been unable to run tests in my
rails app. RakeMate returns the following error:
Rails requires RubyGems >= 0.9.4. Please install RubyGems and try again:
http://rubygems.rubyforge.org
I have RubyGems 1.0.1 installed and had no problems prior to the update. I
am running on Leopard, upgraded from Tiger, and I am still using my previous
MacPorts Ruby config. The application is Rails 2.0.2. Is anyone else
having this problem?
Peer
On Dec 31, 2007, at 1:04 AM, Hans-Jörg Bibiko wrote:
On 30.12.2007, at 20:13, Sergei Yakovlev wrote:
It would certainly be easier for the average user (and somewhat
more flexible) if TextMate had something like
$TM_SELECTED_TEXT_START_LINE_NUMBER and
$TM_SELECTED_TEXT_START_COLUMN_NUMBER
variables, or, alternatively, slightly changed semantics of
$TM_LINE_NUMBER and $TM_COLUMN_NUMBER variables
so that they always return the starting position of selection
(no matter how the selection was made).
Do you know these variables?
$TM_INPUT_START_LINE
$TM_INPUT_START_LINE_INDEX
Oh, I did not know these existed. Thank you, Hans! These variables
are missing from the official Manual. I decided to check for other
variables, and found that TM_COLUMNS and TM_COLUMN_NUMBER
are missing as well. Should I submit a documentation patch?
Ho-ho-ho,
Sergei Yakovlev
I've created a rather nasty hack to allow one to paste to any online
contact ASWELL as any open chat in adiumx. (current version is only
any open chat). The full source of get_destinations.scpt (found in
TextMate.tmbundle/Support/) is attached along with a screen shot.
Compile it with Script Editor.
On Dec 26, 2007, at 10:28 PM, Allan Odgaard wrote:
On 26 Dec 2007, at 14:28, Сергей Яковлев wrote:
[...]
Suggestion 1. It would be useful if TextMate had
variables like $TM_SELECTION_START and
$TM_SELECTION_END which would return the
corresponding offsets in the file (or the cursor
offset, if nothing is selected).
It does in the form of a line/column position of the start position.
Maybe I am simply misunderstanding you, but are you saying that
TextMate returns line and column position of the start position of
selection?
I'm asking because the $TM_LINE_NUMBER and
$TM_COLUMN_NUMBER variables don't quite work this way.
To illustrate what I mean, let's add a 'Show Position' command
that displays position as a tooltip:
echo "$TM_LINE_NUMBER:$TM_COLUMN_NUMBER"
and type 'TextMate' into an empty document. Now, if we select
'TextMate' with mouse from left to right, the command returns 1:9.
If we select 'TextMate' with mouse from right to left, the command
returns 1:1. Finally, if we select 'TextMate' by double-clicking
between 't' and 'M', the command returns 1:5.
So, these variables actually return the cursor position, not the
starting position of selection and it is impossible to calculate the
starting and ending positions of selection from
$TM_LINE_NUMBER and $TM_COLUMN_NUMBER variables
(without knowing how the selection was made).
The only way to do this (that is known to me) is to write a macro that
first calls a command that replaces selection with itself wrapped in
U+FFFC characters:
echo -n $'\357\277\274'$TM_SELECTED_TEXT$'\357\277\274'
and then calls another command that receives the whole document
as an input and can "find" the selection looking for U+FFFC
characters.
It would certainly be easier for the average user (and somewhat
more flexible) if TextMate had something like
$TM_SELECTED_TEXT_START_LINE_NUMBER and
$TM_SELECTED_TEXT_START_COLUMN_NUMBER
variables, or, alternatively, slightly changed semantics of
$TM_LINE_NUMBER and $TM_COLUMN_NUMBER variables
so that they always return the starting position of selection
(no matter how the selection was made).
The reason it does not use a byte offset is that internally TM would have to
"calculate" this (by adding the length of each line preceding the selection)
and I am generally wary of exporting shell variables that need to be
calculated and have an unknown running time (i.e. in practice the user could
have a million lines and each command execution would then always require a
million numbers to be added together).
I assumed that these calculations were already being performed,
after I had a look at:
$ class-dump -C OakTextView TextMate | grep selectedRange
- (struct _NSRange)selectedRange;
- (void)setMarkedText:(id)fp8 selectedRange:(struct _NSRange)fp12;
and saw 'selectedRange'. But, evidently, something much more
complicated is going on, and I certainly would not ask you questions
about TextMate internal workings :-)
The only remaining question is what symbol to use as a
mark. I decided to use √ (221A, SQUARE ROOT character,
which you can type with Option-V), but I'm not sure
this is the best choice. Maybe it's better to use some
character from Private Use Area (E000--F8FF)?
We generally use U+FFFC, OBJECT REPLACEMENT CHARACTER.
I've attached a new version of macros using U+FFFC to the original ticket.
Happy New Year!
-- Sergei Yakovlev
Hello list,
when running the following simple Ruby-Program:
require 'rubygems'
require 'active_support'
using Command+R, I get the following output:
/Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:84:in
`blank_slate_method_added': stack level too deep (SystemStackError)
from /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:
84:in `blank_slate_method_added'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
builder.rb:86:in `method_added'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
builder.rb:111
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support/core_ext/array/conversions.rb:1
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
... 8 levels...
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support.rb:30
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in `require'
from /Users/cypher/Projects/test.rb:2
/Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:84:in
`blank_slate_method_added': stack level too deep (SystemStackError)
from /Library/Ruby/Gems/1.8/gems/builder-2.1.2/lib/blankslate.rb:
84:in `blank_slate_method_added'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
builder.rb:86:in `method_added'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
builder.rb:111
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support/core_ext/array/conversions.rb:1
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:27:in `require'
... 8 levels...
from /Library/Ruby/Gems/1.8/gems/activesupport-2.0.2/lib/
active_support.rb:30
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in
`gem_original_require'
from /Library/Ruby/Site/1.8/rubygems/custom_require.rb:32:in `require'
from /Users/cypher/Projects/test.rb:2
(OS X.5, default Ruby 1.8.6p111, TextMate Build 1436)
The problem is that both the builder-gem and TextMate's builder.rb try
to alias method_added to blank_slate_method_added. I've patched TM's
builder.rb to alias to tm_blank_slate_method_added instead, which
works. However, this is only a hack to fix this problem, I'm sure
there is a better way to address this (e.g. builder.rb checking wether
a module 'Builder' already exists, and if not, load tm_builder.rb or
something like that).
regards, Markus
When typing the space key in my code in TextMate, how can I let
TextMate use a particular number of spaces instead of that tab character?
I would like to always use 2 spaces instead of the tab character.
Also, how can I auto-format code that already have tabs (or tabs replaced by, say, 4 spaces)
to format it the way I want it (say, tabs replaced by 2 spaces)? Microsoft Visual Studio allowed me to do that. Does TextMate provide such facilities? (Guess I could always turn to regular expressions to fix such stuff.)
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Today i get new revision of TextMate. This is good! and i saw this:
[2007-12-29: REVISION 1455]
[NEW] JavaScript bundle: Add a Javascript beautifier script, with a shortcut
of Ctrl+Q. (Michael Sheets)
Cool! But... sorry pals - I can't find it!
I didnt use svn version of Javascript bundle (but ofcourse i svn up Support
and all *.tmbundles after i receive new TM revision).
I restart TM - and still nothing.
Ctrl+Q works but it do something i would call "minify me code".
Do i miss something?
Hello,
I am new to TM, and I have a couple of questions regarding the Project
Drawer. I did search google and the mailing list archives but I
didn't see an answer to my question.
When I am launching TM I would like it to open up with the Project
Drawer already present.
Also if it could open a directory (like ~/.projects) and all the sub
directories that would be great as well.
I am guessing there is a way to do this with TM since I can issue
`mate ~/.projects`
On the command line and that works. I have Quicksilver installed, so
I bet I could create a trigger that would do what I want, but I would
prefer to just have it work this way by default.
TIA
--
nathan
nathan_at_nathanpowell_dot_org
Ambition is a poor excuse for not having sense enough to be lazy.
~ Edgar Bergen
------------------------------------
Any other GTDAlt users out there?
After doing a clean install of Leopard, I'm having trouble getting the
GTDAlt bundle working again in TextMate.
Am getting Ruby errors when I add dates to actions, and iCal syncing
is using the incorrect date in iCal (one day earlier than set in my
gdt files).
It's a wonderful bundle, and I would love to keep it running smoothly.
Any clues appreciated.
Richard
I just added three bundles to Review.
JavaScript, MooTools & Prototype
The major change is that I moved all the bracketed and whitespace
scopes out of "prototype bracketed" into "javascript base".
There are now two core Javascript languages. "Javascript" and
"Javascript Basic"
When opening a Javascript file, you'll want to use "Javascript".
When you use a language like HTML, it'll automatically include
"javascript basic" as embedded source where necessary.
"Javascript basic" is mostly just a modified version of the current
Javascript language. It should be pared down a bit more still.
The MooTools bundle contains a completely new language syntax.
It also includes the classic mootools language by Joe Maller as
"MooTools 1.1"
It's pretty basic at the moment, but I have plans for upgrading it
and adding context sensitive codecompletion.
The Review Prototype bundle is NOT upgraded for the latest version of
prototype.
All it is is a compatibility upgrade to support the new javascript
core languages.
Those few of you who care, please let me know what I need to do before
I can replace the core bundles with these guys.
—Thomas Aylott – subtleGradient—
Hi,
I saw my NetNewsWire doesn't output from bundle updates RSS feeds.
See the image.
Something needs to be escaped here. Is this a bug in a script to make
feeds?
Or something is wrong in NetNewsWire?
I don't have any plan to make _malicious_file name and commit the file
to the repo :)
Takaaki
--
Takaaki Kato
http://samuraicoder.net
While the File -> Open... dialogue has a button to show hidden files,
the File -> Save seems to have no obvious way to save a file to a
hidden directory.
I was creating an environment.plist file to save in ~/.MacOSX --- my
immediate work around was to save the file to the Desktop and use
Finder to move the file to .MacOSX --- I have set Finder to show all
files using either the defaults command or TinkerTool.
A search of the mailing list indicates that Cmd-Shift-G opens a sub
dialogue box to the File -> Save dialogue that allows you to type the
name of the directory directly but that would seem hard to discover.
Is there a preference in Textmate that modifies the File -> Save
dialogue to show hidden files ?
Phil Molyneux
Dear TextMate gods, dear everybody else :)
I've been notified that my my Taskmate bundle has been added to the
review directory:
http://macromates.com/svn/Bundles/trunk/Review/Bundles/Taskmate.tmbundle
Since the first announcement to this list quite some work has been
done on this bundle. We've been able to track down some bugs, added
some new features and tweaked everything according to the great
feedback of both Michael Sheet and early adopting users.
I've put together a list of the changes in the changelog:
http://macromates.com/svn/Bundles/trunk/Review/Bundles/Taskmate.tmbundle/CH…
Even at this early stage I'd like to say thank you to Michael for
doing an amazing job as a review gatekeeper and Nigel Green, who
attentively tested every single move I made, provided lots of feedback
and additional code as well as even a complete help file.
Now we are eagerly awaiting to get bashed down by you folks for any
glitches and mistakes in order to make this bundle even better :)
Thanks!
PS: For information about what Taskmate does please refer to the
bundled help file or the project page at http://www.artweb-design.de/projects/taskmate
--
sven fuchs svenfuchs(a)artweb-design.de
artweb design http://www.artweb-design.de
grünberger 65 + 49 (0) 30 - 47 98 69 96 (phone)
d-10245 berlin + 49 (0) 171 - 35 20 38 4 (mobile)
Greetings all. Been using TextMate for quite some time, but never had
a problem before now. Allan Odgaard suggested I post this to the list.
I installed Ruby 1.9 this morning by doing a source install from the
release tarball. I had to manually update the readline library and I
also had to change my path so that /usr/local/lib is read before /usr/
lib because of the libreadline.dylib that is contained there.
I can run Ruby 1.9 programs from the command line just fine, but if I
try to use command-R to run them from inside TextMate, I get:
------------------ BEGIN ERROR MESSAGE -----------------
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/
scriptmate.rb:4:in `require': /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/io.rb:40: syntax error, unexpected ':',
expecting keyword_then or ',' or ';' or '\n' (SyntaxError) when 1:
lines.each { |line| block.call(line) } ^ /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/io.rb:41: syntax error, unexpected
keyword_when, expecting keyword_end when 2: lines.each { |line|
block.call(line, name) } ^ /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/io.rb:47: syntax error, unexpected
keyword_elsif, expecting keyword_end elsif sync? ^ /Applications/
TextMate.app/Contents/SharedSupport/Support/lib/io.rb:49: syntax
error, unexpected ':', expecting keyword_then or ',' or ';' or '\n'
when 1: block.call(data) ^ /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/io.rb:50: syntax error, unexpected
keyword_when, expecting keyword_end when 2: block.call(data, name) ^ /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/io.rb:
60: syntax error, unexpected ':', expecting keyword_then or ',' or
';' or '\n' when 1: leftovers.each_pair { |name,... ^ /Applications/
TextMate.app/Contents/SharedSupport/Support/lib/io.rb:61: syntax
error, unexpected keyword_when, expecting keyword_end when 2:
leftovers.each_pair { |na... ^ /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/io.rb:67: syntax error, unexpected
keyword_end, expecting $end from /Applications/TextMate.app/Contents/
SharedSupport/Support/lib/scriptmate.rb:4:in `' from /Applications/
TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/
RubyMate/run_script.rb:1:in `require' from /Applications/TextMate.app/
Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/
run_script.rb:1:in `'
------------------ END ERROR MESSAGE -----------------
I also get errors running a shell script, but not quite the same, and
it does then proceed to run the script after dumping the error
message, unlike with the Ruby script:
------------------ BEGIN ERROR MESSAGE -----------------
(erb):29:in `concat': character encodings differ (ArgumentError) from
(erb):29:in `html_head' from /usr/local/lib/ruby/1.9.0/erb.rb:743:in
`eval' from /usr/local/lib/ruby/1.9.0/erb.rb:743:in `result' from /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/
web_preview.rb:116:in `html_head' from -:4:in `'
Hello World
Program exited with status 0.
------------------ END ERROR MESSAGE -----------------
As I said, I'm still able to run Ruby code from the command line, but
it's obviously less convenient, so I was hoping somebody might have
an idea what's going on. I'm still running Tiger and am on the latest
version of TextMate (Version 1.5.7 (1436)). Any thoughts, information
would be greatly appreciated.
Thanks,
Jeff LaMarche
Maybe I'm doing something wrong but I don't seem to be able to fold PHP
docblocks when they are like
/**
*
*/
even though the top fold arrow is shown (but the bottom isn't) only when
they are
/**
*
*/
however the code completion features such as doc<tab> and /**<tab> generate
the first block
Does anyone know how to fix it so that the first type of docblock folds
correctly?
Thanks
--
View this message in context: http://www.nabble.com/PHP-docblock-folding-tp14475232p14475232.html
Sent from the textmate users mailing list archive at Nabble.com.
[REPOSTING BECAUSE OF BAD FORMATTING]
Hi!
A well-known problem with Move Selection Line Up/Down
commands (Control-Command-Up/Down) is that if you use
them without selection (which means "move current
line"), the cursor ends up in the wrong place. This
has been bugging me and my friends for quite some
time, so I wrote a fix. It's two macros overriding
default key equivalents, which you can find attached
to the bug description at
http://macromates.com/ticket/show?ticket_id=58C52785 .
Please tell if this works for you.
Also, is it possible to put this fix into some
standard TextMate bundle like Text.tmbundle, so that
all TextMate users enjoy it? (Until it is fixed in the
new engine of TextMate 2.) What is the best way to do
it?
This is my first experience in TextMate programming,
and several times I've been stuck in various
dead-ends. What follows is a somewhat long description
of how I approached the problem along with some
suggestions on making TextMate easier to program. Most
people would like to skip this.
So, my first (rather silly) attempt was a huge Ruby
program which replicated functionality of Move
Selection Line Up/Down and depended on my assumption
that the cursor is always at the end of selection
(potentially allowing me to calculate all the
necessary offsets in the file). Well, it turned out
that my assumption was simply not true, as the cursor
can be anywhere inside the selection, depending on how
you've selected the text.
Suggestion 1. It would be useful if TextMate had
variables like $TM_SELECTION_START and
$TM_SELECTION_END which would return the
corresponding offsets in the file (or the cursor
offset, if nothing is selected).
On a second attempt, I decided that I should instead
go with the built-in commands, simply correcting the
cursor position for the special case when nothing is
selected. So we remember current cursor position, call
Move Selection Line Up/Down, and move the cursor back
to remembered position if nothing is selected. There
are two problems here. First, you can only call
built-in commands from macros, and it is not possible
to remember values through the steps of a macro.
Second, there is no direct way to reposition the
cursor. One indirect way to achieve this is to insert
a snippet with a $0 variable. However, to move the
cursor to arbitrary position in this fashion, we need
an output option like "Replace Document as Snippet",
which is not available. Because of these two problems,
I decided to use TMTOOLS plugin, which has "call
macro" (for calling arbitrary macros and built-in
commands from commands) and "set caretTo" (for setting
the cursor position). I got a working solution, but it
had a delay of 0.5 to 1 s, which was too slow to be
useful.
Suggestion 2. Add a way to set "global"
environment variables programmatically (from
commands). These "global" variables should be
available to all subsequently called commands (and
other bundle items) until explicitly unset.
Suggestion 3. Replace output options "Insert as
Text" and "Insert as Snippet" with just one
option, "Insert", and add a checkbox "as Snippet"
to the right. This would add such useful options
as "Replace Selected Text as Snippet", "Replace
Document as Snippet" and "Create New Document as
Snippet" without making the list of options too
long.
So, on a third (and final) attempt, I dropped TMTOOLS
and returned to the idea of a macro. Inspired by Duane
Johnson's solution for multiple insertion points, I
decided to use a special symbol (mark) to "remember"
the initial position of the cursor. So we insert the
mark at the cursor (if nothing is selected), call Move
Selection Line Up/Down, and replace the mark with
empty string (if nothing is selected), which moves the
cursor there as a side-effect. The problem here is
that Replace command always replaces current selection
with replace buffer, even if it doesn't match the find
buffer, which ruins the case when something has
already been selected in the beginning. Replace All
also ruins current selection, moving the cursor to the
beginning of the file even if it has not found any
matches. Fortunately, the Find Next/Previous command
will only change current selection if the match has
been found. So that's what we use. If there is a mark
in the text, it will get selected, otherwise, the
selection won't change. Finally, the selection is
replaced with an empty string if what's selected is a
mark. The wrong cursor position after Move Selection
Line Up/Down is always further in text than the right
position (actually, it's on the next line), so we use
Find Previous command to perform the search. Because
of this little detail, the solution is actually pretty
fast.
Suggestion 4. Replace All should not alter current
selection if no matches are found.
The only remaining question is what symbol to use as a
mark. I decided to use √ (221A, SQUARE ROOT character,
which you can type with Option-V), but I'm not sure
this is the best choice. Maybe it's better to use some
character from Private Use Area (E000--F8FF)?
Best regards,
Sergei Yakovlev
Hi all,
I am pretty new to textmate and would like to know if it's possible to
change the color of PHPdoc comments from normal comments. I've noticed
since using a lot of PHPDoc stuff in my code that it looks more confusing
than ever. Being able to change the color would help in making things more
readable.
I noticed there was a thread in 2006 that discussed this but it did not help
me. Also, I tried setting the scope of "comment.documentation" in hopes
that it my be the correct scope with no luck (it doesn't seem to match the
scope or something because nothing changes even after restarting textmate).
Any help would really be appreciated.
Thanks,
Clark Endrizzi
I apologize for being off-topic, but I think there's more expertise on
this list than I'll find elsewhere.
I'm thinking about moving my blog from Movable Type 3.2 to WordPress.
As a test, I've set up a local WP installation and imported my old
posts--all of which are written in Markdown. They look awful,
primarily because the blocks of source code in many of my posts are
not being imported properly. Here is what I've done:
1. Exported the MT 3.2 posts using MT's builtin export command.
2. Installed WP and the PHP-MarkdownExtra plugin. Activated the plugin.
3. Imported into WP the text file that came out of the MT export process.
The biggest problem seems to be that WP isn't recognizing the Markdown
formatting of the exported posts. What should be enclosed by
<pre><code>...</code></pre> are enclosed by simple paragraph tags
instead.
Has anyone here experienced and solved this problem?
--
Dr. Drang
Hi!
In XML bundle, the block doesn't fold properly
if the closing tag is not on a separate line.
Example:
<?xml version="1.0" encoding="UTF-8"?>
<document>
<page>This tag block doesn't fold properly.
It folds as if '/document' tag closes it.
The closing tag is on the same line.</page>
<page>This tag block folds properly.
The closing tag is on a separate line.
</page>
</document>
Cheers,
Sergei Yakovlev
Hi!
A well-known problem with Move Selection Line Up/Down commands
(Control-Command-Up/Down) is
that if you use them without selection (which means "move current
line"), the cursor ends
up in the wrong place. This has been bugging me and my friends for
quite some time, so I
wrote a fix. It's two macros overriding default key equivalents,
which you can find
attached to the bug description at http://macromates.com/ticket/show?
ticket_id=58C52785 .
Please tell if this works for you.
Also, is it possible to put this fix into some standard TextMate
bundle like Text.tmbundle,
so that all TextMate users enjoy it? (Until it is fixed in the new
engine of TextMate 2.)
What is the best way to do it?
This is my first experience in TextMate programming, and several
times I've been stuck in
various dead-ends. What follows is a somewhat long description of how
I approached the
problem along with some suggestions on making TextMate easier to
program. Most people would
like to skip this.
So, my first (rather silly) attempt was a huge Ruby program which
replicated functionality
of Move Selection Line Up/Down and depended on my assumption that the
cursor is always at
the end of selection (potentially allowing me to calculate all the
necessary offsets in the
file). Well, it turned out that my assumption was simply not true, as
the cursor can be
anywhere inside the selection, depending on how you've selected the
text.
Suggestion 1. It would be useful if TextMate had variables like
$TM_SELECTION_START and
$TM_SELECTION_END which would return the corresponding offsets in
the file (or the
cursor offset, if nothing is selected).
On a second attempt, I decided that I should instead go with the
built-in commands, simply
correcting the cursor position for the special case when nothing is
selected. So we
remember current cursor position, call Move Selection Line Up/Down,
and move the cursor
back to remembered position if nothing is selected. There are two
problems here. First, you
can only call built-in commands from macros, and it is not possible
to remember values
through the steps of a macro. Second, there is no direct way to
reposition the cursor. One
indirect way to achieve this is to insert a snippet with a $0
variable. However, to move
the cursor to arbitrary position in this fashion, we need an output
option like "Replace
Document as Snippet", which is not available. Because of these two
problems, I decided to
use TMTOOLS plugin, which has "call macro" (for calling arbitrary
macros and built-in
commands from commands) and "set caretTo" (for setting the cursor
position). I got a
working solution, but it had a delay of 0.5 to 1 s, which was too
slow to be useful.
Suggestion 2. Add a way to set "global" environment variables
programmatically (from
commands). These "global" variables should be available to all
subsequently called
commands (and other bundle items) until explicitly unset.
Suggestion 3. Replace output options "Insert as Text" and
"Insert as Snippet" with just
one option, "Insert", and add a checkbox "as Snippet" to the
right. This would add such
useful options as "Replace Selected Text as Snippet", "Replace
Document as Snippet" and
"Create New Document as Snippet" without making the list of
options too long.
So, on a third (and final) attempt, I dropped TMTOOLS and returned to
the idea of a macro.
Inspired by Duane Johnson's solution for multiple insertion points, I
decided to use a
special symbol (mark) to "remember" the initial position of the
cursor. So we insert the
mark at the cursor (if nothing is selected), call Move Selection Line
Up/Down, and replace
the mark with empty string (if nothing is selected), which moves the
cursor there as a
side-effect. The problem here is that Replace command always replaces
current selection
with replace buffer, even if it doesn't match the find buffer, which
ruins the case when
something has already been selected in the beginning. Replace All
also ruins current
selection, moving the cursor to the beginning of the file even if it
has not found any
matches. Fortunately, the Find Next/Previous command will only change
current selection if
the match has been found. So that's what we use. If there is a mark
in the text, it will
get selected, otherwise, the selection won't change. Finally, the
selection is replaced
with an empty string if what's selected is a mark. The wrong cursor
position after Move
Selection Line Up/Down is always further in text than the right
position (actually, it's on
the next line), so we use Find Previous command to perform the
search. Because of this
little detail, the solution is actually pretty fast.
Suggestion 4. Replace All should not alter current selection if
no matches are found.
The only remaining question is what symbol to use as a mark. I
decided to use √ (221A,
SQUARE ROOT character, which you can type with Option-V), but I'm not
sure this is the best
choice. Maybe it's better to use some character from Private Use Area
(E000--F8FF)?
Best regards,
Sergei Yakovlev
This is a strange one. The other day my Subversion commits have
suddenly stopped working in terms of uploading to the repository.
I ctrl-shift-A, use the commit and get the window for commiting the
files I've highlighted and the -m message window. Enter a message...
All good.
When I hit Commit however, I get the Subversion Commit -
"Transmitting File data" window and the barber pole but the window
never comes back with either a dialogue box for the password for the
user or anything at all. I end up having to quite Textmate in order
to kill it and then doing a command line svn cleanup on the files
that I was trying to upload.
Handling svn through the command line with svn ci file.rhtml -m "blah
de blah" works fine however.
Does anyone have any idea of what may be causing this and how to
correct it ? I've gotten so used to the svn budle it's really
cramping my style now...
thanks !
Daryl.
PS> OSX 10.4.11, Textmate Version 1.5.7 (1436), svn, version 1.4.5
(r25188)
Hi,
I've been trying to make a TM command to convert text encodings (with
a nice little tm_dialog that took a while to figure out but now works
very well).
But for some reason, it won't read the file correctly using stdin.
So that this works:
iconv -f $ENC -t UTF8 "$TM_FILEPATH"
But this does not (nor do other variations on the theme using stdin):
iconv -f $ENC -t UTF8 < /dev/stdin
TM seems to do something to the text to change its encoding, so that
iconv cannot convert properly.
Even stranger than that, some encodings trigger this error:
/usr/bin/iconv: conversion from "SHIFT_JISX0213" unsupported
/usr/bin/iconv: try '/usr/bin/iconv -l' to get the list of supported
encodings
Does anyone have an idea about what's going on here?
Thanks,
Alex
I'm wondering if the contents of my "/Library/Application
Support/Textmate" directory is correct after checkout from svn.
Should it be this:
Bundles/
Support/
or this:
Bundles/
Conventions.txt
Disabled Bundles/
LICENSE
Manual/
PlugIns/
README
Review/
Support/
Themes/
Tools/
Work in Progress/
Perhaps I invoked a checkout on the wrong directory?
Ultimately I am trying to see all the Bundles in the Bundle directory.
I'm unable to find ODCompletion items even though I see them in the
file system.
Thank you!
az
When working with a Latex project, is there a way to specify the
bibliography file that should be used by the relevant commands?
I'm sorry is this question has an obvious answer, but I can't seem to find
it...
Best wishes,
NPC
I updated the MultiMarkdown TextMate bundle today. This update fixes
a problem that Leopard users were having --- or at least I think it
does. It still works for me in Tiger, and I hear reports that this
fixes the problem Leopard users were having. Specifically, they were
getting an error message like:
/bin/bash: line 2: cd: ~/Library/Application\ Support/MultiMarkdown:
No such file or directory
/bin/bash: line 3: cd: bin: No such file or directory
/bin/bash: line 5: ./multimarkdown2XHTML.pl: No such file or directory
This was caused by an apparent change in the way the shell works
under Leopard. Please let me know if you continue to have trouble
with this, and thanks to everyone who helped track down this bug.
Download the new version from:
* <http://files.fletcherpenney.net/MultiMarkdownForTextMate.zip>
--
Fletcher T. Penney
fletcher(a)fletcherpenney.net
If you start out depressed, everything's kind of a pleasant surprise.
- Lloyd (John Cusack) in Say Anything
Hi,
While watching the 2nd obj-C screencast, I noticed Allan was getting a
tab-completion on the word NSArray. Is it possible that particular
tab-completion was removed from Textmate since the screencast was
created? Or might I not have all the obj-C bundles?
FTR... I get a rewrite/insertion of this:
NSMutableArray *array = [NSMutableArray array];
when I do a tab completion on the word:
array
Perhaps creating such a tab-completion is so simple I can create my own?
Do some bundles exist which are not distributed via the textmate svn repository?
Thanks...
az
Allan Odgaard wrote:
> On 20 Dec 2007, at 20:47, Alan Curtis wrote:
>
> > cd "${TM_MULTIMARKDOWN_PATH:-~/Library/Application Support/
> > MultiMarkdown}"
>
> I think this (default path) lack “.tmbundle” and it _really_ should be
> using TM_SUPPORT_PATH instead of a hardcoded (default) path, which
> additionally means it should store multimarkdown2XHTML.pl under
> Support/bin (in the bundle).
No - MultiMarkdown belongs in Application Support - not in the
textmate bundle. If it's in the bundle, then it's not accessible to
other programs that use MultiMarkdown.
The problem here appears to be that Leopard changes the way the shell
and the TextMate variables work. I have not upgraded to Leopard yet,
and welcome suggestions on how to fix the problem that Leopard users
are having.
F-
--
Fletcher T. Penney
fletcher(a)fletcherpenney.net
If you start out depressed, everything's kind of a pleasant surprise.
- Lloyd (John Cusack) in Say Anything
Hello,
I notice the objective-C snippet called "method" (invoked with
control-shift-m) is producing 3 spaces as indent before the "return
nil;" statement. I check the snippet in the bundle editor and see it
is indeed a tab in the code. What might be causing the output of the
snippet to become three spaces in the objective c file? My soft tabs
are set for 4 spaces. Thank you for any advice.
Cheers,
-az
snippet code pasted here for convenience:
- (${1:id})${2:${TM_SELECTED_TEXT:method}}${3::(${4:id})${5:${4/(NS([AEIOQUY])?(\w+).*)|(.)?.*/(?1:a(?2:n$2)$3:(?4:anArgument))/}}}
{$0${1/^(void|IBAction)$|(.*)/(?2:
return nil;)/}
}
Hi,
"Tail Access Log" and "Tail Error Log" in Apache Bundle currently try
to check
* /var/log/httpd/access_log
* /var/log/httpd/error_log
This worked on Tiger, I think.
In Leopard, the files are by default located at
* /var/log/apache2/access_log
* /var/log/apache2/error_log
Is there any plan to add a setting/preferences GUI for this bundle?
Different people have different log locations.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hi,
after fixing to run R inside of TM as interactive shell I tried to
run irb and it also works. But one 'only' has to change the
communication between irb and TM slightly. Is someone interested to
do that? ;)
--Hans
Hi,
> Sorry my bad, I've been a bit rusty. TM_LATEX_BIB is supposed to
> point to an actual bib file, not the directory. What you want is to
> set the BIBINPUTS variable in TM to the directory path as well, like
> you set it in bash_profile. (hopefully ;) ). I'm kind of surprised
> this wasn't a problem earlier, if you had set TM_LATEX_BIB to that
> directory. Let's hope this would fix it,
I didn't have TM_LATEX_BIB set originally --- I put that in during my
efforts to solve the problem. Now I've removed it again. BIBINPUTS was
not set in TextMate. I set it and it returns '/Users/kjhealy/Library/
texmf/bibtex/bib:' from within TM. (This is the correct path.) But my
problem persists. On the MacBook Pro, when I use the keyboard shortcut
the menu pops up asking to create a label or a citation, and when I
then select citation, nothing happens except the pointer changes to a
cross. Same goes for the option when selected through the bundle menu.
On the G5 desktop (which I currently don't have access to) the same
thing was happening except I was getting the "Can't find any files
named 'bibname'" tooltip.
Kieran
In the MacBreak video podcast (#96) for 12/12/2007, Leo features his
fav text editors & overwhelming votes for textmate while giving an
idea of its capabilities as well as history.........
As someone that did his entire PhD (writing - in latex, running R,
Sweave, stata etc..) all within textmate I would be remiss not to
thank all those that are continuously developing textmate & the
supporting bundles - Alan, Charilaos, Hadley, Brett, Kevin, Allan
Schussman, just to mention but a few of many people whose bundles
have been helpful....
I am now getting into experimenting with new experimental bundles
- eg Hans R daemon which seem as if they will be making me even more
productive during 2008..
Thanks to y'all that are behind textmate & all its associated
bundles.... & best during 2008!
danstan
Are there any bundles available to ease writing JSDoc comments for javascript?
Aptana has a really nice feature that looks for /** and completes the
rest of the comment for you, leaving you to just fill in the
descriptions of the function and it's parameters.
> From: Alex Ross <alex.j.ross(a)gmail.com>
> Date: December 19, 2007 8:08:51 PM EST
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: Re: [TxMt] Python Import
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
> Tony,
>
> Have you made any modifications to your PYTHONPATH?
Hey Alex,
Thanks for your quick reply. I have added a couple of folders to the
PYTHONPATH in my `.profile` configuration file in my home directory.
PYTHONPATH=/Users/Tony/python:/Users/Tony/python/nodebox/src
It turns out that if I comment out the nodebox source path from the
above statement, `import objc` works fine. Unfortunately, the reason I
wanted to import the objc module was because nodebox requires it (and
requires the source tree be on the PYTHONPATH). Does any one know why
things would work fine from a Terminal, but not Textmate.
BTW, sys.path gives the same output in Textmate and the Terminal
window, except that Textmate appends the Textmate path and the
Desktop, while Terminal appends the present working directory.
Thanks,
-Tony
I learned a few days ago (see http://xrl.us/bcuzs) that a drag
command with a file type of "vcf" will work on cards dragged out of
the Address Book as well as vcf files dragged from the Finder. (A
temporary vcf file is made as you drag the card.) I thought it would
be nice to have a formatted name and address appear in the TM window
instead of the default vCard-formatted info. I had an AppleScript I'd
written a while ago that I adapted for this purpose and called it
from the drag command using 'osascript'.
The drag command works, but it takes 20-30 seconds to run when
operating on a card dragged from the Address Book. This isn't because
the AppleScript itself is slow--it runs almost instantly when
operating on a vCard file dragged from the Finder.
In the interests of space, here's a simpler AppleScript that exhibits
the same difference in runtime:
on run argv
tell application "Address Book"
set theCard to (person id (item 1 of argv))
set out to name of theCard
end tell
return out
end run
I've called it "abname.scpt" and saved it in my ~/bin directory.
(I've also saved it as an application and as text. The results are
the same.)
Here's the drag command:
if [[ $TM_MODIFIER_FLAGS = "OPTION" ]]; then
uid=`cat "$TM_DROPPED_FILE" |\
awk -F: '/^X\-ABUID/\
{printf "%s:ABPerson", substr($2,1,length($2)-1)}'`
osascript $HOME/bin/abname.scpt "$uid"
else
cat "$TM_DROPPED_FILE"
fi
This is set up so that when I hold the Option key down as I drag, the
name of the card is inserted in the TM window. If I *don't* hold the
Option key down, the usual vCard data is inserted. The behavior on my
main computer--an Intel iMac running OS X 10.4.11 with TM 1.5.7
(1436)--is like this:
Dragging from Option key Time to run
----------------------------------------------------
file in Finder not pressed instant
file in Finder pressed instant
card from AB not pressed instant
card from AB pressed 20+ seconds
I'd like to know why there's such a difference and what I can do, if
anything, to speed things up.
--
Dr. Drang
Hi Haris,
thanks for the quick reply.
> > Doing kpsewhich -show-path=bib returns
> >
> >> /Users/kjhealy/Documents/bibs:.:/Users/kjhealy/Library/texmf/
> >> [etc]
> >
>
> Is this what is also returned if your type in TM: kpsewhich -show-
> path=bib
> followed by pressing ctrl-R?
Yes.
> So what you would want to do is set TM_LATEX_BIB in TextMate's
> preferences as well (TextMate -> Preferences -> Advanced -> Shell
> Variables.
Yes, this is set too, as the full path, /Users/kjhealy/Documents/bibs.
The problem is now a little weirder. I have this issue on two Leopard
machines. One is a G5 desktop and one is a recent Macbook Pro.
I thought the problem might have to do with the symlinks I was using
to point to ~/Documents/bibs. So I deleted the symlinks and moved all
the bib files to ~/Library/texmf/bibtex/bib. So there's no ~/Documents/
bibs anymore, and no symlinks to it. I changed TM_LATEX_BIB in
TextMate to reflect this (and changed BIBINPUTS in bash_profile, too).
Now kpsewhich -show-path=bib inside TM gives
kpsewhich -show-path=bib/Users/kjhealy/Library/texmf/bibtex/bib:.:/
Users/kjhealy/Library/texmf/bibtex/bib//:!!/usr/local/gwTeX/
texmf.local/bibtex/bib//:!!/usr/local/gwTeX/texmf.pkgs/bibtex/bib//:!!/
usr/local/gwTeX/texmf.gwtex/bibtex/bib//:!!/usr/local/gwTeX/
texmf.texlive/bibtex/bib//:!!/usr/local/gwTeX/texmf/bibtex/bib//:/
Users/kjhealy/Library/texmf/bibtex///:!!/usr/local/gwTeX/texmf.local/
bibtex///:!!/usr/local/gwTeX/texmf.pkgs/bibtex///:!!/usr/local/gwTeX/
texmf.gwtex/bibtex///:!!/usr/local/gwTeX/texmf.texlive/bibtex///:!!/
usr/local/gwTeX/texmf/bibtex///
Again, latex/bibtex compile fine. via latexmk. Now when I try to
complete a citation from a word, I get the following error:
/Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:114:in `read': Is a directory
- /Users/kjhealy/Library/texmf/bibtex/bib (Errno::EISDIR)
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:114:in `parse_bibfile'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:252:in `cite_scan'
from /Users/kjhealy/Library/Application Support/TextMate/ Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:248:in `each'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:248:in `cite_scan'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:216:in `call'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:216:in `recursive_scan'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:215:in `each'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:215:in `recursive_scan'
... 7 levels...
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:204:in `recursive_scan'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:255:in `cite_scan'
from /Users/kjhealy/Library/Application Support/TextMate/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:63:in `get_citations'
from /tmp/temp_textmate.fLdPNM:8
I get this error with different documents and different bibfiles. If I
uncheck the TM_LATEX_BIB variable in TM preferences and try to cite
something, the cursor changes to a cross and nothing else happens.
Kieran
I'm not going to call this solved, but I at least have a working
solution -- and analysis (follows). Here's my weak (very weak) unix-fu
understanding of the problem. The Preview function of the MMD bundle
has three simple lines:
> cd "${TM_MULTIMARKDOWN_PATH:-~/Library/Application Support/
MultiMarkdown}"
> cd bin
> ./multimarkdown2XHTML.pl
After upgrading to Leopard, I was getting the following error report:
> /bin/bash: line 2: cd: ~/Library/Application Support/MultiMarkdown:
No such file or directory
> /bin/bash: line 3: cd: bin: No such file or directory
> /bin/bash: line 4: ./multimarkdown2XHTML.pl: No such file or
directory
Because my unix-fu is so very, very (very) weak, it took me the
longest time to realize that the Bash shell wasn't seeing the
directory. I tested it by running
> cd "~/Library/Application Support/MultiMarkdown"
No such file or directory
I tried changing it to the more usual:
cd ~/Library/Application\ Support/MultiMarkdown
Presto! It worked. I changed the first line in the MMD Preview to the
above and Preview now works like it used to.
Now you can all stop chuckling at how slow I am, but my question is:
has anyone else encountered this problem? Surely I'm not the only MMD
adherent who has upgraded to Leopard? (I'm hoping the problem wasn't
me being goofy, but it could be.)
Any corrections to my analysis are welcome and will be regarded as
contributing to my education.
Please, no rulers on the knuckles. It's the holidays and all.
john
Greetings tm users...
In the 2nd obj-c screencast:
<http://macromates.com/screencast/objective_c_part_2.mov>
Shortly into this demo (in the first 20%) ... just after the insertion
of the delegate method "outlineView", Allan begins to introduce a
reformatting command (a bundle command?). After he shows what the
command is based on -- a command in the menu "Text->Reformat
Paragraph" used to reformat comments -- he moves the cursor to the
bottom of the window and presses on a UI element that looks like a
gear. This brings up a long list of bundle commands with their
associated icons (C, S, M, etc). When I press this UI element, I get a
popup menu of only a few items:
Help
Documentation for Selection
---
Language Boiler Plate ->
Accessor Methods For ->
Common Object Calls ->
Object Instantiations ->
Idioms ->
---
and about 6 more items.
Perhaps there was a change in Textmate or I am missing something in the GUI?
How do I see the pop up menu as shown in the screencast?
Thank you!
AZ
On Dec 20, 2007, at 06:00 , textmate-request(a)lists.macromates.com wrote:
>>
>> So I finally upgraded to Leopard, but somehow my Multimarkdown
>> bundle got borked? I went to preview a document in XHTML and got
>> this:
>>
>> /bin/bash: line 2: cd: ~/Library/Application Support/MultiMarkdown: =
>
>> No such file or directory
>> /bin/bash: line 3: cd: bin: No such file or directory
>> /bin/bash: line 4: ./multimarkdown2XHTML.pl: No such file or
>> directory
>>
>> I remembered having some difficulties with this a while ago, but I
>> couldn't remember what I had done to straighten it out. I went to
>> the bundle's help file, thinking it might jog my memory, but it too =
>
>> is coming up with a similar error report. Is this a problem a re-
>> install will solve?
>
> I assume this is Fletcher=92s own MultiMarkdown bundle and not our
> default MultiMarkdown support.
>
> It sounds a little bit like an unquoted shell variable. It might be
> good to fetch his latest bundle and see if that still has the
> problem, =
>
> if it does, paste the source of the command in question.
Hmm. I downloaded the current versions of the TM bundle AND the
separate Multimarkdown folder that gets placed in the Application
Support folder AND I went ahead and created a TM_MULTIMARKDOWN_PATH
shell variable in my preferences that points to
~/Library/Application Support/MultiMarkdown (Can I leave the space in
like that?)
And I'm still seeing the same three lines of reported errors when I do
a Preview and use the Multimarkdown option of export to XHTML.
The preview from within the Markdown bundle works fine, but, of
course, it doesn't support things like external style sheets like
Fletcher's MMD bundle does.
I cannot run Preview using MultiMarkdown under Leopard
I get the following error.
/bin/bash: line 2: cd: ~/Library/Application\ Support/MultiMarkdown:
No such file or directory
/bin/bash: line 3: cd: bin: No such file or directory
/bin/bash: line 5: ./multimarkdown2XHTML.pl: No such file or directory
The command is
# Process the MultiMarkdowndocument and display as a web page
cd "${TM_MULTIMARKDOWN_PATH:-~/Library/Application Support/
MultiMarkdown}"
cd bin
./multimarkdown2XHTML.pl
Alan
Hi,
TextMate's LaTeX bundle can't find my bib files when using the
citation completion commands. It returns the error, "Can't find any
files named 'bibname'", where bibname is the name of my bib file. The
bib files are in a local directory, ~/Documents/bibs. There is a
symbolic link to this directory in ~/Library/texmf/bibtex/bib. Doing
kpsewhich -show-path=bib returns
> /Users/kjhealy/Documents/bibs:.:/Users/kjhealy/Library/texmf/bibtex/
> bib//:!!/usr/local/gwTeX/texmf.local/bibtex/bib//:!!/usr/local/gwTeX/
> texmf.pkgs/bibtex/bib//:!!/usr/local/gwTeX/texmf.gwtex/bibtex/
> bib//:!!/usr/local/gwTeX/texmf.texlive/bibtex/bib//:!!/usr/local/
> gwTeX/texmf/bibtex/bib//:/Users/kjhealy/Library/texmf/bibtex///:!!/
> usr/local/gwTeX/texmf.local/bibtex///:!!/usr/local/gwTeX/texmf.pkgs/
> bibtex///:!!/usr/local/gwTeX/texmf.gwtex/bibtex///:!!/usr/local/
> gwTeX/texmf.texlive/bibtex///:!!/usr/local/gwTeX/texmf/bibtex///
TM_LATEX_BIB is set to /Users/kjhealy/Documents/bibs. Latex documents
will compile happily (using latexmk.pl) within TextMate, including
their bibliographies. It's just the citation completion within
documents that isn't working. My Latex bundle and Support folder are
at revision 8696. I'm running Leopard (10.5.1) and TextMate 1.5.7
(1436).
Any hints on why this isn't working as it should?
Kieran
Hi there :)
I seem to remember that this bug has already
been reported and if it's the case, it is still around
for me…
Quite ramdomly, TM simply crash when bringing
up the Find/Replace dialog window and tabbing
between the “Find:” field and the “Replace:” field.
Let me know if you need the Crash Report :)
TIA
So I finally upgraded to Leopard, but somehow my Multimarkdown bundle
got borked? I went to preview a document in XHTML and got this:
/bin/bash: line 2: cd: ~/Library/Application Support/MultiMarkdown: No
such file or directory
/bin/bash: line 3: cd: bin: No such file or directory
/bin/bash: line 4: ./multimarkdown2XHTML.pl: No such file or directory
I remembered having some difficulties with this a while ago, but I
couldn't remember what I had done to straighten it out. I went to the
bundle's help file, thinking it might jog my memory, but it too is
coming up with a similar error report. Is this a problem a re-install
will solve? It's late and I don't think I'm seeing the obvious.
john
Hi,
This is probably some stupid mistake on my part, but I'm having
problems with importing the objc package in Python. When I try to
import it, I get the following error:
ImportError: No module named objc
What's strange, is I can import objc from a terminal window, without
any problems. I made sure that Textmate is running the same install of
python, so that's not the problem. All other packages I've tried
import without problems.
In case you're interested, I'm running Python 2.5.1 (default Leopard
install) with Textmate build 1436.
Any help would be appreciated. Thanks,
-Tony
Hi Everyone,
What I want to do, is extend the css & js definitions to have
alternate start / end tags...
For javascript, I want to match the normal <script></script> tags, but
I also want to have it use
<?php $this->js()->start() ?> / <?php $this->js()->end() ?>
(Same for css, except using "css()")
How can I go about doing this?
Regards,
Eric
Hello all,
after searching the list archive for a while, I have hacked together a
short command to run Matlab straight from within textmate. The current
problem is (as has been discussed on the list previously) that Matlab
has to be launched from scratch every time (takes about 5s for simple
hello-world scripts to execute).
Is there a maintainer for the Matlab bundle? Is there anyone around
who knows how to access the current Matlab session?
Best,
Jonas
I just committed a new bundle for review, SecondLife LSL
http://macromates.com/svn/Bundles/trunk/Review/Bundles/SecondLife%20LSL.tmb…
I forget why I never shared it before. Seems pretty done. There's code
completion and everything.
There's even contextual help set to ⌃h (ctrl-h) which searches the
lsl wiki.
I think I used someone else's language bundle to start out with and
then modified it,
but I can't remember at this point, so I'll take all the credit ;)
It's been a long while since I've played with LSL. But I don't think
the language has changed much in the meantime.
Let me know if you have any issues.
—Thomas Aylott – subtleGradient—
Hi, my apologizes for asking probably the same question again.
I have loosed the Control-Escape (pop-up menu of bundles) shortcut
since Leopard and I can't even bind it again since it isn't in any
bundle nor menu, AFAIK
- Juan F.
El 18/12/2007, a las 13:00, textmate-request(a)lists.macromates.com
escribió:
> De: "Niels Kobschaetzki" <n.kobschaetzki(a)googlemail.com>
> Fecha: 18 de diciembre de 2007 12:00:28 GMT+01:00
> Para: "TextMate users" <textmate(a)lists.macromates.com>
> Asunto: Re: [TxMt] Control-Escape
> Responder a: TextMate users <textmate(a)lists.macromates.com>
>
>
> On Dec 18, 2007 10:02 AM, Juan Falgueras <jfalgueras(a)uma.es> wrote:
>>
>> Hi, my apologizes for asking probably the same question again.
>>
>> I have loosed the Control-Escape (pop-up menu of bundles) shortcut
>> since Leopard and I can't even bind it again since it isn't in any
>> bundle nor menu, AFAIK
>
> Did you switch off screen-sharing?
>
> Niels
Oooooooh!!!!! Then, must I have Screen Sharing Off all the time to
have my Bundles Pop Up menu accesible? :((
(Thanks Niels)
El 18/12/2007, a las 13:00, textmate-request(a)lists.macromates.com
escribió:
> De: Takaaki Kato <devlist(a)samuraicoder.net>
>
>
> On Dec 18, 2007, at 6:02 PM, Juan Falgueras wrote:
>
>> I have loosed the Control-Escape (pop-up menu of bundles) shortcut
>> since Leopard and I can't even bind it again since it isn't in any
>> bundle nor menu, AFAIK
>
> Did you check System Preferences > Keyboard and Mouse > Keyboard
> Shotcuts, and Control-Escape is not used?
yes, of course. Control-Escape is not used.
Hey,
I just got this message when compiling something that I used to compile
without any problem before. This causes me lots of trouble since it now
compiles with pdftex instead of latex... so my eps images don't work.
I searched on Google and I found something about the plist read and to
install Leopard... THIS IS NOT AN OPTION! I don't plan on installing
Leopard now and not before a few months.
Please tell me the fix for it. Is it possible to correct the plist file
so that it works ? I don't care if it's a temporary fix, I need my
compiler NOW.
Maxime Boissonneault
Étudiant chercheur à la maîtrise en physique
Président de l'AGLEBUS
--------------------------------------------
maxime.boissonneault(a)usherbrooke.ca
president.aglebus(a)usherbrooke.ca
(819) 821-8000 #63072 (jour)
(819) 823-1913 (soirs et fins de semaine)
It is really helpful. Thank you very much.
Wish Brad and all other guys merry christmas!
Frank
----- Original Message ----
From: Brad Miller <bonelake(a)gmail.com>
To: TextMate users <textmate(a)lists.macromates.com>
Sent: Tuesday, December 18, 2007 12:55:06 AM
Subject: Re: [TxMt] help pls! how to make comments for the current line?
Type command - /
This will comment the current or selected lines. Another command you
should learn is control-command-t This allows you to quickly and
easily search for commands that are releveant in the current textmate
scope. For example if you type control-command-t and type comment you
will see several commands related to comments including the one above.
Brad
On Dec 17, 2007, at 7:40 AM, Frank_f wrote:
>
> hi all,
>
> I am a new user and have the latest version of TextMate, using it to
> do some
> Python programming.
> I am wondering what hot-keys I can use to make and eliminate
> comments for
> the current line or for the selected lines?
> I am using TextMate with default setting. So, should I add some
> snippets or
> something else?
>
> I really appreciate if I can get any help from your guys.
>
> regards,
>
> Frank
> --
> View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
______________________________________________________________________
For new threads USE THIS: textmate(a)lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate
____________________________________________________________________________________
Never miss a thing. Make Yahoo your home page.
http://www.yahoo.com/r/hs
hi all,
I am a new user and have the latest version of TextMate, using it to do some
Python programming.
I am wondering what hot-keys I can use to make and eliminate comments for
the current line or for the selected lines?
I am using TextMate with default setting. So, should I add some snippets or
something else?
I really appreciate if I can get any help from your guys.
regards,
Frank
--
View this message in context: http://www.nabble.com/help-pls%21-how-to-make-comments-for-the-current-line…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I understand that "<% -%>" doesn't make a new line in output.
But what's "<%- -%>"?
According to http://wiki.rubyonrails.org/rails/pages/FAQ#other ,
> How is <%- different from <% ?
> Apparently nobody knows.
>
Would it better to use <%- ? What's the best practice?
Does anybody avoid the start tag and tweak "Toggle ERb Tags" command?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
I now use Textmate for all my drafting, and when I need to share a
draft with someone I simply e-mail as plain text or export an RTF for
better printing. I'm using Multimarkdown so that I can link to
established style sheets hosted on my personal website.
I've tweaked the "Convert to RTF" command in the MMD bundle to export
to Nisus Writer Express -- I'm hoping to develop a script or command
which will automatically create an appropriate header (based on some
variable, I'm not sure yet) -- but I was having the same problem in
TextEdit.
What's that problem? Even though I've got "font-size: 12pt;"
literally littered everywhere in the CSS file (see below), I'm seeing
16pt type either on direct export or if I preview in Textmate's built-
in browser and then copy and paste out to an RTF editor.
The CSS involved is like this:
@page
{
size: auto;
margin: 1in 1.5in 1in 1.5in;
orphans: 2;
widows: 2;
}
body
{
font-family: "Gentium Basic";
orphans: 2;
widows: 2;
font-size: 12pt;
}
h1
{
letter-spacing: 2pt;
font-weight: bold;
font-variant: uppercase;
margin-top: 4em;
page-break-after: avoid;
font-size: 12pt;
}
etc.
What am I doing wrong?
Hi,
maybe this is a very old hut, but still...
I really would like to be able to open an HTML page/code as TM HTML
output window from inside of an already opened HTML output window
because I need the TextMate.system() command.
There're several ways in my mind:
1) Javascript [don't work]
window.open('adress')
2) HTML [don't work]
<a href='adress' target='_new'></a>
3) shell [don't work]
mate -html 'adress' or cat 'adress' | mate -html
4) shell + Dialog 1/2 [don't know whether this would be possible, how
can I set the URL, and does TextMate.system() work?]
Write a nib containing a single WebView object
Any advices, hints? Or is this a feature request? I only need this
simple HTML output window without any buttons etc. I believe -
technically seen - it shouldn't be a problem ( Or? )
Thanks,
--Hans
Hi,
I've happily used textmate for about 2 years now and I love it --
thank you macromates for a great tool.
Last night in the middle of a work session the font rendering of
textmate suddenly degraded. It now looks like this:
(I use QuickType mono)
http://img2.freeimagehosting.net/image.php?7d959429cb.gif
This is what it looked like before, more or less, and still looks like
in textedit (but without syntax coloring of course:
http://img2.freeimagehosting.net/image.php?42baf8bee8.gif
Has anyone encountered this issue before? What things can I try to get
back to normal?
All fonts are affected, not just QuickType mono
1. Running 10.5 on a macbook pro
2. Happened during a time machine backup. I mention this because I had
problems with ATS server and the font caches while getting Time
machine backups working, where ats would start consuming a whole core
for hours and have to be killed. This was a week ago, and that problem
seemed to go away after deleting all Cache folders, turning off
spotlight indexing & backing up of Cache folders etc.
3. I've already deleted the ATS caches & rebooted as per the wiki page
I'm in a bit of a panic -- have a lot of work to do in two projects
and doing it with my most important productivity tool crippled is a
terrifying prospect :/
(I'm sure there are going to be people who don't think the first text
is much harder to read than the second, but it is for me and the font
rendering is one of the top 5 reasons I use a mac, so this is not
intended to open that whole discussion. I just want to know how to get
back what I'm used to looking at 8 hours a day :))
Cheers,
Michael Johnston
lastobelus(a)mac.com
Hi!
I like a code folding but simce i write Python in TM - code folding doesn't
work right... Sometimes its ok but some - weird.
So just stop fold code. Its fine but... Some time ago i read one article
about Django and find some interesting idea in that article - code folding
markers for vim.
Here is a short description:
we need to add new folding rule to fold code based on that pair of markers
#{{{
def test
...
#}}}
add regexp for folding and some macros/snippets doesn't hard (i hope ;) and
we will have working solution for Python (or any other lang) right now. I
mean in 1.5+ version ;-)
Link to full story about folding in vim:
http://www.amitu.com/blog/2007/july/vim-python-code-folding-and-my-vimrc/
Any ideas? I can't do it myself yet but i hope someone will...
Alexey
I'm running Textmate build 1436. I realised earlier today that
something weird was going on - Textmate seemed to think I'd lost a $
somewhere, but no errors were coming up when I ran Typeset & View. I
tried an experiment and added in some more errors, none of which were
showing up. I then tried processing the same file in Texshop, which
found all the errors.
I wondered if this might be due to me not having the latest Latex
bundle installed. I searched for a while to find out how to update
the bundle, couldn't find anything (perhaps it updates
automatically?!) and then installed GetBundle and opted to update all
bundles. I then tried again, and found that on top of failing to show
any errors, whenever I try to pdflatex a file an error message pops
up from Skim saying "the document *.pdf could not be opened" (where
*=document name). I then tried opening the pdf file in Preview, which
said "File error. Could not open the file."
At the bottom of the typeset and view window I see the following:
Document 'prescribedlifts7.pdf' not open in application 133:228:
execution error: Skim got an error: NSReceiverEvaluationScriptError:
4 (-1728)
Any help would be appreciated!
Toby Gee
Hi all,
I've enjoyed using TextMate a great deal and don't want to use the other
Latex editors on my computer, but:
- after updating to Leopard all was okay
- I installed the latex Leopard fix and...
- TextMate doesn't find pdflatex and suggests that the path is not there or
Latex isn't installed
- I know that Latex is installed because Texshop continues to find it and
run it happily
- I've updated (via a complete re-install of Mactex) Latex, but it still
isn't found by Textmate and is by Texshop
- I've looked at the manual and see that I should update/modify the path,
but I'm not sure where to and how to update it.
Any help or suggestions greatly appreciated,
Thanks
Ben
--
Dr Ben Wooliscroft
Senior Lecturer, University of Otago
Marketing Department
Currently on sabbatical at the Wirtschaft Universität, Vienna
Postal address:
Dr Ben Wooliscroft
Marketing Scheuch 3.OG [C]
WU-Wien,
Augasse 2-6,
A-1090
Wien
Austria
I have a bunch of log files, some of which have been zipped with gzip. Is
there a way to search across these files with TextMate without unzipping all
of them first?
Thanks
Darryl
--
View this message in context: http://www.nabble.com/Gzip%27ped-text-files-in-%22Find-in-Project%22--tp142…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
sorry, I read something in the Change logs, but I didn't understand
this.
[TM 1.5.7 (1436) osx 10.4.11 ppc]
Is it true that TextMate.system(task) (in the HTML output window)
don't retrieve the entire data coming from the task?
Or in other words; is there a limit of 8kB?
If yes, is there a way to get the entire amount of data?
Many thanks in advance
--Hans
Hi,
I started using wxPython lately and am a little surprised by PyMate's
reaction to exceptions. Try this:
> #!/usr/bin/env python
> import wx
>
> def OnRaiseException(e):
> raise "See?"
>
> app = wx.PySimpleApp()
> frame = wx.Frame(None, wx.ID_ANY, "Hello World")
>
> button = wx.Button(frame, 100, "Raise Exception")
> wx.EVT_BUTTON(button, 100, OnRaiseException)
>
> frame.Show(True)
> app.MainLoop()
Only on the second button click the traceback reaches PyMate:
> Error in sys.excepthook:
> Traceback (most recent call last):
> method tm_excepthook in sitecustomize.py at line 66
> io = fdopen(error_fd, 'w')
> OSError: [Errno 9] Bad file descriptor
>
> Original exception was:
> Traceback (most recent call last):
> method OnRaiseException in test.py at line 5
> raise "See?"
> See?
Perhaps someone can tell me whether this is a bug or a feature.
Regards,
Daniel
I updated the Find Email Address in Address Book command from last year[1] to use RubyCocoa and the AddressBook framework. It seems a lot faster than using contacts or lbdb, and unlike AppleScript it works when the Address Book is closed.
I tried changing the menu to use TextMate::UI.menu, but tm_dialog just hangs... I guess there's some sort of OSX namespace conflict going on?
Haris, thanks for the offer to look at my .bib file. Through
elimination I have now established that the problem is caused by the
entry below. I don't normally add lots of custom fields, these were
automatically created when I imported the entry from a database. I
don't need any of the custom fields and deleting them solves my problem.
A question of general interest remains however.
Which of the following two holds:
- the exporting database and/or Bibdesk on import create non-standard/
invalid bibtex code,
or
- the TM latex bundle has a bug in that it hangs on valid custom
fields it should simply ignore?
In other words, who should I file a bug with?
Bilal.
@book{dfee:1998,
Author = {for Education, Department and Service, Employment;
Government Statistical},
Booktitle = {Teacher Supply and Demand Modelling : A Technical
Description},
Date-Added = {2007-12-03 20:32:33 +0000},
Date-Modified = {2007-12-03 20:33:32 +0000},
Dc.Creator = {BOPCAS team},
Dc.Creator.Address = {virginia.knight(a)bristol.ac.uk},
Dc.Date = {2007-06-02},
Dc.Date.Created = {2006-11-17},
Dc.Description = {BOPCAS record: Teacher Supply and Demand
Modelling : A Technical Description: 1998},
Dc.Format = {text/html},
Dc.Identifier = {http://www.bopcris.ac.uk/bopcas/bop1998/
ref10076.html},
Dc.Language = {en},
Dc.Publisher = {ILRT, University of Bristol},
Dc.Source = {ISBN: 0-11-271032-8},
Dc.Subject = {EDUCATION;},
Dc.Title = {Teacher Supply and Demand Modelling : A Technical
Description},
Dc.Type = {Data.Structured-Text},
Isbn = {0-11-271032-8},
Publisher = {The Stationery Office},
Series = {Departmental Publication},
Title = {Teacher Supply and Demand Modelling : A Technical
Description},
Year = {1998}}
> Can you send me your bibliography file? It seems that's were the
> function chokes.
> How large is your bibliography file?
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
Hi there,
I've just downloaded Ciaran's tmplugin+QLGenerator, and I'm very happy
with it.
If I got it right, the plugin generates a screenshot and then displays
it within QL. There's just a little downside to it:
The dimension and readability of the generated screenshots are implied
by the number of columns and rows of the documents, which sometimes
produce weird results.
I posted 2 screenshots to make it clearer. The first one is the most
significant, and the second one is to povide an example of acceptably-
readable scrrenshot.
Suggestion: Couldn't the screenshot be generated in a panel with a
fixed number of columns, and be of fixed width?
Thanks and congrats anyway, I was bored of black and white QLing my
source files!
Xavier Cambar
EDIT: And now with the files! ;-)
Hi there,
I've just downloaded Ciaran's tmplugin+QLGenerator, and I'm very happy
with it.
If I got it right, the plugin generates a screenshot and then displays
it within QL. There's just a little downside to it:
The dimension and readability of the generated screenshots are implied
by the number of columns and rows of the documents, which sometimes
produce weird results.
I posted 2 screenshots to make it clearer. The first one is the most
significant, and the second one is to povide an example of acceptably-
readable scrrenshot.
Suggestion: Couldn't the screenshot be generated in a panel with a
fixed number of columns, and be of fixed width?
Thanks and congrats anyway, I was bored of black and white QLing my
source files!
Xavier Cambar
Hi,
when I select 'Citation Based on Current Selection' I get a spinning
beach-ball. Activity Monitor shows a ruby process eating 99% CPU.
When I quit it, the following is inserted in my TM document:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:134:in `parse_bibfile':
Interrupt
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:115:in `map'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:115:in `parse_bibfile'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:250:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:247:in `each'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:247:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:246:in `call'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:215:in `recursive_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:214:in `each'
... 8 levels...
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:203:in `recursive_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:254:in `cite_scan'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/lib/LaTeXUtils.rb:63:in `get_citations'
from /tmp/temp_textmate.MQuf7X:8
I think it worked correctly at some point in the past.
Any ideas on what's going wrong here? Any help would be much
appreciated.
Bilal.
Hi all,
Apologies if this is an old query, but I've tried finding the answer in the archives and nothing seems to fit with what I need.
I have set up my blog and can post entries and edit entries just fine, but if I try and add a category (using the "tab-cat" snippet) then I get an error message:
"Received exception:Wrong type NilClass. Not allowed!
No categories are available!"
Does anyone know why this might happen with categories when I can access posts remotely?
Many thanks,
Nigel
Hi all,
I have recently been set up with Textmate at work and I want to export
all the settings I have created over time on my own version. IE, the
bundle and the themes.
I would like to know, do the "bundles" and "themes" folders in
/library contain all my customizations? I have installed a HTML bundle
a while back, but I have also added my own snippets and key commands
to this. Will this all be saved in the single bundle?
Thanks for any help.
Hi Textmate fellows,
I've always been slightly jealous of emacs' auctex
mode with previewing of images and equations in a TeX
document. I understand the issue of dealing with fancy
fonts in a source editor, but would it be possible to
create a preview of parts of the code in the form of
tooltips?
I've been thinking of that for a while, considering
the use of latex2html to generate images, or the sleek
LaTeXit freeware. These two would really slow down the
process, as they call latex and generate images.
Now I think I've just found the ultimate tool:
http://www.math.union.edu/~dpvc/jsMath/welcome.html
This is by far the best math publishing solution I've
seen on the web when it comes to including math on
html pages (MathML, although promising, is really
lacking support).
_____________________________________________________________________________
Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo! Mail http://mail.yahoo.fr
I searched the list and found a error with BlogMate, but I don't have it
installed. I do know that this error is local in nature. I can login
under admin and use mate from the command line. Under my account I get
this message:
2007-11-26 15:03:11.446 mate[2591:10b] Exception raised during posting
of notification. Ignored. exception: '[NOTE: this exception originated
in the server.]
*** Object does not implement or has different method signature'
invoked observer method: '*** -[OakLaunchHelper didLaunchTextMate:]'
observer: 0x121090 notification name:
'NSWorkspaceDidLaunchApplicationNotification'
I've removed the preferences.plist and removed bundles and other
possible solutions from the list but nothing.
Thanks for any help.
J
Hello,
I am relatively new to TextMate.
I am trying to figure out where the date format is defined in blogging
bundle. What I would like to do is have fetch command render the date in the
U.S. format (day/month/year).
Could someone point me in the direction of where to look.
Thanks,
Scott
Has anyone come up with a command or whatnot so that by holding down
a modifier key we can drag files from the Finder to an open document,
and have it insert the absolute path (instead of the file contents)?
Is this doable right now?
Thanks,
Eric
Hi everone.
I recently tried to make ruby folding work all through our rails
project and almost succeeded. Typical offenders are p.e. do... end
statements in one line (we just use {} now). But I have problems
with do... end blocks which directly get a method sent to:
blabla.collect do |whatever|
format(whatever)
end.join(',')
Here the folding stop working for everything that follows in the
document and in this case it's difficult to rewrite the code to make
folding work (suggestions highly appreciated). I tried to modify the
Ruby language grammar to no avail and it seems that folding should
work here:
| (^|;) \s*+ end \. .* $
Shouldn't this line within the foldingStopMarkers match? I'm
confused and would be grateful for any help.
Regards, Niko.
>From a quick look at the archives, it looks like at least a few people on
this list have been using Textmate on Leopard... has anyone had trouble with
spaces? I've noticed that sometimes when I have textmate windows on spaces
other than space 1, all the windows will become inaccessible. The only way I
can make them work again is to disable spaces. This is especially pronounced
if I launch textmate from another space. Has anyone noticed this or found a
work-around?
Thanks
Geoff
Hi,
here comes a suggestion for all R users.
I wrote a tiny R daemon bundle in order to run R 'inside' of TM.
There is no need to start RGUI etc.
I found a naive way to do it and it turns out, at least for me, it's
quite useful. So my question is whether this approach is also useful
for others. If yes, I/we can elaborte this bundle.
Demo Movie (4.3MB) http://www.bibiko.de/Rsession.mov
Up to now you can do the following:
-install this bundle R daemon
-open new document, set the language to R or R console, type 'start'
and press TAB
-R daemon will be installed into $HOME/Rdaemon (please check the
directory if you don't use it!)
-after some seconds you can type any command into that window and
press 'NUMPAD-ENTER'
-the result will be inserted into the current document
-if you want to execute a selection the output will be written into
the file r_res (useful if you write a script)
-errors/warnings will be output as tooltip (but not every error, then
you have to check 'geterrmessage()'!)
-there is a progress bar showing the progress of R's calculation
-the entire session you can find in r_out (the nice side-effect is
that even if the R daemon, or TM, or the Mac crashes you have at
least r_out to reconstruct the last session)
-the R daemon listens at the named pipe r_in
-errors/warnings are written to r_err
-if you know that the command will take some minutes you can execute
this command in the background (SHIFT+NUMPAD-ENTER); the result will
be written into r_res; by doing so you can send a task to R while
writing further stuff in TM (I used sink() for that)
-R daemon comes with its own persistant history list (i.e. if you
quit the R daemon and you start it again you also have all commands
from the last session (OPT+ARROWUP/DOWN CTRL+OPT+ARROWUP for a list
[last command comes first]))
-I rewrote the help for the current word as an HTML page using frames
-Autocomplete and command template now works case-sensitive meaning
if you look for 'mat' you won't get 'Math.'. Furthermore it also
works for functions defined in the current session!
-I included an example TM project Rsession ($HOME/Rdaemon).
-note 1: plot
R runs as normal session in a hidden Terminal. Thus one has to use
X11 for plotting into the null device.
If such a device is open and you quit X11 the R daemon will quit
immediately!! I cannot catch this yet.
CTRL+NUMPAD-ENTER can show the current plot as PDF. I set the the pdf
file to ~/Rdaemon/plots/Rplot.pdf
-note 2: quit
You can type 'q()', delete the prompt and answer the question, or
type kill TAB to kill it.
-known pitfall 1: readline
In principal readline("prompt") works, but if 'prompt' is prompted,
you have to delete it or press ENTER to insert a value. Otherwise R
will get the entire line a input (I work on it)
-known pitfall 2: synchronisation
One tricky point is the synchronisation of the output. I went the way
to look for R's CPU coverage. If this is zero I assume that R's
ready. One can test this if you execute 'c(1:200000)'. If you see the
last line mentioning you reached the max line etc. everything is OK,
if not one has to fine-tune it. It's done via a tiny sleep command.
As I already mentioned this is written very fast!! Esp. the daemon
which is written in Ruby needs some help from Ruby experts ;)
With R daemon one has the full control meaning you can do thousand of
nifty things ;)
Any comments?
Cheers,
--Hans
Hi,
There is now a FishEye <http://www.atlassian.com/software/fisheye/>
instance for the bundles repository <http://fisheye2.cenqua.com/
browse/textmate-bundles/>.
FishEye is a tool to give insight into a code repository. It allows
for complex searches of the code base and notifications of changes.
LD.
Hi,
When I have a project checked out of Subversion (svn) and want to change
a file's name, the TextMate rename appears to do a file system rename.
Doing that confuses svn and would require an svn add to the repository,
which throws away the history of the file under its old name.
Is there a way to have Rename do an svn mv instead of file system mv?
Thanks,
Oliver
--
Oliver Meyn
Senior Developer
TSOT, Inc.
151 Bloor Street West, Suite 601
Toronto, ON
M5S 1S4
(416) 524-2240
http://www.tsotinc.com
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they are
addressed. If you have received this email in error please notify us at
info(a)tsotinc.com <mailto:info@tsotinc.com> and permanently delete the
entire communication from any computer, disk drive, or other storage
medium. Please note that any views or opinions presented in this email
are solely those of the author and do not necessarily represent those of
the company. The recipient should check this email and any attachments
for the presence of viruses. The company accepts no liability for any
damage caused by any virus transmitted by this email.
TSOT Legal
> On Dec 8, 2007, at 11:20 PM, Constantinos Kouloumbris wrote:
>
> >> Under review. http://macromates.com/svn/Bundles/trunk/Review/Bundles/
> >
> > Is there any specific reason...
>
> There are some pretty major issues with the bundle so it was moved to
> denote that in the hopes that someone would do some work on it. Most
> of the issues have been detailed in a comments file:
>
> http://macromates.com/svn/Bundles/trunk/Review/Bundles/PHP%20Cake.tmbundle/…
>
>
I've been hoping to work on it to get the cake bundle caught up to
cake 1.2 and get the issues that Michael has pointed out, but I've
been jammed with work recently.
Sam D
--
(the old fart) the advice is free, the lack of crankiness will cost you
- its a fine line between a real question and an idiot
http://blog.samdevore.com/archives/2007/03/05/when-open-source-bugs-me/
Hi people,
I am new to this list, and I apologize before hand if this topic has
been discussed before. I recently updated my system and I was looking
for the cake bundle that I use so much, but it wasn't in the svn repo.
Can anyone tell me what happened to it?
--
Regards,
CK (Constantinos Kouloumbris)
GPG: 0x2502604D
http://kouloumbris.com
"A bus station is where a bus stops. A train station is where a train
stops. On my desk, I have a workstation…go figure."
~ Steven Wright ~
Very recently, yank (C-y) as stopped working for me. Instead of
inserting text from the kill ring, it switches focus to the gear button
on the project drawer. I don't know what I've done to cause this
change. I thought it might have been TextExpander, but the problem
persists after uninstalling it. There is no mapping set for C-y in the
keyboard pref pane. C-y works in other Cocoa apps.
I would much appreciate any troubleshooting suggestions.
Mac OS X 10.5.1 Intel
TextMate 1.5.7 (1436)
Thanks.
After a reboot due to an update in Logitech's software mate has
stopped working, see trace below (I don't know whether the software
update is relevant). Any ideas?
-- fxn
2007-12-08 02:07:47.209 mate[470:10b] An uncaught exception was raised
2007-12-08 02:07:47.211 mate[470:10b] [NOTE: this exception originated
in the server.]
*** Object does not implement or has different method signature
2007-12-08 02:07:47.212 mate[470:10b] *** Terminating app due to
uncaught exception 'NSInvalidArgumentException', reason: '[NOTE: this
exception originated in the server.]
*** Object does not implement or has different method signature'
2007-12-08 02:07:47.212 mate[470:10b] Stack: (
2481635947,
2426728603,
2481634705,
2455251046,
2455248905,
2481658570,
2481658674,
10507,
14446,
9754,
9525
)
/Users/fxn/bin/update_reading.sh: line 4: 470 Trace/BPT
trap mate -w db/reading.yml
Hi,
I've just started using TM, previously I used emacs. When I typed a perl
line like:
my $p = Base::Sub->new
(id => 1234,
name => "test");
I would only have to hit tab on each new line to move the cursor to below
the appropriate place on the above line i.e. it auto formatted the code for
me. TM doesn't seem to do this, which is annoying the hell out of me. Can
someone help please?
--
View this message in context: http://www.nabble.com/Lining-up-code-automatically---perl-mainly-tf4958584.…
Sent from the textmate users mailing list archive at Nabble.com.
Hey guys.
got some questions:
I cant get std8 classes to work with mtasc. I thought that it should work
right out of the box?!?
I´m using actionscript bundle.
And to my other question is there anyone that can give med a dummy project
of actionscript/mtasc?
(i.e a as project thats uses main class och a coupul of other classes) Just
so that I can get a running start att this. I´ve been developing flash sens
flash 2. But never open scorce.
Thank you for your help and sorry for my spelling.
Martin
--
View this message in context: http://www.nabble.com/actionscript-mtasc-tf4949238.html#a14170392
Sent from the textmate users mailing list archive at Nabble.com.
dear all,
all of a sudden the typeset & view window displays the message
"There was a problem reading the preferences file, continuing with
defaults"
have been working on a big projekt for hours, just editing tex files
and command-R all the time.
restart of textmate doesn't change anything. restart of the machine
is of no help either.
any ideas? or any ideas what might have caused this behavior?
christoph
Although I have used svn exclusively via the command line in the
past, I'm really enjoying the convenience of the svn bundle --
especially when working within a project. I did, however, notice one
minor problem which might be a bug. Say I have the following
(invisible) directory named .foo:
vampire-squid:~/Desktop/.foo pschumm$ svn status
? my-new-file
M foobar.tex
(note the period in the directory name, and the new file still
unknown to svn). If I open the file foobar.tex in TextMate and use
the status command from the svn bundle, the resulting output shows
only the modified file (i.e., the new file does not appear in the
output). However, if I remove the . from the directory name (i.e.,
change it from .foo to foo), then the output of the status command
shows both files (i.e., it is consistent with the output of "svn
status"). Thus, it would appear that when a period appears in the
path, new files are not shown in the status output.
This situation can arise if, say, you keep personal settings folders
(which often start with a period) under version control.
-- Phil
Hi,
I've got a question about the comments.
The normal comment cmd-/ comment's the current line / selection nice.
However when i comment a line with cmd-alt-/ (insert comment block)
while i'm standing in front of the line the output becomes
/*
*/My comments
Is it possible that the current line / (selected) lines are inside the
tag ?
Regards J.
Using the date picker results in the following error:
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/
1.8/date/format.rb:230:in /bin/bash: -c: line 0: unexpected EOF while
looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/1.8/date/format.rb:201:in /bin/bash: -c: line 0: unexpected
EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filestrftime'
from /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/
lib/ruby/1.8/date.rb:1343:in
I'm using TM Version 1.5.7 (1436) with the latest checkout from the
subversion repository on 10.5.1.
All the best, Mark