i am seeing some strange rubymate output when working with threads -
at times text is not printed on separate lines (when using puts rather
than print) and at others, the text is not printed at all. any
suggestions to resolve the rubymate behavior or pointers to where i
could?
regards,
jean-pierre
sample 1:
mate = Thread.new do
puts "Ahoy! Can I be dropping the anchor sir?"
Thread.stop
puts "Aye sir, dropping anchor!"
end
Thread.pass
puts "CAPTAIN: Aye, laddy!"
mate.run
mate.join
output from rubymate:
Ahoy! Can I be dropping the anchor sir?CAPTAIN: Aye, laddy!
Aye sir, dropping anchor!
expected output:
Ahoy! Can I be dropping the anchor sir?
CAPTAIN: Aye, laddy!
Aye sir, dropping anchor!
sample 2:
homicide = Thread.new do
while true
puts "Don't kill me!"
Thread.pass
end
end
suicide = Thread.new do
puts "This is all meaningless!"
Thread.exit
end
Thread.kill(homicide)
output from rubymate:
<nothing>
expected output:
Don't kill me!
This is all meaningless!
Don't kill me!
I'm using the current (as of a few minutes ago) Subversion repository
for TextMate bundles, and I'm having a problem with the LaTeX mode's
highlighting. The problem is with the "lstlisting" environment (and
possibly others).
With the default Mac Classic theme, this environment is supposed to
have a light blue background. However, while writing a recent paper,
the highlighting often did not work the way it's supposed to. To
demonstrate the problem, I've attached three LaTeX files. The
rightway.tex file shows how the highlighting is supposed to be; the
wrongway1.tex and wrongway2.tex files show incorrect highlighting. Is
there a simple fix for these problems?
Thanks,
Trevor
P.S. Although the rightway.tex file highlights the environment in
blue as it should, it also changes the word "is" to bold. Why does it
do this?
I have Preview as my LaTeX viewer, and in the Typeset and View command,
is there a way to first close the Preview window with the current
document open (if there is such a window).
http://blog.circlesixdesign.com/2006/11/19/textmate-backpack-
interface-pre-release/
I've posted the initial version of the Backpack (http://
www.backpackit.com) bundle on my blog. It's got the following
commands with dialogs:
Create Reminder
Quick Destroy Reminder
Quick Edit Reminder
Destroy Multiple Reminders
List Reminders by Date
Add as Note
View/Edit Notes
Change Backpack Account
It has rough Keychain access support that works pretty well. It is,
at this point, a demonstration of what we could do. It could be
integrated in a lot of ways with a few other bundles. Right now I'm
using it to quickly post reminders that will be sent to my cell
phone, and client notes from documents that I'm working on. I can
log in and work through a tree view of all my notes on all my pages
and even edit them from the same interface. This bundle works great
with the free version of Backpack.
There are a couple of commands I left out. Some of the text based
commands have the possibility of sending malformed dates which will
break your Backpack page. 3 Backpack accounts later, I think I've
got the bugs worked out, but I'm not ready to risk anyone else's
pages yet. Also, a couple of gem-dependent commands... like one that
uses Chronic (human readable dates - i.e. Next Tuesday at 5pm) for
reminder entry.
If you try this out, please let me know if you run into bugs and
problems. I have not had a chance to test this on anything other
than my G5 and my PPC laptop.
Thanks,
Brett
recently I installed the svn client from source and wanted to try out
the subversion bundle in Textmate.
I figured out that I need to set the path variable in TM prefs, since
i use tcsh as my shell, and textmate obviously not (bash?).
I already have a working copy of my project checked out, and when i
change a file in TM, I tried to commit, but it always gives me an
authentication error. Now my test server grants me anonymous access,
so i don't have to specify any credentials, and i think Textmate is
giving some username here.
I couldn't find out where to change this. In CVS I had shell
variables to set this, but I couldn't find any info on this on the
subversion site quickly and in the help file that comes with the
bundle. (maybe a TM variable in advanced prefs?)
Can anyone lead me in the right direction please.
Thomas Krajacic
Haris,
Thank you for the quick response. I was looking for the "Run Command"
menu that was listed, in the screencast, under the Automation menu; I
seem to have found it under the Bundles -> HTML -> Insert Open Close
Tag.
Thanks for your help,
Farhan
Hi,
sorry if my question is a bit off topic but I couldn't find any
information.
I'm just writing a tiny perl script which converts non-ASCII
characters coming from 'defaults read ...' to utf-8 because I want to
simplify the interaction between BASH and tm_dialog. This works
perfectly even with utf-16 surrogates.
But then I was a bit naïve! I thought that 'pl' outputs non-ASCII
characters in the same way, but it didn't.
E.g. an German umlaut 'ö' stored in a xml plist format is outputted
as '\U221a\U2202'!!
Has someone an idea what kind of 'format' it is? I found no
documentation.
Or could it mean that 'pl' do not support utf-8 string at all?
Thanks for any hint
Hans
Hi all,
I'm new to TextMate. I was watching the screencast by Allan on HTML. I
noticed his copy of TextMate has the "Automation" menu. This menu is
not in my version of TextMate (v1.5.4 - 1324) and I'm running 10.4.8.
I would greatly appreciate the help.
Thanks,
Farhan
I fixed up the scoping and interpolation of some of Perl's quote-like operators: q//, qq//, qw//, qx//, and m//. s///, tr///, and heredocs still need some work.
Attached is the diff and test script.
I'm using movabletype 3.33 when I post an entry I get an error
posting it
/usr/lib/ruby/1.8/xmlrpc/parser,rb:154:in 'fault':wrong fault-
structure: {"faultCode"=>"server","faultString"=>"Can't call method
\"param\" on an undefined value at /web/script/onegoodmove/
onegoodmove.org/mavabletype/plugins/commchallenge/lib/
commchallenge.pm line 48. \n} (RuntimeError)
I get a similar error when posting from del.ic.ious Can't call method
"param" on an undefined value at /web/script/onegoodmove/
onegoodmove.org/movabletype/plugins/commchallenge/lib/
commchallenge.pm line 48.
Any help is appreciated.