Hi all (Brad especially, I guess) -
Now that Textpattern has new xml-rpc support (http://textpattern.com/
download-rpc), I thought I'd give it a try with the blogging bundle.
When I specify my XMLRPC URL (mydomain.com/rpc/) and run the "fetch
post" command, I get the following error after entering my password:
/usr/lib/ruby/1.8/xmlrpc/client.rb:543:in `do_rpc': Wrong
content-type (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:409:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/metaweblog.rb:28:in `getRecentPosts'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:498:in `fetch'
from /tmp/temp_textmate.7ihCLB:3
Any ideas? Have I perhaps failed to configure something properly? It
(the xmlrpc support) does seem to work with MarsEdit.
-Alan
Anybody yet to make a Diff bundle command that compares the top two
windows? It's a drag to make a new project and drop two files in,
especially since often my windows are unsaved documents.
I tried but failed ... my AppleScript know-how dunno how. I couldn't
figure out how to get the contents of the top two windows. Can anybody
do that?
Tnx, Q
the new begin and end patterns allow me to highlight the background
(I do it in my Blackboard color theme)
the new patterns are... well, you know what they do. the link pattern
is pretty raw, feel free to improve it.
merge and commit, I'm away from my main puter so here I've got a
silly read-only working copy.
{ name = 'comment.documentation.java';
begin = '(^\s*)?/\*\*';
end = '\*/(\s*\n)?';
patterns = (
{ match = '\*\s*(@(param|throws))\s*([a-z]\w+)\s*';
captures =
{ 1 = { name =
'keyword.other.documentation.params.java'; };
3 = { name =
'keyword.other.documentation.value.java'; };
};
},
{ name = 'keyword.other.documentation.link.java';
match = '{@link\s+\S*\s+(\S*)}';
},
{ match = '\*\s*(@[a-zA-Z0-9_-]+)\s*';
captures = { 1 = { name = 'keyword.embedded-
docs.params.java'; }; };
},
);
},
Currently, you can successfully use TextMate to build an Xcode target
into a user defined build directory (via user.pbxuser), but you cannot
run the resulting executable.
I'd like to propose the following change to the Xcode bundle: if a
SYMROOT is defined in userBuildSettings use that as the directory
instead.
Thanks,
Kimon
PS I know not Ruby, please modify as needed
Hey all, I just noticed an omission in the Ruby grammar. I checked the
Ruby grammar's comments to see if there was any mention of this, but I
didn't see anything; perhaps I just missed it. In any case:
def show#{suffix}
@#{singular_name} = #{class_name}.find(params[:id])
render#{suffix}_scaffold
end
(This example is from the Rails source, in action_controller's
scaffolding support.)
All of those #'s become comments; not one of them actually is.
I'm bringing this up partly for posterity (I'm anal-retentive and
would deeply love the Ruby grammar to be perfect (: ) but mostly
because I'd like to use this syntax mechanism without TextMate making
it look like it's not actually code... (:
I'm gonna take a look at it, but if anybody else has a quick fix
before I commit anything, they're welcome to it.
Rob
I was frequently selecting a word and finding it in the project so I
thought I would automate the 3 command sequence (control w, command e
and command shift f, return) by using a macro. Unfortunately the
find in project part is not recorded within the start/stop macro. I
guess this is because it brings up a dialogue box? Any way around
this or maybe I have overlooked some built in command that does this?
Dave.
I have an Xcode project with a non-default [SYMROOT][1]. The run
command seems to disregard this and expects the project to be laid
out like:
foo/
Project.xcodeproj
build/ # <-- SYMROOT
which it should not do. Can someone fix this?
[1]: http://developer.apple.com/releasenotes/DeveloperTools/Xcode/
XcodeBuildSettings.html
-- Daniel
"style" snippet unneccessarily adds CDATA block.
CDATA is only needed for content that uses "<" and "&" very often, but
these characters aren't used in CSS syntax at all. They might occur
sometimes in URLs and string constants, but parametrized images and
generated content are used rarely enough that CDATA can be dropped from
snippet.
--
regards, porneL
I notice that for certain commands the 'Documentation for word /
Selection (man)' is unable to find the man page for some commands
while typing 'man foo' seems to work.
For example 'asr' returns the man page formatted quite nicely in the
html window.
However on my system (MacBook Pro, running 10.4.6 w/dev tools, and
cutting edge TextMate) the documentation for hdiutil and rsync
couldn't be found.
Do I need to modify my shell configuration? or the command in someway?
My apologies if this has been discussed before, briefly searching the
list didn't seem to turn anything up.
Thanks
Peter
Hi everyone,
I have two questions on coloring the text in textmate.
# How do I turn off the background coloring when I turned it on once?
Of course I could use the same color as the main background color.
But than
I need to change them all again.
# I would like to color the scopes "entity.name" and
"entity.name.section"
but somehow that does not work. Textmate only applies the rule for
"entity.name"
Thanks in advance
Christoph
~~~~~
Christoph Biela
cbiela(a)gmail.com
… when you can see "svn up /Library/Application\ Support/TextMate" in
your terminal window, much more often than you call your girlfriend
… when you select text, hit " and start screaming because the stupid
application is not as smart as textmate
… when you are desperately trying to find alternatives to
applications because "Edit in textmate" doesn't work with your old
Hi. I've just started playing with Objective C and (obviously!) want
to use TextMate to edit my code. I saw the rather cool demo in Allan's
2nd Obj-C screencast [1] of how to reformat a method signature, but it
didn't work for me.
I tried it with the following example:
+ (id)dateWithString:(NSString *)description calendarFormat:(NSString *)format
locale:(NSDictionary *)locale
{
}
and found that the results came out like this (having removed everything
in the file prior to the method definition):
+ (id)dateWithString:(NSString *)description
calendarFormat:(NSString *)format
locale:(NSDictionary *)locale
Do I need a specific version of the TextMate, the Objective-C bundle, or
some other supporting files to make this work?
I'm running build 948 of TM, and have just upped by Objective-C bundle
this evening (the one shipped with 948 didn't define the format method
signature command).
Cheers,
Graham
[1] http://macromates.com/screencast/objective_c_part_2.mov
Hi everyone!
Maybe you noticed my Bundle already, but for those who haven't.
The GetBundles Bundle is the easierst way to get and update Bundles
from the Macromates SVN Repository.
press CTRL + CMD + I a dialog apears and you can choose the Bundle
you want to install.
To update every Bundle just press CTRL + CMD + U
Download the Bundle and extract it to ~/Library/Application Support/
Textmate/Bundles.
You don't need to install Subversion, the executable is included in
the bundle.*
http://sg.validcode.at/files/GetBundle.tmbundle.zip
*This maybe causes issues on Intel Macs so please report.
Thanks!
Basti
Hello:)
Sorry for my bad english
After \catcode`\{=1 nothing any more is recognized; syntax coloring
is lost
and with (l'article) or {l'article} syntax highlighting is lost; the
first symbol ( or { is not found any more
Thanks for your great soft
Alain Matthes
Hi Sylvain, Eric,
Thanks for your replies. The ._ files are the resource fork, as you
pointed out, which is why "find" and other commands can't see them.
The 10.4 "tar" command includes them automatically, and doesn't seem
to provide a way to turn them off. :-( Fortunately, "rsync" does, so
I solved my particular problem by doing an "rsync" of the project to
/tmp and then tarred it up there.
Thanks again for the pointers.
Regards,
Chris.
Hi all,
When I "tar" up a TextMate project directory, I get a ._<filename>
file for each file I've opened in TextMate. I've had a look at one of
these files on another system, and it appears to contain TextMate's
last caret position information for the related file. The problem is
that I can't seem to exclude these files from the tarchive using the
--exclude or --exclude-from parameters to "tar". Further, if I try to
use "find" to generate a list of the ._ files, the ._ files are never
in the list. Similarly, they don't show up in the output of "ls", and
can't be deleted with "rm".
Has anyone been able to successfully exclude these files from "tar"?
Is there any way to delete them?
Thanks,
Chris.
Hi there,
I'm trying to create a drag command on the HTML bundle to have
TextMate insert a <script src="..." /> snippet whenever I drag a .js
file on a HTML file.
I've duplicated the "Insert CSS" snippet but whenever I try to change
the File Types to 'js' the text field clears itself...
Any ideas what may be happening? Is the drag command stuff borked? It
seems to fail only with .js files (I have a drag command I created
some time ago for .as files and it works perfect...)
I'm using TextMate 1.5.1 1031 on 10.4.6 PPC
Thanks in advance...
a!e
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Just a quick question if there is an estimate on when templates will
be available again in the bundles editor. I just lost one of mine
(made a slight modification and now it is no longer available --
though it still is in the bundle) and would like to make a few
additional templates.
Thanks
Robert
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (Darwin)
iD8DBQFEfdUL0ZwlS5OIzRcRAm0EAKCAGG2fbIrI1aF6mfnm9BkvE+GY5wCguClL
SzCLAQ6cxy67MQFsro+gafE=
=I4WN
-----END PGP SIGNATURE-----
Is it possible to get the folder contents of the drawer? What I'm
wanting to do is be able to search for a definition in a file
contained in one of the folders in one of the groups in the drawer.