This is a repeat of a comment I made on the latest TextMate blog post[1].
I remember some discussion on the list about the Subversion menu, but I can't find it.
The command that I always want for Subversion is Diff with Newest. Why is that the second option? The CVS bundle has it as the first option. Do people really use Diff Revisions that often?
The diff commands start at the eleventh position in the menu and so don't have number shortcuts. They also all start with 'Diff', so pressing 'd' only jumps to the first command.
[1] http://macromates.com/blog/archives/2007/05/06/textmates-many-key-shortcuts/
Hello.
I don't know who is responsible for the indentation of Perl buffers
(textmate author or bundle author?) but there is a problem with
structures of the kind:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
This is correctly indented, according to the Text->Indent Selection
command.
But I was expecting this:
###
my $teste;
$sth_comments->bind_columns(
undef,
\$journalid,
\$jtalkid
);
my $teste2;
###
Regards,
André Cruz
Hi there,
I use Markdown format for all of my plain text files - both to
convert to HTML for export and to help organise my files. I find the
syntax highlighting of headings and lists really helps me keep large
files organised - especially with using curly braces to 'section'
material and keep it folded away.
Is it possible to change the way headings are recognised? In
particular I would like to have the following:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
This currently only picks up the first heading, seeing the others as
meta.paragraph.markdown, whereas leaving in line breaks:
## Heading 1 {
Some text in here...
}
## Heading 2 {
Some text in here...
}
## Heading 3 {
Some text in here...
}
Means I get all the headings recognised correctly. Both versions
above are recognised and converted to HTML correctly by the
Markdown.pl script so I presume the highlighting is down to the
language grammar? I looked at it and tried to change it myself but
broke all the other formatting as well so think I need some
professional input on this one!
I know its not a life-changing query but I'd like to understand the
language grammar stuff better and this looks like a good starter
project!!
Thanks,
Nigel
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