Hi!
I've been playing with the blogging bundle earlier on, got it working
with Wordpress.
But the Wordpress installation lacked a Markdown plugin, so it wasn't
all that smooth.
Anyway, I'm currently working on a Joomla installation.
GetBundles didn't reveal anything, but Google showed traces of an
alpha version or something.
Anything usable out there now? Anything any of you guys use/recommend? :)
--
Phil :)
Hi!
I just wondered if it's possible to work in TextMate utilizing
Simplenote in a sensible way.
Notational Velocity/Nottingham is ok, but it would be nice to have
something more integrated into TextMate.
(I realize SimpleNote has a different aim than a powerful programmer's
editor, but having done weird stuff with good results in both Vim and
Emacs over the years, I thought I should ask if somebody used TextMate
in a sensible way with simplenote.)
I tried searching in GetBundles, but found nothing.
Again: Thanks for making this great editor and great bundles! :)
--
Phil
> TextMate commands are only guaranteed to work with 1.8.7 (or whatever ships
> with OS X).
> But commands use the ruby from your PATH where TM_RUBY is for user scripts,
> script validation and such.
> So it should be safe to set TM_RUBY to a different ruby.
> I don?t see any use of TM_RUBY in the GetBundles (which you mention had
> issues) found here:
> http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle/ ? I
> believe an older version may have wrongly used TM_RUBY.
OK that makes sense.
For people referencing the archives: unchecking the TM_RUBY checkbox in the
TextMate env settings got it working.
Relaunching TextMate doesn?t change the command environment, so wouldn?t
> think so, but I don?t know what ?using RVM to switch Rubies? conveys.
Gotcha, good to know. AFAIK RVM just switches out some symlinks similar to
python_select & others, nothing that would mess with TM.
Thanks for all your help, Allan!
Is there any known way to force TM not to cache the CSS loaded into an HTML page when constructing the Web Preview? I find that unless I do something drastic, like rename the file entirely, changes don't update much or at all within a single editing session. Clicking the reload button does nothing. I just had it happen again, this time with a new page (referencing the same CSS as a previously-edited page) and none of the latter changes are showing up.
Thanks,
Walter
Now, on to the reason I’m here: is there any way I can get expandable
directory aliases in the project drawer? At the moment, when you
create an alias to a directory it just appears as a file in the
TextMate project drawer. The only useful thing you can do with it is
to right-click and view it in finder.
Also I can’t actually move directories into other directories in the
project drawer but that bug has been there for ages so I guess you all
already know about it.
Ollie
I just did a "git pull" and now it works with #relative#, too.
Your command is a lot faster than my AppleScript. I don't have mach experience with AppleScript and to make sure, that the file is opened, before I tell TextMate to Update it, I had to insert a 1 second-Delay each. So your fix made my hack obsolete.
Thank you!
Jan
>
> OK, I think I fixed that. Thanks for catching that; I forgot to test #relative#.
>
> https://github.com/bradchoate/html.tmbundle/commit/53490e60df073836b55407a9…
>
> So how does this compare to processing the tree of files with AppleScript? Gotta be a little faster, no?
>
> -Brad
>
>
> On Sep 19, 2011, at 1:53 AM, Jan L?bke wrote:
>
>> Hi Brad,
>>
>> I was too quick with my praise. Your script did not parse the #relative# argument correctly. If the file is in /subfolder/subsubfolder, the link to the main-page #relative#index.html should parse into ../../index.html but it turns into index.html
>>
>> Jan
>>
I'm having some issues with indentation. I'm trying to tweak the indentation for my code, but the rules I'm applying are having some odd effects.
If I manually type in the code, everything indents as expected. It works perfectly.
However, if I use the "Indent Selection" command (Opt+Cmd+[), it messes up all of the indentation. Looking through the indentation rules stack, I could not find a regex that might be causing it to behave like it is.
The indentation centers around some basic array syntax in PHP:
$bla = array(
array(
1 => 2,
array(
),
),
);
This is the output if I type in the code manually. However, if I auto-indent the code, it turns out like this:
$bla = array(
array(
1 => 2,
array(
),
),
);
Thanks for any help.
-Andrew
Hi all, I recently updated some Ruby settings on my computer which resulted
in TM_RUBY being set to my RVM version (1.9.2). Now in some bundles
(GetBundles most recently) I am getting console errors that cause the
commands to crash. Stuff like this:
/Users/bmf/Library/Application
Support/TextMate/Bundles/GetBundles.tmbundle/Support/getBundles.rb:214:
syntax error, unexpected keyword_end, expecting $end
I fixed one or two commands by hand (I'm newish to ruby so not intimately
familiar with syntax differences between versions) but that is kind of a
PITA.
So, does TextMate require a specific Ruby version? When using RVM to switch
Rubies, does that require a TextMate relaunch? Trying to quickly fix this
stuff so I can get back to work, thanks for your help.
Brandon
Why isn’t there a forum for TextMate so I don’t have to be subscribed
to an entire mailing list just to talk about one thing?
Every time I want to ask something about TextMate I have to subscribe,
and then when I’m done, unsubscribe, and it’s a real pain in the ass.
Just filtering the email isn’t really an acceptable solution because I
prefer not to amass vast quantities of email I don’t care about. (I
backup my email among other things).
Sorry to be so moany but I find this really inconvenient. I guess
there must be a reason why you have it this way.
Ollie
Hi Brad,
thanks a lot! I just cloned your fork and it works as advertised.
Yes, it is very useful. I run a little website for our lions club (http://www.lions-werne.de/ - German-language only). Persistent includes help me keep the code manageable without using server side scripts like php or a complete CMS. I started the project with a windows-program called phase5.
Over the years, the site has grown to more than 100 html-files. With your update project-command, I can quickly propagate changes to the site-menu. I can imagine this is useful to other users, so the core bundle is the place to put it.
Jan
>
> Hi Jan,
>
> Hard to believe that I wrote that little bundle 5 years ago now. Glad to see some people still find it useful! I've committed a new "Update Project / Selected Files" command for it. It doesn't use AppleScript, so hopefully that will make it a little faster. And it only processes files that has the "tminclude" tag in them. Hopefully it will make it's way to the core TextMate bundle soonish. Until then, if you want to pull from my fork to try it out, you'll find it here:
>
> https://github.com/bradchoate/html.tmbundle
>
> -Brad