I've recently installed the CTags bundle and can't get it work
correctly. I first installed the bundle, downloaded, built, and
installed Exuberant CTags (into /usr/local/bin). When I ask the
bundle to update all tags, I get a "ctags timed out" message and it
fails to find any tags (i.e., look up of a tag fails).
Any suggestions?
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
Hello all
I am new to Textmate and this list but so far really impressed by the
program and the people posting here. My background is in molecular
biology and I will mostly use TM for text (MultiMarkdown is appealing
to me) not so much code.
Although I am slowly making my way through the manual I have not found
anything that would allow me to compare two textfiles and highlight
changes between them. "Diff" is not what I am loooking for because it
is based on lines. Writing manuscripts I don't use carriage returns so
a single difference in a paragraph will highlight the whole thing not
just the difference only.
FileMerge (in the Apple developer tools) is much closer and also
visually intuitive, but getting long in the teeth and having
difficulties with UTF-8.
Is there a Textmate bundle that will do this kind of comparison for me?
My sincere apologies if this question has been answered already,
Christoph
Hi all,
I've only recently started to use TextMate, and I'm doing what you
all did in your first week... implementing the Emacs commands I can't
live without :-)
I noticed that there is no Emacs kill-sentence support, so I
implemented it:-
http://fommil.me.uk/Emacs%20Sentence.zip
Including the commands to cut from the cursor to the end of the
current sentence, and navigate back/forward sentences.
Emacs defines a sentence (with one space after the fullstop) as
[.?!][]\"')]*\\($\\|\t\\| \\)[ \t\n]*
but I edited that to use extended regexes and count colons. Emacs
also cheats and uses a bunch of other special tests for paragraphs
without a fullstop etc, so I included that too
[.?!:;][\]"')]*\s+?|$\s*?$|\Z
which is unfortunately hard-coded into all the macros as I didn't
know how to create a bundle-wide constant.
There is a little bug which means if you navigate back on the first
sentence in the first line of a file, you will be off by one. This is
such a small bug that I can't be bothered to fix it, although I'm
open to suggestions for fixes.
I bound navigation to alt-left/right (as I use ctrl-left/right for
word navigation) and kill-sentence as alt-k (same as Emacs). shift-
alt-right will work as expected, but I do not know what to do about
shift-alt-left; I'd like to hear any hints on how to get that to work.
cheers,
Sam
--
http://fommil.me.uk
Yes! Thats it...but what about the other Tags? Like Code, Quote, Img
and so on? I think you really should add this feature to your bundle!
I like the thing that the Bundle takes the text for the URL from the
pasteboard! Good Job.
> BTW, you better follow Jacobs' advice about "Edit in TextMate" than
> "paste the text back".
I know that i can do it this way, but as i mentioned earlier i'm
working as a writer for a board so i have to write some quite big
posts BEFORE i upload them. You know i have to do some research and
so on. I already know that Edit in TextMate is a really good feature
- believe me. But sometimes i have to write in TextMate, save it on
harddisk and then just paste it back in the browser. Writing these
Posts with TextMate is just more fun, than this little stupid editor
which comes with the Browser Software like vBulletin and phpBB.
Is it possible for Textmate to show in the OS X services menu listing?
Currently BBEdit, TextEdit, and TextWrangler show. Each of these have
two options:
New Window with Selection
Open File
TextMate is not listed. How can I add TextMate to the listing? Thanks
Hello,
just try to re-indent the following snippet with textmate and wonder
about it. ;)
Is there a way to fix the indentation? In which bundle should it be
fixed? HTML oder PHP?
<html>
<header>
<body>
<?php
$array['foo'] = array(
'foo' => 'bar',
'bar' => 'foo' );
$array['bar'] = array(
'foo' => 'bar',
'bar' => 'foo'
);
?>
<?php if (test == "") { ?>
<ul>
<li>foo</li>
<li>bar</li>
</ul>
<?php } else { ?>
<ul>
<li>bar</li>
<li>foo</li>
</ul>
<?php } ?>
</body>
</header>
</html>
Regards, Wolfgang
Folks,
Is there such a beast? I'm a long-time Emacs user who's happily
switched to TM once I got a Mac.
But I miss dired...Is anyone working on or thinking about a directory
viewing & file manipulation bundle? Oftentimes copying Emacs stuff in
TM doesn't make any sense, but in this case I think it might.
(Forgive me if this has been asked before; I admit to lazily not
searching archives before posting this!)
Cheers,
Kendall Clark
Hi,
Just installed textmate and was trying to use svn bundle.
I got following error:
Couldn't find svn
If you have installed svn, then you need to either update your PATH
or set the TM_SVN shell variable (e.g. in Preferences / Advanced)
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/
CocoaDialog.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
======================================================
I have checked I have /usr/local/bin in my PATH
and I have also set TM_SVN (just in case) as followed:
$ set | grep PATH
PATH=/usr/local/bin:/usr/local/sbin:/sw/bin:/sw/sbin:/usr/local/bin:/
usr/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/X11R6/bin:/usr/
local/pgsql/bin:/usr/local/pgsql/bin
$ set | grep TM_SVN
TM_SVN=/usr/local/bin
$
$ which svn
/usr/local/bin/svn
What am I missing ?
Thanks
Jean-Michel
Thanks to all.
Just set TM_SVN using the suggested method and it worked right then,
i.e. did not have to reload.
Jean-Michel
> On Jan 14, 2007, at 10:39 PM, jeanpierre(a)gmail.com wrote:
>
>> alternatively, you could set the textmate specific environment
>> variable TM_SVN to point to your subversion. since textmate
>> doesn't read your shell you will need to define it in
>> environment.plist or you can set this directly in textmate:
>> Preferences > Advanced > Shell Variables.
>
> Setting TM_SVN via the Preferences > Advanced > Shell Variables
> route is definitely the way to go.
>
> Haris
>