Hi all, running svn up *.tmbundle subversion runs for awhile but then
I get the following error:
svn: PROPFIND request failed on '/svn/Bundles/trunk/Bundles'
svn: PROPFIND of '/svn/Bundles/trunk/Bundles': Could not read status
line: Connection reset by peer (http://macromates.com)
Is there a problem with the subversion repository?
Thanks in advance.
All the best, Mark
It seems to me that there is a bug in the smarty bundle. Any time you
have a ' in a comment or as an apostrophe in text (as in don't) it
thinks it's the start of a string and throws off the hilighting for the
rest of the page.
Is this the right place to report this?
Could somebody please add a simple "Entity encode selection" command
to the HTML bundle or maybe send it to this list for those who don't
want to use the new Javascript/ROT 13 based version as described here:
<http://macromates.com/blog/archives/2006/10/16/text-transformations-
screencast/>
Thanks a lot!
Oliver
Hi all,
When I create a new document, if I press the right arrow, even before
writting anything, it moves one space at a time until it reaches the right
of my window. Same behaviour happens in any document. It's as if it couldn't
detect line breaks....
I don't think it used to be like that, have I accidentaly changed a setting?
Thanks
hi everybody.
when viewing the rails documentation (⌃H) for the "render" command,
i get a screen telling me, there's multiple commands which contain
"render". when i click on "ActionController::Base#render", i get
this error:
> /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:167:in
> `display_flow_item': undefined method `join' for "Rendering an
> action":String (NoMethodError)
with this trace:
> from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:211:in `display_flow'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:210:in `each'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_formatter.rb:210:in `display_flow'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:268:in `display_flow'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:63:in
> `display_method_info'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:59:in `page'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_display.rb:59:in
> `display_method_info'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:59:in
> `report_method_stuff'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:115:in `get_info_for'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:135:in `process_args'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in `each'
> from /usr/lib/ruby/1.8/rdoc/ri/ri_driver.rb:134:in `process_args'
> from /usr/bin/ri:48
then follows the first part of the documentation for render:
> ------------------------------------------
> ActionController::Base#render
> render(options = nil, deprecated_status = nil, &block)
> ----------------------------------------------------------------------
> --
> Renders the content that will be returned to the browser as the
> response body.
i wasn't able to reproduce this error with any other documentation,
neither the other "render"-methods nor any other method.
it doesn't seem to be an issue with ri, as it just displays fine if i
use ri from the commandline. remarkably the first part of the
documentation is displayed but the mainpart is missing (about 150
lines).
it's not more than a slight annoyance, as i hardly need the docs for
"render" any more :-).
regards, niko.
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
Does the Commit button inside the svn status window not work? I do Bundles -> Subversion -> Status, then I see a message noting that I have one modified file. I click the "Commit" button, but it says "File(s) not modified; nothing to commit." Here is the output from this window:
--------------------------------------------------------------------
Status for “(selected files)”
M Revert Diff html_common/templates/series_categories.ihtml
Commit
File(s) not modified; nothing to commit.
--------------------------------------------------------------------
Q
On Thu, 26 Oct 2006 15:33:47, romain.guerout(a)stud.unibas.ch wrote:
> OK : after a quick talk with my system administrator,
> who activates the public keys authentification,
> it works great. :-)
>
> Thanks.
:) Glad it is working for you now.
One thing I have noticed since I've been using it. I think I have
the wrong arguments to scp. I was being clever and made scp copy the
permissions bits in both directions. I now believe this is a bad
idea. If you change the permissions on the remote file while
editing, then saving will change them back, which is a hassle.
I haven't updated the tarball on my web page, but given that all the
copying is in the scripts, you can change the args to ssh yourself.
Or even replace ssh with a completely different transport mechanism
if you're so inclined. It just needs to be able to copy the file
both ways.
Be well,
Will :-}
I modded my Textmate Javascript bundle today to treat 'true' and 'false'
different to the other constants.
http://vennt.net/tempting/intelibool.png
So now true gets a green highlight and false a red one so you can read if
statements at a glance etc
Here are the lines I modified
{ name = 'constant.language.js';
match = '\b(false|null|super|this|true)\b';
},
was replaced with
{ name = 'constant.language.js';
match = '\b(null|super|this)\b';
},
{ name = 'constant.language.js.true';
match = '\b(true)\b';
},
{ name = 'constant.language.js.false';
match = '\b(false)\b';
},
Then I just added rules to my current theme for
"constant.language.js.true" and "constant.language.js.false"
I would have done it Textmate wide but I don't know enough about the
system for that, is there any implications for what I have done here?
I'm experimenting with a way to generate id/class names from the
selected text when I trigger one of my headline commands. I really
like the way this turned out and thought I would share it. Unless
someone comes back and asks me to make changes, I promise I'll stop
now. I prefer camel case in CSS files, but I've been known to be
inconsistent. I made commands to switch between the two as well. I
apologize to anyone who is currently rolling their eyes ;->.
I'm attaching the command for an h1 tag with a shortcut key of
command-1 that will take selected text or the whole line and turn it
into a headline. It removes leading spaces and tabs and there's a
camel case version and an underscore version. On a long headline the
id name gets ridiculous, so there's a command that will work on both
to shorten it to the first three words. And lastly, in case you
can't make up your mind either, or need to correct your own
inconsistency like I do, there's a convert command that will switch
back and forth. The shorten and convert commands are set to
command-! (exclamation point). I also used an h1 tab trigger on the
h1 commands which you may want to remove if you keep the original h1
snippets. If used with the tab trigger, they behave just like the
old snippets, except they'll mirror and transform the text you type
between the tags.
Enough rambling.
Brett
I'm wondering why when editing an email message (using the Mail language) the scope is set to:
text.mail.markdown
text.html.markdown
This results in html-style commands and snippets being executed (comments command inserts <! -- -- > style). It seems like Text should be the inherited scope, with modifications ( > set as the comment mark).
Which begs another question: how to import the Text language bundle into the Mail bundle. (So that I can have plain text scopes and thus syntax coloring).
Thanks!
Q
On Thu, 26 Oct 2006 12:19:22, romain.guerout(a)stud.unibas.ch wrote:
> William Uther <willu.mailingLists@...> writes:
>
>>
>> Hi all,
>>
>> I just finished some scripts that allow remote editing with
>> TextMate, kinda like BBedit's sftp functionality. They're a little
>> rough, but I thought I'd release them so that others can play if they
>> want.
>>
>> http://www.cse.unsw.edu.au/~willu/RemoteEdit/
>>
>> Cheers,
>>
>> Will :-}
>
>
> It silently fails for me :-(. I type “mate file†on the
> remote
> machine, it asks for my password on the Mac, keeping an eye
> on my net traffic, I see that the remote file is copied on my Mac
> but nothing happens…
> Is it possible to have more debugging outputs of some sort…
>
> TIA
I'll have a look this weekend. Most of it is pretty simple though -
you could probably add that debugging yourself if you know any shell
script at all. Here's a description of what is going on.
The 'mate' script runs on the remote machine. It is a simple shell
script that ssh's into your mac and runs the 'remoteOpen' script with
the username on the remote machine, the hostname of the remote
machine and the path to the file.
The 'remoteOpen' script scp's the file to the local machine. Given
that this is happening, you know this is being called with correct
arguments. Once it has scp'd the file across, this script calls
'odbedit' on the local file (with '-s remoteOnEdit' arguments which
tells odbedit to call the 'remoteOnEdit' script when the file is
edited. That script just scp's the file back to the remote machine).
I'm guessing this call to odbedit is what is failing. odbedit is not
a script, but is has pretty good debugging output on errors. I
suggest opening a shell on your mac, creating a text file, and
running 'odbedit file' locally to see what happens. The file should
open in TextMate, and odbedit should block. When you close the file
in TextMate, odbedit should unblock and exit.
In more detail, odbedit will send an AppleEvent to ODBForwarder.app
which will forward the AppleEvent to TextMate. When Textmate saves
or closes the file, it will send an AppleEvent back along the same
path. In order for odbedit to find ODBForwarder.app, you need to
have shown the finder where ODBForwarder.app is - open the directory
containing ODBForwarder.app in the finder.
odbedit will give errors to the stdout in the shell you ran it on.
You can see the debugging output for ODBForwarder.app by running /
Applications/Utilities/Console.app . ODBForwarder.app will display a
message there when it starts up, and will display any errors there.
I can imagine two possible errors here:
i) ODBForwarder.app cannot be found or started for some reason. In
this case I would expect to see an error message from odbedit, and
you should not see the startup message from ODBForwarder.app on the
console.
ii) ODBForwarder.app cannot find its preferences file. In this
case it will default to sending its events to BBedit, which you
probably don't have installed :). This should show up as error
messages on the console. For more info on ODBForwarder.app and its
preferences, see http://www.cse.unsw.edu.au/~willu/ODBSuite/
#ODBForwarder
iii) ODBForwarder.app has found its preferences and is sending to
TextMate, but for some reason the events are not getting through.
This should also show up as error messages on the console.
I'm not sure if the error messages are detailed enough to tell the
difference between ii) and iii) by default. Have a look and see what
you get.
Hope that helps. Let me know what happens :)
Will :-}
im getting an error of no files to commit from the svn status window
when clearly there are things to commit by clicking the diff button of
the files above, this is on the latest rev, can anyone else see this ??
Kim
A little quirk with the Latex equation highlighting: if you use an
equation environment like \begin{equation} or \begin{multline},
everything inside of the \begin \end is highlighted as an equation, even
\label{} definitions. Shouldn't things like \label not be colored like
the equation? What do you all thing?
Will
Here's what I'm doing with the repeating tab stops, using </ul> as
the tab trigger. I end up creating one of these on every site I
design, so this will make things easier. They all follow the same
format, and if there are multiple lists, they just change ids. I
have not yet accounted for nested or dropdown menus.
Brett
-----------------------------------------------
Create Navbar:
-----------------------------------------------
<ul id="${1:navbar}"}>
<li class="${2/[[:alpha:]]+|( )/(?1:_:\L$0)/g}"><a href="${3:#}">$2</
a></li>
</ul>$0
Tab Trigger: Navbar
-----------------------------------------------
Create Navbar Menu Item:
-----------------------------------------------
<li class="${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g}"><a href="${2:#}">$1</
a></li>
</ul>$0
Tab Trigger: </ul>
Hi all,
I just finished some scripts that allow remote editing with
TextMate, kinda like BBedit's sftp functionality. They're a little
rough, but I thought I'd release them so that others can play if they
want.
http://www.cse.unsw.edu.au/~willu/RemoteEdit/
Cheers,
Will :-}
I am faced with introducing a client to using an FTP program. They
use Windows exclusively, so...
What can anyone recommend as a simple, straight-forward, umm... "Mac-
like" FTP client program for Windows? Do any of them offer an "Edit
with..." feature?
I saw mention of "WebDrive" earlier on the list. Something I'd not
heard of and it *might* be the ticket. If I can get them to buy it.
Thanks,
eo
Hi -
I'm blanking, being absolutely sure I've come across this before on
this list, but can't find any references to it. Is there a command
available (from ruby, ideally) to refresh a document, based on
changes made to the associated disk file?
Thanks
Jeremy
I searched the Docs, I can't find a command that would bring up a dialog, let
me enter a line number, say "478" and take me to that line. Is there a way to
do this without creating a bookmark?
Thanks very much,
Steven
P.S. Lovely product, I'm using it to write ActionScript 2.0. Textmate has
really changed the way I work. It's made sitting down to edit my classes
something I really look forward to. Makes bbEdit look like a quaint old antique.
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
Hi,
Let's say I have some text of mine in soft column mode with, say, 80
characters width.
Is it possible to copy this text, or change the text, in such a way that
apparent line breaks (ones with the dot appearing after in the beginning of
the next line) change to actual line breaks?
In other words: Is it possible to change apparent line breaks (in soft
column mode) to apparent line breaks?
Cheers,
Ulai
_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Dear all,
after receiving many mails with suggestions to improve the
Hypersearch tool I rewrote the whole code.
Short description (for more details see bundle's help):
- look for all occurrences of the search pattern
- normal string search or regular expression (PERL)
- Unicode safe for regular expressions and case insensitivity
- comes with its own dialog (a simplified and modified CocoaDialog)
-- text field for search pattern
-- check boxes for Regular expression, Ignore case, and Wrap long lines
-- each field has its own keyboard shortcut (see help)
- search parameters are persistent and make use of TM_SELECTED_TEXT
- the output is an HTML page
- the lines are implemented as hyperlinks to the line AND column
- there is no need to save your current document in beforehand to use
Hypersearch
Change for the future:
- usage of TM_DIALOG
- add the ability to search across lines
- ...
Feedback is welcomed.
All the best,
Hans-Jörg
**********************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6 phone: +49 (0) 341 3550 341
D-04103 Leipzig fax: +49 (0) 341 3550 333
Germany e-mail: bibiko(a)eva.mpg.de
**********************************************************
Currently SQL storage like "varchar(24)" is all defined as storage.type.sql
It would be nice if the numeric length was picked out as
constant.numeric.sql
So a suggestion for whomever maintains the sql bundle: can we change the
simple regexp for storage type to a capture type.
I think something like this?
{ name = 'meta.storage.type.sql';
match =
'(?i:\b(bigint|bigserial|bit|bit\svarying\(\d+\)|boolean|box|bytea|character
\s(varying)?\(\d+\)|char\(\d+\)|var\schar\(\d+\)|char(\(\d+\))?|cidr|circle|
date|double\sprecision|float\(\d+\)|inet|int|integer|interval\(\d+\)|line|ls
eg|macaddr|money|number(\(\d+\))?|numeric(\(\d+,\d+\))?|oid|path|point|polyg
on|real|smallint|serial|sysdate|text|times(\(\d+\))(\swithoutstimeszone)?|ti
mestamp(s(\(\d+\))(\swithoutstimeszone)?)?|tinyint\(\d+\)|varchar\d?(\(\d+\)
)?)\s*)\b';
captures =
{ 1 = { name = 'storage.type.sql'; };
2 = { name = 'constant.numeric.sql'; };
};
},