When defining "static variables" in Preferences->Advanced->Shell
Variables, is it possible to include the values of static variables in
the values of others?
For example, I tried defining:
P1 /some/path
P2 $P1/subdir
But the value of P2 is "$P1/subdir", not "/some/path/subdir" as I wish.
--
Daryl Spitzer
When I do a Status using the Subversion Bundle, it correctly shows
what has changed.
However, when I try to do a commit from the subversion popup page,
the spinning dial starts up and never stops. After waiting a while, I
killed the svn process at the command line. Once I did that, TM poped
up a window asking for my SVN password.
I have used svn at the command line for months to check in/out code
and it works perfectly. My username on the svn repository is
different from my username on my mac, but the first time I used svn
from the command line, it failed and then I was able to put in the
correct username and password. Since then (months ago), svn from the
command line has worked perfectly. I think when svn is started by TM
it must be using my mac user name rather than the cached name. Is
there any way I can control this?
After I type my comments and hit commit, in the status window the
following appears:
Authentication realm: PAC
but I can’t see any place that I can type to supply my credentials.
I don't think it's a problem with our subversion repository because
the developer sitting next to me is able to commit from TextMate with
no problems.
Thanks,
Steve
_____________________
Steven Chanin
steven_chanin at alum.mit.edu
(415) 377-7503
I am currently a user of BBEdit. I'd like to be able to use TextMate if I
could find a combination of an SFTP client and TextMate that would allow me
to edit multiple files remotely as a project (grouped in the same window,
with the drawer). Is there a combination of programs that will allow this?
Working locally is not an option because the dev environment includes a huge
MySQL database, among other things. But if I could work locally in a way
that immediately and automatically updated remotely, that might be OK.
--
View this message in context: http://www.nabble.com/Remote-editing-of-projects-tp15053548p15053548.html
Sent from the textmate users mailing list archive at Nabble.com.
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 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
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
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