Anybody here interested in blogging to WordPress using TextMate and a
GUI (rather than the blogging bundle)?
I've got an alpha-quality TM plugin called BlogMate worked up... and
could use some testers.
The BlogMate plugin is kinda like MarsEdit -- only as a floating
palette for TextMate. (Window -> Show BlogMate Palette)
Much like MarsEdit, you can set up multiple blogs and create and edit
posts. Unlike MarsEdit, its feature set is quite limited at the
moment. But you can manage post categories and published/private
status already.
For now the plugin uses the MetaWeblog API to talk to your blog.
Theoretically, this should work with any metaweblog-capable blog, but
I've only tried it with Wordpress (cuz that's what I use). I have
absolutely no idea what other blog types use metaweblog... i didn't
even know what metaweblog was until thursday when i started this
nonsense.
Once it's solid enough for release, I'll do a public beta (hopefully
very soon... i'm very impatient). After that, the plugin will
continue to be free as in beer.
Anyhow... if you're interested, respond in one way or another.
thanks!
Todd Ditchendorf
Scandalous Software - Mac XML Tools
http://scan.dalo.us
The code is within an @implementation/@end.
^q works fine for a method signature, but it's still doing normal
paragraph fill inside the call itself.
if I put the caret inside the brackets, and check scope I get:
scope.objc
meta.implementation.objc
meta.scope.implementation.objc
The method call command seems to be bound to meta.bracketed.objc,
which I assume is part of the problem, but I'm not sure how to
resolve.
Oh, I'm running cutting edge 1368, although I'm starting to wonder if
my setup has gotten a little messed up -- I'm also having trouble with
the new opt-escape completion.
Thanks,
On 3/11/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> Please reply to the mailing list!
>
> Anyway, if I press ⌃Q inside the brackets, e.g. with caret on
> 'addObserver' I get:
>
> - (void)startObservingPerson:(Person *)person
> {
> [person addObserver:self
> forKeyPath:@"personName"
> options:NSKeyValueObservingOptionOld
> context:NULL];
>
> [person addObserver:self
> forKeyPath:@"expectedRaise"
> options:NSKeyValueObservingOptionOld
> context:NULL];
> }
>
> If I press it on the method signature, it will do a normal paragraph
> reflow *unless* I add @implementation/@end, because without that, TM
> will not see it as an Objective-C method implementation.
>
>
>
> On 11. Mar 2007, at 14:20, Noel Rappin wrote:
>
> > Yep. Here's the before -- it's an example from Aaron Hillegass' book:
> >
> > - (void)startObservingPerson:(Person *)person
> > {
> > [person addObserver:self forKeyPath:@"personName"
> > options:NSKeyValueObservingOptionOld context:NULL];
> >
> > [person addObserver:self forKeyPath:@"expectedRaise"
> > options:NSKeyValueObservingOptionOld context:NULL];
> > }
> >
> > And after a ^q within the second method call:
> >
> > - (void)startObservingPerson:(Person *)person { [person
> > addObserver:self
> > forKeyPath:@"personName" options:NSKeyValueObservingOptionOld
> > context:NULL];
> > -
> > - [person addObserver:self forKeyPath:@"expectedRaise"
> > options:NSKeyValueObservingOptionOld context:NULL]; }
> >
> > For what it's worth, I occasionally see the same odd behavior of
> > repeating the first character of the first line from ^q on paragraphs
> > in Markdown.
> >
> > Thanks,
> > Noel
> >
> > On 3/11/07, Allan Odgaard <throw-away-1(a)macromates.com> wrote:
> >> On 11. Mar 2007, at 04:53, Noel Rappin wrote:
> >>
> >> > This is quite possibly a very stupid question.
> >> >
> >> > I can see how to use ^q to format a method signature in the
> >> objective
> >> > C bundle, but if I try and do the same thing on a method _call_,
> >> I get
> >> > an ugly mess. I think I'm not pressing ^q in the right scope to
> >> > trigger the method call snippet, but I can't figure out what I'm
> >> doing
> >> > wrong. Help?
> >>
> >> Can you paste a before/after code example?
> >>
> >>
> >
> >
> > --
> > Noel Rappin
> > noelrappin(a)alumni.brandeis.edu
> >
>
>
--
Noel Rappin
noelrappin(a)alumni.brandeis.edu
I made a HTML snippet that takes a list such as:
Home
Info
Contact
and turns it into:
<ol id="navbar">
<li class="home"><a href="home.php" title="Go to the Home
page">Home</a></li>
<li class="info"><a href="info.php" title="Go to the Info
page">Info</a></li>
<li class="contact"><a href="contact.php" title="Go to the
Contact page">Contact</a></li>
</ol>
That's what I got so far:
<ol id="navbar">
${TM_SELECTED_TEXT/.+/ <li class="\L$0"><a href="$0\E.php"
title="Go to the $0 page">$0<\/a><\/li>/g}
</ol>
My problem is if one of the menu item is more than one word, I'd like
to replace the space in the name with an underscore in the URI.
Anyone's got the code for that?
Thanks!
Hi all,
As I mentioned in an earlier post, one of the ways I am using
TextMate is to manage FileMaker Pro development projects. TextMate
will open the external files, but does not seem to be aware of
changes made externally to those files when issuing a Commit or
Status via the Subversion Bundle. svnX and RapidSVN both notice the
changes and commit the modified files. Is there something I need to
do to enable this functionality in TextMate? I am using SVN version
1.4.3.
Thanks,
Don Levan
This is quite possibly a very stupid question.
I can see how to use ^q to format a method signature in the objective
C bundle, but if I try and do the same thing on a method _call_, I get
an ugly mess. I think I'm not pressing ^q in the right scope to
trigger the method call snippet, but I can't figure out what I'm doing
wrong. Help?
Noel
--
Noel Rappin
noelrappin(a)alumni.brandeis.edu
Hello all,
I'm not sure if this is possible in TextMate, so I thought I'd ask.
In any given project, I'm working with lots of different languages:
HTML, PHP, CSS, JavaScript, Java, etc. I find that when I have all of
these files open at the same time (in a project window), I'll set the
language for the file I'm currently working on in the bottom language
bar, and then when I switch to a different file TextMate just stays
in that language I was working in, even though the new file is
actually a different language! This happens even if I go through each
file and set its language manually before switching between them. Is
there something I'm missing? If not, I would absolutely love to see
this in 2.0!
Thanks in advance,
Michael
____________________________________
Michael Jackson
CFAC Web Development
Brigham Young University
Web: http://www.ajaxon.com/michael
Email: mjijackson(a)gmail.com
Hi
I noticed quite a weird behaviour of the blogging bundle recently. I
have increased the number of posts to be fetched from 10 to 500
(blogging.rb, line 547), because I'd like to add some tags to old
posts using the nice tagging bundle. It downloads all the posts from
the past (around 280 right now) and displays the title in the
dropdown. Now when I chose one, a new document opens up with a post -
but not with the one I'd like to have :-/ If I try to open post #3
for example (my first post), it opens #4. Somewhere in the most
recent posts, it works, but not with the oldest ones. I'm not a ruby
guy, so I don't have a clue how to fix this.
I suppose that it has to do with my Wordpress thing, but I'm not sure.
Any ideas?
Thanks a lot
André
Hello folks,
Running Textmate Version 1.5.5 (1368), Auto-Completion does not work
in Rails projects (option-escape), it works great in Ruby scripts, but
not Rails. May someone please help me find the problem?
Best regards,
- Dunnil
I'd like to have non-breaking space* rendered in a visible way, but having
tabs and line breaks remain invisible.
I've somewhat achieved that by adding new rule to the language bundle and
setting background color for that scope, but it gives big block and I'd
like to have a dot instead. Is there any rule in language bundles that can
visually replace one character with another, or can I change list of shown
invisibles?
* known as , but I'm talking about the actual character, not entity.
--
regards, porneL
About the linking commands: I modified the template slightly, taking
the original input and using it where the title was before, and
moving the title into an attribute. Other than that, I think the
plan looks great.
This bundle includes the reworked pref files and a yahoo experiment.
The experiment loads up a pop up list of 10 results from a category
(web, video, news) and links to the item you select. It just gives
you a little more flexibility than lucky linking. However, Google's
policies do not allow for this kind of thing with their search
engine, so I had to work with Yahoo to try it out. It uses Yahoo's
API and does no scraping.
Is it doable? (I bet it is, but I can't figure it out).
I want to create a HTML snippets that transforms a tab delimited
table into an HTML table, fo instance, I'd select this:
item_01 item_02 item_03
item_11 item_12 item_13
item_21 item_22 item_23
hit a key combo, and get:
<table>
<tr><th>item_01</th><th>item_02</th><th>item_03</th></tr>
<tr><td>item_11</td><td>item_12</td><td>item_13</td></tr>
<tr><td>item_21</td><td>item_22</td><td>item_23</td></tr>
</table>
I guess my biggest problem is to figure out how to get it to work
with any number of row and column...
Any help much appreciated... Thanks!
Any hidden/undocumented ways to modify
the following?
1) the gutter / line-number / fold symbol colors+sizes
2) the pixel offset between the gutter and
the first character in the editing area
3) cursor size/shape
TIA,
-Shin
At some point I assume that I must have installed the bundle auto-updater
from the GetBundle bundle, but I don't remember where it installs, and I
don't see any record of it in my System Preferences account Login Items
pane. This weirds me out a little; any chance someone could share where this
app/script/whatever gets installed? I don't necessarily want to remove it, I
would just like to know more about it.
Thanks
- David Chartier
Hello,
I am not sure whether this is a TEX problem or a Textmate issue, but
I decided to try it on this list first, because the problem appeared
only after an update of Textmate. I am using a Powerbook G4 and
Version 1.5.5 (1368) of Textmate. After the latest update, compiling
of some latex documents has becoming extremely slow. A one sided
document (KOMAscript letter with self made letterhead) which takes
less than 2s in TeXShop requires more than 1 minute in Textmate!
Interestingly the log file complains about metafont related issues
which I am not at all comfortable with and which I haven't seen in
earlier versions of Textmate (see compile log below). TexShop
compiles the same document with some overfull box warnings but does
not complain otherwise. Interestingly, other documents not containing
the letterhead compile quite well..
Anybody seeing similar issues? Any advice where I should further look
for?
According to the revision notes there was no change in the latex
bundle, or was there?
Best regards
Christof
Document Class: scrlttr2 2006/07/30 v2.95b KOMA-Script document class
(letter
Including: LogoCNRS.pdf
Including: LogoLPMAA.pdf
Including: LogoUPMC.pdf
Including: LogoUPMC.pdf
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
./MPSATransports_001.tex:19: Font OML/hlcm/m/it/8=hlcrima at
7.76001pt not loaable: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OML/hlcm/m/it/6=hlcrima at
6.12003pt not loaable: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OML/hlcm/m/it/5=hlcrima at
5.19997pt not loaable: Metric (TFM) file not found.
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
./MPSATransports_001.tex:19: Font OMS/hlcy/m/n/8=hlcry at 7.76001pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMS/hlcy/m/n/6=hlcry at 6.12003pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMS/hlcy/m/n/5=hlcry at 5.19997pt
not loadabe: Metric (TFM) file not found.
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
This is METAFONT, Version 2.71828 (Web2C 7.5.6
mfput.log
./MPSATransports_001.tex:19: Font OMX/hlcv/m/n/8=hlcrv at 7.76001pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMX/hlcv/m/n/6=hlcrv at 6.12003pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMX/hlcv/m/n/5=hlcrv at 5.19997pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font LMR/hlcm/m/n/8=hlcra at 7.76001pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font LMR/hlcm/m/n/6=hlcra at 6.12003pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font LMR/hlcm/m/n/5=hlcra at 5.19997pt
not loadabe: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Math formula deleted: Insufficient
symbol fonts\endtabular ->\crcr \egroup \egroup $
./MPSATransports_001.tex:19: Font OML/hlcm/m/it/12=hlcrima at
11.15991pt not ladable: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMS/hlcy/m/n/12=hlcry at 11.15991pt
not loadble: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font OMX/hlcv/m/n/12=hlcrv at 11.15991pt
not loadble: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Font LMR/hlcm/m/n/12=hlcra at 11.15991pt
not loadble: Metric (TFM) file not found.
./MPSATransports_001.tex:19: Math formula deleted: Insufficient
symbol fonts\scr@subject@var ->Devis N$^{o}$
./MPSATransports_001.tex:21: Math formula deleted: Insufficient
symbol fonts\@iiiparbox ...bm@#3\endcsname }\if@pboxsw \m@th $
Output written on MPSATransports_001.pdf (1 page, 144473 bytes)
MPSATransports_001.log
Found 19 errors, and 0 warnings in 0 runs
There are some really minor VIM features that I miss. Does TextMate
have a way to:
* Visually show that a file is Read Only (which lets me know I need
to do a p4 edit on the file)
* Show in the status bar at the bottom of the main window how far
into the file the cursor is as a percentage of the file size
Thanks,
Ernest
Is there any variable or method by which I can (in a macro or
snippet) know how many lines are visible in the window?
Thank you,
Brendan Dixon
brendandixon(a)mac.com
425.922.8798
On 2007-03-08 16:M, Steven.Klass(a)smsc.com threw down some bits like this:
> Hey Hey Hey!!
>
> Another perforce user!! I TOTALLY Agree with your first comment.
> This should be an option in preferences - by default even read only files
> are writeable and this is not always (in the case of SCM's) desirable!!
Yup, this is the only place I find that this bites me.
> On a side note - you want to improve the perforce bundle?
I haven't been using the p4 bundle nearly enough, but we've got
perforce where I work and I do use it some through TM. Things are
complicated by the fact the Mac is my "secondary" machine and linux is
where I'm supposed to do all my work.
I might be able to give a shot at helping on the bundle.
Dan
Kind TextMate folk,
A BBEdit feature I find myself missing is the Markup -> Utilities ->
Format menu option. this opens a window with several different
options for markup formatting. Is there something like this in TextMate?
thanks! tm rulz. ;0)
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
Hi,
Being new to both TextMate and Latex, I find myself in the middle of
a fairly steep learning curve, in addition to starting as a graduate
student.
This is my setup: http://home.online.no/~refsvik/TextMate_Latex.jpg
...and as I am using Mac OS X, I have found that BibDesk is a
splendid way of collecting and maintaining bibliography and
publications.
Compiling my main.tex works out fairly ok (with a few warnings),
tying together most of my files, but what lacks is the Bibliography/
References entry. There is simply no Bibliography entry at all in the
final .pdf file, and the compiler is telling me this:
Typesetting: ./4_methodology.tex
LaTeX Warning: Citation `Jones:1992' on page 4 undefined on input
line 5.
Trying to understand this, I have had a look at this:
http://article.gmane.org/gmane.editors.textmate.general/8789/
match=bibtex
...but still struggle to understand the following:
1. Do the "Bibtex full run" need to be set up for every single latex
project in any way?
2. What does happen to my .bib (bibtex) file in this process? How is
a bibtex file compiled (if that is the correct term) and is it
converted to latex in some way?
I would be very grateful if someone could post a small recipe on the
total amount of things to set/do in order to get this to work:
1. The appropriate actions in the bundle editor
2. Setting environment variables accoring to what is needed in the
"Run Bibtex copy" command
Best regards,
Kjell Are Refsvik
Norway
I'm trying to set up the psgreek package. While I have moved all the
files in the package to the correct directories, I'm not sure how to
tell TeX to use the new fonts. The package documentation suggests
three ways to do this: (1) editing the file .../textmf/web2c/
updmap.cfg (adding the line "Map psgreek.map"); (2) editing .../texmf/
pdftex/pdftex.cfg by adding "map +psgreek.map"'; (3) editing .../
texmf/vtex/config/pdf.fm and adding "cm-super.ali" to the TYPE1 section.
I don't see any of these files on my system. I'm wondering if I
should be looking somewhere else for these files or I should create
them from scratch. I'd also appreciate any advice on which of these
three methods to use (if it makes a difference).
Colin Hahn
»Geben Sie mir Kaffee, dann mache ich Phänomenologie daraus.«
"Give me my coffee so that I can make phenomenology out of it." --
Edmund Husserl
Okay, just a moment ago, before downloading the most recent update, I
opened a new project and had an interface that looked a lot like the
new version of Mail -- i.e., no drawer but a left pane. When I
clicked on "Install and Relaunch" and created a new project after
relaunch, I got back the drawer. (And I should note that I have never
been a fan of the drawer, so the the momentary new project interface
was good news to my eyes.) It's late in the night.
I was wondering if there is some way to preserve the lines I've
ticked with bookmark stars after the file is updated by subversion.
Right now, I find that a half-dozen or so lines I've marked are all
blown away after an svn up brings new code in from commits by my
coworkers (actually, there's also one new bookmark created, on the
last line). I can see that this is fairly tricky, since the bookmarks
would have to be bound to the content of the line, and not just to
the line number (though even having them stay put while code slid up
or down would be better than having them all vanish - maybe they
could go orange or something to suggest they weren't marking the same
code any more?). -T.
when I'm working with a project drawer and the file names are long, they get
compressed to something like Exam...er.js. It would be really helpful if
there was a way to quickly see the full filename. My suggestion is a
tooltip. I have instances where i have several files with the same few
beginning and end characters and I end up opening many of them to find the
correct one.
-dave
I absolutely love this CSS(plus) bundle. Only thing is that one of
it's defaults (the new deceleration) sort of disables the tab triggers
of the original CSS bundle that gives you snippets for things like
margin or border or background etc. It at least makes them hard to get
back to. I'll show you a very simple mod to make the tab triggers for
the original CSS bundle more usable from within this bundle's
structure.
The CSS(plus) bundle formats the new deceleration like this:
;
${1:property}: ${2:value};$0
Which is all well and good if you know all of the options for the
particular CSS property you are going to be working with (margin or
whatever) but what if you wanted to be able to type 'margin' and then
-> tab to see the snippets from the CSS bundle for margin? You'd have
to do some fancy multiple tabbing and back arrowing to get the cursor
out of snippet mode and back to normal so you could hit tab after you
typed margin on the first property spot. Then when that snippet fills
in you have to forward delete the remainder of what CSS(Plus) put in
for the value. It would end up looking like this
#ID {
margin: 20px;: value;
}
Fortunately with 1 small addition you can make the New Deceleration
snippet highlight the whole line when it's executed allowing you to
type say 'background' (replacing the highlighted selection) and then
hit tab -> showing you a list of values for the background property.
Then when you finish editing that hitting tab will display the next
line as originally intended but highlight it again so you may replace
it's selection and do the same.
To drill into each manually simply (like the original) requires only 1
more tab. It just depends on how well you know all your CSS properties
and values whether or not this would be more work or helpful.
The mod is here between the lines...
---------------------------------
;
${1:${2:property}: ${3:value};$0}
----------------------------------
Make sure you don't have a return after that last }. The cursor should
be blinking right after the } or you will get extra line feeds every
time this snippet executes which would make it not be a time saver
really at all...
Happy TextMating ;-)
> From: Alexander Deruwe <aderuwe(a)aqs-carcontrol.be>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Wed, 7 Mar 2007 16:42:39 +0100
> Subject: Re: [TxMt] Repost - With Subject - TODO Bundle Problem
> On 07 Mar 2007, at 16:34, Don Levan wrote:
> > /tmp/temp_textmate.3HxVWN:21:in `require': No such file
> to load -- /
> > Library/Application Support/TextMate/Support/lib/plist
> (LoadError)
> > from /tmp/temp_textmate.3HxVWN:21
>
> I get the same error - same versions of TextMate and OSX.
>
>
> Alexander Deruwe
I fixed this by changing the line in the TODO command "Show TODO List":
require "#{ENV['TM_SUPPORT_PATH']}/lib/plist"
to
require "#{ENV['TM_SUPPORT_PATH']}/lib/osx/plist"
Seems the plist was moved in the update.
hth
Barbara