I have a project that uses the GNU automake system's Makefile.am files - for
some reason textmate is ignoring the file. I have checked file and folder
patterns and there is nothing that should preclude the file. Has anyone
else seen this? I there some other setting that might tell textmate to
ignore Makefile.am files?
Thanks,
-- dv
--
View this message in context: http://www.nabble.com/Makefile.am-tp19026092p19026092.html
Sent from the textmate users mailing list archive at Nabble.com.
At work, I always connect to network drives. However, when I try to open my
Macbook pro at home, it always hangs.. It opens a default project window and
just sits there. Please note that I am connecting to the same servers via
VPN client. Here is a sample:
Analysis of sampling pid 1355 every 10.000000 milliseconds
Call graph:
100 Thread_0f07
100 start
100 _start
100 NSApplicationMain
100 -[NSApplication run]
100 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
100 _DPSNextEvent
100 AEProcessAppleEvent
100 aeProcessAppleEvent
100 dispatchEventAndSendReply(AEDesc const*, AEDesc*)
100 aeDispatchAppleEvent(AEDesc const*, AEDesc*,
unsigned long, unsigned char*)
100 _NSAppleEventManagerGenericHandler
100 -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:]
100 -[NSApplication(NSAppleEventHandling)
_handleCoreEvent:withReplyEvent:]
100 -[NSApplication(NSAppleEventHandling)
_handleAEOpen:]
100 -[NSApplication
_sendFinishLaunchingNotification]
100 -[NSApplication
_postDidFinishNotification]
100 -[NSNotificationCenter
postNotificationName:object:]
100 -[NSNotificationCenter
postNotificationName:object:userInfo:]
100
_CFXNotificationPostNotification
100 __CFXNotificationPost
100 _nsnote_callback
100 -[AppDelegate
applicationDidFinishLaunching:]
100
+[OakCreateSymbolicLinkWizard sharedInstance]
100
-[OakCreateSymbolicLinkWizard init]
100
-[OakCreateSymbolicLinkWizard setupDestinationPaths]
100 fgets
100 __srefill
100 read
100 read
100 Thread_1003
100 _pthread_body
100 text::view::tokenize_filter::worker(void*)
100 text::view::tokenize_filter::actual_worker()
100 semaphore_wait_signal_trap
100 semaphore_wait_signal_trap
100 Thread_1103
100 _pthread_body
100 CMMConvTask(void*)
100 pthreadSemaphoreWait(t_pthreadSemaphore*)
100 semaphore_wait_signal_trap
100 semaphore_wait_signal_trap
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
semaphore_wait_signal_trap 200
read 100
Sample analysis of process 1355 written to file /dev/stdout
Sampling process 1355 each 10 msecs 100 times
member57006856(a)nybella.com
--
View this message in context: http://www.nabble.com/TextMate-hangs-when-working-from-home-tp19102829p1910…
Sent from the textmate users mailing list archive at Nabble.com.
Greetings, I recently purchased a new computer and am migrating over
to it. I use latex extensively within textmate, and I have never had a
problem with the latex bundle before. With the new machine, I can type
'pdflatex file.tex' at the command line and it prepares the file in
less than 1 sec. If I run "Typeset & View (PDF)", it takes over 30
seconds before the process begins, then it successfully generates the
pdf.
For completeness:
1) Edit latex file
2) Select "Typeset & View (PDF)"
3) Status window appears with spinning wheel
... 30 seconds pass ...
4) latex console output appears in the window: no errors
5) PDF appears in preview
What I cannot figure out is why this initial delay is occurring. The
same delay occurs with bibtex from textmate as well.
Any suggestions? I confirmed the preferences, etc. and nothing is out
of the ordinary. Again, running the command line has no delay in
starting either pdflatex or bibtex.
Thanks for your help,
Brian
It appears that Ruby 1.9 isn't happy with the "Run Script" (command-R)
in the ShellScript.tmbundle included with TextMate Version 1.5.7
(1436). Or, that if you have the recent Ruby.tmbundle checked out from
SVN, you'll need the ShellScript.tmbundle as well.
I got:
(erb):30:in `concat': character encoding differ (ArgumentError)
from (erb):30:in `html_head'
from /usr/local/lib/ruby/1.9.0/erb.rb:743:in `eval'
from /usr/local/lib/ruby/1.9.0/erb.rb:743:in `result'
from /Library/Application
Support/TextMate/Support/lib/web_preview.rb:117:in `html_head'
When I ran shell scripts from TextMate in Ruby 1.9. This stems from the
left and right single quotation marks used in the Textmate 1.5.7
command to frame the window title: ‘Run <filename.sh>’
The issue is already fixed in the SVN, so simply checking out the
newest version of ShellScript.tmbundle seems to fix the problem.
Best, Charles
Hi all-
I'm monkeying with the Ruby and Support bundles to get them to work
with Ruby 1.9, and have found an issue that would profit from some
advice, aside from my general newness to Ruby and TextMate.
I've got Ruby 1.9 installed in /usr/local, so from the command line,
it's pretty easy to invoke the stock Leopard 1.8.6 with
"/usr/bin/ruby". MacRuby, which interests me greatly, is another issue.
I don't know if it plans to stay as "MacRuby" or not. (I'd guess "yes"
for the foreseeable future.)
For a while, I regarded the static TextMate variable TM_RUBY as an easy
way to specify which Ruby I wanted running under TextMate. However,
I've noticed it will affect the "Run" (^R) command, but has no effect
on "Update Markers" (Shift-command-^E). I assume this is because the
rcodetools xmpfilter.rb file begins with "#!/usr/bin/env ruby", which
has the effect of overriding TM_RUBY.
I grep'ed and found 38 (varied) occurences of "#! ruby" in the Ruby
bundle, and another 10 occurences in the Support bundle. Some of these
are under the direct control of TextMate programmers and contributors,
but others, such as rcodetools, represent a library for a wider
user-base than just TextMate.
So what to do? I imagine the smart folks on this list are aware of the
issue, but it's perhaps not a front-and-center item just yet. I'd
appreciate whatever thoughts exist on the subject, as I'm likely to
make changes, but wish to do so in a generally useful fashion.
Thanks, Charles
El 25/08/2008, a las 8:51, textmate-request(a)lists.macromates.com
escribió:
> Message: 3
> Date: Sun, 24 Aug 2008 18:20:22 +0200
> From: Allan Odgaard <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: Opening Ruby Headers
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <F30AFE9C-7991-42B7-B703-B9955B7335DE(a)textmate.org>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> On 24 Aug 2008, at 17:16, Juan Falgueras wrote:
>
>> I have extended my old C/C++ headers opener to Ruby. I have
>> associate it to Shift-Cmd-D as in the classic MPW ;)
>
> There already is a header opener on ??D scoped to Ruby.
I finally have found the place you said, Shift-Cmd-D was (I did
mkdir -p /Library/Application\ Support/TextMate/Bundles
cd /Library/Application\ Support/TextMate/Bundles
svn co http://macromates.com/svn/Bundles/trunk/Bundles/Ruby.tmbundle
and reload bundles in Ruby. It has been the first time I have done
this. Ok.
I've found this for "Open Require"
#!/usr/bin/env ruby
file = STDIN.read.sub(/\A(["'])(.*)(\.rb)?\1\z/, '\2.rb')
dir = $:.find { |d| File.exist?(File.join(d, file)) }
if dir && file then
ENV['FILE'] = File.join(dir, file)
%x{ "$TM_SUPPORT_PATH/bin/mate" "$FILE" }
else
puts "Could not find include: ‘#{file}’"
end
The result of exec it on a simple line as:
require 'test/unit'
is
Could not find include: ‘test/unit
’
shown as tool tip.
Clearly bad. Not only it looks for files badly, it also ignores the
places where ruby use to look for its required.
Although the rest of ruby package contains useful things.
(moreover, the scope in the command was bad, it was:
source.ruby meta.require string.quoted
without commas, and it was necessary for me to insert commas to make
it work)
- juan falgueras
In Ruby.tmbundle/Support/RubyMate, when I run the file "test.rb" using
the command-R key combination in TextMate, the HTML window produces:
Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:65:in
`block in ': undefined method `map' for "that\xE2\x80\x99s
nice\n":String (NoMethodError) from /Library/Application
...plus the call chain.
When I rename the file to "bigfoo.rb", command-R functions correctly,
although I get some method errors as part of the HTML display; a
different issue.
Line 65 of run_script.rb, and also line 92 ("out.join"), seem to be
expecting an Array, but my printing out the class of the argument "str"
indicates it's a string.
As I said, I'm a newbie to Ruby, so I'm not really confident of my
analysis here. One could change "str.map" to "str.each_line", but then
I'm not sure what to do with "out.join", unless it's simply to return
"out" at that point.
Or maybe I'm completely off-base.
Best, Charles
Situation:
1. I am running Firefox
2. I edit an html file
3. I press cmd-R
Result:
Firefox comes into focus, a new tab has been opened and nothing shows
there.
If I run Safari, everything works as it should.
Any suggestions?
Thanks,
Christopher
*****************************************************
Department of Computer Science, University of Sheffield
Regent Court, 211 Portobello Street
Sheffield S1 4DP UNITED KINGDOM
Web: http://www.dcs.shef.ac.uk/~kiffer/
Tel: +44(0)114-22.21967 Fax: +44 (0)114-22.21810
Skype: christopherbrewster
SkypeIn (UK): +44 (20) 8144 0088
SkypeIn (US): +1 (617) 381-4281
*****************************************************
Corruptissima re publica plurimae leges. Tacitus. Annals 3.27
Hello everyone,
I find myself reformatting long file of datas using the Find/Replace dialog
box in combination with RegExp (very powerful !).
But… I would love to have an undo button to undo whatever replacement I just
made. Right now, if I make a mistake in a replacement, I have to close my
file without saving and do it again from the beginning…
Hope this would be easy to implement…
Thanks in advance.
--
View this message in context: http://www.nabble.com/-FeatReq--Undo-in-Find-Replace-tp19140123p19140123.ht…
Sent from the textmate users mailing list archive at Nabble.com.