Hi all,
has anyone had problems with specifying the master file in compiling Sweave
documents?
I've set the TM_SWEAVE_MASTER variable in the given Textmate project (also
tried with TM_LATEX_MASTER) but it wouldn't compile from the master file
when I run "Sweave, Typeset and View" from another Sweave file in the
project.
Thanks for any hint,
Stephane
> On 2/1/09 1:08 PM, in article A6DF15FC-7FE8-4C82-92CF-
> F9AFE6EA9BCF@...,
> "Gert van Oss" <gertmt@...> wrote:
>
> > Last week I read an article re. where a bundle 'RubyFrontier' was
> .......
> > confirm that it is not available yet.
>
> See me after class. :) m.
great an opportunity for me to learn Ruby and built sites in a
structured way!
Thanks a lot for the in-depth introduction via the screencast.
Gert
On Jul 22, 2009, at 8:00 AM, Allan Odgaard wrote:
> While recording the macro press ?F and enter the text, then click the
> find action you want (next). This saves a search for the given string
> (and options) in the macro, as opposed to just a ?find next? which
> you?d get, had you only used ?G.
Thanks, Allan, for identifying FindNext as the culprit. Works great now.
jon
Attempting to use the latest CVS bundle (checked out via git), I'm
finding that most of the CVS commands are not working in TextMate
v1.5.8 (1498). The History -> Log
and Revert commands worked, but others fail with errors like this
(from a diff attempt):
/Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:310:in
`to_plist': An object in the argument tree could not be converted
(ArgumentError)
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:310:in`block
in initialize'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:309:in`popen'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:309:in`initialize'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:20:in`new'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/ui.rb:20:in`dialog'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:42:in`call_with_progress'
from /Users/steve/Library/Application
Support/TextMate/Bundles/CVS.tmbundle/Support/cvs_diff.rb:13:in`diff_active_file'
from -:6:in `<main>'
or this (from a commit attempt):
/Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:212:in`eval':
wrong argument type Proc (expected Binding) (TypeError)
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:212:in`_capture_outer_self'
from /Users/steve/Applications/TextMate.app/Contents/SharedSupport/Support/lib/Builder.rb:145:in`method_missing'
from /Users/steve/Library/Application
Support/TextMate/Bundles/CVS.tmbundle/Support/cvs_commit.rb:19:in `'
Each failed command leaves an untitled, unclosable window in its wake.
Anyone else see this? Is there a place to submit bug reports for
bundles?
Thanks,
Steve
When I want to use the Markdown --> Headings --> Level 1 [setext] /
Level 2 [setext] commands, I get the error message
"/tmp/temp_textmate.qXjdGq:11: undefined method `rstrip' for
nil:NilClass (NoMethodError)".
Textmate is Version 1.5.8 (1505) on Leopard 10.5.7 with the stock ruby
1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0].
I updated Markdown.tmbundle to r11632 and Support to r11693 but it didn't help.
Any idea what is going wrong here?
The Code of the Headings Command is:
#!/usr/bin/env ruby -wKU
require 'jcode'
# Split document into lines. Get current line number minus one for
# previous, minus another for ruby being 0 based.
lines = STDIN.readlines
line = ENV['TM_LINE_NUMBER'].to_i - 2
# Get length of previous line, using jlength for unicode
length = lines[line].rstrip.jlength
# Print same number of =
length.times { print "=" }
Regards, Sebastian R.
I'm confused about how to record a macro using a pre-defined text
string *without* defaulting to whatever was last in my Find dialogue.
For example, for use after invoking Edit-in-TextMate for an email
reply, I recorded a trivial macro that searches for
"On dateblah Jane Rodriguez wrote:"
then captures the first name using something like this
^.+? (\w+) \w+ wrote:$
and finally plops this at the top of my reply:
"Hi Jane,"
(What can I say, I'm a lazy correspondent.)
I've tried setting the macro both to local and global clipboards, and
also editing the macro syntax (with which I'm not terribly familiar)
to something like this:
<plist version="1.0">
<dict>
<key>commands</key>
<array>
<dict>
<key>argument</key>
<string>wrote:</string>
<key>command</key>
<string>findNext:</string>
</dict>
...
Seems like this should be easy, but I'm stuck--any help appreciated.
jon
PS: thanks to Jay Soffian for solving my JavaScript-as-TextMate script
question!
The Ruby on Rails bundle has the Control-Pipe keyboard shortcut for the "Call
Generate Scripts" function.
How do I enter the shortcut on an Apple Wirelss Keyboard? The pipe symbol is
on Option-7 there but Control-Option-7 does not work.
Your help is greatly appreciated.
-Ralf
--
View this message in context: http://www.nabble.com/How-to-enter-Control-Pipe-with-Apple-Wireless-Keyboar…
Sent from the textmate users mailing list archive at Nabble.com.