I'm trying textmate. How best to be introduced to this editor? Is there a tutorial anywhere -- especially a rails specific one?
DHH has a couple of movies featuring textmate. One is called def_end.mov and you can find it at http://media.nextangle.com/textmate/def_end.mov, referenced in his blog entry at http://www.loudthinking.com/arc/000270.html.
The movie shows what is happening, but doesn't indicate what keys are being pressed. He types
Summer
does something and it becomes
class Summer
end
etc. What key sequences are doing this expansion?
Thanks,
Nope, because the command in question rewrites the document. I keep
forgetting to save immediately after and then run into the "revert?"
dialog at some point later, losing (a small amount of) work.
jb
Brad Choate bchoate at gmail.com :
> There's an option for the command that allows you to specify to save
> the current document before invoking it. Is that sufficient?
>
>
> On Oct 27, 2006, at 7:16 AM, Jeremy Bernstein wrote:
>
> > I should have mentioned that the document in question _has_ been
> > previously saved, so it's not a question of TM not knowing where or
> > what to save.
> >
> > jb
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 :-}