Several days (weeks?) ago an update was pushed that has given me quite a
few problems.
Essentially it breaks the Ruby library paths:
This is the error coming from Cmd-R with the ruby bundle.
/Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1:in
`require': no such file to load -- dialog (LoadError)
from /Library/Application
Support/TextMate/Bundles/Ruby.tmbundle/Support/RubyMate/stdin_dialog.rb:1
The Textmate build is 1436.
What do I need to set to get my functionality back?
Cheers,
V.-
--
http://www.braveworld.net/riva
Hi --
I'm trying to develop a new language syntax for project management, note
taking and task management around GTD. I've been using Markdown but
would like to integrate some of the task features of the GTD2 bundle as
well as some project reporting scripts. Rather than develop this as a
completely distinct language, I'd like to simply extend the Markdown
bundle, based on special casing more specific syntactic matches of
existing Markdown syntax. For example, where Markdown recognizes:
- my colleague
as an unordered list, I'd like to extend it to recognize:
- @call my colleague
as a todo item, with a phone call context. This allows specialized todo
items to be spread throughout a project document, then extracted, rolled
up, etc using reporting scripts.
This is my first attempt at bundle development, so I'm trying to figure
the cleanest way to do this type of language extension. I've read the
various docs and blog entries on language syntax and contexts, as well
as http://wiki.macromates.com/Main/Howtos#bundleExtension, which is on
target but lacks some detail. In particular:
1. How do you override or specialize certain syntactic patterns from a
base language? The language docs show how to use "include" to reference
a whole separate grammar, but I think what I'm looking for is to
override only a single grammar rule. In the above example, should I copy
the "unordered list" pattern from the Markdown plist file and use a
modified version in the new language file? Or is there a way to
"subclass" the syntax w/out this copy-paste model by including only the
one rule?
2. Are there restrictions on the file suffixes for this new language?
Should the new language share the same file suffix as the original, or
come up with a different one?
Any pointers to sample code or even bundles that already do this type of
extension would be greatly appreciated.
Thanks!
Ramon
Also here is a short patch to latexutils so it doesn't choke if it
can't find a file (say when doing label completion and can't find an
inputted file).
Really I should also fix the find_file code but not now.
Peter
I just ran into a problem where after the recent update (version
1436), all of TM's shortcuts involving the ctrl key broke.
All of the emacs-like keybindings seem to still work, though.
I've tried resetting all of the preferences i could think of
including a new user account.
Thanks,
matt
Hello everyone!
The next release of the GetBundle will offer multi-repository support
and a faster "Show Bundles in Repository/ies".
To collect information for this command i need from everyone who wants
to see his bundle appear there some information (is that a correct
english sentence?).
1) Where can i reach your repository
2) Make sure your Bundles have a nice info.plist with description of
the Bundle, Author name and an email address in ROT13 (http://en.wikipedia.org/wiki/ROT13
)
like:
<key>contactEmailRot13</key>
<string>fronfgvna.tenrffy(a)inyvqpbqr.ng</string>
<key>contactName</key>
<string>Sebastian Gräßl</string>
<key>description</key>
<string>A bundle to <a href="http://sg.validcode.at/stuff/textmate-getbundle-bundle
">retrieve more bundles</a> from the subversion repository at
macromates.com.</string>
<key>deleted</key>
If you don't have a svn-repository send me link to your zipped bundle
to download.
This will also be the first step to a centralized bundle source (not
repository).
PLEASE, send you mail directly to me, not as a reply to this thread
and be sure the subject starts with [TM Bundle]
Thanks,
Sebastian
>> On 10/30/07, mlondon <mlondon(a)sprynet.com> wrote:
>>
>>> I would like to be able to FIND a string and move it up or down
>>> in the file.
>>>
>>
>> Pipe the document through:
>>
>> perl -ne 'BEGIN{$"=undef}push(@hold, $_) if /^NOTE/../^X-Palm/; print
>> unless @hold; if (/^X-Palm/) {pop @hold; print "$_@hold"; @hold=()}'
>>
>> j.
Hi Jay,
Sorry but I am not a programmer, and I have absolutely no idea how to
do what you are telling me above.
Will this move the entire line, even if it is wrapped onto 4-5 lines?
How far up or down will it move it?
Would really appreciate if you could provide some instruction in
plain english.
Thank you,
Matthew
I've just updated TextMate a couple of days ago to 1.5.7 from 1.5.6, and
am noticing what seems to be a bug when replacing text. Here's what
happens. If I'm in a Plain Text document, and specify to replace the
string X with the string Y, the first instance of X is first prepended
with Y, then all the Xs are replaced with Y.
This didn't happen with the previous versions of TextMate that I used,
starting with 1.5.4, I think. I'm using TextMate under X.4.10. Anyone
else seen this?
- Dushan Mitrovich
Hi Allan,
I have set most script- and text filetypes to be
opened with TextMate, and I guess it's the same
with a lot of fellow textmaters here. Is there a
simple official way to have these files recognized
as text type by quicklook, so that we can see the
content of the file instead of the purple icon?
In the preceding thread on the same issue a hack
was proposed, but maybe you (the Author) have
some interesting ideas on this and some plans for the
future. I think this would be a substantial
improvement.
Thanks,
Piero
Hello,
I am using build 1436 under Leopard. Whenever I run Typeset & View using the
LaTeX bundle, I get an error message saying "There was a problem reading the
preferences file, continuing with defaults", and the resulting pdf is
displayed in the Typeset & View window itself regardless of any settings in
my LaTeX preferences. Changing these preferences also has no effect. Now, I
tried removing my com.macromates.textmate.plist file, and was able to change
my pdf viewer setting in LaTeX preferences. This works fine, until I try to
change this setting again, at which I point get the same error as before.
Any ideas on what the cause may be?
Thanks.
--
View this message in context: http://www.nabble.com/Preferences-file-could-not-be-read%2C-might-be-relate…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
For the people who are not aware.
I took up the challenge and have now merged the Mono Bundle and the C
Sharp Bundle (from the E Editor) into the C# Bundle.
I have cleaned all the snippets and made them consistent and added a
few others as well as improving the language grammar.
I believe that the bundle is now more than usable. If you find any
problems, please let me know.
The new bundle can be found in the SVN repository under "trunk/Review/
Bundles/C#.tmbundle/".
I have a few ideas for commands and snippets to add, but would like to
give this opportunity for requests for new commands/snippets etc.
Matthew Winter
Hi Allan,
Thank you for the tip. That worked perfectly.
Cheers,
Diego
From: Allan Odgaard <throw-away-2(a)macromates.com>
Date: 2 November 2007 4:19:34 AM
To: TextMate users <textmate(a)lists.macromates.com>
Subject: Re: [TxMt] Quick Search bundle in Leopard
Reply-To: TextMate users <textmate(a)lists.macromates.com>
On 30 Oct 2007, at 23:24, Diego Barros wrote:
> Anyone that's using the Quick
> Search<http://www.datanoise.com/articles/2007/3/19/textmate-and-quick-searches
> >bundle
> under Leopard finding that it's now broken? I'm getting the following
> error as soon as I choose "Quick Search"
>
> /tmp/temp_textmate.xdnrYn:4:in `require': no such file to load --
>> /Library/Application Support/TextMate/Support/lib/dialog
>> (LoadError) [...]
It would appear the bundle does a require 'dialog' -- we changed the
name of that library to ‘ui’ some time ago. So try to change it in
the bundle command (found via Bundles → Edit Commands… and finding
the bundle in question).
Hi all,
I'm looking to add a macro that will let me do something like
comment ->
and create an inline comment structure like:
/*
+--------------------------------------------------------------------------
| Constructor
+--------------------------------------------------------------------------
*/
The only trick is, is it possible to continue pre-pending additional |
everytime I hit a newline? so if my comment consists of more than one
line I can do
comment ->
/*
+--------------------------------------------------------------------------
| Constructor
| <-- added by macro
| <-- also added... etc
+--------------------------------------------------------------------------
*/
Cheers!
- sf
Is there any way to have automatic hard wrapping?
I usually write LaTeX (or other text based files) and keep the source
under version control with subversion (and exchange files with
colleagues). So often I use diff tools to check the differences
between version (mostly with FileMerge, which highlights the
differences), but with soft wrap I end up with very long lines and
one has to scroll to see the real differences in a line (or better
paragraph).
The wrap paragraph comand (^Q) does not work well with LaTeX (it will
marge)
and the reformat commnd of the LaTeX bundle does not work for me.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.governatori.net/TextMatehttp://www.defeasible.org
Just a quick question... wondering if it's just me or if XMLMate 1.4.1
<http://www.ditchnet.org/xmlmate/> is broken as of TextMate 1.5.7
(1436)?
Instead of the XMLMate window appearing, the following is reported on
the Console when clicking Windows => Show XMLMate Palette...
TextMate[430] initializeLibxml
TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized
TextMate[430] *** +[OakTextView defaultEnvironmentVariables]:
selector not recognized
Behavior started with the cutting edge release that preceded 1.5.7,
before that, everything was fine.
Thanks!
On Nov 2, 2007, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> Thomas Aylott - subtleGradient wrote:
>> On Nov 1, 2007, at 1:50 PM, Allan Odgaard wrote:
>>> Heh… yeah, overall it was great, and the nut-reactions just added
>>> to the fun :)
>>>
>>> I was surprised by the many who expected a halloween theme as a
>>> recurring thing, someone even wrote me a week ago to tell that he
>>> had set his clock forward in anticipation of the theme, so it
>>> seems we definitely should make it a recurring thing, I guess we
>>> really need a seasons folder with themes for all the seasons :)
>> Sounds lovely. Can we just make it optional?
>
> No. Allan will force us all to become members of his pagan/
> satanist pumpkin-worshiping (or in winter, snowflake-worshiping,
> etc.) death cult. Muaahaahahahaha
I'd like to add to the chorus of sadness; the Halloween theme made my
day and it's a shame that some people have no sense of fun and humor.
When the stars are right and dred Cthulhu comes to claim us from the
unknown depths beyond nightmares, I know he will treat them in a
manner befitting their overly-serious views.
But I have to say I think part of what made the Halloween theme fun
would be taken away if it was up to me to apply it. I'd rather see
the fun continue, and I'd love a few more each year to be sure. I
suppose an option to turn it off once it appears, or maybe just
before, would suffice to quell the nay sayers (until Cthulhu eats
them, of course). :-)
Thanks Brad,
I found the info.
I tried for about 10 minutes but couldn't find them anywhere on my
harddrive.
So I actually had to pull the bundles from the editor to my desktop
to access the package contents.
Thanks again.
Torsten Walter
__________________________________________________
website: http://legacy.3d-m.de
tech-lab: http://playground.3d-m.de/
__________________________________________________
email: tw(a)3d-m.de
On Oct 31, 2007, at 4:32 PM, Brad Miller wrote:
> Torsten,
>
> If you look in the info.plist file for the bundle you will find
> contact information for the Bundle maintainer.
>
> Brad
>
> On Oct 31, 2007, at 10:06 AM, Torsten Walter wrote:
>
>> Hi,
>>
>> this is my first active participation in the TextMate list. I've
>> been using the program for about 4 months now and it is absolutely
>> worth ecery cent.
>>
>> I did some modifications and improvements to the php, html and
>> javascript bundles, mainly in terms of code snippets.
>>
>> I've added a bunch of form related snippets to html, dom and event
>> handling methods to Javascript and added php doc snippets.
>>
>> I thought these might be good for others as well.
>>
>> How do I contact the bundle maintainers about this or do I need to
>> go straight the SVN route?
>> I tried searching the wiki and google, but didn't actually find a
>> precise answer.
>> I've never used SVN so far, so I am not quite sure how to go about
>> this.
>>
>> Any help is greatly appreciated.
>>
>> Torsten Walter
>>
Hi all,
it seems that the "documentation for current word" command in the
Python-bundle is broken on Leopard as it explicitly requests
python2.3, which is not available on 10.5.
Is there any particular reason why this doesn't just default to
"python"?
Thanks,
Daniel.
> Hi all,
>
> I'm trying to run rspec bundle command but am getting errors.
>
> /Users/alastair/Library/Application Support/TextMate/Bundles/
> RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':
> undefined method `parse' for Spec::Runner::OptionParser:Class
> (NoMethodError) from /Users/alastair/Library/Application Support/
> TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `chdir' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:33:in `run' from /Users/alastair/Library/Application
> Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
> runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4
>
>
> Does anyonene have any ideas what might be causing this?
Hi Alastair.
Same problem here (RSpec-1.0.8 and RSpec.tmbundle from trunk @ 2796)
Resolved by changing one line in runner.rb see patch :
But I'm very new to Rspec, so I don't have any idea of why we have to
do that and I don't know if it breaks something.
Arthur
Hello,
I'm working on a new Ant bundle (It's in the reviews section of the
TM repository) and one of the commands invokes ant via ruby.
Currently I'm warning users that ant is missing/not found using:
ant_version = `ant -version`
if ant_version.nil? | ant_version.empty?
puts "<h1>Error</h1>Ant was not found, please ensure that it has
been installed and your $PATH is set correctly."
exit
end
but this isn't quite as elegant as the TM shell script require_cmd
(ruby prints the cmd not found error, and it takes a fraction longer
for ant to start up). Is there an equivalent I should be using with
ruby? If not is there a better way this could be achieved.
Thanks,
Simon
In textmate, I want to print a sntax-highlighted version of some source code.
(Print to pdf to be specific)
Printing and print preview only outputs in black and white.
Is there any way around this?
Hi,
I'm using Safari 3.0.3 on Tiger.
I use Safari's upper right search text field to google something.
Fine. After doing that I return to TM and the search string appears
in TM's Find Dialog?
This could be under some circumstances quite useful but is there a
way to suppress such behaviour?
Thanks,
Hans
HI,
I wrote a drag command which calls "$DIALOG" to show a nib. Fine.
If I drag a file from Finder to a new empty TM window, the nib
popups, but unfortunately TM don't get the focus.
If I drag and drop e.g. an image from Finder to an HTML document the
current document gets the focus.
Is this behaviour changeable?
Many thanks,
--Hans
For reasons I've yet to determine, pageUp: and pageDown: seem to be
misbehaving in TextMate (and only TextMate). I've tried removing all my
local changes (except to bind pageUp to pageUp: and pageDown to pageDown:
and including ~/Library/KeyBindings/DefaultKeyBindings.dict), all
non-standard bundles, scanning the list of bundle keybindings, and even
re-installing TextMate.
The behavior I'm seeing is downright bizarre: It seems as if pageUp/Down are
executing multiple commands and ending badly confused. Surprisingly,
option-pageUp/Down, which are bound to pageUp:/pageDown: at the system
level, work fine.
These same bindings work fine in TextEdit and XCode.
Any suggestions about where I might look? Is there some TextMate default I
can set to see more of what's happening?
Thanks!
Brendan
brendandixon(a)mac.com
Hi all,
Anyone that's using the Quick
Search<http://www.datanoise.com/articles/2007/3/19/textmate-and-quick-searches>bundle
under Leopard finding that it's now broken? I'm getting the following
error as soon as I choose "Quick Search"
/tmp/temp_textmate.xdnrYn:4:in `require': no such file to load --
> /Library/Application Support/TextMate/Support/lib/dialog (LoadError) from
> /tmp/temp_textmate.xdnrYn:4 from /tmp/temp_textmate.xdnrYn:4:in `each' from
> /tmp/temp_textmate.xdnrYn:4
I've updated the bundles directory to the latest, but alas still no joy. Any
help would be appreciated.
Cheers,
Diego