Hi,
Within the time constraints, I've done what searching I can through the
docs, wiki, and mailing list archives to get a personal markup bundle
working. Thanks to the clear documentation and a lot of the archived posts
here, I have all the snippets and syntax coloring working. However, there
are a couple of things that I still haven't worked out, which I could use a
little help with. I apologize if they've been covered before and I missed
them. If I had more time, I'd keep searching around for the answers, but
with an upcoming deadline, I just have to get some guidance.
My bundle is called "jmarkup" and I've set most of the scope selectors to
"text." (BTW, I still don't competely get how to choose scope selectors,
despite reading that section many times.)
I'll probably do most of my writing in Latex or Markdown (or MMD), and
currently I have to go back and forth between syntax coloring for either
Latex or jmarkup.
1) Can I somehow set my scope so that I can see it colored while I'm in
Latex and MMD?
2) Could someone point me to a place explaining how I could process my
markup before the latex. E.g. So that when I hit the key combo to preview
the Latex, everything is preprocessed to replace my [[note syntax ]] with
Latex markup for left and right margin notes.
3) Referring to #2 above, could I have separate processing-replacements set
up for whether I was making an output for myself (e.g. working draft with
all notes and markup) or for my advisor (e.g. print draft without notes and
hiding my in-line styles, like "revise" or "check facts")?
4) What would the best bundle be to use as an example of how to gather all
"action" markups in to a separate document? For example, I might have a fact
that is suffixed with [!check this!] and I want to gather all lines that
have that [!...!] in them. I assume this might be similar to the TODO or
GTDalt bundles but haven't checked them out yet.
Thanks all for any advice and help. I know I've asked a lot here, but even
just pointers to where I can find the best examples of implementations of
each would really help me out.
Thanks,
Jeff
Hi all,
I've been a paid member of the TextMate-o-sphere for a couple months
now, but have just started dipping into its mighty goodness. One
thing that I've found that is not quite so good is how the subversion
plugin won't play nice with colordiff.
In my .subversion/config, I've set it up to use colordiff instead of
diff. I do a lot of my work from the command-line, so this is pretty
important for me. Unfortunately, the subversion plugin doesn't like
this. If you look here:
http://www.nuthole.com/img/tm_ss1.png
you'll see what I'm talking about. The upper half ("Untitled 705")
shows the result of me doing a "Diff with Newest (HEAD)" with my
preferred .subversion/config settings intact, while the lower half
("Untitled 706") shows the much prettier version that the subversion
bundle does all on its own if I remove my settings.
Now, I'd just accept that "that's just the way it is", except for the
fact that the bundles doesn't *always* do this. In particular, if I
bring up an SVN Log from within TextMate, and then click on a link to
see a diff in there, the resulting diff is displayed in a
TextMate-colorized fashion, apparently ignoring my .subversion/config
settings (hooray!). So what I wonder is, if the plugin can ignore my
settings and do its own colorization in one case, why can't it do it
all the time?
--
// jack
// http://www.nuthole.com
Hello.
I use TextMate 1.5.5. I came across a problem exibited by the perl
bundle Tidy command.
If the output of a command, in this case perltidy, contains chars in
utf8, all the output is discarded and we end up with a blank
document. For example this script:
##################
my $body = <<END;
Reparámos
END
############
If I run the tidy command on this file, I end up with a blank
document. Perltidy works fine though because I tried redirecting the
output of the command to a file and it's all there.
Any ideias?
Regards,
André Cruz
>Simon: How feasible is it to break this
>bundle into two parts? Will that put us ahead or behind of where we
>are with the current stand-alone bundles?
Very feasible, and the combined bundle is ahead of the two standalones... although there are points where they need to
merge/work out which solution is best.
>It sounds like most of us on on the same page, here. I think it'd be
>nice if we could agree on a single AS3 and a single Flex bundle to
>focus our efforts on so we have something to congregate around.
>Nominations?
Personally I don't mind. I'd be happy to see it broken up on the grounds that the bundle title is far far too long at the
moment ;) One thing I'd be concerned about is a possible duplication of build and help commands and their associated
TM_BUNDLE_SUPPORT/bin and lib files. But this is coming from a bundle developer perspective and we should focus on the
end user so can't be used as a reason not to.
Allan - any chance of getting a TextMate icon for .mxml files?
On 2007/05/10, Ciarán Walsh wrote:
> does env|sort ⌃R include it?
You mean if the env var is set? env will not include it since it is
set only for the perltidy command.
But just to check the value I ran __CF_USER_TEXT_ENCODING=$UID:
0x8000100:0x8000100 env|sort
This is the value set:
__CF_USER_TEXT_ENCODING=501:0x8000100:0x8000100
André Cruz
On 2007/05/10, Ciarán Walsh wrote:
> • Prepend “__CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100 ” before
> “perltidy -st…”
Nope.. Didn't work.
Thanks for the help though,
André Cruz
I finally cleaned up my HTML bundle, if anyone interested, it's there:
http://tinyurl.com/2jjkt3
basic idea is to assign same key shortcut for all phrase, same
shortcut for all block, same shortcut for all inline, etc...
elements. sorta the way BBEdit used to work (well, it probably still
does, just haven't opened in in a looooong time). It also adds tab
triggers to basically all tags. Not revolutionary, just a little
update to the great built in bundle. It saves me time though, so I'm
thinking it might help a couple other people... I even made my first
screencast to show you how to use it! enjoy :)
- Yann
Xavier,
MacFUSE is awesome! Thank you so much! I switched from PC where I
loved using WedDrive, and have been looking for something like that
for a while now. I'm surprised MacFUSE is not more well know. Thanks
a million!
Brian
I believe I read the TextMate Service menu was disabled / being
replaced, however, I think having an item thats 'new window with
selection' would be great... I seem to use it very often...
- Eric
Hi,
I found a tiny bug (resp. 'evil' pitfall) in the bundle editor.
I opened the bundle editor, went to a command 'A' and pressed CTRL
+APPLE+E for "Edit in TextMate". OK.
Then I looked for a code snippet in an other command 'B' using the
bundle editor. I copy&pasted it. Fine. But then I saved my changes.
TM wrote my stuff back in that command which was active in the bundle
editor (in my case command 'B'!, not 'A' which I actually was editing).
Well, TM wrote it back to command 'B' but the bundle editor didn't
save it fortunately, and command 'A' was unchanged. The tricky thing
only is that all my changes are gone because I also closed my editing
window.
Would it be possible that TM remembers the command which I actually
editing?
Regards,
Hans