Has something changed with the Subversion repository for bundles? I'm
getting encoding errors:
jupiter:/Library/Application Support/TextMate trevor$ svn up
svn: Can't convert string from native encoding to 'UTF-8':
svn: Paste Line : Selection to IRC?\226?\128?\166 (CakePHP Paste).plist
jupiter:/Library/Application Support/TextMate trevor$ cd Bundles/
Subversion.tmbundle/
jupiter:/Library/Application Support/TextMate/Bundles/
Subversion.tmbundle trevor$ svn up
svn: Can't convert string from native encoding to 'UTF-8':
svn: Diff Revisions?\226?\128?\166.plist
Any suggestions on how to fix this? Thanks,
Trevor
In the subversion bundle I tried to use escape to do word completion
while typing the checkin message and this cancelled by checkin
without any warning, discarding the long and complicated checkin
description I had been working on. Happy I am not.
Dave.
I have two questions:
1: I must be doing something really stupid but I don't seem to be able
to get the Rails snippets to work when I hit tab on an IntelMac. I
have read the docs, googled for it and tried to browse the archives
but can't figure out what is wrong. THe bundle editor shows that the
rails snippets are there.
2: I seem to be running textmate from the folder which comes up when
you double-click on the .dmg file. It takes two steps to launch it.
Is this the preferred way to install it?
TIA,
-bakki
How can I create a command that creates the PDF file from Latex
without creating any other files (logs etc.). Preferrably this command
would also let me choose where to save the output document with the
standard saving dialog window.
---------- Forwarded message ----------
> From: Brad Choate <bchoate(a)gmail.com>
> To: TextMate users < textmate(a)lists.macromates.com>
> Date: Thu, 18 May 2006 18:35:48 -0700
> Subject: Re: [TxMt] unordered list nav snippet
> Here's my entry:
>
>
>
>
>
> As requested, it outputs the text wrapped in <a> tags. As a bonus, it
> outputs as a snippet, so you can tab through the href attributes to
> populate them.
There doesn't appear to be anything here Brad, unless I'm missing something?
Here's quick little command/macro pair for handling Markdown headings
using the setext format. I wrote it because I always find myself
changing the text of my headings, which means erasing the underline
and redoing it so the line of equals or hyphens matches the length of
the new heading text. (Yes, I know that Markdown doesn't require the
length of the underline to match the length of the heading. That's one
of the many niceties John Gruber designed into Markdown. But I'm anal
and like my underlines to match.)
Start with this command for `<h1>` headings.
#!/usr/bin/perl
chomp(@lines = <>);
$under = "=" x length($lines[0]);
print $lines[0] . "\n" . $under . "\n";
unless ($#lines == 0 or $lines[1] =~ /^[-=~]+$/) {
print $lines[1] . "\n";
}
The input should be **Selected Text** or **Nothing**, and the output
should be **Replace Selected Text**. I named it "Heading 1."
Now record a macro that prepares the input and runs the command. The
idea is to be able to call the macro with the caret anywhere on the
line with the heading text. If the heading isn't already underlined it
will underline it; if the heading is underlined it will adjust the
underline to the new heading length.
To make the macro, put the caret on the heading line, start recording and
1. Type **Command-Leftarrow** to move the caret to the beginning of the line.
2. Type **Shift-Downarrow** twice to select the heading line and the
line below it. (Don't worry if there is no line below it; the macro
will record both keystrokes and the command was written to handle the
single-line case.)
4. Invoke the "Heading 1" command to transform the selected text.
5. Type **Rightarrow** to put the caret at the end of the selected
text and deselect it.
I called this macro "Heading 1" also. For a "Heading 2" macro that
inserts a line of hyphens, do exactly the same thing, but change the
quoted equals sign in the fourth line of the command to a quoted
hyphen.
There's a writeup of this on [my blog][1] if you need to see more details.
--
Dr. Drang
[1]: http://www.leancrew.com/all-this/2006/05/markdown_headings_in_textmate.html
Hi
I couldn't find a reference to this on the list and wasn't able to
login to the bug tracker.
Background:
I uses a template system where I have an HTML file that serves as a
template. When I want to create a new page for the site, I open the
file and 'Save As' whatever the new name will be.
Problem:
I notice that when I save a file (File / Save As), it seems to rename
the file that I was working on to the same name as the file I just
'Saved As'.
In other words, if I save "page_template.html" as "index.html" in
another folder, when I look back at the project drawer, the original
file assumes the name of the new file.
Interestingly, if I open the old file (which now has the name of the
new file), when I command+click on the title bar to see where the
file is stored, it thinks it's the new file.
If I close and open the project, the file returns to it's original name.
Is there something I can do to refresh the project drawer? Has anyone
else had this problem?
I'm running the Demo version of TextMate 1.5.1 (948) on Mac OS X
10.4.6 on a PowerPC G5
Thanks for listening.
Regards
Jonathan
<rant>
> Difficulties in Collaboration
> =============================
> All of my colleagues use Word for curriculum development, tests, and
> assignments. Colleagues don't get it when I send a markdown
> formatted document to them. While I use textmate for a variety of
> tasks, I stumped at how I can drop Word without retraining my
> colleagues.
I just got two emails from coworkers with both about 5 lines of text
in a word document attached to an email. Can someone please explain to
me why they did not just enter the damn text into the email? Luckily
gmail can display .doc as html, I really don't care about having Word
just for crap like this.
Why are people so ignorant? Both my coworkers do complain about Word
being sucky and complicated and all that -- but you would think they
might do something about it. I wish WYSIWYG and Word were never
invented, it dumbs people down, just like PowerPoint tends to do…
anyone remember the hype against PP --
http://www.edwardtufte.com/bboard/q-and-a-fetch-msg?msg_id=000111&topic_id=1
There is whole businesses losing their right to exist just because the
average pc user thinks he can do it better, as well as people losing
their appreciation of quality (as long as they pay for it).
How do you re-train your coworkers and surroundings?
THAT is why TextMate is so cool. It makes it easy to create text/code,
it makes you love the act of writing the content and not fuss with the
annoying stuff around it -- but it doesnt force you to create bad
code. Maybe people would be dumping Word if they had a good text
editor on their hands (*dreaming*).
Ah. Need to get coffee.
</rant>
Dan
Hi nachodog,
> So close. . . I installed DarwinPorts. Should I go to any special
> directory in the terminal?
>
> Here is what I ended up with. . .
>
>
> ndog:~ ndog$ sudo port install htmldoc
> Password:
> sudo: port: command not found
> ndog:~ ndog$
I think port is usually installed in /opt/local/bin, which isn't on
the root path. Try:
sudo /opt/local/bin/port install htmldoc
If that doesn't work, the following command will search for port:
find / -name port -print
Later,
Chris.
P.S. You'll probably need to add /opt/local/bin to your path, as
everything DarwinPorts installed is put there. I think.