Hi
rather than piggybacking on my other thread, I wanted to ask another
question, namely which version control system to take for collaborative
writing projects. I am basically starting afresh, so there is no code-base
already in a certain repository format to be taken into account, and I am
planning to use it for (collaborative) writing of text, mostly MultiMarkdown
and maybe Latex if I get the hang of it.
Most people advocating Subversion emphasize that it is widely used and
rather easy to learn. As I am not planning to maintain source code in it
anyway, these points may not be very important.
It seems to me, the alternatives (Bazaar, Git, Mercurial to name a few I
have read about) have matured quite a bit and I would not want to learn a
specific system only to find out that previous users are migrating away from
it for good reasons (that I may not see right now).
So: if the requirements were:
1) up-to-date versioning
2) easy install
3) idiot friendly
4) collaboration friendly (merging of textfiles having been altered by
several authors independently should be doable; see point 3 above)
5) offline work happens (branching and merging)
6) perhaps OS-independent (in case I can convince those other co-authors)
7) existence of a bundle providing integration into Textmate would be a huge
plus (but consider that I may be satisfied with a very limited subset of
what every versioning system offers already)
8) not sure if applicable: if a visualization tool such as Changes.app for
diffing said textfiles be callable to compare versions that would be great,
too. My experience with Filemerge et al, is limited because it does not seem
to like UTF-8 very much (which I require).
what would you choose?
Thanks
Christoph
Hello all,
perhaps this is a bit off-topic so please bear with me. Some regulars on
this forum were instrumental in developing these thougths though which is
what encouraed me to post here.
I am a researcher doing some of my writing in Multimarkdown text files and
put my work on a portable harddrive which I carry home after work,
synchronize to my home computer and carry on working there. Ditto for the
reverse.
After reading a series of inspiring articles about how to use subversion
repositories for academic writers over on Practex journal I am beginning to
think that I could make better use of my resources. Here is what I plan to
do:
Go to work, read, write, take notes etc. Some of this takes place in
textfiles, some will reside XML files (Tinderbox), and some also in binary
files at the end of the day. I have access to a server that I would like to
push all my changes and new data to and then go home. From home, I would
like to pull all changes to my home computer and carry on.
1) Will the version control systems compare whole lines or do some kind of
document comparison trying to find identical blocks regardless of (soft)
line breaks?
2) what I don't know is how well this system will work for binary files,
e.g. Aperture libraries, Word files from colleagues etc. Ideally, I'd like
to just send the changed bits of files, not all files that have changed to
save bandwith and time. If something went wrong I would want to go back in
time.
I am working on a localized system (meaning non-US) in case that is
presenting a problem.
I am not afraid of the command line but I have no experience with version
control whatsoever because I was left with the impression that it was of
little use outside source code development. Although I do some reading about
subversion, git, mercurial, bazaar etc I need some guidance if I am barking
up the right tree in the first place.
I would greatly appreaciate your thoughts
Prion
Hello all,
As a long-time TextMate user I'm well aware of the issues working with
projects on remote filesystems -- I have been doing it day in and day
out for just over three years now, using different combinations of
tools. Like many of you, I've used Transmit for quick single-file
edits and MacFusion/sshfs for heavier remote work for the past year or
more, and they work well enough to be productive, but with well-known
frustrations (latency, connection resilience).
Lately I'm using ExpanDrive (http://www.magnetk.com/expandrive), which
just launched officially. Same transport (SSH/SFTP), but with very
aggressive caching and intelligent connection management under the
hood. Together, they make it *way* snappier than sshfs on even
high-latency links, and allow your mounts to stay live on finicky or
intermittent connections, even as you sleep your laptop one place and
wake it hours later on an entirely different network.
It's a from-scratch new filesystem, not just a GUI for sshfs (though
it does use the MacFUSE core), so its performance and stability are
quite unlike what you may be used to. Of particular note (and this was
a goal in development), the caching works well enough to largely
eliminate the TextMate project focus lag problems we're all so
familiar with by now, even over long-distance connections.
(Full disclosure: I am tangentially connected with this project.)
I think some of you will quite like it.
-jrk
Does anyone else experience problems when searching the java api?
Here is an example of what happens:
1. Press Control-H to open API
2. Apple-F to open find window
3. Type "String"
4. Goes to "AttributedString" in the side panel
5. Pressing the next button or Apple-G does nothing.
I have tried the Regular Expressions option, Ignore Case, and Wrap
Around. None of them seem to work.
Very frustrating to need to continuously scroll down.
Anyone have a solution, or experience the same thing?
Hello,
I've sent a mail to Allan regarding the problem, but I want to share
also this problem with all of you subscribed to the TM list. Maybe you
have also encountered this?
I'm working with few auto-generated FO (XML) files that have no line-
breaks.
You can reproduce such dummy file with:
$ cd /tmp
$ perl -e '{print "<html></html>" x 20000}' > test.html
$ mate test.html
As you see TM gonna take 100% CPU for a really long-long while until
you get syntax highlight.
Also any modification (line-break) causes TM to take again 100% CPU
for a while.
I'm aware it is rare case to work with such files, but is there any
remedy for this problem?
I have soft-wrap turned on, also using System Monitor I can see that
it is tokenizer thread that is taking the whole CPU.
Regards,
--
Adam Strzelecki |: nanoant.com :|
... am I missing something? Can't seem to find a bundle for handling
XSLT tags. Is there one?
Thought I'd ask before I started to knock one up.
R
Richard Dyce MA (Cantab.) MBCS MIET | Director
Richard Dyce Consultants Ltd.
Business Consultancy | Training | Systems | Bespoke Applications
Programming
MySQL, PHP, JavaScript, FileMaker, AppleScript Studio
Contact: Add me to your address book
Web: http://dyce.com
Bio: http://www.linkedin.com/in/rjdyce
Registered Number: 4890568
VAT Number: 825 3090 44
Registered Office
9 Friary Gardens Winchester SO23 9AF
Incorporated in England and Wales.
Confidentiality Notice
The contents of this e-mail and any attachments are intended for the
named addressee only and may be confidential. Unless you are the named
addressee or authorised to receive the e-mail of the named addressee
you may not disclose, use or copy the contents of the e-mail. If you
received the e-mail in error, please contact the sender immediately
and then delete the e-mail. Richard Dyce Consultants Ltd. does not
accept responsibility for this message and any views or opinions
contained in this e-mail are solely those of the author unless
expressly stated otherwise.
While switching from the terminal version of Mercurial to the
Mercurial bundle, I have found out that it doesn't seem to support
user authentication. While many repos do not use authentication, the
one I am working on uses authentication when pushing to the central
repo.
Am I missing something, or is it simply something that isn't supported?
Your very best,
Sangwhan
I am hoping that this has been reported a work around available...
We often have the Textmate 'Find in Project' results become unresponsive to
mouse clicks. The only way to fix it is to restart Textmate. This also
occurs occasionally with the 'Go to Symbol' window as well.
Has anyone else had this happen. We have it on three different machines.
--
Steve Kickert
CEO
Riverock Technologies
www.riverocktech.com
952-232-5280 (direct)
612-965-1909 (mobile)
I finally figured out what was giving me the timeout error in Leopard,
when trying to do anything with the blogging bundle. It was an issue
related to my router (an actiontec GT704WG supplied by Verizon) that
only had problems with Leopard and not 10.4.
Here is the solution (I stumbled upon this when trying to troubleshoot
an issue connecting with adium as well):
1. Visit the router's configuration page and make note of the DNS
server IP's (there should be 2 or three of them). Each router will be
different on how you need to access the info, so use google if you
don't know.
2. Open network preferences, click on the connection you are using and
select advanced.
3. Click on the DNS tab and add the DNS entries that you got from your
router. (Your router's IP should already be listed there.)
4. You should now be able to connect.
http://forums.cocoaforge.com/viewtopic.php?t=16614&highlight=visit+routers+…
Once I followed those steps the problem was solved. What a relief! I
look forward to using the blogging bundle now!
Thanks again for all your help.
Tony
On Jan 18, 2008, at 3:51 AM, Tony Pelaez wrote:
> 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
>
I've got a Ruby script here, and I'd like its output to act like RubyMate's
output - it should appear progressively as I call "puts" or "p" or whatever.
In fact, I'd like the output to piggyback on whatever RubyMate is doing.
But the script is not being run under RubyMate because it's part of a small
bundle I've written myself and the place we're starting is a .txt file
anyway (in other words, I've written a bundle that processes .txt files
using a Ruby script).
I'm betting there is some easy way to tell the bundle command that calls
this Ruby script to output like RubyMate. What would that be? 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>
Still fighting on trying to get this to work. New problem now that I have
got all the bundles installed and now X11 and CarbonEL is the error message
in the subject
When I create a plot the quartz window opens but freezes with the spinning
beachball.
Hopefully someone can help me again.
Thanks,
Graham
Assigning Textmate as the external editor, it works
as expected for several projects. Double-clicking
on a file name within Xcode will open it in Textmate.
Then all of a sudden, files clicked in the Xcode
project menu no longer open --- instead
Xcode will pop up an error message saying
it cannot find the files and the "perhaps it has been
moved" thing.
If I then disable Textmate as the external editor,
everything will work fine again.
This does not happen if I assign BBE instead
of Textmate.
Perhaps I've missed something.
What am I doing wrong here?
-Shin
Hi there.
I'm twiddling here around with a RE problem and was wondering if you
could help me.
So here is the case. I want do do some tricky Syntax highlight matching,
and wanted to have the visual sidebar with the line numbers.
So in order to test this, I do inside TM Document window this:
(^[^\n]*\n)
This seems to work fine, and will select every single line in document
window.
But is I test the Javascript, which is:
linenum: {
exp: /(^[^\n]*\n)/,
replacement: "<span class=\"$0\"> 1</span>$1\n"
},
It doesn't do the replacement. So I also added a line-break in the
replacement-string, after the capture register, as you can see above,
but no honey.
As you can see, I want to replace every single in the document, with the
span instance above plus the Capture Register( Just like the Ruby code
does in TM Bundle ), which is the whole line, whether it is empty or not.
Any Ideas ?
regards, marios
thank you roger. you're a superstar. I knew it was something simple but was damned if I could figure it out. the language was on "DIFF" instead of "html"
many thanks
L-J
>What
language
is
showing
in
the
popup
at
the
bottom
of
the
document?
>Are
you
getting
proper
formatting
other
than
color?
>Roger,
--
Roger
Roelofs
roger.roelofs(a)gmail.com
____________________________________________________________
L-J Lacey
subtle as a fish
developing websites today for tomorrow
http://www.subtleasafish.com/
----- Original Message ----
From: "textmate-request(a)lists.macromates.com" <textmate-request(a)lists.macromates.com>
To: textmate(a)lists.macromates.com
Sent: Thursday, 21 February, 2008 11:00:05 PM
Subject: textmate Digest, Vol 41, Issue 23
Send
textmate
mailing
list
submissions
to
textmate(a)lists.macromates.com
To
subscribe
or
unsubscribe
via
the
World
Wide
Web,
visit
http://lists.macromates.com/mailman/listinfo/textmate
or,
via
email,
send
a
message
with
subject
or
body
'help'
to
textmate-request(a)lists.macromates.com
You
can
reach
the
person
managing
the
list
at
textmate-owner(a)lists.macromates.com
When
replying,
please
edit
your
Subject
line
so
it
is
more
specific
than
"Re:
Contents
of
textmate
digest..."
Today's
Topics:
1.
Re:
colours
in
textmate
have
disappeared
(L-J
Lacey)
2.
Re:
Re:
colours
in
textmate
have
disappeared
(Roger
Roelofs)
3.
TM
doesn't
have
trouble
with
RE,
but
I
have.
(marios)
4.
New
Rbundle
and
absolute
beginner
questions
on
how
it
works
(Graham
Smith)
5.
Re:
TM
doesn't
have
trouble
with
RE,
but
I
have.
(Daniel
Stockman)
6.
Re:
Working
with
pdfsync
in
latex
(Christian)
7.
Re:
TM
doesn't
have
trouble
with
RE,
but
I
have.
(marios)
8.
Re:
New
Rbundle
and
absolute
beginner
questions
on
how
it
works
(Paul
McCann)
9.
Re:
Octave/Matlab
bundle
(Thomas
Kjosmoen)
10.
Re:
TM
doesn't
have
trouble
with
RE,
but
I
have.
(Sven
Axelsson)
11.
Re:
New
Rbundle
and
absolute
beginner
questions
on
how
it
works
(Graham
Smith)
-----Inline Message Follows-----
Hi
Cristi.
I
did
as
advised
but
nothing
has
changed.
any
other
ideas?
thanks
______________________________________________________________________________________________________________
>first
thing
you
should
do
is
to
delete
plist
file
from
file:///Users/cristi/Library/Preferences/com.macromates.textmate.plist
>>On
Feb
20,
2008
4:03
AM,
L-J
Lacey
<larmyia(a)yahoo.com>
wrote:
Hi!
I
have
searched
everywhere
I
can
to
find
the
solution
to
this,
so
excuse
me
if
it's
available
somewhere...I
can't
find
it!
What
I
think
happened
is
that
my
daughter
accidentally
pressed
"something"
and
suddenly
textmate
isn't
displaying
any
colours
when
I'm
coding.
I've
been
to
the
preference
panel,
and
tried
changing
the
theme.
downloaded
new
themes.
nothing
works.
I
can
get
the
colour
of
the
background
to
change,
but
none
of
the
text
will.
It's
doing
my
head
in
and
I'd
really
appreciate
it
if
anyone
knows
of
a
solution.
thanks
L-J
__________________________________________________________
Sent
from
Yahoo!
Mail
-
a
smarter
inbox
http://uk.mail.yahoo.com
-----Inline Message Follows-----
L-J,
On
Feb
20,
2008,
at
7:31
AM,
L-J
Lacey
wrote:
>
---
8<
---
>
What
I
think
happened
is
that
my
daughter
accidentally
pressed
>
"something"
and
suddenly
textmate
isn't
displaying
any
colours
when
>
I'm
>
coding.
I've
been
to
the
preference
panel,
and
tried
changing
the
>
theme.
downloaded
new
themes.
nothing
works.
I
can
get
the
colour
of
>
the
background
to
change,
but
none
of
the
text
will.
It's
doing
my
>
head
in
and
I'd
really
appreciate
it
if
anyone
knows
of
a
solution.
What
language
is
showing
in
the
popup
at
the
bottom
of
the
document?
Are
you
getting
proper
formatting
other
than
color?
Roger,
--
Roger
Roelofs
roger.roelofs(a)gmail.com
-----Inline Message Follows-----
Hi
there.
I'm
twiddling
here
around
with
a
RE
problem
and
was
wondering
if
you
could
help
me.
So
here
is
the
case.
I
want
do
do
some
tricky
Syntax
highlight
matching,
and
wanted
to
have
the
visual
sidebar
with
the
line
numbers.
So
in
order
to
test
this,
I
do
inside
TM
Document
window
this:
(^[^\n]*\n)
This
seems
to
work
fine,
and
will
select
every
single
line
in
document
window.
But
is
I
test
the
Javascript,
which
is:
linenum:
{
exp:
/(^[^\n]*\n)/,
replacement:
"<span
class=\"$0\">
1</span>$1\n"
},
It
doesn't
do
the
replacement.
So
I
also
added
a
line-break
in
the
replacement-string,
after
the
capture
register,
as
you
can
see
above,
but
no
honey.
As
you
can
see,
I
want
to
replace
every
single
in
the
document,
with
the
span
instance
above
plus
the
Capture
Register(
Just
like
the
Ruby
code
does
in
TM
Bundle
),
which
is
the
whole
line,
whether
it
is
empty
or
not.
Any
Ideas
?
regards,
marios
-----Inline Message Follows-----
-
Create
HTML
From
Document
/
Selection
with
Line
Numbers
(TextMate)
-
Add
Line
Numbers
to
Document
/
Selection
(Text)
-
Option
+
Command
+
L
will
show
the
line
numbers
in
the
gutter...
You
"want
to
replace
every
single"...
what?
"in
the
document".
And
I'm
really
perplexed
by
the
reference
to
testing
"the
JavaScript",
which
AFAIK
isn't
what
bundles
are
written/tested/interpreted
in.
I
think
more
clarification
is
required
so
we
can
understand
what
exactly
you
want
to
do.
~
Daniel
-----Inline Message Follows-----
Am
19.02.2008
um
23:12
schrieb
Paul
McCann:
>
That
should
be
enough
to
give
you
forward
and
backward
synching:
>
shift-command-click
for
pdf=>code,
and
control-option-command-o
for
>
code
=>
pdf.
>
>
Cheers,
>
Paul
Thanks
Paul
for
the
clarification.
Now
it
works
fine
and
I
am
to
pace
around...
Christian
-----Inline Message Follows-----
-
Create
HTML
From
Document
/
Selection
with
Line
Numbers
(TextMate)
>
-
Add
Line
Numbers
to
Document
/
Selection
(Text)
>
-
Option
+
Command
+
L
will
show
the
line
numbers
in
the
gutter...
>
>
You
"want
to
replace
every
single"...
what?
"in
the
document".
And
I'm
>
really
perplexed
by
the
reference
to
testing
"the
JavaScript",
which
>
AFAIK
isn't
what
bundles
are
written/tested/interpreted
in.
>
>
I
think
more
clarification
is
required
so
we
can
understand
what
exactly
>
you
want
to
do.
>
>
~
Daniel
>
Sorry
for
the
confusion.
Ok,
so
how
do
we
express
ourselves
better?
Lemmy
try
once
more.
The
question,
that
I
am
asking,
is
related
to
Regular
Expressions
and
Javascript.
(
So
this
is
not
a
Support
request
at
all
)
I
am
working
on
a
Plugin
for
Textpattern,
which
will
use
a
mootools
class,
to
append
the
corresponding
DOM
nodes
with
the
classed
span
tags.
This
will
all
happen
after
the
code
that
is
to
be
displayed
syntax
highlighted
is
already
encoded
to
entities.
That
works
all
so
far.
Now
in
order
to
get
the
same
effect
as
we
do
have
with
the
Make
HTML
document
from
source
with
Line
numbers
(Which
is
located
in
the
TextMate
Bundle
and
uses
Ruby
for
that),
yes
the
one
that
makes
the
span
tags
for
the
line
numbers,I
am
trying
to
figure
out,
why
the
same
Regular
expression,
that
I
mentioned
in
my
previous
post,
would
not
work,
when
used
as
above.
(
I
even
checked
the
Syntax
with
Flanagan's
Book,
also
tried
global
matching
but
no
luck
)
So
this
is
the
task:
Match
every
beginning
of
a
line,
including
the
first
line
of
the
document,
and
put
that
in
Capture
register
one,
then
match
every
line
until
the
end
of
the
Line,
end
put
that
in
Capture
Register
2,
then
replace
every
instance,
with
some
extra
Markup
(The
spantags
here
)
plus
Capture
Register
2.
This
works
from
within
TextMate,
but
not
in
Javascript.
I
hope,
this
explains
better
what
I
meant.
regards,
marios
-----Inline Message Follows-----
I would now expect to type "test" in Textmate, hit command R again and get something like:
> test
[1] 3 4 6 7 8 9 10
This should now work as you expect. It's a really nice environment!
Good luck,
Paul
-----Inline Message Follows-----
{
name
=
'comment.line.number-sign.shell';
>
match
=
'(?<!\$)(#)(?!\{).*$\n?';
>
captures
=
{
1
=
{
name
=
>
'punctuation.definition.comment.matlab';
};
};
>
},
>
>
Might
Matlab's
bundle
be
patched
to
include
this,
or
should
an
>
independent
bundle
be
introduced
for
Octave?
>
>
Ben
>
>
>
______________________________________________________________________
>
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
>
>
Hi
Ben,
Trying
again,
since
Mailman
bounced
my
message.
I'm
working
on
a
Matlab
bundle,
and
stumbled
upon
your
message
here.
Well,
I
just
added
Octave
support,
so
I'd
appreciate
if
you'd
check
it
out
and
give
me
some
feedback.
When
the
bundle
is
good
enough
I'll
submit
it
to
Allan.
You
can
find
it
here:
https://projects.ux.uis.no/projects/show/textmate
Hope
it's
useful.
--Thomas
--
View
this
message
in
context:
http://www.nabble.com/Octave-Matlab-bundle-tp15537210p15603337.html
Sent
from
the
textmate
users
mailing
list
archive
at
Nabble.com.
-----Inline Message Follows-----
On
20/02/2008,
marios
<tmtxpstuff(a)consking.com>
wrote:
>
So
this
is
the
task:
>
>
Match
every
beginning
of
a
line,
including
the
first
line
of
the
>
document,
and
put
that
in
Capture
register
one,
then
match
every
line
>
until
the
end
of
the
Line,
end
put
that
in
Capture
Register
2,
then
>
replace
every
instance,
with
some
extra
Markup
(The
spantags
here
)
plus
>
Capture
Register
2.
>
>
This
works
from
within
TextMate,
but
not
in
Javascript.
OK,
so
this
really
hasn't
anything
to
do
with
TextMate.
Perhaps
Javascript
won't
let
you
match
newline
characters?
Try
this
regular
expression
instead,
it
may
work
better:
^(.*)$
--
Sven
Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
-----Inline Message Follows-----
Fair enough! Looks like those other files *are* zip files but lacked the extension. To get the Rdaemon version running rename "R" to "R.zip" and then double click it. You should see
R Console (Rdaemon).tmbundle
which can then be double clicked to add it to TextMate.
Now open a new file, change the language to "R Console (Rdaemon)" from the selector at the bottom of the window. Type
start[tab]
and the daemon should start. There might be a small bug here in that you'll see two ">" signs. Just delete one of them and begin to enter R commands as you would in the console.
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R runtime opens and the command is executed and this line appears in the runtime.
I would now expect to type "test" in Textmate, hit command R again and get something like:
> test
[1] 3 4 6 7 8 9 10
This should now work as you expect. It's a really nice environment!
Good luck,
Paul
______________________________________________________________________
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
_______________________________________________
textmate
mailing
list
textmate(a)lists.macromates.com
http://lists.macromates.com/mailman/listinfo/textmateHi
Cristi.
I
did
as
advised
but
nothing
has
changed.
any
other
ideas?
thanks
______________________________________________________________________________________________________________
>first
thing
you
should
do
is
to
delete
plist
file
from
file:///Users/cristi/Library/Preferences/com.macromates.textmate.plist
>>On
Feb
20,
2008
4:03
AM,
L-J
Lacey
<larmyia(a)yahoo.com>
wrote:
Hi!
I
have
searched
everywhere
I
can
to
find
the
solution
to
this,
so
excuse
me
if
it's
available
somewhere...I
can't
find
it!
What
I
think
happened
is
that
my
daughter
accidentally
pressed
"something"
and
suddenly
textmate
isn't
displaying
any
colours
when
I'm
coding.
I've
been
to
the
preference
panel,
and
tried
changing
the
theme.
downloaded
new
themes.
nothing
works.
I
can
get
the
colour
of
the
background
to
change,
but
none
of
the
text
will.
It's
doing
my
head
in
and
I'd
really
appreciate
it
if
anyone
knows
of
a
solution.
thanks
L-J
__________________________________________________________
Sent
from
Yahoo!
Mail
-
a
smarter
inbox
http://uk.mail.yahoo.com
L-J,
On
Feb
20,
2008,
at
7:31
AM,
L-J
Lacey
wrote:
>
---
8<
---
>
What
I
think
happened
is
that
my
daughter
accidentally
pressed
>
"something"
and
suddenly
textmate
isn't
displaying
any
colours
when
>
I'm
>
coding.
I've
been
to
the
preference
panel,
and
tried
changing
the
>
theme.
downloaded
new
themes.
nothing
works.
I
can
get
the
colour
of
>
the
background
to
change,
but
none
of
the
text
will.
It's
doing
my
>
head
in
and
I'd
really
appreciate
it
if
anyone
knows
of
a
solution.
What
language
is
showing
in
the
popup
at
the
bottom
of
the
document?
Are
you
getting
proper
formatting
other
than
color?
Roger,
--
Roger
Roelofs
roger.roelofs(a)gmail.com
Hi
there.
I'm
twiddling
here
around
with
a
RE
problem
and
was
wondering
if
you
could
help
me.
So
here
is
the
case.
I
want
do
do
some
tricky
Syntax
highlight
matching,
and
wanted
to
have
the
visual
sidebar
with
the
line
numbers.
So
in
order
to
test
this,
I
do
inside
TM
Document
window
this:
(^[^\n]*\n)
This
seems
to
work
fine,
and
will
select
every
single
line
in
document
window.
But
is
I
test
the
Javascript,
which
is:
linenum:
{
exp:
/(^[^\n]*\n)/,
replacement:
"<span
class=\"$0\">
1</span>$1\n"
},
It
doesn't
do
the
replacement.
So
I
also
added
a
line-break
in
the
replacement-string,
after
the
capture
register,
as
you
can
see
above,
but
no
honey.
As
you
can
see,
I
want
to
replace
every
single
in
the
document,
with
the
span
instance
above
plus
the
Capture
Register(
Just
like
the
Ruby
code
does
in
TM
Bundle
),
which
is
the
whole
line,
whether
it
is
empty
or
not.
Any
Ideas
?
regards,
marios
-----Inline Attachment Follows-----
I wonder if someone with a lot of patience can help me with getting the basics of this working. I have downloaded the the three files that Hans-Jorg uploade to this forum, as they don't appear to be in the repository yet.
Of the three files only one looked like the other bundle files and I copied it into the same directory where the old RBundle was located. I now have a new set of commands and updated the help index.
However, I am not at all sure what to do with the other two files (Rdaemon and R,app) as these don't unzip to bundle files.
I am also being extremely dim in getting things to work.
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R runtime opens and the command is executed and this line appears in the runtime.
I would now expect to type "test" in Textmate, hit command R again and get something like:
> test
[1] 3 4 6 7 8 9 10
in the runtime window. However, what I get is
> test
Error: object "test" not found
Execution halted
If I open R and have the RConsole open, then "send selection to r.app" works as expected, but as that has a rather clumsy shortcut key, I assume the shorter command R option is the "normal"way of working
I accept my unfamiliarity with TextMate is probably the problem, but I would appreciate someone pointing out the obvious to me.
Many thanks,
Graham
>
So
here
is
the
case.
I
want
do
do
some
tricky
Syntax
highlight
>
matching,
>
and
wanted
to
have
the
visual
sidebar
with
the
line
numbers.
>
[...]
>
As
you
can
see,
I
want
to
replace
every
single
in
the
document,
with
>
the
>
span
instance
above
plus
the
Capture
Register(
Just
like
the
Ruby
code
>
does
in
TM
Bundle
),
which
is
the
whole
line,
whether
it
is
empty
or
>
not.
Actually,
it's
really
hard
to
understand
what
you're
aiming
at,
here.
"Just
like
the
Ruby
code
does
in
TM
Bundle"...
uh,
which
one?
What
command/snippet
are
you
referring
to?
I
see
several
ways
of
adding
line
numbers
to
a
document
(bundle
name):
-
Create
HTML
From
Document
/
Selection
with
Line
Numbers
(TextMate)
-
Add
Line
Numbers
to
Document
/
Selection
(Text)
-
Option
+
Command
+
L
will
show
the
line
numbers
in
the
gutter...
You
"want
to
replace
every
single"...
what?
"in
the
document".
And
I'm
really
perplexed
by
the
reference
to
testing
"the
JavaScript",
which
AFAIK
isn't
what
bundles
are
written/tested/interpreted
in.
I
think
more
clarification
is
required
so
we
can
understand
what
exactly
you
want
to
do.
~
Daniel
Am
19.02.2008
um
23:12
schrieb
Paul
McCann:
>
That
should
be
enough
to
give
you
forward
and
backward
synching:
>
shift-command-click
for
pdf=>code,
and
control-option-command-o
for
>
code
=>
pdf.
>
>
Cheers,
>
Paul
Thanks
Paul
for
the
clarification.
Now
it
works
fine
and
I
am
to
pace
around...
Christian
Daniel
Stockman
wrote:
>>
So
here
is
the
case.
I
want
do
do
some
tricky
Syntax
highlight
matching,
>>
and
wanted
to
have
the
visual
sidebar
with
the
line
numbers.
>>
[...]
>>
As
you
can
see,
I
want
to
replace
every
single
in
the
document,
with
the
>>
span
instance
above
plus
the
Capture
Register(
Just
like
the
Ruby
code
>>
does
in
TM
Bundle
),
which
is
the
whole
line,
whether
it
is
empty
or
not.
>
>
Actually,
it's
really
hard
to
understand
what
you're
aiming
at,
here.
>
"Just
like
the
Ruby
code
does
in
TM
Bundle"...
uh,
which
one?
What
>
command/snippet
are
you
referring
to?
>
>
I
see
several
ways
of
adding
line
numbers
to
a
document
(bundle
name):
>
-
Create
HTML
From
Document
/
Selection
with
Line
Numbers
(TextMate)
>
-
Add
Line
Numbers
to
Document
/
Selection
(Text)
>
-
Option
+
Command
+
L
will
show
the
line
numbers
in
the
gutter...
>
>
You
"want
to
replace
every
single"...
what?
"in
the
document".
And
I'm
>
really
perplexed
by
the
reference
to
testing
"the
JavaScript",
which
>
AFAIK
isn't
what
bundles
are
written/tested/interpreted
in.
>
>
I
think
more
clarification
is
required
so
we
can
understand
what
exactly
>
you
want
to
do.
>
>
~
Daniel
>
Sorry
for
the
confusion.
Ok,
so
how
do
we
express
ourselves
better?
Lemmy
try
once
more.
The
question,
that
I
am
asking,
is
related
to
Regular
Expressions
and
Javascript.
(
So
this
is
not
a
Support
request
at
all
)
I
am
working
on
a
Plugin
for
Textpattern,
which
will
use
a
mootools
class,
to
append
the
corresponding
DOM
nodes
with
the
classed
span
tags.
This
will
all
happen
after
the
code
that
is
to
be
displayed
syntax
highlighted
is
already
encoded
to
entities.
That
works
all
so
far.
Now
in
order
to
get
the
same
effect
as
we
do
have
with
the
Make
HTML
document
from
source
with
Line
numbers
(Which
is
located
in
the
TextMate
Bundle
and
uses
Ruby
for
that),
yes
the
one
that
makes
the
span
tags
for
the
line
numbers,I
am
trying
to
figure
out,
why
the
same
Regular
expression,
that
I
mentioned
in
my
previous
post,
would
not
work,
when
used
as
above.
(
I
even
checked
the
Syntax
with
Flanagan's
Book,
also
tried
global
matching
but
no
luck
)
So
this
is
the
task:
Match
every
beginning
of
a
line,
including
the
first
line
of
the
document,
and
put
that
in
Capture
register
one,
then
match
every
line
until
the
end
of
the
Line,
end
put
that
in
Capture
Register
2,
then
replace
every
instance,
with
some
extra
Markup
(The
spantags
here
)
plus
Capture
Register
2.
This
works
from
within
TextMate,
but
not
in
Javascript.
I
hope,
this
explains
better
what
I
meant.
regards,
marios
However, I am not at all sure what to do with the other two files (Rdaemon and R,app) as these don't unzip to bundle files.
Fair enough! Looks like those other files *are* zip files but lacked the extension. To get the Rdaemon version running rename "R" to "R.zip" and then double click it. You should see
R Console (Rdaemon).tmbundle
which can then be double clicked to add it to TextMate.
Now open a new file, change the language to "R Console (Rdaemon)" from the selector at the bottom of the window. Type
start[tab]
and the daemon should start. There might be a small bug here in that you'll see two ">" signs. Just delete one of them and begin to enter R commands as you would in the console.
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R runtime opens and the command is executed and this line appears in the runtime.
I would now expect to type "test" in Textmate, hit command R again and get something like:
> test
[1] 3 4 6 7 8 9 10
This should now work as you expect. It's a really nice environment!
Good luck,
Paul
Ben
Abbott
wrote:
>
>
I'm
interested
a
bundle
that
supports
Octave's
syntax
which
is
nearly
>
same
as
Matlab's
...
plus
a
bit
more.
>
>
Additional
Octave
"features"
are
listed
at
the
link
below
>
>
http://www.gnu.org/software/octave/FAQ.html#Octave-Features
>
>
The
additional
syntax
includes
>
*
Comments
with
the
number-sign,
"#"
>
*
Strings
delimitted
by
double
quotes,
ex:
"string"
>
*
Line
continuation
by
backslash.
>
>
The
Matlab
bundle
apparently
respects
single
and
double
quotes,
but
is
>
agnostic
to
line
continuation.
Thus,
the
only
additional
thing
needed
for
>
Octave
is
support
of
the
number-sign
for
comments.
>
>
I
cut
the
text
below
from
the
shell
script
bundle
and
pasted
it
into
the
>
Matlab
bundle,
and
it
appears
to
work
properly!
>
>
{
name
=
'comment.line.number-sign.shell';
>
match
=
'(?<!\$)(#)(?!\{).*$\n?';
>
captures
=
{
1
=
{
name
=
>
'punctuation.definition.comment.matlab';
};
};
>
},
>
>
Might
Matlab's
bundle
be
patched
to
include
this,
or
should
an
>
independent
bundle
be
introduced
for
Octave?
>
>
Ben
>
>
>
______________________________________________________________________
>
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
>
>
Hi
Ben,
Trying
again,
since
Mailman
bounced
my
message.
I'm
working
on
a
Matlab
bundle,
and
stumbled
upon
your
message
here.
Well,
I
just
added
Octave
support,
so
I'd
appreciate
if
you'd
check
it
out
and
give
me
some
feedback.
When
the
bundle
is
good
enough
I'll
submit
it
to
Allan.
You
can
find
it
here:
https://projects.ux.uis.no/projects/show/textmate
Hope
it's
useful.
--Thomas
--
View
this
message
in
context:
http://www.nabble.com/Octave-Matlab-bundle-tp15537210p15603337.html
Sent
from
the
textmate
users
mailing
list
archive
at
Nabble.com.
On
20/02/2008,
marios
<tmtxpstuff(a)consking.com>
wrote:
>
So
this
is
the
task:
>
>
Match
every
beginning
of
a
line,
including
the
first
line
of
the
>
document,
and
put
that
in
Capture
register
one,
then
match
every
line
>
until
the
end
of
the
Line,
end
put
that
in
Capture
Register
2,
then
>
replace
every
instance,
with
some
extra
Markup
(The
spantags
here
)
plus
>
Capture
Register
2.
>
>
This
works
from
within
TextMate,
but
not
in
Javascript.
OK,
so
this
really
hasn't
anything
to
do
with
TextMate.
Perhaps
Javascript
won't
let
you
match
newline
characters?
Try
this
regular
expression
instead,
it
may
work
better:
^(.*)$
--
Sven
Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
-----Inline Attachment Follows-----
Paul,
Thanks, that would all seems to make sense. And yes it does seem a nice environment, which played a small part in my decision to buy a Mac.
Graham
On 20/02/2008, Paul McCann <paul.mccann(a)adelaide.edu.au> wrote:
Hi Graham,
However, I am not at all sure what to do with the other two files (Rdaemon and R,app) as these don't unzip to bundle files.
Fair enough! Looks like those other files *are* zip files but lacked the extension. To get the Rdaemon version running rename "R" to "R.zip" and then double click it. You should see
R Console (Rdaemon).tmbundle
which can then be double clicked to add it to TextMate.
Now open a new file, change the language to "R Console (Rdaemon)" from the selector at the bottom of the window. Type
start[tab]
and the daemon should start. There might be a small bug here in that you'll see two ">" signs. Just delete one of them and begin to enter R commands as you would in the console.
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R runtime opens and the command is executed and this line appears in the runtime.
I would now expect to type "test" in Textmate, hit command R again and get something like:
> test
[1] 3 4 6 7 8 9 10
This should now work as you expect. It's a really nice environment!
Good luck,
Paul
______________________________________________________________________
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
___________________________________________________________
Rise to the challenge for Sport Relief with Yahoo! For Good
http://uk.promotions.yahoo.com/forgood/
I wonder if someone with a lot of patience can help me with getting the
basics of this working. I have downloaded the the three files that Hans-Jorg
uploade to this forum, as they don't appear to be in the repository yet.
Of the three files only one looked like the other bundle files and I copied
it into the same directory where the old RBundle was located. I now have a
new set of commands and updated the help index.
However, I am not at all sure what to do with the other two files (Rdaemon
and R,app) as these don't unzip to bundle files.
I am also being extremely dim in getting things to work.
If I type "test<-c(3,4, 6, 7, 8, 9, 10)" in TextMate and hit command R, An R
runtime opens and the command is executed and this line appears in the
runtime.
I would now expect to type "test" in Textmate, hit command R again and get
something like:
> test
[1] 3 4 6 7 8 9 10
in the runtime window. However, what I get is
> test
Error: object "test" not found
Execution halted
If I open R and have the RConsole open, then "send selection to r.app" works
as expected, but as that has a rather clumsy shortcut key, I assume the
shorter command R option is the "normal"way of working
I accept my unfamiliarity with TextMate is probably the problem, but I would
appreciate someone pointing out the obvious to me.
Many thanks,
Graham
I'm interested a bundle that supports Octave's syntax which is nearly
same as Matlab's ... plus a bit more.
Additional Octave "features" are listed at the link below
http://www.gnu.org/software/octave/FAQ.html#Octave-Features
The additional syntax includes
* Comments with the number-sign, "#"
* Strings delimitted by double quotes, ex: "string"
* Line continuation by backslash.
The Matlab bundle apparently respects single and double quotes, but is
agnostic to line continuation. Thus, the only additional thing needed for
Octave is support of the number-sign for comments.
I cut the text below from the shell script bundle and pasted it into the
Matlab bundle, and it appears to work properly!
{ name = 'comment.line.number-sign.shell';
match = '(?<!\$)(#)(?!\{).*$\n?';
captures = { 1 = { name = 'punctuation.definition.comment.matlab'; }; };
},
Might Matlab's bundle be patched to include this, or should an
independent bundle be introduced for Octave?
Ben
Hi Folks,
I am pretty new to textmate and I already love the way how to typeset
only with textmate and to preview the PDF.
I now tried pdfsync and can't get it to work.
I have my preambel and include all my chapters with input. After
typesetting, I highlighted a word with an included file and used "Show
in PDF-Viewer (pdfsync)", but nothing happens. How ould I get this to
work, so that I can jump from the code to the pdf and vice versa?
Thanks in advance
Christian
Hi Cristi. I did as advised but nothing has changed. any other ideas?
thanks
______________________________________________________________________________________________________________
>first thing you should do is to delete plist file from file:///Users/cristi/Library/Preferences/com.macromates.textmate.plist
>>On Feb 20, 2008 4:03 AM, L-J Lacey <larmyia(a)yahoo.com> wrote:
Hi!
I have searched everywhere I can to find the solution to this, so excuse me if it's available somewhere...I can't find it!
What I think happened is that my daughter accidentally pressed
"something" and suddenly textmate isn't displaying any colours when I'm
coding. I've been to the preference panel, and tried changing the
theme. downloaded new themes. nothing works. I can get the colour of
the background to change, but none of the text will. It's doing my
head in and I'd really appreciate it if anyone knows of a solution.
thanks
L-J
__________________________________________________________
Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com
Hi,
I've just started using Textmate for LaTeX work now that I have
managed to get it working nicely with skim (thanks all for the recent
thread!). One thing I am confused by (and I couldn't see anything in
the archive that mentioned this) is the function of the "trash aux
files" command.
I've used a similar thing in emacs before to clean up after compiling
a PDF from a tex file, but Textmate's version seems to be a bit over-
keen and it deletes the compiled PDF file too. Is this correct, or do
I need to alter a setting somewhere? I've had a look in the
preferences file and options window but I can't see there is a switch
in either of those so I presume this is being taken care of by a
support script?
Any help would be appreciated.
Many thanks,
Nigel
Hi!
I have searched everywhere I can to find the solution to this, so excuse me if it's available somewhere...I can't find it!
What I think happened is that my daughter accidentally pressed "something" and suddenly textmate isn't displaying any colours when I'm coding. I've been to the preference panel, and tried changing the theme. downloaded new themes. nothing works. I can get the colour of the background to change, but none of the text will. It's doing my head in and I'd really appreciate it if anyone knows of a solution.
thanks
L-J
____________________________________________________________
L-J Lacey
subtle as a fish
developing websites today for tomorrow
http://www.subtleasafish.com/
___________________________________________________________
Support the World Aids Awareness campaign this month with Yahoo! For Good http://uk.promotions.yahoo.com/forgood/
Hi,
I've developed a Bundle for the Maude system[1], a "high-performance
reflective language and system supporting both equational and
rewriting logic specification and programming for a wide range of
applications", and I'd appreciate any feedback on it (the bundle, not
Maude).
To evaluate code (the first seven commands in the gear menu do that),
the bundle assumes you have `maude' installed somewhere in your PATH,
or set TM_MAUDE to the path of the executable. The coding aids make no
such assumption.
Included in the bundle is a MaudeMate "script" runner that parses
Maude's output and error messages and emits fancy HTML. Unfortunately,
TM's ScriptMate makes a few assumptions Maude doesn't fulfill, so it's
based on a hacked rip-off of that module.
The bundle is available via SVN[2]; you'll probably also need to
download Maude[3] and a few code examples[4].
Again, I'd appreciate any feedback on what I've strung together.
Thanks,
Martin
[1] http://maude.cs.uiuc.edu/
[2] http://mkhl.googlecode.com/svn/trunk/TextMate%20Bundles/Maude.tmbundle/
[3] http://maude.cs.uiuc.edu/download/
[4] http://maude.cs.uiuc.edu/maude2-manual/
I just converted from TeXShop to Textmate for my LaTeX editing needs
and find
myself missing one of TeXShop's features:
After typesetting a document, TeXShop remembers which page of the PDF
document you were last looking at and after typesetting again
automatically
jumps to that page.
Textmate's Typeset & View, in contrast, always takes me to the first
page of
the document no matter what I was looking at before which is an enormous
pain when I'm tweaking page 38...
Is there any way I can get this functionality in Textmate?
Cheers,
Tobias
Dear Chris,
You're not alone, and I enjoyed reading your note and Haris' reply. I
seem to be in a similar situation to you. I too am an academic, though
I am in the humanities. I occasionally think about just going "all
LaTeX" but I am held in check by the fact that I would be the only
using it in my field, in my department, in my building. I too have
settled on a workflow built around MultiMarkdown because of its
readability, its text file nature, and because it outputs such
beautiful looking documents when you pass it through a CSS of your
choosing.
I currently rely on other apps for my backup, but I have really longed
for a svn set up, because I really would like the finer-grained
control. With the switch to Leopard, I'm thinking of trying to make
the push sometime soon, so please keep at least me posted on what you
learn and how to do these things. (Jacob is laughing somewhere that I
still haven't done this -- I tried this past summer to get an svn up
and running, but I just didn't have the time to dedicate to what was a
project in and of itself.)
john
--
John Laudun
Department of English
University of Louisiana – Lafayette
Lafayette, LA 70504-4691
337-482-5493
laudun(a)louisiana.edu
This is the first time I've ever experienced this problem. I was typing
along in TextMate and suddenly it started to get really sluggish, so I
pulled up activity monitor and whenever I edit text in TextMate, it shoots
up to 50 or 60% CPU usage. I have an Intel Core 2 Duo MBP running OSX
10.5.2 and TextMate Version 1.5.7 (1455). I usually leave TextMate open for
days at a time and I've never had this problem before. I tried closing
TextMate and reopening and that didn't do anything. Any ideas what might
be causing that?
--
View this message in context: http://www.nabble.com/Typing-eats-up-system-resources-tp15546901p15546901.h…
Sent from the textmate users mailing list archive at Nabble.com.
Hi again,
>I don't know a way to solve your problem, but one trick that'll make
> >your current behavior a little nicer is Control + Option + W, which
> >closes all open tabs, rather than jamming on Command + W.
>
> That would be a help, but it's not working for me. Can you tell me where
> it is in the menus (I can't find it), so I can adjust it with Menu Master?
> Or if it's not in the menus, how do I get access to it?
There's a slip in the first-quoted message: it's control-COMMAND-w to close
all tabs, and the menu it sits in is "File".
Cheers,
Paul
Hi,
I am new to wonderful textmate and facing a problem. I am not sure
where I am going wrong.
When I try to "undo" using keyboard shortcut (command + z) I get
something like this on screen.
----------------------------------------------------------------------------------------------------------------
File: /Users/venkatesh/Documents/test.php
Word: </title
Selection:
------------------------------------------------------------------------------------------------------------------
Any suggestions?
Thanks,
--
Venkatesh. K
I don't know a way to solve your problem, but one trick that'll make
your current behavior a little nicer is Control + Option + W, which
closes all open tabs, rather than jamming on Command + W.
On Thu, Feb 14, 2008 at 1:13 PM, Steven Rowat <Steven_Rowat(a)sunshine.net> wrote:
> Hi,
>
>
> Daniel wrote:
>
> >Unless I'm living in a parallel dimension, the name of the currently viewed file is always at the very top of the window, next to the file icon above the tab bar. Is this not the case?
> >
> >Command + T (Go To File) is also your friend, as is Command + Option + (L/R) Arrow (Go to Previous/Next Tab, respectively).
>
>
> Thank you; the Command+T I knew, the second I didn't.
>
> They will be useful, but don't solve the issue I tried to describe.
>
> Again: what I want is to be able to make a file display in the tabs at the top, when the tab list is already full, and the file is further down in the drop-down list.
>
> The only way I can do this at present, that I know of, is to hit Command-W twenty or more times and unload everything so I have a blank project, and then reload the files I want to have as tabs at the top.
>
> I find working with visible tabs, when I'm passing data between four or five files repeatedly (ie., several includes and a main php file) to be much faster and easier than finding them in the drop-down list over and over as I switch back and forth between them. So I'd like to put them at the top each time, before I begin editing them. I'm currently working with hundreds of files that often have only a single digit or number different, and it's very easy to get them confused unless all my ducks are in a row (in this case, literally, a row across the top).
>
> And sometimes there's only *one* that I'm missing from the top - but still, if it's way down the list, then there's no way to get it up there without unloading everything else before it (if I'm right about this).
>
> It's not a big deal; I can just unload and reload and it's quick. But still I think it would be cleaner if the file listing gave this option - to have a file tab become visible when this is preferred, so that the chosen file would change its position in the file listing and become the final visible tab.
>
> steven rowat
>
>
>
> ______________________________________________________________________
> 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
>
Hi Steven,
it's much easier than that for Bundle items! Just open the bundle editor
(control-option-command-b) and then find the item whose shortcut you wish to
change. In this case just look in the HTML bundle (filter on "Command" using
the pull down at the top left if you like) and it's there. There's a field
at the bottom right for setting the key equivalent.
Cheers,
Paul
Hi there,
This may be a bit of a newbish question, but hopefully someone can answer it
for me.
I have quite a few JSP files, but a couple of them contain almost solely CSS
information (with some serverside info sprinkled in).
So, of course, I'd like those couple of files to be highlighted as CSS
files, with the CSS bundle to be active for those files.
However, the issue I am running into is that whenever I select the language
for that file, it sticks for all JSPs.
So what would be the best way to get those few files to be read as CSS, but
keeping their same file names, etc?
Thanks in advance for all of your help,
--
View this message in context: http://www.nabble.com/Changing-language-for-a-specific-file-tp14630274p1463…
Sent from the textmate users mailing list archive at Nabble.com.
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
Hi,
One additional note: as recommended in the TM Help, I tried
downloading MenuMaster but still no joy. Even though it easily
allows me to add a key binding for "Strip HTML Tags from Selection",
using the keycommand still does nothing.
Other (core) commands can be changed and work afterwards, so I
suspect it's a bundle communcation issue. Another test seems to
confirm this: when I change the "Insert Close Tag" command (in the
HTML bundle), it visually shows a change, but the keyboard continues
to work with the original default command. Restart TM, the change
persists in the menu, but still uses the default from the keyboard.
So I'm stuck, I think. Is there a way around this, that anyone knows of?
steven rowat
Hi,
I attempted to assign a key-binding to "Strip HTML Tags from
Selection". A command installed via System Preferences doesn't work,
and I assume this is as explained in the TM help:
"Dynamic menu items i.e. those which change title depending on the
programs state (like Fold Current Block / Selection) should be
specified with their initial title. The initial title can be found by
opening the MainMenu.nib file in Interface Builder (use Show Package
Contents on TextMate and navigate to Contents ? Resources ?
English.lproj)."
So I have installed Interface Builder, found the MainMenu in the TM
package, double-clicked it to open it in IB, and then double-clicked
the MainMenu icon, which opens. However, the Bundle Menu item only
drops down the first four global items; none of the Bundles show up.
(Also, a small yellow tooltip opens on hover over the MainMenu icon,
saying "One of the children has a bad/missing connection".)
Is there a way to find out what name I should be using to bind "Strip
HTML Tags from Selection"? Apparently the bundles aren't connected in
IB - ? - or is there another way to access them?
steven rowat
timetrap-2 wrote:
>
>
> On 2008-01-26 14:27:39 -0600, Sebastian said:
> And just to confirm that the reverse is actually true, could somebody
> confirm if you are running RakeMate tasks in the Rails bundle with 2.0
> projects without any trouble? Thanks.
>
I have the same setup as you do, Rails 2.0.2, Rake 0.8.1 and RakeMate r6193
and it works fine. A colleague has the same setup on his mac and he gets
the error you do. Go figure...
--
View this message in context: http://www.nabble.com/Problems-with-Rails-Bundle-and-RakeMate-tp15112223p15…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
A couple weeks ago GetBundle stopped both Installing and Updating
bundles. I can list installed bundles and view the bundles in the
repository but when I try to install or update I see the dialogue
come up that say "This may take a while..." which then just
disappears with no error whatsoever. I've tried removing all of the
bundles that I'd previously installed via GetBundle as well as
removing and reinstalling GetBundle itself. Any ideas?
Erik Jones
DBA | Emma®
erik(a)myemma.com
800.595.4401 or 615.292.5888
615.292.0777 (fax)
Emma helps organizations everywhere communicate & market in style.
Visit us online at http://www.myemma.com
Greetings,
I'm working in a TM project with dozens of files, and there are only
room for about 5 or 6 names in the tabs across the top of the project
window.
This is creating an interface problem for me - if I select one of the
files that's not across the top, by using the ">>" symbol to get to
the list, I'm expecting it to move into the tab window (as the last
item), but it doesn't. It stays invisible (i.e., no tab).
So I'm working on a file that doesn't have its tab at the top. It's a
small issue, but I've repeatedly found it confusing and/or
frustrating to have to go to the ">>" window to see which file I'm
currently working in, rather than just looking at the top and seeing
which one is the 'clear white' tab.
Is there any way around this? Or if not, can it be added as a future
feature (that selecting a file would automatically make it visible as
the last tab to the right, replacing whichever one is there)?
Thanks
Steven Rowat
Hi,
OK, this is a very tricky crash. I try to describe it as precise as
possible:
-TM runs for hours
-I open the Find Dialog; regular expression is checked
-I type something into the search textfield containing among others '\t'
-I selected something '(.*?)' within the search textfield
-I copy the selection apple+C
-I move the caret to an other position within the search textfield
-I paste the pasteboard content apple+V
-I type something else
and then I press TAB to move the focus to the replace textfield. TM
crashes immediately.
I tried several times to reproduce the crash but without success. It
happens very sporadically and VERY VERY infrequently (up to now three
four times).
As attachment I send the crash report.
Hopefully this report can help.
G5 ppc, Mac OS 10.4.11, US keyboard, English environment, Input
Method 'U.S.', TM 1.5.7 rev1455
Thanks,
Hans
A 'pattern' I use frequently seems to be confusing textmate's
indentation of C++ code.
The problem comes from writing things like:
{ // Comment
If you simply write into textmate, you get something like:
{
{ // Comment
foo();
}
}
If I try to select and indent the code, I end up with:
{
{ // Comment
foo();
}
}
Now the problem is the other way!
I tried looking at the how the indentation works, but it was some way
beyond me I'm afraid. Any suggestions?
Chris
Hi,
I have a general question. Would it be possible to create a single
NIB (without external Xcode) as a table editor?
Given is a file containing TAB delimited data. These data should be
sent to a tm_dialog NIB as plist. In principal this should work but
the number of columns and rows can differ(?)
The NIB file should contain an editable NSTableView and two buttons
'Cancel' and 'Save'. By pressing the button 'Save' the current
content of the NSTableView should be outputted as plist.
Is this possible?
Many thanks for any hint in advance.
Hans
Hi all,
I'm using a TextMate to post to my blog based on WordPress 2.3.3.
Before I upgraded to WordPress 2.3.3, I was able to upload my post
using Blogging Bundle. But after updating to the WordPress 2.3.3, I
cannot do so.
Whenever I try to upload a post, I get the following message at the top.
Received exception:HTTP-Error: 412 Precondition Failed
Type: Blog Post (Markdown)
Is anyone having the same issue? I know I can try downgrading my
WordPress installation, but since it fixes some XML-RPC related
security issue, I'd like to keep it.
Are there any workaround for this issue?
Thank you and regards,
--
Takashi Yoshida
tyoshida [at] mac [dot] com
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
Hello,
I'm using a ConTeXt bundle (similar to LaTeX) from
http://wiki.contextgarden.net/TextMatehttp://dl.contextgarden.net/support/context-tmbundle.dmg
When "building" with
⌘+R
an extra window with "html" content opens with a long log of the run.
My question is: is it possible to scroll down to the bottom of that
window automatically as the log is written to it?
The command which creates that window looks approximately like that:
##############################################
#!/usr/bin/env ruby
$:.unshift "#{ENV['TM_SUPPORT_PATH']}/lib"
$:.unshift File.join(File.dirname(__FILE__), "..", "lib")
require 'scriptmate'
require "parse_texexec_output"
@file=File.basename(ENV['TM_FILEPATH'])
@dir=File.dirname(ENV['TM_FILEPATH'])
$cmd="texmfstart texexec #{xetex} --pass=\\'-halt-on-error
-file-line-error\\' #{@file}"
class CommandMate
def emit_header
puts html_head(:window_title=>"texexec", :page_title=>"typeset" ,
:sub_title=>"#{$cmd}")
puts "<pre>"
end
end
cmd_mate($cmd)
##############################################
Thanks a lot,
Mojca
To be honest, I can't tell if the failure to apply a style sheet is
something odd in my TM set up or something flakey going on with my
hosted set up. Would someone mind reminding how to make the call to a
local style sheet so that I can test what's going on?
Is it "file:///path/to/file.css" or is it "http://localhost/path/to/file.css
" -- and with the latter I assume I have to have the built in web
server running, yes?
john
I uploaded an Ant bundle to the review's section of the bundle
repository a couple of months ago. There have been a few tweaks but
it's now stable. I'm looking to getting it bumped up to the main
repository so am canvasing here for some feedback.
<http://macromates.com/svn/Bundles/trunk/Review/Bundles/Ant.tmbundle/>
On top of the obvious build and run commands it's main features are
integrated help, auto completion, document validation, and - the
handiest for me - build target selection from a dialog pop-up, bound
to ⇧⌘B. As Ant's a build system, and therefore language
independent, you will have to configure the commands by adding the
scope/s of your languages of choice, alongside possibly setting up an
environmental variable to target your build.xml file of choice.
Anything that helps/improves/patches, is more than welcome.
Cheers,
Simon
I take exception to the C syntax gobbling up whitespace at the
beginning of a line. It screws up my tab guides, as seen in the
example below (before EXCEPTION).
Gerd
Hello everyone,
I have a probably silly question for you concerning tabulations:
Yaml can't stand tabulations, it says it requires spaces instead. How
can I get TextMate to insert spaces instead of tabs?
Regards,
Xavier
Hi all,
Would anyone happen to be working on an Xdebug bundle? I'm thirsty for
a PHP debugging environment as an extension in TextMate. Was just
curious if something is available or if someone is in progress with
this effort before I attempt to reinvent the wheel.
Cheers!
/sf
Something like Autotext is def what I'm looking for. I have a problem and a
question however.
Question: is there a way to integrate this so it's globally accessible so I
don't have to change the language of a Java or Javascript file in order to
use it?
My problem is I'm receiving an error and it's not working. I've attached a
screenshot. I looked through the files for Autotext and don't see where (or
even what) the problem might be, maybe someone can help?
Thanks again for all your ideas and help...
On Feb 1, 2008 11:49 AM, Hans-Jörg Bibiko <bibiko(a)eva.mpg.de> wrote:
>
> On 01.02.2008, at 18:59, Daniel Stockman wrote:
>
> > On Feb 1, 2008, at 9:42 AM, Jamal Johnson wrote:
> >> 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. [...] Is
> >> this possible?
> >
> > I dislike the idea of making the mouse cursor integral to a
> > function of a text editor, so here's how you could approximate the
> > behaviour via the keyboard (with menu path parenthesized):
> >
> > 1. With the caret inside or bordering the target word, press
> > Control + W (Edit > Select > Word). Alternately, double-click the
> > word itself.
> >
> > 2. Command + E (Edit > Find > Use Selection for Find)
> >
> > 3. Command + G (Edit > Find > Find Next)
> >
> > Your selection will now jump to each instance of the desired word
> > on each subsequent Command + G. It's not as whizbang as Aptana, but
> > I often feel IDEs do a lot more than necessary for certain tasks.
>
> I agree with Daniel.
>
>
> But as a short note: By using TMTOOLS (an 'unofficial' hacker tool ;)
> one could do this.
> see my mail: http://comox.textdrive.com/pipermail/textmate/2007-
> October/022827.html
>
> Cheers,
>
> Hans
>
>
> ______________________________________________________________________
> 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
>
--
---------------
.: Jamal :.
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.
Greetings,
I've been using TextMate for several months, and I'm now starting my
first multi-file project using the TextMate project interface.
I've encountered what appears to me as a substantial bug (see title).
I opened a ticket with a full description last week, but have
received no reply so far. Here's the "Summary" from the start of that
ticket:
"Summary:
At first, TM's Web Preview reads linked css stylesheet in the HTML
header correctly, but then will not update when the stylesheet is
changed. Browsers don't have this problem and show the new data as
expected. (TM Web Preview seems to get 'stuck' using its original
cached value, even when those values no longer exist in the css file.
) "
Here's the full description, including my Troubleshooting attempts
and exact steps to reproduce the bug:
http://macromates.com/ticket/show?ticket_id=79950679
In addition I'm puzzled by the fact that I've found an exact
description of the bug reported in this list in 2006. And there are
no replies to that report either! Strange.
Doesn't anyone besides me need to use the (wonderful) Live Web
Preview with linked external style sheets?
Or am I missing some hidden command or path configuration that will
allow this to work?
Best Regards,
Steven Rowat