I would like to set up to do offline blogging (Wordpress) from Textmate, but
have run up against a problem.
When I go to "Setup Blogs" to set up my blog, I should get a modifiable
template where I can enter my blog-specific information which will then go
and fetch my posts. Problem is that when I try to do this and call the
template, nothing happens. Instead, I just have a blank text file.
What's wrong? Is the template missing? If so, how do I get a new copy?
Thank you.
--
View this message in context: http://www.nabble.com/Problem-with-%22Setup-Blogs%22-function-in-Blogging-b…
Sent from the textmate users mailing list archive at Nabble.com.
I Just upgraded to TeXLive 2008 and I am experiencing some problems
when previewing in Skim.
In the Typeset & view Window I get the following error message:
Application 'Skim' not running sh: /Applications/Skim.app/Contents/
Resources/displayline: No such file or directory
I already checked some earlier mails about this kind of problem and
found that
earlier the code in texMate.py had
Contents/Resources/displayline
but Skim was changed and needs
/Contents/SharedSupport/displayline
When I check my texMate.py
I already have the correct code there.
I do not understand where the wrong line of code comes from.
Skim starts an displays my files. I just would like to get rid of the
error message.
I have another problem also:
Forward search i.e. selecting text in TextMake and finding the
corresponding spot in Skim, does not work.
Neither selecting Show in PDF Viewer (pdfsync) nor pressing Ctrl-Alt-
Apple-O does anything.
I do have Skim 1. 2 (38), TeXLive 2008 ad TextMate 1.5.8 (1496)
--
Erich Neuwirth
Didactic Center for Computer Science and Institute for Scientific
Computing
University of Vienna
It happens to me in plain text mode (the default new document).
>> Hi,
>>
>> My 1.5.8 (1496) quits each time I try this:
>>
>> Open a blank document.
>> Type opening brace i.e. {
>> TM inserts closing brace i.e. }
>> Press Ctrl+k to kill closing brace
>> Press backspace to get rid of opening brace
>> TM crashes.
>>
>> This seems to happen only if I used Ctrl+k to delete the closing
>> brace.
>> If I place the cursor to the right of } and press backspace,
>> everything works fine.
>>
>> Is this a known problem?
>
> In every language, or just one?
Hi,
My 1.5.8 (1496) quits each time I try this:
Open a blank document.
Type opening brace i.e. {
TM inserts closing brace i.e. }
Press Ctrl+k to kill closing brace
Press backspace to get rid of opening brace
TM crashes.
This seems to happen only if I used Ctrl+k to delete the closing brace.
If I place the cursor to the right of } and press backspace, everything
works fine.
Is this a known problem?
Thanks,
Abhi
Hi there,
I'm experiencing a bug with the latest TM build (1496). It happens on
two different computers (both running 10.5.5)
Scenario:
- you have a project open
- it has some subfolder
Steps:
- open a file in the project
- save it on a subfolder, with the same name, by using "Save as..."
- (focus on a different program to make TM refresh the project)
- try to open the original file -- FAIL
Bonus points:
- use the terminal to rm the newly created file and watch TM go nuts
(specially if you have enabled the "Save files when focus is lost")
Is it just me, or should I report it as a "proper" bug?
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Hi, all.
I teach programming and a student really stumped me with this one. His
program was generating a file with a space at the end of the name,
like this: "test.txt ". I could not open this file with TextMate, only
with OpenOffice. TextMate shows the file in the project drawer but
when you click on it nothing happens. I finally figured it out by
going to a terminal window and displaying the directory with a ls -a.
It showed this up as "test.txt\ " and it started making sense. I could
then track down the bug in my student's code.
Is this a known thing? I searched the list archives but didn't see this.
Thanks,
-Eric
I have a new Mac Pro, and for some reason PHP validation won't work at
all on it. I'm using a migrated user account from a Tiger machine, and
I suspect that might be the problem, but I can't figure out what is
setting it on the wrong path.
If I create a new test account, everything works perfectly in it. The
default PHP command is used for validation, and errors are properly
displayed.
I have tried setting and deleting the TM_PHP variable. I have created
and destroyed a .MacOSX/environment.plist. I can't find anything else
that would explain this on the web or this list. Any ideas?
Thanks,
Walter
Out of curiosity[1], what would happen if two bundles "claimed" the
same language? Would Textmate only use one? How would it pick?
(Assume there are conflicting items; ie. language syntax definitions.)
-Neil.
PS. Well, okay, not entirely just "out of curiosity"; I'm asking
because I'm thinking of "redoing" (or at least extensively modifying)
some bundles.
Is there already a known solution for correctly indenting multi-line lists,
so that the elements properly align with each other, e.g. in Python:
myList = [firstElement,
SecondElement] # 'f' and 'S' align
myDict = {key1:value1,
key2:value2} # the two 'k' align
It seems the lack of fine control over indentation in Textmate is already
well known; I was just wondering if there is any commonly accepted
(interim?) solution.
Thanks!
Abhi
Hi everyone :)
Don't want to complain or anything but it seems to me like a legitimate
question : is TextMate still in development ?
Apart from v. 2.0, it seems like there is no 1.x update anymore…
Thanks in advance for any insights :)
--
View this message in context: http://www.nabble.com/Future-development---tp20688730p20688730.html
Sent from the textmate users mailing list archive at Nabble.com.
I've just discovered the Plain Text Wiki bundle [1], and I'd like to
improve the grammar by including the markdown language, so that the
pagename scopes are just added on to markdown.
Currently, the language grammar looks like this:
{ scopeName = 'text.html.markdown.wiki';
comment = 'TODO: Get nesting to work correctly.
Currently, the links are only picked up outside of paragraphs.';
fileTypes = ( 'txt', 'markdown', 'mdown', 'markdn', 'md' );
patterns = (
{ include = '#delimited'; },
{ include = '#camelcase'; },
{ include = 'text.html.markdown'; },
);
repository = {
camelcase = {
name = 'markup.other.pagename.camelcase';
match = '[A-Z][a-z]+([A-Z][a-z]*)+';
};
delimited = {
contentName = 'markup.other.pagename.delimited';
begin = '\[\[';
end = '\]\]';
};
};
}
This includes the markdown grammar, but breaks everything else that is
in a paragraph.
I'm fairly sure I'm missing something simple, but can anyone help me out?
Cheers,
Matt
[1]: http://interconnected.org/home/more/2007/05/textmate-wiki/
PS. I've made a fork at:
http://github.com/mattfoster/plaintextwiki-tmbundle/ if anyone's
interested.
--
Matt Foster | http://hackerific.net
Hi,
there is a new “GetBundles” release available.
svn checkout:
export LC_CTYPE=en_US.UTF-8
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
svn update:
export LC_CTYPE=en_US.UTF-8
cd '~/Library/Application Support/TextMate/Bundles/GetBundles.tmbundle'
svn up
osascript -e 'tell app "TextMate" to reload bundles'
or simply:
http://email.eva.mpg.de/~bibiko/downloads/textmate/GetBundles.tmbundle.zip
“GetBundles” runs on MacOSX 10.4.x and MacOSX 10.5.x ppc/intel.
“GetBundles” is rewritten entirely. Here are the four main changes:
• it uses a cache file from textmate.org which will be generated by a
script that runs once a day on textmate.org to collect available data
from TM's svn repositories, from github.com, and includes private
hosted bundles (Cache File lists 346 bundles. Last modified date: Thu
Nov 20 11:00:03 UTC 2008)
• the installation of a bundle will be done by TextMate (the same
procedure when you double-click at a tmbundle in Finder)
• it updates TextMate's “Support Folder” automatically –if
needed– before it installs a bundle
- this update of TextMate's “Support Folder” will be always stored
in ~/Library/Application Support/TextMate/Pristine Copy/Support
- if there is no /Library/Application Support/TextMate/Support folder
it will create a symbolic link to Pristine's one
> this means:
- if you has already checked out TextMate's “Support Folder” TM
will use this one regardless of “GetBundles'” update
- this makes it possible that an user can use its own “Support
Folder” and s/he is responsible for its update
- if you like to use Pristine's “Support Folder” simply rename or
delete /Library/Application Support/TextMate/Support and update it by
using “GetBundles'” > Gear Menu > Update “Support Folder”
• “GetBundles” now displays the status (installed, there's an
update available etc.) of locally installed bundles
All activities, warnings, and errors are written into “GetBundles'”
Log file. You can open it by pressing ⌥⇧⌘L or “Gear Menu” >
Show Log.
The help file was updated but is still under constructions.
Furthermore you cannot update a bundle if this bundle is under
revision control (svn/git). You can delete/rename that bundle and use
“GetBundles” to reinstall it, or use svn/git (the “Info Window”
of a bundle shows the shell command(s)).
The underlying script is rather complex thus “GetBundles” needs
your help to fix problems, bugs, insufficiencies, speed, update
status, including the GUI design (Leopard and Tiger uses different
GUIs) and misspelled or wrong English messages etc.
I'd be appreciate to get any kind of feedback in order to improve it
further.
Kind regards,
--Hans
PS If you know more TextMate bundles hosted on private sites which are
worth to be listed in “GetBundles” please mail me the URL. I'll
then maintain the server file for private hosted bundles.
Hi,
Is there a 'Documentation for Word' function for Smarty (like the one
in the PHP bundle).
Both the PHP and Smarty manual look pretty much alike so it should not
be that hard to do?
Mvh Christoffer Winterkvist
---------------------------------------
oprah(a)noodlemantra.eu
This is very strange. I recently lost the Next Completion (esc) and
Incremental Search (ctrl+s) keybindings in TextMate. Lost as in nothing
happens when typing them. I recently updated to bleeding edge, i.e. 1.5.7
(1474). I can see the bindings in KeyBindings.dict in TextMate.app, but
maybe the file is corrupt somehow. Adding the non-functional bindings to a
local KeyBindings.dict in Application Support/TextMate makes them work
again. Am I the only one with this problem?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
Hi,
** apoloigies if you're reading this again, posted it as a reply to
other topic, rather than new message.... idiot. :-(**
Having a small problem changing the HTML wrapping setup to accommodate
php docblocks.
I use alt-cmd-[ to reformat my code, and it (unsurprisingly) resets
docblock comments to
/**
* A comment
**/
However, I like my coments to fold!
I've tried changing the HTML language to cope with this, but I can't
quite get it to work. I can get
/**
* A comment
**/
to fold with :
foldingStartMarker = '(?x)
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|
script|ul|ol|li|form|dl)\b.*?>
|<!--(?!.*--\s*>)
|^<!--\ \#tminclude\ (?>.*?-->)$
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|^\s*/\*\*\s*$ # added for folding docblocks
)';
foldingStopMarker = '(?x)
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|
style|script|ul|ol|li|form|dl)>
|^(?!.*?<!--).*?--\s*>
|^<!--\ end\ tminclude\ -->$
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
|^[^{]*\}
|^\s*\*\*/\s*$ # added for folding docblocks
)';
But can't seem to get the two spaces before the ** on the last line to
take.
Is there some trick with the regex I'm missing, or can I change the
behaviour of alt-cmd-[ ?
TIA
R
--
Richard Dyce MA (Cantab.) MBCS MIET
--
Richard Dyce MA (Cantab.) MBCS MIET
Hi all,
I'm was having trouble running Applescripts with the Applescript
bundle since upgrading to a new computer at work (recent TextMate
install). After upgrading the support Folder to the latest in the SVN
repo, I now get the following error when running applescripts:
Running “A Simple Script.scpt”…
0:1: syntax error: A unknown token can’t go here. (-2740)
I assume that the error is from the bundle incorrectly passing
arguments to the command line, and I was wondering if I could get some
help figuring things out. Oh, yeah and the scripts do run...
My TextMate Version is Version 1.5.7 (1474)
Bundles & Support: At revision 10820
Thanks.
Faun
Can anyone help with a command that would convert the case of selected
text as well as replaced spaces with underscores?
So, for instance:
This is a Title -> this_is_a_title
As a complete beginner in TextMate, I'm not sure how to create a
command to do this.
Any help would be greatly appreciated.
Best,
Michael R.
(For Easy Reference: http://ticket.macromates.com/show?ticket_id=4EFB31A8)
I wanted to bring up this ticket to find out if there was any news or
plan or even intent to address it.
Needless to say, I would really like to see it implemented. (You
should see some of my notes/outlines that I make in Textmate; with an
outline 6 tabs deep, it gets pretty messy when the line wraps around...)
Sincerely, and ever hopeful,
Neil.
Folks,
I wasn't aware that there is a cutting edge version of the cutting
edge version.
I just downloaded that and installed it (a little bit against the
"never change a running system" theory).
TM and latex compilations still work fine, but I get an error message
now, which I don't know what it means:
/Users/clausman/Library/Application Support/TextMate/Support/lib/tm/
process.rb:125: warning: Insecure world writable dir /usr/local/bin in
PATH, mode 040777
Does either of you have any pointers?
Thanks for your help,
Claus
On 19-Nov-08, at 12:09 PM, textmate-request(a)lists.macromates.com wrote:
> Message: 4
> Date: Tue, 18 Nov 2008 21:36:09 +0100
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: Latex bundle troubleshooting II
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <D64FBDD2-B3B6-4F0C-91CF-E5D584E8F3DA(a)rosiba.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
>
> On Nov 18, 2008, at 9:14 PM, Guido Governatori wrote:
>
>>
>> On 19/11/2008, at 4:58 AM, Alex Ross wrote:
>>
>>>
>>> On Nov 18, 2008, at 5:40 PM, Achilleas Lazarides wrote:
>>>
>>>> Hello again,
>>>> Seems I am still having some trouble with the latex bundle.
>>>> Basically, the first time I attempt to typeset after launching
>>>> textmate, I
>>>> get:
>>>>
>>>> ==================================================
>>>> The current PATH is:
>>>>
>>>> /usr/bin
>>>> /bin
>>>> /usr/sbin
>>>> /sbin
>>>> Please add the directory containing ?kpsewhich? to PATH in
>>>> TextMate's Shell
>>>> Variables preferences.
>>>>
>>>> Alternatively, the PATH can be retrieved from Terminal but this
>>>> requires a
>>>> relaunch:
>>>> (button to perform this operation)
>>>> ==================================================
>>>>
>>>> Now as a matter of fact the correct path is present in my shell
>>>> variables in
>>>> textmate's preferences (in "shell variables" under "advanced"), as
>>>> opposed to
>>>> just /usr/bin, /bin and sbin as mentioned in the message;
>>>> furthermore, it is
>>>> already in my usual PATH. If I do click on the button, it quits and
>>>> restarts
>>>> and everything is ok. Checking the preferences, a new PATH var has
>>>> been added,
>>>> containing my shell path. This addition occurs even if the exact
>>>> same path
>>>> variable is already present in textmate's preferences.
>>>>
>>>> If I now quit and restart textmate, the same process is repeated,
>>>> and a new
>>>> path variable added to the preferences before I can typeset
>>>> (identical to the
>>>> other ones already there), and everything works after that, until I
>>>> quit
>>>> again, and so on.
>>>>
>>>> This did not happen before I updated my latex and support bundles.
>>>>
>>>> Maybe I'm just being thick, but I can't see what is going on, and
>>>> this is
>>>> starting to get annoying. Any ideas?
>>>
>>> Update TextMate to bleeding edge by ?+Click (Option+click) the
>>> ?Check for updates?? button in TextMate's Software Update
>>> preference pane.
>>>
>>
>> I had the same problem and updating to the cutting edge did not
>> help.
>> I had to include /usr/texbin in the path in ~/.MacOSX/
>> environment.plist
>
> Updating to cutting edge is not enough. You have to ?+Click (Option
> +Click) the ?Check now? button in the Software Update prefpane.
> This downloads a special TM build that corrects a bug with the way
> TextMate puts Shell Variables into the environment. After this,
> setting ?PATH? in the Shell Variables section of preferences is
> enough.
>
> ?Alex
The show current scope shortcut (ctrl+shift+p) is not working for me in
TextMate and has not done so for a long time. Using Gerd Knops excellent
KeyBindingsEditor shows no such binding in TextMate. The system dictionary
binds it to moveUpAndModifySelection: which is indeed the action I get in
TextMate. Anyone knows what's up with that?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
hi there,
I've made this feature request for improving the latex bundle and got
a reply that maybe the user discussion list would be more appropriate.
So here it is:
pstricks remains extremely useful and pdflatex seems to be the future
of LaTeX, although it does not support pstricks directly.
There is a simple and elegant way of having then coexist, which is to
use the pst-pdf package, which defines a new environment to wrap
pstricks figures. However, this now requires that we compile the ps
and pdf parts separately as follows:
latex <file.tex>
dvips -Ppdf -o <file-pics.ps> <file.dvi>
ps2pdf -dAutoRotatePages=/None <file-pics.ps> <file-pics.pdf>
pdflatex <file.tex>
This is properly documented in
http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput
The LaTeX bundle should be extended with a new test to see if the
pst-pdf package is loaded and perform the steps above, removing the
.ps file after the last step.
Has anyone been able to extend the latex bundle with a way to handle pst-pdf?
Thanks
Denilson
Hi,
I've one Mac (10.5.5) where HTML CodeCompletion does produce the
following error:
sh: : command not found
/Users/Wolfgang/Library/Application Support/TextMate/Support/lib/ui.rb:
86:in /bin/bash: -c: line 0: unexpected EOF while looking for matching
`''
/bin/bash: -c: line 2: syntax error: unexpected end of filemenu'
from /Users/Wolfgang/Library/Application Support/TextMate/Support/
lib/ui.rb:81:in /bin/bash: -c: line 0: unexpected EOF while looking
for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filemenu'
from /Users/Wolfgang/Library/Application Support/TextMate/Support/
lib/codecompletion.rb:213:in /bin/bash: -c: line 0: unexpected EOF
while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of fileinitialize'
from /tmp/temp_textmate.bx693a:3:in
What's going wrong on this machine?
Wolfgang
On 17 Nov 2008, at 04:36, Allan Odgaard wrote:
> For reasons unknown to me, your setup has TM pick the Support folder
> included with TM rather than the one you svn checkout.
Aha! It turns out that my .bash_profile was setting both
TM_SUPPORT_PATH and TM_PLUGIN_PATH for some reason. Those lines have
been there a while, perhaps a very early version of TM or some plugin
required that?
Anyway, I commented out those two lines and TM is now using the
correct support folder and I can once again run perl scripts!
Thanks so much for helping to track this down,
- d
Allan,
Here are the versions I have:
$ cat /Library/Application\ Support/TextMate/Support/version
9280
$ cat /Applications/TextMate.app/Contents/SharedSupport/Support/version
9279
The perl script I'm trying to run is pretty minimal:
#!/usr/bin/perl
print 123;
For the heck of it I removed:
/Library/Application Support/TextMate
~/Library/Application Support/TextMate
I also deleted TextMate.app and downloaded a fresh copy. The perl
script then ran!
I then downloaded the cutting edge version of TextMate, and the perl
script still ran.
I then followed the instructions in the wiki to checkout bundles via
subversion, and restarted TextMate. Once again the perl script would
not run, and yielded the same error:
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Removing:
/Library/Application Support/TextMate
and restarting TextMate, the perl script once again worked.
It looks like something may be broken in Support version 9280?
- Dave
I'm very proud to announce the release of PySmell v0.7.2, now with
extra goodness.
Changes:
* TextMate's dialog no longer errors when dealing with a huge number
of entries.
* New --input allows mutation of existing PYSMELLTAGS file; useful
to run after a file is saved
* Analyze the current file when detecting completion type; more up-
to-date suggestions
* TextMate now completes a word rather than re-writing it.
* TextMate honours TM_PYTHON - no need to set PATH
* Fixes in pysmell.vim by Krzysiek Goj; Thanks!
* Bundle ez_setup for people that don't have setuptools.
* Use argparse.py rather than hand-rolled option parsing
* Fixed issue 18 (tabs)
PySmell is an auto-completion library for Python, meant to be plugged
in different editors. It uses static analysis to generate a TAGS file
for your code, and uses that to give you suggestions. It's very fast
--- suggestions are instantaneous and analyzing Django 1.0 takes ~15
seconds.
Download from PyPI: http://pypi.python.org/pypi/pysmell/
Issue tracking at Google Code: http://code.google.com/p/pysmell
Development at GitHub: http://github.com/orestis/pysmell/tree/master
Installation:
"python setup.py install", then copy pysmell.vim, pysmell.el in the
relevant places, or double click PySmell.tmbundle.
More instructions included in README.markdown.
Thanks,
Orestis Markou
--
orestis(a)orestis.gr
http://orestis.gr/
When coding in AS3 in TextMate I like to put in some nice JavaDoc
style comments:
/**
* Fetch up a dice from the server
* @param Number dice_num Which dice to get (1-6)
* @return NetDice Populated dice info object
* @access private
*/
All well and good. I put a tab after the keyword declaration, so I'd
type:
@param<tab>Number<tab>dice_num<tab>etc...
For the first row. When I try to populate the return value:
@return<tab>...
The value gets automatically converted into this:
@↩
Why does this happen? What can I do to turn it off? My workaround is
to type this instead:
@return<space><tab>...
The go back and delete the space but that's just a PITA. Any
suggestions?
G.
--
Being drunk is feeling sophisticated without being able to say it.
http://www.playr.co.uk/
On Nov 16, 2008, at 7:00 AM, Allan Odgaard wrote:
> When the path contains ‘TextMate.app’ then it is a sure sign of not
> being up-to-date (since it favors the Support folder inside
> TextMate.app).
>
>> [...] At revision 10740.
>
> We’re at r10812, but it’s now http://svn.textmate.org/trunk/
>
> See http://lists.macromates.com/textmate/2008-October/027271.html
> for how to relocate.
Great, thanks Allan!
I've just relocated my /Library/Application Support/TextMate/ to the
new svn repository, and updated so I'm now at revision 10812 (feels
good to be up to date once again).
TextMate tells me it's at cutting edge version 1464.
I then reloaded bundles, restarted TextMate for good measure, and
tried once again to use the Perl bundle's Run command on my script,
but I'm still getting:
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Might my ~/Library/Application Support/TextMate/ folder be messed up
somehow? Is there a way to reset it yet preserve the themes and
bundle's I've added and created?
Getting an error when trying to connect to a remote server using the
mysql bundle. It's wanting to look for the mysql socket in the wrong
spot. Anyway to change this? Would be cool if there was just an
environment variable to set this.
and ideas?
Hi all,
I just stumbled on a description of WebMate, a plugin that enables live editing
of (say) HTML in the preview window rather than in the source. This would be
fantastically valuable to me, as I do all my text editing in various TextMate
flavors.
Unfortunately, the links I Googled (at End.com) seem to be dead. Does anyone
have a copy of the WebMate bundle, an alternate url to download it, or a
suggested replacement?
Thanks!
jon
/RR (http://responserequested.com)
Hi,
Today I attempted to use the latest revision of the Latex bundle.
Unfortunately, it seems that for some reason typeset and view has stopped
working. It errors with a message like:
/tmp/temp_textmate.S1T12b:3:in `require': no such file to load --
The rest of the latex bundle seems OK. So, does anybody know what is going on,
or should I try to work it out?
Thanks for any ideas.
Using TextMate 1.5.7 under Tiger (10.4.11). I have a Finder window
open and sorted by modified date/time. If I save a file in TextMate,
the Finder window does not automatically update - I have to click on
the file once and then the window re-sorts. This does not occur if I
save the same file using TextEdit, for example. I do not use Atomic
saves.
Is this a known issue under Tiger? Does Leopard solve this problem?
Why would TextMate behave differently than TextEdit in this case?
Hi All,
I'm writing a bundle for gnuplot[1], and I've run into some difficulty
with a small snippet I'm trying to write.
What I have so far is this:
for [${1:n} ${2:=} ${2/(in)|(.+)/(?1:"":\:)/}] $0
and what I'd like to have is something more like this:
for [${1:n} ${2:=} ${2/(in)|(.+)/(?1:"$3":$3\:$4)/}] $0
The conditional expansion seems to work ok, but unfortunately the
placeholders inside it don't appear.
Can anyone give me any pointers, or tell me what I'm doing wrong?
Cheers,
Matt
[1]: github.com/mattfoster/gnuplot-tmbundle
--
Matt Foster | http://my-mili.eu/matt
Ok so I am making a new bundle of snippets and everything was working
great, had it installed on my laptop and iMac. I then did an svn to
track the changes....still runs on my iMac but it mentions the plist
is corrupt so I am unable to install it anywhere else. Not sure what
happened as I am not used to the bundles yet. I looked at the plist
file and it looks weird....but still runs on my iMac, where I made the
bundle.
any ideas why this happened?
Hi.
I have a little problem with the blogging bundle. Running the category
command (cat <tab>) gives me the message "Received exception:Too many
return values. Only one allowed. No categories available!".
Other functions, for instance uploading works. Does anyone have an
idea what this could depend on? I am running agains Blosxom with XML-
RPC.
Regards,
Lars.
Recently the Perl "Run Script" bundle command stopped working for me.
The error I'm getting is
-e:2:in `require': no such file to load -- /Applications/TextMate.app/
Contents/SharedSupport/Support/lib/tm/executor (LoadError) from -e:2
Normally this type of error goes away when I update my Bundles or my
Support folder, but it appears that I'm up to date:
$ cd /Library/Application\ Support/TextMate/Support/
$ sudo svn update
At revision 10740.
Help?
ok, hello there, I used textmate for a while with "found on the internet"
licence, but now I decided to really buy it (and I really did), so now I
think its OK to post some feature request or questions here :)
first feature request I have is something simmilar to the "Tidy" function in
HTML bundle, only with C. There is a program called indent, thats on every
Mac OS X distribution in /usr/bin/indent, that does exactly that. This can
be used to "tidying up" the C code..
--
View this message in context: http://www.nabble.com/C-indent-tp20510776p20510776.html
Sent from the textmate users mailing list archive at Nabble.com.
When I use Edit Each Line In Selection (alt-command-A) on very long
selections, TextMate seems to crash.
As a silly example:
for i in 1 2 3 4; do for j in /usr/bin/*; do echo $j >> test; done; done
paste -d ' ' test <(python -c "for n in range($(wc -l test | grep -oE
'[0-9]+')): print 'is a file' ") | mate
This file looks like:
/usr/bin/BuildStrings is a file
/usr/bin/CpMac is a file
/usr/bin/DeRez is a file
/usr/bin/GetFileInfo is a file
/usr/bin/IPMITool is a file
/usr/bin/ImageUnitAnalyzer is a file
...
On my system, this has 3752 lines. Say now that I have it open, I want to
change this into just the list of executable names: BuildStrings, CpMac,
etc. The best way to do this would probably be to do a find-and-replace;
that's really easy, in fact. But it's not the first thing that popped into
my head. Instead, I tried to do it like this:
- Rectangular-select the /usr/bin/ part on every line and delete it. That
worked fine.
- Select every line (command-A) and go into edit-each-line mode, to delete
the "is a file" part. I can go into the edit mode okay, but as soon as I hit
backspace, TextMate becomes unresponsive, its memory usage skyrockets, and
basically nothing happens until I kill it.
Is this a known problem? Why is edit-each-line mode so memory-intensive?
It's not a major issue, since the workaround is in fact easier than this way
of doing it, but still....
(Why was I trying to do this in the first place? Well, my file looked like:
error sending to joe(a)example.com: SMTP connection disconnected
error sending to bobdobalina(a)example.com: SMTP connection disconnected
...
and I wanted to get the list of emails out.)
On Nov 15, 2008, at 1:00 PM, running.cz(a)gmail.com wrote:
> Date: Fri, 14 Nov 2008 16:35:13 -0800 (PST)
> From: kaja <running.cz(a)gmail.com>
> Subject: [TxMt] PHP MySQL highlighting
> To: textmate(a)lists.macromates.com
> Message-ID: <20510850.post(a)talk.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
>
> another bug/issue I have with textmate - mysql highlighing in php
> code works
> only sort of. If I write:
>
> "SELECT * FROM `table` WHERE `column` = 'value';";
>
> it's fine - FROM and WHERE are blue, the rest is green.. but if I
> write
> something like
>
> "SELECT * FROM `".$table."` WHERE `".$column."` = '".$value."';";
>
> the MySQL highlighting stops working at FROM.
Hi Kaja,
the keyword matching can't guess that you concatenate strings. You are
already using double quotes for the string, so why not embed your
variables anyway?
"SELECT * FROM `{$table}` WHERE `{$column}` = '{$value}';";
This would highlight correctly since it is a continuous string.
Regards, Torsten
--
Torsten Walter
__________________________________________________
3d-M | Professional Solutions for Online and Offline Media
Zum Piepenkerl 2 | 49090 Osnabrück | Germany
__________________________________________________
website: http://legacy.3d-m.de
blog: http://playground.magicrising.de/
__________________________________________________
phone: +49 541 69 16 645
mobile: +49 179 12 13 561
__________________________________________________
email: tw(a)3d-m.de
I've been using TextMate a while and have installed the Actionscript 3 bundle
as per
http://flashalisious.com/2007/07/30/installing-as3-and-flex-bundle-for-text….
I did this on my last computer, and got a bunch of nifty templates (Sprite,
etc), that had large areas of the .as file blocked out (EVENT HANDLERS,
PRIVATE METHODS, etc).
I got a new machine here at work and installed the bundle as per above, and
although I now have the templates again, they don't have all the content
they used to; and in fact come up with a sort of cryptic package
designation, i.e.
package .var.folders.lB.lBw3509ZExidE+zqzMfB2oHT-Fk.-Tmp- {
I'm not at all an expert at TextMate, but like it a lot (we're registered
users here). Can anyone suggest a fix to get things back to how they once
were? Thanks very much!
--
View this message in context: http://www.nabble.com/How-to-install-Actionscript-3-TEMPLATE-correctly--tp2…
Sent from the textmate users mailing list archive at Nabble.com.
another bug/issue I have with textmate - mysql highlighing in php code works
only sort of. If I write:
"SELECT * FROM `table` WHERE `column` = 'value';";
it's fine - FROM and WHERE are blue, the rest is green.. but if I write
something like
"SELECT * FROM `".$table."` WHERE `".$column."` = '".$value."';";
the MySQL highlighting stops working at FROM.
--
View this message in context: http://www.nabble.com/PHP-MySQL-highlighting-tp20510850p20510850.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I checked out the Bundles repository to User/Library/Application
Support/TextMate/Bundles after I restarted TM and tried to typset my
latex document I get the following error message:
/tmp/temp_textmate.Y4UcNG:3:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
process (LoadError) from /tmp/temp_textmate.Y4UcNG:3
I already tried Logout/Login and Restart without any changes.
How could I get TM to work again?
Thanks in advance,
Christian
I've been using this to keep my bundles up to date:
cd /Library/Application\ Support/TextMate
svn up
and it's been working fine. However as of the past few days it seems to not
be getting any updates. According to the bundle update RSS feed (feed://
macromates.com/svnlog/bundles.rss), it's at r10806, but when I do the svn
up, it tell me I'm up to date at: r10740
Had the bundle update process changed?
Thanks,
jt
Dear All,
I am very new with MacOSX and Textmate(1.5.7). I write with TextMate simple
HelloWorld in C.
#include <stdio.h>
int main()
{
prinft("hello world");
return 0;
}
When I run the code. I always get this error.
xcodebuild: Error: the directory /Users/koko/Documents/MNP does not contain
an Xcode project.
what is the problem? I dont wanna use Xcode editor for C learning.
How can I configure the Xcode complier for TextMate editor.?
many thanks in advance,
koko
Howdy,
Our project is a mix of erb and haml templates, but the majority are erb.
Prior to installing the haml plugin in the Rails project and the Textmate
bundle, the "Go To View" shortcut in TextMate would neatly take me to the
.html.erb view from a controller, but now wants to go to the .html.haml
file, which doesn't exist for most views. Is there a way to set the default
back to .erb ? Uninstalling the TextMate HAML bundle doesn't seem to do it.
Cheers,
Pete
--
View this message in context: http://www.nabble.com/HAML-templates-now-the-default-for-%22Go-To-View%22-s…
Sent from the textmate users mailing list archive at Nabble.com.
First a question, is there someone using textmate to work on unix servers??
I thought that with sshfs and the power of bundles I could do something
really nice, much better than using vim (which is a great software anyway)
in ssh...
I have doubts on how to implement the "helpers", because I don't know enough
yet of TM.
1. If I create a language for every software (a grammar for monitrc, a
grammar for apache etc...) I will get too many languages, is there a way to
create a group of languages??
I would like to create mainly many snippets, help functions that returns
useful web-pages and maybe nice scripts to automate things..
2. Good ways to send command to external servers??
Maybe just open a shell and ssh <host> <cmd>?
3. There are any kind of problems working with TM+sshfs (if you know)?
I have also created a good (I think) way to document servers, with latex and
custom scripts, if anyone interested in TM + sysadmin work is welcome to
write me, I could publish everything somewhere..
Any advice is welcome, you know better than me the potentiality of this
great software!
--
View this message in context: http://www.nabble.com/TextMate-for-sysadmins-tp20327584p20327584.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I just installed Skim 1.2 (a pdf viewer). They appear to have moved
the `displayline' command from <skim dir>/Contents/Resources/
displayline to <skim dir>/Contents/SharedSupport/displayline which
breaks the pdfsync integration with the TextMate LaTeX bundle.
I updated the path in <textmate dir>/Contents/SharedSupport/Bundles/
Latex.tmbundle/Support/bin/texMate.py, line 111 which seems to have
corrected the problem:
if viewer == 'Skim' and vp:
syncPath = vp + '/Contents/SharedSupport/displayline ' +
os.getenv('TM_LINE_NUMBER') + ' ' + pdfFile + ' ' +
shell_quote(os.getenv('TM_FILEPATH'))
I noticed that displayline now supports a -r flag to refresh the pdf
so the refresh and pdfsync could be done in one command. I wasn't
feeling confident enough in my python skills to try this.
-Mark
Hello
I try to create a latex template
I've no problem with the classic method [ NEW from Template] [Edit
Templates] but
with the other method
[ why another method ? Only God knows ..]
describes in the help of the bundle.
I create a file in Application Support > Latex > Templates but iI
want to use shell variables
like TM_FULLNAME TM_DATE TM_ORGANIZATION_NAME etc ...
I put %!TEX style = snippet at the beginning of my file and I' ve no
problem with the variables
except with TM_DATE.
I modify the ruby command "LaTeX Template" . I added inside the next
line
ENV["TM_DATE"] = `date +%d-%m-%dY`.chomp
but it's not enough. What is wrong with my method?
Sorry if my question is stupid but I am a beginner with ruby and batch
Best Regards
Alain
I've stumbled across something that has been driving me batty for a few
months now. Once upon a time when double clicked a work with a hyphen in it
it selected the hyphen as well as both the pieces of text on on both sided
of it. Now, out of the blue, it only selects the part of the word I double
click on and stops at the hyphen.
for example: if i double click on the word "text" in the string
"text_mate"... "text" is selected. Shouldn't the whole string be
selected!???
Someone help!! it's driving be batty...
Thanks
--
View this message in context: http://www.nabble.com/Selecting-Text-tp20397964p20397964.html
Sent from the textmate users mailing list archive at Nabble.com.
When I have TextMate 1.5.7 (1464) documents open in multiple Spaces in Leopard
10.5.5, using the "Go to line..." dialog often switches back to a previous space
and applies to the wrong document.
To reproduce, first in Spaces prefs uncheck "When switching to an application,
switch to a space with open windows for the application"
I have 2 Spaces. In Space 1, open a TM document and use Cmd-L to invoke the
dialog and go to a line. Now switch to Space 2, activate TextMate in the dock,
and open a new TM document in Space 2. Invoke Cmd-L on the new document - it
jumps back to Space 1 and displays the "Go to line" dialog there, and the dialog
applies itself to the document that is open in Space 1.
I can't find a workaround to make "Go to line" apply to the document in Space 2.
Any ideas?
Andrew
Hi,
Are there some Quicksilver experts here? I would like to know how top
open a folder with textmate using Quicksilver.
Currently I have to do:
1) ctrl + Space to open quicksilver
2) type the name of my folder
3) hit tab and type "ow" for open with
4) hit tab and type tex for textmate
5) hit return
Is it possible to trim down steps 3-5?
Dear Haris,
thank you very much for your help. Below you can find the log-file
from within TextMate when compiling the minimal example. I use the
"latex" engine with latexmk.pl checked but without any further
options. If I use pdflatex, then everything works fine. As I have a
lot of .eps files and since I use packages that do not work with
pdflatex, I would like to use latex instead of pdflatex. The most
confusing thing is that the dvi file is correct and if I use
latexmk.pl by hand (from the terminal), the minimal example also
works. What does TextMate do different than just apply latexmk.pl?
Please let me know if you need any more information on that.
Best regards from Ulm,
marius
This is pdfTeXk, Version 3.1415926-1.40.9 (Web2C 7.5.7) (format=latex
2008.11.9) 9 NOV 2008 12:43
entering extended mode
file:line:error style messages enabled.
%&-line parsing enabled.
**test.tex
(./test.tex
LaTeX2e <2005/12/01>
Babel <v3.8l> and hyphenation patterns for english, usenglishmax,
dumylang, noh
yphenation, german-x-2008-06-18, ngerman-x-2008-06-18, ancientgreek,
ibycus, ar
abic, basque, bulgarian, catalan, pinyin, coptic, croatian, czech,
danish, dutc
h, esperanto, estonian, farsi, finnish, french, galician, german,
ngerman, mono
greek, greek, hungarian, icelandic, indonesian, interlingua, irish,
italian, la
tin, mongolian, mongolian2a, bokmal, nynorsk, polish, portuguese,
romanian, rus
sian, sanskrit, serbian, slovak, slovenian, spanish, swedish,
turkish, ukenglis
h, ukrainian, uppersorbian, welsh, loaded.
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/sc
rartcl.cls
Document Class: scrartcl 2008/11/03 v3.00 KOMA-Script document class
(article)
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/sc
rkbase.sty
Package: scrkbase 2008/11/03 v3.00 KOMA-Script package (KOMA-Script-
dependent b
asics and keyval usage)
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/sc
rbase.sty
Package: scrbase 2008/11/03 v3.00 KOMA-Script package (KOMA-Script-
independent
basics and keyval usage)
(/usr/local/texlive/2008/texmf-dist/tex/latex/graphics/keyval.sty
Package: keyval 1999/03/16 v1.13 key=value parser (DPC)
\KV@toks@=\toks14
)
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/sc
rlfile.sty
Package: scrlfile 2008/07/09 v3.00 KOMA-Script package (loading files)
Package scrlfile, 2008/07/09 v3.00 KOMA-Script package (loading files)
Copyright (C) Markus Kohm
)))
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/to
cbasic.sty
Package: tocbasic 2008/10/06 v1.0(package)
)
Package tocbasic Info: omitting babel extension for `toc'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `toc' on input line 112.
Package tocbasic Info: omitting babel extension for `lof'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lof' on input line 113.
Package tocbasic Info: omitting babel extension for `lot'
(tocbasic) because of feature `nobabel' available
(tocbasic) for `lot' on input line 114.
Class scrartcl Info: File `scrsize11pt.clo' used instead of
(scrartcl) file `scrsize11.clo' to setup font sizes on
input line 116
5.
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/sc
rsize11pt.clo
File: scrsize11pt.clo 2008/11/03 v3.00 KOMA-Script font size class
option (11pt
)
)
(/Users/mhofert/Library/texmf/tex/latex/komascript.tds/tex/latex/koma-
script/ty
pearea.sty
Package: typearea 2008/11/03 v3.00 KOMA-Script package (type area)
Package typearea, 2008/11/03 v3.00 KOMA-Script package (type area)
Copyright (C) Frank Neukam, 1992-1994
Copyright (C) Markus Kohm, 1994-
\ta@bcor=\skip41
\ta@div=\count79
\ta@hblk=\skip42
\ta@vblk=\skip43
\ta@temp=\skip44
Package typearea Info: These are the values describing the layout:
(typearea) DIV = 10
(typearea) BCOR = 0.0pt
(typearea) \paperwidth = 597.50793pt
(typearea) \textwidth = 418.25555pt
(typearea) DIV departure = -6%
(typearea) \evensidemargin = 17.3562pt
(typearea) \oddsidemargin = 17.3562pt
(typearea) \paperheight = 845.04694pt
(typearea) \textheight = 595.80026pt
(typearea) \topmargin = -25.16531pt
(typearea) \headheight = 17.0pt
(typearea) \headsep = 20.40001pt
(typearea) \topskip = 11.0pt
(typearea) \footskip = 47.60002pt
(typearea) \baselineskip = 13.6pt
(typearea) on input line 959.
)
\c@part=\count80
\c@section=\count81
\c@subsection=\count82
\c@subsubsection=\count83
\c@paragraph=\count84
\c@subparagraph=\count85
\abovecaptionskip=\skip45
\belowcaptionskip=\skip46
\c@pti@nb@sid@b@x=\box26
\c@figure=\count86
\c@table=\count87
\bibindent=\dimen102
) (/usr/local/texlive/2008/texmf-dist/tex/latex/base/fontenc.sty
Package: fontenc 2005/09/27 v1.99g Standard LaTeX package
(/usr/local/texlive/2008/texmf-dist/tex/latex/base/t1enc.def
File: t1enc.def 2005/09/27 v1.99g Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding T1 on input line 43.
))
(/usr/local/texlive/2008/texmf-dist/tex/generic/babel/babel.sty
Package: babel 2008/07/06 v3.8l The Babel package
(/usr/local/texlive/2008/texmf-dist/tex/generic/babel/english.ldf
Language: english 2005/03/30 v3.3o English support from the babel system
(/usr/local/texlive/2008/texmf-dist/tex/generic/babel/babel.def
File: babel.def 2008/07/06 v3.8l Babel common definitions
\babel@savecnt=\count88
\U@D=\dimen103
)
\l@canadian = a dialect from \language\l@american
\l@australian = a dialect from \language\l@british
\l@newzealand = a dialect from \language\l@british
))
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/lmodern.sty
Package: lmodern 2007/01/14 v1.3 Latin Modern Fonts
LaTeX Font Info: Overwriting symbol font `operators' in version
`normal'
(Font) OT1/cmr/m/n --> OT1/lmr/m/n on input line 13.
LaTeX Font Info: Overwriting symbol font `letters' in version
`normal'
(Font) OML/cmm/m/it --> OML/lmm/m/it on input line 14.
LaTeX Font Info: Overwriting symbol font `symbols' in version
`normal'
(Font) OMS/cmsy/m/n --> OMS/lmsy/m/n on input line 15.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version
`normal'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 16.
LaTeX Font Info: Overwriting symbol font `operators' in version
`bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 17.
LaTeX Font Info: Overwriting symbol font `letters' in version `bold'
(Font) OML/cmm/b/it --> OML/lmm/b/it on input line 18.
LaTeX Font Info: Overwriting symbol font `symbols' in version `bold'
(Font) OMS/cmsy/b/n --> OMS/lmsy/b/n on input line 19.
LaTeX Font Info: Overwriting symbol font `largesymbols' in version
`bold'
(Font) OMX/cmex/m/n --> OMX/lmex/m/n on input line 20.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version
`normal'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 22.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`normal'
(Font) OT1/cmss/m/n --> OT1/lmss/m/n on input line 23.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`normal'
(Font) OT1/cmr/m/it --> OT1/lmr/m/it on input line 24.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`normal'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 25.
LaTeX Font Info: Overwriting math alphabet `\mathbf' in version
`bold'
(Font) OT1/cmr/bx/n --> OT1/lmr/bx/n on input line 26.
LaTeX Font Info: Overwriting math alphabet `\mathsf' in version
`bold'
(Font) OT1/cmss/bx/n --> OT1/lmss/bx/n on input line
27.
LaTeX Font Info: Overwriting math alphabet `\mathit' in version
`bold'
(Font) OT1/cmr/bx/it --> OT1/lmr/bx/it on input line
28.
LaTeX Font Info: Overwriting math alphabet `\mathtt' in version
`bold'
(Font) OT1/cmtt/m/n --> OT1/lmtt/m/n on input line 29.
)
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsmath.sty
Package: amsmath 2000/07/18 v2.13 AMS math features
\@mathmargin=\skip47
For additional information on amsmath, use the `?' option.
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amstext.sty
Package: amstext 2000/06/29 v2.01
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsgen.sty
File: amsgen.sty 1999/11/30 v2.0
\@emptytoks=\toks15
\ex@=\dimen104
))
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsbsy.sty
Package: amsbsy 1999/11/29 v1.2d
\pmbraise@=\dimen105
)
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsmath/amsopn.sty
Package: amsopn 1999/12/14 v2.01 operator names
)
\inf@bad=\count89
LaTeX Info: Redefining \frac on input line 211.
\uproot@=\count90
\leftroot@=\count91
LaTeX Info: Redefining \overline on input line 307.
\classnum@=\count92
\DOTSCASE@=\count93
LaTeX Info: Redefining \ldots on input line 379.
LaTeX Info: Redefining \dots on input line 382.
LaTeX Info: Redefining \cdots on input line 467.
\Mathstrutbox@=\box27
\strutbox@=\box28
\big@size=\dimen106
LaTeX Font Info: Redeclaring font encoding OML on input line 567.
LaTeX Font Info: Redeclaring font encoding OMS on input line 568.
\macc@depth=\count94
\c@MaxMatrixCols=\count95
\dotsspace@=\muskip10
\c@parentequation=\count96
\dspbrk@lvl=\count97
\tag@help=\toks16
\row@=\count98
\column@=\count99
\maxfields@=\count100
\andhelp@=\toks17
\eqnshift@=\dimen107
\alignsep@=\dimen108
\tagshift@=\dimen109
\tagwidth@=\dimen110
\totwidth@=\dimen111
\lineht@=\dimen112
\@envbody=\toks18
\multlinegap=\skip48
\multlinetaggap=\skip49
\mathdisplay@stack=\toks19
LaTeX Info: Redefining \[ on input line 2666.
LaTeX Info: Redefining \] on input line 2667.
)
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsfonts/amssymb.sty
Package: amssymb 2002/01/22 v2.2d
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsfonts/amsfonts.sty
Package: amsfonts 2001/10/25 v2.2f
\symAMSa=\mathgroup4
\symAMSb=\mathgroup5
LaTeX Font Info: Overwriting math alphabet `\mathfrak' in version
`bold'
(Font) U/euf/m/n --> U/euf/b/n on input line 132.
))
(./test.aux)
\openout1 = `test.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 6.
LaTeX Font Info: ... okay on input line 6.
LaTeX Font Info: Try loading font information for T1+lmr on input
line 6.
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/t1lmr.fd
File: t1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OT1+lmr on input
line 7.
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/ot1lmr.fd
File: ot1lmr.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OML+lmm on input
line 7.
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/omllmm.fd
File: omllmm.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMS+lmsy on
input line 7.
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/omslmsy.fd
File: omslmsy.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: Try loading font information for OMX+lmex on
input line 7.
(/Users/mhofert/Library/texmf/tex/latex/lm/tex/latex/lm/omxlmex.fd
File: omxlmex.fd 2007/01/14 v1.3 Font defs for Latin Modern
)
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <10.95> on input line 7.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <8> on input line 7.
LaTeX Font Info: External font `lmex10' loaded for size
(Font) <6> on input line 7.
LaTeX Font Info: Try loading font information for U+msa on input
line 7.
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsfonts/umsa.fd
File: umsa.fd 2002/01/19 v2.2g AMS font definitions
)
LaTeX Font Info: Try loading font information for U+msb on input
line 7.
(/usr/local/texlive/2008/texmf-dist/tex/latex/amsfonts/umsb.fd
File: umsb.fd 2002/01/19 v2.2g AMS font definitions
) [1
] (./test.aux) )
Here is how much of TeX's memory you used:
2590 strings out of 493887
34974 string characters out of 1151122
99801 words of memory out of 3000000
5846 multiletter control sequences out of 10000+50000
19965 words of font info for 33 fonts, out of 3000000 for 5000
714 hyphenation exceptions out of 8191
35i,6n,35p,297b,138s stack positions out of 5000i,500n,10000p,
200000b,50000s
Output written on test.dvi (1 page, 380 bytes).
Dear Textmate Users,
I use textmate + skim on Mac OS 10.4.11 to compile LaTeX-documents. I
recently started using the LaTeX package "lmodern". I soon realized
that mathematical formulas are not correctly displayed when I use
this package, however, they are perfectly fine as long as I do not
use this package. After trying a lot of things with math fonts I
realized that the problem is with textmate. I use textmate (version
1.5.7) with the option latexmk.pl enabled for automatic document
compiling. If I use latexmk.pl from the terminal to compile my
document, the math formulas are correctly displayed, however, if I
use textmate (which should also simply call latexmk.pl) to do the
job, then e.g. a greek psi is not correctly displayed. How can I tell
textmate to simply apply the perl script latexmk.pl and do not do
anything different because then the error occurs. I would also like
to add that I use the latest version of latexmk.pl (4.01) and
the .dvi-file is also correctly displayed in skim. It's just that
textmate somehow instructs latexmk.pl to do something weird with
the .dvi file to get the .ps and .pdf files. How can I solve this
problem?
Best regards,
Marius.
P.s.: here is a minimal example:
\documentclass{scrartcl}
\usepackage[T1]{fontenc}
\usepackage[USenglish]{babel}
\usepackage{lmodern}
\usepackage{amsmath,amssymb}
\begin{document}
$\psi$, $\mathbb{N}_0$
\end{document}
> On Nov 7, 2008, at 12:49 PM, Want to Learn wrote:
>
>> Hi,
>>
>> I am using textmate for Latex. I was wondering if there is a way I
>> could customize highlighting of document parts in Latex. For
>> example, currently the footnotes are not highlighted, but any math
>> input between two $ signs is highlighted in green. Suppose I want
>> everything that appears between \footnote{ and } in gray color or
>> add a background color. Is there a way to do that?
>>
>> Thanks very much for your help.
>
> In your theme, add a rule for meta.footnote.latex. Go to
> preferences, find the fonts & colors tab, click the “plus” sign to
> add a new rule. set the scope selector to meta.footnote.latex.
> Give the rule a name, and add a color. That's it!
>
> —Alex
What I do to know the exact name of any scope in a given document in
TextMate:
(in the above case: meta.footnote.latex AND
support.function.footnote.latex)
I use the 'Bundle Development' Bundle which has a Copy Scope command
clickable in a menu item in: Bundles > Bundle Development > Copy Scope,
as follows:
First place cursor in the middle of the desired word, here it was
\footnote{};
then ckick menu item 'Copy Scope';
then paste it in the text;
then copy the line of interest, here it's
'support.function.footnote.latex' into the color prefs like
previously stated by Alex;
then do the same with the scope you get at '{My footnote here}' , it
was: 'meta.footnote.latex'.
Probably there's a shorter way, but this is what I do and I can know
about (and customize) every scope in a Latex doc, or any other type of
doc for that matter.
I wish the Latex Bundle could just add this simple Copy Scope command
in its next update. It's just this:
tr <<< "$TM_SCOPE" ' ' '\n'|pbcopy
Best regards,
M.P.
Hi,
I am using textmate for Latex. I was wondering if there is a way I could
customize highlighting of document parts in Latex. For example, currently
the footnotes are not highlighted, but any math input between two $ signs is
highlighted in green. Suppose I want everything that appears between
*\footnote{
*and *}* in gray color or add a background color. Is there a way to do that?
Thanks very much for your help.
Thanks for the feedback everybody!
I uncovered a weird problem when using dialog.py, that is, passing
more than 1500 items to tm_dialog through the -p option breaks
something. I've hacked together my own tm_dialog.py that uses
subprocess to send the plist through stdin, and everything is working
again.
I've now released PySmell 0.7.1 which includes this fix plus better
error handling and reporting.
Copying the previous email:
I'm very proud to announce the release of PySmell v0.7!
PySmell is an auto-completion library for Python, meant to be plugged
in different editors. It uses static analysis to generate a TAGS file
for your code, and uses that to give you suggestions. It's very fast -
suggestions are instantaneous and analyzing Django 1.0 takes ~15
seconds.
Download from PyPI: http://pypi.python.org/pypi/pysmell/
Issue tracking at Google Code: http://code.google.com/p/pysmell
Development at GitHub: http://github.com/orestis/pysmell/tree/master
The big news for this release is the support for Emacs and TextMate,
on top of the already existing Vim support. This isn't tested as
rigorously as I'd like, so please report any issues at Google Code.
Thanks,
Orestis Markou
--
orestis(a)orestis.gr
http://orestis.gr/
Some kind soul on #textmate clued me in to the fact that the key here is to
get Fink's /sw/bin/init.sh/csh to run ONLY when there's a TTY attached.
That way, all the initialization stuff TextMate sucks in behind the scenes
won't cause it to hang/SPOD when you pick New From Template -> Blogging
Bundle -> HTML Post from the menu.
For zsh users like myself, the fix was simple, stick the test -r
/sw/bin/init.sh && . /sw/bin/init.sh line Fink wants you to put in your
shell init into the .zshenv file.
-Chris
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail:
cpatti(a)gmail.com
"Magnify the most difficult details." - Oblique Strategies, 4th Ed. Brian
Eno & Peter Schmidt
Hi,
in my TextMate Preferences a PATH variable is set with value
/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:
/usr/X11/bin:/Developer/Tools
As a double check, the command
defaults read com.macromates.textmate OakShellVariables
produces an array whose last entry is
{ enabled = 1;
value = "/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:
/usr/X11/bin:/Developer/Tools";
variable = PATH;
}
I quit and relaunched TextMate several times. Excellent.
However if I write in a window
p ENV['PATH']
and Execute Line As Ruby, I get
"/usr/bin:/bin:/usr/sbin:/sbin"
and, indeed, Typeset and View in the LaTeX
bundle does not work. If I accept the suggestion
Set PATH and Relaunch, a new identical PATH
variable is added (so now I have two), and things
work until next relaunch.
What's wrong? I remember someone else compained
about a similar problem on the list, with no answer...
Thanks
Piero
Hi All,
I just started using TextMate for programming Ruby on Rails apps. I have
encountered some problems using it and would appreciate any help I could get
in figuring out how to fix them. Below are the three problems that I've run
into:
1. TextMate is inconsistent about when it colorizes code in .erb file. When
I open some files, TextMate colorizes the code correctly. But on other .erb
files, TextMate doesn't colorize at all.
2. TextMate closes the folder tree on my project. When I navigate from my
browser or terminal window to TextMate, I'll often find that the folder tree
has been closed. This is really annoying because then I have to click on
all the folders so that I can navigate to the files that I want. Is there
any way to get TextMate to just remember the folder tree state?
3. TextMate doesn't do auto code completion. I've seen some videos that
show TextMate doing autocompletion via snippets. How do I turn on the auto
code completion?
Thanks for all your help!
David
Hello!
I just managed to get my hands on a shiny new Intel PowerBook, so I
duly did the Migration Assistant thing to transfer all my stuff to it
from the old G4 PowerBook (going from 10.4 to 10.5 as I went).
Which has worked wonderfully, but I notice that Textmate seems to run
as a PowerPC process rather than an Intel one, according to Activity
Monitor.
What's that about? Does the automatic update mechanism send slim
binaries, based on your platform, in order to cut download times? If
so, will I get an Intel binary the next time an update happens? Or
should I download a fresh .dmg from the site and reinstall from that?
Thanks,
ABS
--
Alaric Snell-Pym
Work: http://www.snell-systems.co.uk/
Play: http://www.snell-pym.org.uk/alaric/
Blog: http://www.snell-pym.org.uk/?author=4
One of the things I love most of textmate is the possibility of many bundles
to search for documentation with a simple ^-H, it's fantastic.
Now I'm studying erlang and I didn't find this functionality in the bundle,
then I made this
#!/usr/bin/env bash
OFF=$TM_CURRENT_WORD.html
echo $TM_CURRENT_WORD | /usr/bin/grep ':'
if [[ $? == 0 ]]
then
MOD=echo $TM_CURRENT_WORD | cut -d ':' -f 1
FUN=echo $TM_CURRENT_WORD | cut -d ':' -f 2
OFF="$MOD.html#$FUN"
fi
ADDR="http://www.erlang.org/doc/man/$OFF"
curl $ADDR
Know it's almost working, but if I give something like
lists:seq it doesn't go to the seq function, because I should also know the
arity of a function, and how to get it??
When I've got something I think it could be useful I can propose in the
developer section?
Thanks
--
View this message in context: http://www.nabble.com/Bundle-newbie-and-erlang-tp20279615p20279615.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi
When I write a program and include rubygems
and afterwards mechanize, the last will not be found
when I call "run"
I use the same ruby in /usr/bin/ruby under osx10.5.5
as in the commandline will be found after whereis ruby.
Could someone give me a hint?
Thanks in advance and kind regards
Karl-Heinz
How can i define a scope selector for this:
<anything> do
something
end
I want to highlight <anything> when it is before do block,
what pattern should i add to ruby language bundle to acomplish this?
I'm very proud to announce the release of PySmell v0.7!
PySmell is an auto-completion library for Python, meant to be plugged
in different editors. It uses static analysis to generate a TAGS file
for your code, and uses that to give you suggestions. It's very fast -
suggestions are instantaneous and analyzing Django 1.0 takes ~15
seconds.
Download from PyPI: http://pypi.python.org/pypi/pysmell/
Issue tracking at Google Code: http://code.google.com/p/pysmell
Development at GitHub: http://github.com/orestis/pysmell/tree/master
The big news for this release is the support for Emacs and TextMate,
on top of the already existing Vim support. This isn't tested as
rigorously as I'd like, so please report any issues at Google Code.
Thank you,
Orestis Markou
--
orestis(a)orestis.gr
http://orestis.gr/
Is it possible to make a TM command that runs PHP and then displays
results in an option box like 'File Completion' (Experimental Bundle)
or do I need to use Ruby?
Mvh Christoffer Winterkvist
---------------------------------------
oprah(a)noodlemantra.eu
I get this error if I try to run a java program
/Users/andrea/Library/Application Support/TextMate/Pristine
Copy/Bundles/Java.tmbundle/Support/bin/javamate.rb:3:in `require': no such
file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from /Users/andrea/Library/Application Support/TextMate/Pristine
Copy/Bundles/Java.tmbundle/Support/bin/javamate.rb:3
I just svn up all my bundles in that folder via svn, did I do something
wrong maybe?
--
View this message in context: http://www.nabble.com/Error-with-java-bundle-tp20286039p20286039.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi, I have just set up TM on a new MacBook and I am having some
problems with the Ref-TeX citation command. For some reason it cannot
seem to find my bib file. I keep my bib file in a git repository and
link it to ~/Library/texmf/bibtex/bib. I thought that the command my
be having trouble following the soft link, so I set the shell variable
TM_LATEX_BIB to the source of the link, but I am still getting a
message that no bib file is found there. :? Any help would be
appreciated in resolving this. All the ebst, Mark
TextMate is a good value. It's a small, fast editor and it makes me
feel productive. Can't wait to see what's under the hood in 2.0.
I was just thinking about what I like in editors, and I still use
Emacs and Eclipse depending on the project. I am switching to TextMate
for a lot of other stuff.
I probably would be using SlickEdit right now- it's a favorite! Except
it's expensive and it runs in X11 on Mac; it's not a native Mac UI.
Feature I really like from SlickEdit are:
* symbol/tagging system. I forget what they call it, but it can
generate symbol lists to use for auto-complete and context help, for
various different languages.
* keybinding emulation modes; e.g it has Emacs and a handful of others.
But anyways I encourage Allan to make 2.0 the most awesome editor he
can, and not spend too much time on everything and the kitchen sink -
feature requests. Like the above, right ;-) Otherwise you end up with
a Christmas Tree, not a lean & mean text editor.
Cheers
Here's a quick Textmate command I made to open the file you're working
on in BBEdit:
#!/bin/sh
# Open the current file in BBEdit
bbedit +$TM_LINE_NUMBER $TM_FILEPATH
I created it as a command, with options "Save current file", Input:
"Entire Document" Output: "Discard" and I added the F8 shortcut
I put this in the scope selector:
source.php, source.css, string, text.html, text.csv, text.plain
I made it after Maarten Sneep made an "open in textmate" on the google
bbedit list. Maybe someone will find it useful.
Here's my original post with the opposite script (which unfortunately
has a habit of locking textmate randomly every once in a while)
http://groups.google.com/group/bbedit/browse_thread/thread/7de49fa457826f3c
Nevan
Hello All,
New to TextMate and love it so far.
I'm wondering if there is an existing bundle or method that will allow me to
generate a new HTML document from a parsed PHP file? I'd like to be able to
generate HTML files based on a local PHP file reading from an XML to
generate pages quickly to post to a server that doesn't support server-side
technology.
This also would be great for building HTML emails from a XML file in
conjuction with the Email Tester bundle.
I would love to get any feedback or tips from the community on this.
Cheers,
Michael R
--
View this message in context: http://www.nabble.com/Generate-new-HTML-doc-from-parsed-PHP--tp20135499p201…
Sent from the textmate users mailing list archive at Nabble.com.
Hi
a very important issue is how to name a tmbundle hosted by github. I
received a mail mentioning that a bundle won't listed in GetBundles.
What I'm doing is the following:
I call:
http://github.com/api/v1/yaml/search/tmbundle
to get these bundles plus author and description from the github host.
'tmbundle' is, I guess, a unique name to identify a TM bundle.
That's why it is necessary to name a tmbundle like:
copy-as-rtf-tmbundle
ruby-c-extensions-tmbundle
merb-tmbundle
...
which will be renamed to
Copy as Rtf.tmbundle
Ruby C Extension.tmbundle
Merb.tmbundle
...
E.g.
subtleGradient's javascript.tmbundle
or
contextgarden's context-bundle
or
shoes-textmate-bundle
won't be found.
And the next thing is to provide a good description. Not something like:
The name says it all. ;)
Could this be achieved?
Suggestions?
--Hans
I am a passionate devotee to TM but I notice that latex compiles much
faster on TexShop than in TM.
Is there something I can do to improve the performance of TM?
TM takes 4-6 seconds to compile and display on skim.
TexShop takes 2-3 seconds.
Related to this is the question whether one can use a DVI viewer on
the Mac instead of pdf in order to speed things up.
I ask all this because a colleague whom I persuaded to move to the Mac
finds TM inordinately slow and wants to go back to Winedt on windows
because she finds the speed unbearable.
Thanks,
Christopher
Is there a way to bind the menu item ^Q (reformat selection) to the
reformat selection for the active bundle of doing paragraph formatting
on the selection ?
Hello all,
I've just released a new TextMate bundle which makes easy to compress
multiple CSS and JavaScript files with YUI Compressor, right from within
TextMate.
The bundle is attached, and I've also put together a short screencast (4
minutes) covering setup, configuration, and usage (http://bit.ly/2WzHlf).
I hope you find it useful, and if you have any feedback or suggestions for
improvement please don't hesitate to chip in.
Cheers,
Stephen
http://www.nabble.com/file/p20210869/yui-compressor-tmbundle.zip
yui-compressor-tmbundle.zip
--
View this message in context: http://www.nabble.com/New-YUI-Compressor-TextMate-Bundle-tp20210869p2021086…
Sent from the textmate users mailing list archive at Nabble.com.
> Ola!
>
> I used to want this features as well, and I was really frustrated
> that you have to include CTRL to have this feature.
> CTRL-page-up and CTRL-page-down.
> Now that I'm used to it, I would not see it any other way. When
> you're coding in a certain method and you quickly want to see
> something in f.e. a private method, using page-up and page-down can
> bring you to the implementation and if you know what parameter to
> use, you immediately can start typing, since the cursor did not move
> with it.
>
> And getting used to the CTRL was a matter of 1 day.
>
> Best regards,
> Jeroen.
> nerd.rb - http://www.rubyonrailsforum.nl - http://www.vici-nl.com
>
> > Hi!
> >
> > Can I make the cursor follow when I've done some scrolling via Page-
> > Up/
> > Page-Down?
> >
> > I mean... let's say: I've scrolled down 3 pages via Page-Down and
> now
> > I want to go on editing right on this page.
> > To do so, I must click with the mouse somewhere on the document. But
> > is this possible by using the keyboard too? E.g., is there a
> Shortcut
> > that positions the cursor right in the middle of displayed page?
>
> You can use shift-cmd-j to move the cursor to the Middle Visible Line.
> Also accessible in the 'navigation' menu.
>
> Cheers,
> Nigel
Hi all
I was looking for a quick way to go to the start of a scope. I often find
myself selecting something, then typing a start bracket to wrap that
selection in brackets:
strpos($key, ".") +1
becomes
(strpos($key, ".") +1)
which leaves my cursor just after the closing bracket. If I want to get back
to before the opening bracket, I usually alt-left arrow. I could also go
just inside the closing bracket, hit cmd-shift-b to select the whole scope
and then click left arrow once, but it's too many keys. Is there a way to
navigate bounds?
Thanks
Nevan
Hi,
on typping "section+tab" the right code appear:
Section~\ref{sec:}
then tab and when over sec: typing alt+scape show the list of suggestion
with the section to reference.
BUT:
On including a bibtex reference using ^{ or navigating to the menu, no
suggestion window appear with the suggestion, only
\cite{xxxx}
Where xxxx is the last entry on my bibliography, then I go after the last x
(between x and }) and alt+scape, and nothing happen at all. It always
reflect he last on my Bib file (I try to change it and it is always the
last)
NOTE: By the way the doc typeset properly and bibtex runs ok.
NOTE: I'm on the last version of Textmate and the latex Bundle.
Thanks in advance
NOTE: is there any log where I can look for the exection or something.
--
View this message in context: http://www.nabble.com/no-suggestion-for-%5Ccite%7B%7D-tp19979530p19979530.h…
Sent from the textmate users mailing list archive at Nabble.com.
To continue with the previous ( & unresolved) post; see: http://lists.macromates.com/textmate/2008-May/025441.html
With this \newenvironment the scope never closes braces or the list
environment, and so the syntax color scheme is forever wrong in the
rest of the document:
%preamble(fold)
......
%create new list environment (bullets - named buls)(fold)
\newcommand{\bu}{\ensuremath{\bullet}{ }}
\newenvironment{buls}
{\begin{list}{\bu}
{
\setlength{\topsep}{3pt}
\setlength{\parsep}{0pt}
\setlength{\itemsep}{2pt}
\setlength{\labelsep}{0pt}
\setlength{\itemindent}{10pt}
\setlength{\leftmargin}{40pt}
\setlength{\rightmargin}{0pt}
\normalfont\upshape
}}
{\end{list}}
%create new list environment (bullets - named buls)(end)
.....
%preamble(end)
\begin{document}.....
some text here ****the scope here is:
text.tex.latex
meta.group.braces.tex
meta.function.environment.list.latex
___when it should just be (and in fact is without
the previous \newenvironment definition):
text.tex.latex
....\end{document}
It seems to be a bug in the Language definitions of these scopes (tex
and/or latex).
Can this be solved (and maybe the bundle updated with the correction)?
Thanks,
Hi!
Can I make the cursor follow when I've done some scrolling via Page-Up/
Page-Down?
I mean... let's say: I've scrolled down 3 pages via Page-Down and now
I want to go on editing right on this page.
To do so, I must click with the mouse somewhere on the document. But
is this possible by using the keyboard too? E.g., is there a Shortcut
that positions the cursor right in the middle of displayed page?
Thanks for hints...
Tom
How can I turn soft tabs on in certain projects, but not in others?
Selecting "Soft Tabs (Spaces)" from the menu at the bottom of the
screen appears to work on a system-wide, per language basis.
One project I'm working on uses soft tabs. The rest do not. I'm
unlikely to remember to manually keep changing this setting back and
forth!
I would prefer to set this only on a per project basis, but setting it
by language per project would work.
Thank you for taking the time for my question.
-Steve-
Hi
suppose the caret is somewhere inside a scope meta.myscope
delimited by two keywords beginmyscope and endmyscope.
I need to capture all the text in the region between
beginmyscope and endmyscope. I thought the Input
type "Selected Text or Scope" might do exactly this,
but I'm seeing something different: only the text from
the line where the caret is to endmyscope is captured.
Is this the intended behaviour, or I'm doing something
wrong? I think the scope is defined correctly since
ctr-shift-P shows that the entire region between
beginmyscope and endmyscope is correctly parsed
as meta.myscope. What's wrong?
Thanks
Piero
Hello.
I have no idea why TM refuses to open some perl scripts that are with
the executable bit set.
When under a project, if I click the file name, a new tab doesnt open.
If I ask mate to open the file from the terminal with the project
open, it doesn't open as well.
If I close everything and use mate to open the file, it opens correctly!
If I right-click on the file I do not have the option to set text/binary flag.
Can anybody please give me a hint to solve this isse?
TIA
Alberto
--
Alberto Simões
The repository for bundles has been moved to a new URL: http://svn.textmate.org/
To update a checkout to the new location one has to do:
# assuming this is where your old chekout is
cd /Library/Application\ Support/TextMate
svn switch --relocate \
http://macromates.com/svn/Bundles/trunk/ \
http://svn.textmate.org/trunk/
If you have switched subsets of the checkout, for example because you
are testing WIP bundles, then you have to ‘svn switch --relocate’ your
switched bundles first.
If you run “svn status” in the root of your checkout, it will indicate
if bundles have been switched by the S marker.
To get the FROM URL of a switched bundle, cd to the folder containing
it and run:
svn info
This will show the URL (on the second line). Generating the TO from
that URL should be straightforward. So if for example we are using the
branched Subversion bundle, we need to:
cd Bundles/Subversion.tmbundle
svn switch --relocate \
'http://macromates.com/svn/Bundles/branches/Subversion%20(Interactive%20Inpu…'
\
'http://svn.textmate.org/branches/Subversion%20(Interactive%20Input).tmbundl…'
Hi.
I'm new to using both latex and TextMate and am trying to modify the
environmental variables that the pdftex engine sees when it is
typesetting my document.
So far I have tried modifying my ~/.profile and /etc/profile to
include modified $TEXINPUT, $BSTINPUT environmental variables without
any luck.
I have also tried adding these variables to the environmental
variables area of the general TextMate Preferences but no luck there
either.
I have also tried to find out if I could possibly give the tex engine
the information via a command similar to the way the master files are
designated (i.e. %! variable = ....) but no luck there either.
Many thanks.
Dan
I'm running Leopard and use Spaces. I also use the 'mate' command a lot,
often from a different space than the one in which TextMate is running.
When I run "mate /filename/" (or "mate /directory/") from a different
space, the new TextMate window opens in the space TM is already in and
I'm switched to that space automatically. I don't mind that. But the new
window opens /underneath/ the existing TM windows. I often have a number
of windows open (a couple different projects, a web preview window,
etc.) so the new window ends up being completely covered.
Is there any way to change either TextMate's or Spaces' behavior so that
new windows get opened in front of the others?
--
Steve King
Sr. Software Engineer
Arbor Networks
+1 734 821 1461
www.arbornetworks.com <http://www.arbornetworks.com/>
I know about the "~" option in the Cocoa open file dialog too ;-)
Thanks,
Alex
PS the current C-s incremental search widget could perhaps even be
re-used for C-x C-f ?
I'm looking for advice on the best way to create a new bundle -- to support a
play by mail game. There are a number of similar games like this, like
Starweb (Flying Buffalo) and RSWGame. They send out reports on the worlds
and fleets you own. Players decide want to do, and send in their orders.
Repeat until someone wins.
I already have a bunch of tools to help me manage my resources, but I was
wondering if I could tie them into a bundle to make the the process even
easier.
So far, I've been thinking of treating the text file I'm editing as a kind
of database. It lists all of my resources. As I issue orders, the changes
could be reflected in the text. Any really sane implementation would use an
outside database, but I like the idea/challenge of trying to maintain
everything with the single text file. Unless you tell me it's really super
crazy.
A report for a world looks something like this:
World 5 [TERRAN] (Metal=5, Mines=5, Population=10)
Fleet 3 [TERRAN]=10 (Moved)
Fleet 17 [TERRAN]=0 (Captured)
Here I'm the player TERRAN, and I own World 5 and Fleets 3 and 17. But
Fleet 17 has no ships, so I would transfer a ship from Fleet 3. Something
like:
Fleet 3 transfer 1 Fleet 17
Some keystroke later, this order would be applied to the text, and the
report would look like:
World 5 [TERRAN] (Metal=5, Mines=5, Population=10)
Fleet 3 [TERRAN]=9 (Moved)
Fleet 17 [TERRAN]=1 (Captured)
++ Fleet 3 transfer 1 Fleet 17
The order would stay in the file (for later submission to the game), but be
marked as completed.
Each time orders are applied, I'd have to parse the whole file, apply new
orders, and change numbers and text here and there to reflect the new
reality. The files are relatively short (maybe 5 pages max), so I doubt
performace would be a problem.
Am I overloading the concept of text editing too much? Too much to do? Or
just abusing the tool a bit? Thanks for your ideas!
--
View this message in context: http://www.nabble.com/Can-I-treat-my-text-document-as-a-database---sanely--…
Sent from the textmate users mailing list archive at Nabble.com.
Hello i wonder what is the easiest way to add some custom syntax
highlighting elements to the php language, the language syntax
part in the manual is quite complex. =/
IE: I want to highlight in red the custom functions:
myfunc1 , myfunc2, myfunc3.
Where do i put the patterns without interfering with
the php bundle?, thanks in advance
As anyone who has ever done programming knows, it doesn't take long for the best laid plans to mess up elegant formatting. I've been unable to find a command that reformats messy C code back to a standard GNU format (or any other for that matter). Have I missed something, or does this command not exist for programming languages?
Thanks.
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Dr. Marc R. Feldesman
Professor & Chairman Emeritus
Anthropology Department
Portland State University
please reply to: feldesmanm(a)pdx.edu
my PERS blog: http://persinfo.blogspot.com
SKYPE: mrfearless47
Hello
With OS X 10.5.5, I try to use "Edit In Textmate" but without success.
( I try this :--> http://blog.macromates.com/2007/inputmanagers-on-leopard/
)
Is it possible to install this function with OSX 10.5.5 ?
A lot of cocoa applications give the possibilty to use the Apple
Services like for example "TextEdit"
I would like to know why TM does not give the possibility of using the
Services.
Thanks
Alain Matthes
Hi
Often I am typing for example instanse.method_a(:param => "value"_)
with _ I marked where the caret is placed.
So the question is: is there any way to move caret from the position on the example
to the position right after right parentheses without moving my fingers to cursor keys.
So I want to be able then type .method_b on the same line as fast as possible.
This case is also applicable for single and double quotes.
Thx
I looked in the forum archive but didn't see much discussion of the json
bundle.
I installed it, using the GetBundle bundle, and it does not appear to "do"
anything (no menu items) .. even though there is a Language entry for json.
In particular, I'd like to "tidy" the json file I'm editing.
What's the secret? :)
-- Owen
--
View this message in context: http://www.nabble.com/JSON-bundle-tp20082961p20082961.html
Sent from the textmate users mailing list archive at Nabble.com.
Sorry if this is a FAQ- I didnt' see it anywhere though. I am editing
over a SSHFS-WebDAV volume and I just noticed that TM is making lots
of ._* files on the remote volume. Can this be turned off I hope?
mbp:Forms >file ._*
._form-data-create.post.desc.xml: AppleDouble encoded Macintosh file
._form-data-create.post.js: AppleDouble encoded Macintosh file
._form-data-read.get.desc.xml: AppleDouble encoded Macintosh file
._form-data-read.get.js: AppleDouble encoded Macintosh file
._form-data-read.get.json.ftl: AppleDouble encoded Macintosh file
._form-read.get.desc.xml: AppleDouble encoded Macintosh file
...
Hello,
I'm having some trouble with the LaTeX bundle. I have the PATH
variable set in Textmate's shell variables preference pane (and it
includes the location of kpsewhich), but I still get the following
error:
<begin error>
Can't find “kpsewhich” on PATH.
Theme:
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
Please add the directory containing “kpsewhich” to PATH in TextMate's
Shell Variables preferences.
Alternatively, the PATH can be retrieved from Terminal but this
requires a relaunch:
<end error>
If I push the relaunch button, a new PATH variable is created
(although its value is the same as the PATH variable I made), and I
can compile. However, if I quit and relaunch TextMate, I'm told again
that I haven't set the PATH, despite the fact that there are now TWO
shell variables declaring the PATH. Have I done something crazy?
Oh, I have a full svn checkout of the current (10736) revision.
Thanks,
Mike
Hello,
I have 1.5.7 (1464) running on MacOs 10.5.5. I've been trying to use
the Code Completion command in the CSS bundle.
First, With the default key equivalent activation (Option+Esc) nothing
happened, I then changed the activation keys to (Cmd+Esc) and I get
the following error when I run the command:
#####################################
/Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:318:in /bin/bash: -c:
line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 1: syntax error: unexpected end of filemap' for
nil:NilClass (NoMethodError)
from /Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:87:in /bin/bash: -c:
line 0: unexpected EOF while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filenew'
from /Users/rvega/Library/Application
Support/TextMate/Support/lib/codecompletion.rb:59:in
#####################################
I also checked out the latest version of the css bundle and the TM
support folder fro svn but the error is the same.
I noticed that the html bundle uses the same completions ruby script
but the html code completion command works fine.
In case someone knows how the codecompletion script works, here are
the Code Completion commands in my css bundle:
#####################################
##########################
#CODE COMPLETION CSS:
##########################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Completions'
choices = []
parsed_choices = TextmateCompletionsParser.new(nil, :scope => :css).to_ary
choices += parsed_choices if parsed_choices
choices += ['--']
plist_choices = TextmateCompletionsPlist.new(
"#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences"
).to_ary
choices += plist_choices if plist_choices
print TextmateCodeCompletion.new(choices,STDIN.read, :scope => :css).to_snippet
#####################################
#CODE COMPLETION CSS PROPERTIES:
#####################################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
TextmateCodeCompletion.plist('Property Completions')
###########################################
#CODE COMPLETION CSS PROPERTY VALUES:
###########################################
#!/usr/bin/env ruby
require "#{ENV['TM_SUPPORT_PATH']}/lib/codecompletion"
preference = 'Property Value Completions'
choices = []
parsed_choices = TextmateCompletionsParser.new(nil, :scope =>
:css_values).to_ary
choices += parsed_choices if parsed_choices
choices += ['--']
plist_choices = TextmateCompletionsPlist.new(
"#{ENV['TM_BUNDLE_PATH']}/Preferences/#{preference}.tmPreferences"
).to_ary
choices += plist_choices if plist_choices
print TextmateCodeCompletion.new(choices,STDIN.read).to_snippet
#####################################
Thanks for any help!
Hey everyone,
I noticed the php autocompletions script does not seem to be correctly
marking optional parameters with [] except for the last param. I searched
around and found the list of completions in the php bundle support but that
looks good to me, so I'm guessing it's the way the ruby script is breaking
them up. I can somewhat figure out what it's doing but I don't know any ruby
so I don't know how to fix it. If anyone could take a look and maybe fix
that small issue (or tell me its my fault and how to fix it), I'd be very
grateful. (I updated my tm support folder just in case it had been fixed but
it didnt seem to help)
Thanks!
Quine
Consider, with Input = Selected text or Line,
#!/usr/bin/env ruby
require ENV["TM_SUPPORT_PATH"] + "/lib/exit_codes.rb"
TextMate.exit_insert_snippet ENV["TM_CURRENT_LINE"]
This changes
asd $ \\
into
asd \
and I am not surprised. But what is the cleanest way
to get back the original line unchanged? I can manage
the slashes but not the dollar. And e_sh is not
a solution since it adds spurious slashes which I have
to take care of.
Thanks,
Piero
PS what I need is a way to pass to TextMate.exit_insert_snippet
a string containing dollars slashes etc in such a way that the
strings is inserted without any change. I know someone can do
this
Ok
this post from October did help me:
------------------------------
Message: 6
Date: Mon, 13 Oct 2008 20:06:33 +0200
From: Alex Ross <tm-alex(a)rosiba.com>
Subject: [TxMt] Re: Latex Bundle Stop to work on MacTex 2008 installed
To: TextMate users <textmate(a)lists.macromates.com>
Message-ID: <601AFE08-73AB-402B-98F9-BD4DABC66805(a)rosiba.com>
Content-Type: text/plain; charset=WINDOWS-1252; format=flowed;
delsp=yes
On Oct 13, 2008, at 7:07 PM, Jose Lobato wrote:
>
> Hi,
>
> I completely removed the MacTex 2007 and install 2008. Once this is
> done it
> stops working when I try to build (cmd+R) Get a big red mesage:
>
> Error: Could not open to check for packages
> This is most likely a problem with TM_LATEX_MASTER
>
> The text is over a small message that says something like (I have
> hardly
> read it):/bin/sh: kpsewich: cdmmarck not open
>
> ( please do not trust this last sentece because as I say I can not
> see it
> well)
>
> So, on: echo $PATH I have:
> /usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/
> usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
TextMate no longer sources the shell profile so you need to set PATH
in TextMate's preferences. Just copy the above PATH to TextMate's
Shell Variables preference pane and all should be working again.
?Alex
I did copy the results from PATH into the TM Shell Variables PrefPane
and it seems to work ok now.
Sorry for this little flury of emails...
Cheers!
Claus
On 16-Oct-08, at 2:00 PM, textmate-request(a)lists.macromates.com wrote:
> Message: 4
> Date: Wed, 15 Oct 2008 22:00:09 +0200
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: problem running latex after svn up
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <FDE0695F-B385-4188-A09C-341AC2CD0B2B(a)rosiba.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On Oct 15, 2008, at 9:43 PM, Claus wrote:
>
>> Hi,
>> after svn updating all my *.tmbundle, including the latex bundle,
>> after running a previously working latex-project, I got after cmd-R:
>>
>> /tmp/temp_textmate.hXj0XQ:3:in `require': no such file to load -- /
>> Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
>> process (LoadError) from /tmp/temp_textmate.hXj0XQ:3
>>
>> I looked around, and found that likely I have to also svn up the
>> "Support Folder":
>> cd /Library/Application\ Support/TextMate
>> svn co http://macromates.com/svn/Bundles/trunk/Support
>>
>> so I did, however, when I run
>> echo "$TM_SUPPORT_PATH"
>> I get
>> /Users/clausman/Library/Application Support/TextMate/Support
> What have you got in this directory? You can just delete /Users/
> clausman/Library/Application Support/TextMate/Support and I bet things
> will start working.
Hi again,
so, it turns out that some things work again, for example a python
script from the templates runs fine (which didn't work before the
checkout).
My key issue is still with compiling latex. Even with a file from the
templates, without a project it gives the error shown in the attached
screenshot.
Cheers,
Claus
On 17-Oct-08, at 6:40 AM, textmate-request(a)lists.macromates.com wrote:
> Message: 2
> Date: Thu, 16 Oct 2008 16:13:16 +0200
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: textmate Digest, Vol 5, Issue 25
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <C95F684D-7D16-4914-BE2C-85ED5D71A67D(a)rosiba.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> On Oct 16, 2008, at 3:53 PM, Claus wrote:
>
>> Hm,
>> when I delete that folder (move it to a different place), I get the
>> original error:
>> /tmp/temp_textmate.78au0T:3:in `require': no such file to load -- /
>> Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
>> process (LoadError) from /tmp/temp_textmate.78au0T:3
>>
>> when I move the folder back, I still get the
>> Error: Could not open to check for packages
>>
>> This is most likely a problem with TM_LATEX_MASTER
>>
>> /bin/sh: kpsewhich: command not found
>>
>> Note: I didn't see the third line last night, cause it was printed
>> white on white in the latex/textmate output window.
>>
>> Inside /Users/clausman/Library/Application Support/TextMate/Support
>> there are 5 folders:
>> Bundles
>> PlugIns
>> Pristine Copy
>> Support
>> Themes
>
> So you have a checkout of the entire textmate repository in your
> Support folder.
>
> Erase the folder /Users/clausman/Library/Application Support/TextMate/
> and do a clean svn checkout with:
>
> cd ~/Application\ Support/
> svn co http://macromates.com/svn/Bundles/trunk TextMate
>
> ?Alex
On 17-Oct-08, at 6:40 AM, textmate-request(a)lists.macromates.com wrote:
> Message: 2
> Date: Thu, 16 Oct 2008 16:13:16 +0200
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: textmate Digest, Vol 5, Issue 25
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <C95F684D-7D16-4914-BE2C-85ED5D71A67D(a)rosiba.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
> On Oct 16, 2008, at 3:53 PM, Claus wrote:
>
>> Hm,
>> when I delete that folder (move it to a different place), I get the
>> original error:
>> /tmp/temp_textmate.78au0T:3:in `require': no such file to load -- /
>> Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
>> process (LoadError) from /tmp/temp_textmate.78au0T:3
>>
>> when I move the folder back, I still get the
>> Error: Could not open to check for packages
>>
>> This is most likely a problem with TM_LATEX_MASTER
>>
>> /bin/sh: kpsewhich: command not found
>>
>> Note: I didn't see the third line last night, cause it was printed
>> white on white in the latex/textmate output window.
>>
>> Inside /Users/clausman/Library/Application Support/TextMate/Support
>> there are 5 folders:
>> Bundles
>> PlugIns
>> Pristine Copy
>> Support
>> Themes
>
> So you have a checkout of the entire textmate repository in your
> Support folder.
>
> Erase the folder /Users/clausman/Library/Application Support/TextMate/
> and do a clean svn checkout with:
>
> cd ~
> svn co http://macromates.com/svn/Bundles/trunk TextMate
>
> ?Alex
Alex,
I did what you said, assuming you meant I should check out textmate into
~/Library/Application\ Support/
unfortunately, the same problem is still there, even if I compile a
very minimalistic latex test file.
>> Error: Could not open to check for packages
>>
>> This is most likely a problem with TM_LATEX_MASTER
>>
>> /bin/sh: kpsewhich: command not found
Does anybody have any more ideas?
Thanks,
Claus
I work thoroughly in Mathematica and in LaTeX and would enjoy the
following capability:
select some tex-math. Use a macro on it to do the following:
--expand out any short-hand I use as specified in an arbitrary style
file.
--call MathKernel on the TeX line.
--Convert from the TeX to Mathematica standard form using
Mathematica's ToExpression.
--Evaluate the math
--use Mathematica's TeXForm to convert the math output into LaTeX
--insert the result into the file or into the clipboard.
my Mathematica installation came with a command-line MathKernel
program which I've been trying to call with
MathKernel -noprompt <<EOF
TeX expression that I want evaluated
EOF
However, when I tried this in bash, the escaping of the TeX
backslashes on the way in and then again on the way out of the
MathKernel program was causing major headaches.
Has anyone ever interfaced the two programs in this way? Anyone have
any advice as to how to approach this problem? I can't seem to find
any Mathematica interaction bundle for TM.
Thanks very much,
Evan Berkowitz
--------------------------------------------------
Physics is like sex. Sure, it may give some practical results, but
that's not why we do it.
Richard Feynman
Hm,
when I delete that folder (move it to a different place), I get the
original error:
/tmp/temp_textmate.78au0T:3:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
process (LoadError) from /tmp/temp_textmate.78au0T:3
when I move the folder back, I still get the
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
/bin/sh: kpsewhich: command not found
Note: I didn't see the third line last night, cause it was printed
white on white in the latex/textmate output window.
Inside /Users/clausman/Library/Application Support/TextMate/Support
there are 5 folders:
Bundles
PlugIns
Pristine Copy
Support
Themes
inside Support there are quite a few more folders:
bin
css
images
lib
nibs
script
Sound
themes
and a file called version which contains the number 9280... anyways,
in bin there are a few files which I guess are related to latex:
LatexCitekeys.rb
LateXCommandCompletions.rb
LatexLabelCompletions.rb
Hm, so textmate can still not compile latex. I also have tried python,
and that doesn't work either. Trying to run the default script from
the templates, I get:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Python.tmbundle/Support/PyMate/pymate.rb:68:in `initialize': wrong
number of arguments (2 for 1) (ArgumentError) from /Applications/
TextMate.app/Contents/SharedSupport/Bundles/Python.tmbundle/Support/
PyMate/pymate.rb:68:in `new' from /Applications/TextMate.app/Contents/
SharedSupport/Bundles/Python.tmbundle/Support/PyMate/pymate.rb:68
Hm, does this mean that things are too messed up... and a clean
install is necessary? What files would I have to delete? And which
ones should I backup?
Or are there any other options?
Thanks for your help,
Claus
On 16-Oct-08, at 2:00 PM, textmate-request(a)lists.macromates.com wrote:
> Message: 4
> Date: Wed, 15 Oct 2008 22:00:09 +0200
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: problem running latex after svn up
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <FDE0695F-B385-4188-A09C-341AC2CD0B2B(a)rosiba.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On Oct 15, 2008, at 9:43 PM, Claus wrote:
>
>> Hi,
>> after svn updating all my *.tmbundle, including the latex bundle,
>> after running a previously working latex-project, I got after cmd-R:
>>
>> /tmp/temp_textmate.hXj0XQ:3:in `require': no such file to load -- /
>> Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
>> process (LoadError) from /tmp/temp_textmate.hXj0XQ:3
>>
>> I looked around, and found that likely I have to also svn up the
>> "Support Folder":
>> cd /Library/Application\ Support/TextMate
>> svn co http://macromates.com/svn/Bundles/trunk/Support
>>
>> so I did, however, when I run
>> echo "$TM_SUPPORT_PATH"
>> I get
>> /Users/clausman/Library/Application Support/TextMate/Support
> What have you got in this directory? You can just delete /Users/
> clausman/Library/Application Support/TextMate/Support and I bet things
> will start working.
Hi,
after svn updating all my *.tmbundle, including the latex bundle,
after running a previously working latex-project, I got after cmd-R:
/tmp/temp_textmate.hXj0XQ:3:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
process (LoadError) from /tmp/temp_textmate.hXj0XQ:3
I looked around, and found that likely I have to also svn up the
"Support Folder":
cd /Library/Application\ Support/TextMate
svn co http://macromates.com/svn/Bundles/trunk/Support
so I did, however, when I run
echo "$TM_SUPPORT_PATH"
I get
/Users/clausman/Library/Application Support/TextMate/Support
and not
/Library/Application Support/TextMate/Support
as I should according to
http://manual.macromates.com/en/bundles
Now, at first this didn't bother me too much,
but when I tried to cmd-R on my latex project, I got
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
(I have TM_LATEX_MASTER set under cmd-I)
interestingly, this error even occurs when I try to compile a single,
basic latex file like the following four lines (and I thought
TM_LATEX_MASTER is only necessary when using projects?)
\documentclass[article]
\begin{document}
Hello World
\end{document}
Can anybody help me how to get latex running again?
Is the "$TM_SUPPORT_PATH" the problem?
Or is there anything major different in the latex bundle recently
(last half year or so)?
Thanks for your help,
Claus
the version of PyMate in the svn repository doesn't work with Python
3.0rc1, as there have been major changes both to the language and to
the standard library.
the diff file attached to this message describes the changes needed to
make PyMate compatible with Python 3.0; it also migrates from the %
string formatting operator to the new str.format function, as
recommended by the Python 3.0 documentation.
sadly the changes are not backwards compatible (valid Python 2.x code
is not necessarily valid Python 3.x code and vice versa), so some
sorts of version check should be put in place -- I'll leave that to
the senior mantainers of the bundle.
cheers,
domenico
Hi there,
I hope this is the right place for this.
The MIPS bundle incorrectly indents after every return. It looks like
a simple typo. I've pasted the patch below.
Thank you!
Jason
Index: MIPS.tmbundle/Preferences/Miscellaneous.tmPreferences
===================================================================
--- MIPS.tmbundle/Preferences/Miscellaneous.tmPreferences (revision 10713)
+++ MIPS.tmbundle/Preferences/Miscellaneous.tmPreferences (working copy)
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>name</key>
@@ -16,7 +16,7 @@
</array>
</array>
<key>increaseIndentPattern</key>
- <string>^\s*[A-Za-z9-0_]+:\s*$</string>
+ <string>^\s*[A-Za-z0-9_]+:\s*$</string>
<key>smartTypingPairs</key>
<array>
<array>
On running the typesetting I had an error (see last line):
Warning: pdflatex supports synctex but you have included pdfsync. You can
safely remove \usepackage{pdfsync}
Processing: ./jalpac.tex
Document Class: article 2005/09/16 v1.4f Standard LaTeX document class
Including: images/uoc_logo_01.png
Processing: ./question_01/question_01.tex
Underfull \hbox (badness 10000) in paragraph at lines 39--44
Output written on jalpac.pdf (3 pages, 202757 bytes).
Complete transcript is in
jalpac.log
Telling Skim to Refresh "/Users/jal/Documents/UOC/M2008 - Desenvolupament
d'aplicacions web/PACs/PAC1/jalpac.pdf"...
sh: -c: line 0: unexpected EOF while looking for matching `"' sh: -c: line
1: syntax error: unexpected end of file
What can be causing this error?
--
View this message in context: http://www.nabble.com/Error-on-typesetting-request.-tp19968021p19968021.html
Sent from the textmate users mailing list archive at Nabble.com.
Folks;
Whenever I try to create a new HTML blog post in TextMate, I get the SPOD
and TM just sits there forever unless I Quit.
Is this a known issue?
Thanks,
-Chris
--
Chris Patti --- Y!: feoh -- AIM: chrisfeohpatti --- E-Mail:
cpatti(a)gmail.com
"We won't talk about spirituality and religion - although I will tell you I
have experienced a death bed conversion - I just bought a Macintosh!" -
Randy Pausch, _The Last Lecture_
Hi,
I completely removed the MacTex 2007 and install 2008. Once this is done it
stops working when I try to build (cmd+R) Get a big red mesage:
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
The text is over a small message that says something like (I have hardly
read it):/bin/sh: kpsewich: cdmmarck not open
( please do not trust this last sentece because as I say I can not see it
well)
So, on: echo $PATH I have:
/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/texbin:/usr/X11/bin
on which kpsewich:
/usr/texbin/kpsewhich
On ls /usr I see the symbolic link :
...
lrwxr-xr-x 1 root wheel 63 Oct 13 10:06 texbin ->
../Library/TeX/Distributions/.DefaultTeX/Contents/Programs/i386
On ls : /Library/TeX/Distributions/.DefaultTeX/Contents/Programs
...
lrwxr-xr-x 1 root admin 64 Oct 13 10:07 i386 ->
../../../../../../../usr/local/texlive/2008/bin/universal-darwin
If I open Textmate from the terminal using "open -a textmate" the
typesetting works but on trying to reference a bibtex reference TM hangs and
a ruby script keeps using 100 of my CPU.
All this was with the latest version of the Latex bundle. When I move
backwards to the old version of the bundle (the one that ships with textmate
on August) The Typesetting works but the ruby still hungs on try to use a
reference to bibtex using 100 of my CPU.
Please can anyone help?
--
View this message in context: http://www.nabble.com/Latex-Bundle-Stop-to-work-on-MacTex-2008-installed-tp…
Sent from the textmate users mailing list archive at Nabble.com.
When I enter a label refenrece I get:
/Users/swtest/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/lib/LaTeXUtils.rb:262:
command not found: kpsewhich -show-path=tex
\ref{sec:bibliography}
As I explain on a message 2 hours ago everything seems OK (paths).
NOTES: MacText 2008
Please help!
Regards
--
View this message in context: http://www.nabble.com/command-not-found%3A-kpsewhich--show-path%3Dtex-tp199…
Sent from the textmate users mailing list archive at Nabble.com.
Hi, all,
I'v been a Vim user for a long time. There's a shortcut 'dd' in vim
command mode to cut a line, then use 'yy' to paste it. I haven't found
any corresponding way to make this done in textmate, could anybody
here give some advise? Thanks in advance.
Regards,
--
Steve Chu
http://stvchu.org
Hi,
I'm unable to create any templates whatsoever. Any item I choose from
the New From Template menu does nothing. I don't see any errors in
Console. I quit TextMate, renamed the Application Support directory
and preferences directory (which effectively reverts to factory
settings), and restarted TextMate, but that had no effect on the
problem. Any suggestions on how to fix this? Thanks,
Trevor
TextMate 1.5.7
Mac OS 10.5.5
Well, what to say... from one day to the other my LaTeX bundle starts giving
me
"There was a problem reading the preferences file, continuing with defaults"
message which is a hell of a complication as my latex files do not work with
pdflatex :( I'm not aware of installing anything on my Mac in the last
days..... I even reinstalled TextMate & Latex bundle but the message is
still there :(
and by the way I have Leopard 10.5.4 & TextMate 1.5.7 (1436) so probably the
old posts about python problems with Tiger do not apply...
Is there an easy fix or should I really get to writting my own less fancy
but a working script for running latex & all the stuff instead of Typeset &
View??
--
View this message in context: http://www.nabble.com/problem-reading-preferences-file-for-LaTeX-bundle-tp1…
Sent from the textmate users mailing list archive at Nabble.com.
Is there a command that I could use to select a block of text and
convert all the special characters to the HTML equivalent (right and
left smart quotes, ampersands, em-dashes, etc...)
I find that I am often pasting in blocks of text from word and
selecting it and running one command would make my workflow a bit
easier.
Cheers,
Eric
----- Original Message ----
From: Alex Ross <tm-alex(a)rosiba.com>
To: feldesmanm(a)gmail.com; TextMate users <textmate(a)lists.macromates.com>
Sent: Wednesday, October 8, 2008 3:44:19 PM
Subject: Re: [TxMt] Re: Compiling C/C++ using Textmate
On Oct 9, 2008, at 12:36 AM, Marc Feldesman wrote:
> It returns an empty line.
Sorry that should have been:
ruby -e 'puts File.exists?(ENV["TM_SUPPORT_PATH"] + "/lib/tm/
executor.rb")'
If TM_SUPPORT_PATH is pointing correctly to your svn checkout of the
Support directory, and that checkout is also up to date, this will
return true.
> I've got 30 years of programming experience. If I'm having this
> much trouble after following the directions in 5.7 and especially
> 5.7.4 to the letter, how do less experienced people deal with these
> problems?
>
> Why doesn't Textmate simply set these preferences out of the box and
> run without this much fiddling. AquaEmacs works without anything
> special. SlickEdit works without anything special. XCode works out
> of the box. Why is TextMate so fiddly?
TextMate also works out of the box, but you've elected to install
prerelease code via svn. Most people do not encounter these problems
because they just use the bundles that are shipped with TextMate.
—Alex
I might not have bought it if it didn't compile C or C++ code out of the box. It is advertised as a programmer's editor. I haven't found many programmer's editor that don't do the basic things a programmer's editor do, such as compile code with basic tools. The instructions made it appear pretty easy to update and adding the new C bundle was trivial. Only after pouring through the list here did I discover that the Support directory needed to be updated, and even after following the directions exactly, you now tell me that an essential subfolder isn't there. How would I know that? I mean, I'm grateful for your help, but this shouldn't really be so difficult to track down the source of an install error and a path/directory error.
Hello,
Is there a way to make the LaTeX bundle treat warning as errors (and
provide for example links to underfull or overfull lines before
jumping to the document preview).
Thanks beforehand for any help,
Jean-Pierre
Upon updating my bundle to the latest svn source of the latex bundle I
got a similar html output window. Reverting to revision 10669
returned the expected output.
Thanks again for all the effort that goes into improving the Latex
bundle, your efforts are greatly appreciated!
Peter
On Sun, Oct 5, 2008 at 4:43 AM, Niels Kobschaetzki
<n.kobschaetzki(a)googlemail.com> wrote:
> Hi!
>
> In addition to my TeX-typesetting-problem I noticed that the
> HTML-output-window suddenly looks just plain wrong. I attached a
> screenshot. Some of the text is huge, other parts are very small and
> behind the huge stuff.
>
> Niels
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
>
There is something fundamentally wrong with Textmate's handling of the
Apple-R command. I have cutting edge build 1466 of Textmate, and the latest
versions of the C bundle and the Support bundle. Whenever I press Apple-R,
the result is:
/tmp/temp_textmate.bPPsQU:3:in `require': no such file to load --
/Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/executor
(LoadError) from /tmp/temp_textmate.bPPsQU:3
I have checked the path in bash, I've tested echo $PATH ^R and the search
path is correct. I really like Textmate, but if I can't get this issue
resolved I'll be forced to go back to AquaEmacs, which is awfully
cumbersome.
Either I'm missing something fundamentally obvious, or there is something
profoundly wrong. What command am I missing here?
--
View this message in context: http://www.nabble.com/Compiling-C-C%2B%2B-using-Textmate-tp19886007p1988600…
Sent from the textmate users mailing list archive at Nabble.com.
The conversion to LaTeX replaces any occurrences of '...' to /ldots.
That causes problems if the dots are followed by text, such as
...and then there were three.
as we and up with '\ldotsand'. Not knowing much of TeX, what is the
proper way to shield a variable from surrounding text?
Thanks
Gerd
Hi all,
How can you add options to the call to the pdflatex engine used by the
watch functionality of the LaTeX bundle?
Particularly, I'd like to be able to add the shell-escape option
(apparently it currently runs with that option disabled).
Thanks,
enas
I'm evaluating TextMate, trying to figure out if I can make the switch
from BBEdit. It looks very much like Linux -- very powerful, but
having a devil of a time getting work done as I make the switch. So
please forgive me as I pepper you with questions. I'm going to try to
put them in separate emails to split them up into threads.
OK, I'm making a new template for my SHTML files. My first question:
how do I make the tab stops work properly?
When I use the following template, the cursor (er, caret in TM
parlance) is at the *start* of the document, and tabbing doesn't move
me to the other positions. I find this odd b/c I thought that the
caret position was supposed to default to the end. Anyway, the tab
stops aren't working at all, so I must be making some mistake. I just
can't find it.
The variables for selected text and date *do* work.
help, please?
CC
<!--#set var="pagetitle" value=""${2:Untitled}"" -->
<!--#set var="page_type" value="class=\"page_article\"" -->
<!--#include virtual="/inc/wrappers/news_releases_top.inc"-->
<!-- BEGIN CONTENT -->
<h3></h3>
${1}${TM_SELECTED_TEXT}
<p class="article_data pub_date">${TM_DATE}</p>
<!-- END CONTENT -->
<!--#include virtual="/inc/wrappers/news_releases_btm.inc"-->
OK, this is explained pretty well, if briefly, in the Help document,
but it doesn't work. Probably I'm making a stupid mistake, but I've
been trying to tackle this for days.
I've made a template and am editing its associated template file.
This works, wrapping the selected text in a div:
<div>
${TM_SELECTED_TEXT}
</div>
However, this doesn't work. It should recognize three words separated
by spaces and wrap them in paragraphs. The find pattern *does* work in
the Find command, but not in the template.
The result of htis pattern is emptiness; I get just the div tags
around a blank line.
<div>
${TM_SELECTED_TEXT/^(\S+?)\s(\S+?)\s(\S+?)$/<p>$1</p>\r<p>$3</p>\r<p>$3</p>/g/}
</div>
The above code looks like it follows the regex patterns described in
Help's regex section. So I'm unsure what's wrong. Help, please!
-- CC
Hi!
I've installed MacTex 2008 some days ago and switched finally from
pdftex to xelatex. On friday I still compiled files successfully,
today I get only a
Error: xelatex is not found, you need to install LaTeX or be sure that
your PATH is setup properly.
sh: line 0: type: xelatex: not found
When I run from TextMate "which xelatex" it gives me: /usr/texbin/xelatex
In Terminal the same, command completion in Terminal works fine as
well. Compiling the file in Terminal works as well.
I'm working with TM 1.5.7 (1464) and a recent SVN-checkout.
Does anyone have an idea what the problem could be and how to fix it?
Niels
Hi Ian,
When editing Eiffel code in TextMate, the digits in variables or
parameters like i1 i2 get colored with the color for literal numbers
instead of the color of the alphabetic part of the name.
--
Damien Pollet
type less, do more [ | ] http://people.untyped.org/damien.pollet
Hello all
I have unable to use SVN commit for the last couple of days, receiving
the
following message when I attempt to:
'No files modified; nothing to commit.'
I am using TextMate 1.5.7 (1464) and Subversion 1.5.1. The message
pops up
regardless of whether I am trying to commit a single file or an entire
directory.
I have backtracked to try and see what I have installed that may be
causing
this, but without much luck. Does anyone have any suggestions as to
what is
causing it, or how to fix it?
Many thanks
Spen
Hi,
the last posting shows that very often this mailing list has already
answered to common questions. But how can an user find it?
Here my 'brutal' approach to provide a tmCommand which does the job.
The attached tmCommand searches for given words using www.nabble.com,
gathers ALL found pages in one HTML page, and opens that HTML page in
the default browser.
Maybe this could help a bit.
Comments?
Cheers,
--Hans
PS Of course, the used strategy could be improved ;)
I am having trouble using some of my installed bundles, for example, PHP
Cake. There are a number of tab triggers I am trying to use, but when I type
the sequence and press tab, nothing happens. This behavior seems indicative
of TextMate not knowing which bundle to use on the file being edited, though
the language association of "HTML (PHP Cake)" in the bottom toolbar is
correct.
What am I missing? Thanks!
--
View this message in context: http://www.nabble.com/Bundle-usage-tp19771933p19771933.html
Sent from the textmate users mailing list archive at Nabble.com.
I keep updated with the "bleeding edge" releases of all the bundles,
and I just noticed today that the Java bundle now picks out whole
classes from the source code. Unfortunately, my favorite color scheme,
Brilliance Black, chooses to give this area a bright red background,
making anything inside a Java class unreadable.
Not sure whose fault it is (maybe I messed something up?), but I
thought somebody should know.
William
I'm running the latest cutting edge build (1467), which seems to have been
posted about 5 months ago. I've read through the forum and there have been
mentions of a new cutting edge build due to appear, by my estimate, about
now. Does anyone here have a better ETA for this next build? I'm really
hoping to sort out all the C-bundle problems that prevent compiling except
to a single tool.
--
View this message in context: http://www.nabble.com/New-Cutting-Edge-Build-tp19841157p19841157.html
Sent from the textmate users mailing list archive at Nabble.com.
My wife is about to finish the first draft of her first book. It's
written more or less in markdown, nothing complex, just chapters, some
italics and some dividers.
Is there an easy workflow to produce a halfway decent looking book
from this? I suspect it would involve Latex, which I know nothing about.
Thanks
Gerd
I am the maintainer of the Python bundle. During the last couple of
years, I have not had the opportunity to use Python very regularly and
I feel that I have let the Python bundle languish. Today I saw that
Python 2.6 has been released. Are there any avid Python users on the
list who would be interested in adding Python 2.6 features to the
TextMate grammar? Is there anyone who would take over maintainership
of the bundle?
—Alex Ross
I have the same need. I have done the following to accomplish this.
Generally speaking, you need to combine the command with a macro:
1. modify the command in 'normal' R bundle to additionally active
Textmate after it sends the R statements
2. record a macro to move the cursor: You first active the above R
command, which sends the R statement to the R GUI's R console window,
and let it return back to Textmate; Then move the cursor one line
down and finish the macro.
3. save the macro and give it a good keystroke.
Optionally, you can use the power of the search (^F) in Textmate to
move the cursor. By using the proper regular expression in the search,
you can move the cursor to the next non-comment R statement.
The above steps work generally for both a line and a selection.
Yaomin
On Sun, Oct 5, 2008 at 7:43 AM, <textmate-request(a)lists.macromates.com> wrote:
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. Re: Simple markdown to book workflow? (jiho)
> 2. Re: Python 2.6? (Pedro Borges)
> 3. How do I tell TextMate to move the cursor one line down?
> (Tobias Pyndt Steinmann)
> 4. Re: How do I tell TextMate to move the cursor one line down?
> (Hans-J?rg Bibiko)
> 5. Re: How do I tell TextMate to move the cursor one line down?
> (Hans-J?rg Bibiko)
> 6. Suddenly xelatex is not found anymore (Niels Kobschaetzki)
> 7. HTML-output-window just looks plain wrong (Niels Kobschaetzki)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sat, 4 Oct 2008 09:34:39 -0400
> From: jiho <jo.irisson(a)gmail.com>
> Subject: [TxMt] Re: Simple markdown to book workflow?
> To: gerti-textmate(a)bitart.com, TextMate users
> <textmate(a)lists.macromates.com>
> Message-ID: <6646DC23-E892-47E0-B77A-C6936351061D(a)gmail.com>
> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
>
> On 2008-October-04 , at 02:16 , Gerd Knops wrote:
>> Thanks everybody for the help, it is much appreciated!
>>
>> Using markdown to Latex (memoir) conversion gets me most of the way.
>>
>> One problem I have that I can't seem to figure out is that when I set
>> \geometry{a5paper} the book is formatted for A5, but the physical
>> paper size still seems to be Letter. How can I fix that?
>
>
> This is actually a feature of the memoir class. The thinking behind it
> is that, whatever your page size is, you will probably print it on a
> stock paper, which has a standard size (A4, letter etc.) and them cut
> (trim) it (if you add the options showtrims to the document class, you
> should see those trim marks). This is why the stock size and the page
> size are separated in memoir. You can set them easily without
> resorting to the geometry package, with commands that are specific to
> the memoir class. Check the chapter "Laying out the page" (section II,
> p 49) of the memoir manual (meman.pdf) for the commands. It also gives
> more details on the dimensions of the page and how to make them
> harmonious (A5 is probably not the best idea because the height to
> width ratio might make the text look awkward). My advice: take a book
> with a similar purpose that you find enjoyable to read and well laid
> out and copy the dimensions.
>
> This is for example what I used in a recent document, based on several
> published books with margin notes:
>
> \usepackage{calc} % easy calculations
>
> % Page size
> \settrimmedsize{246mm}{172mm}{*} % size of final page : h w ratio
>
> % Stock paper size = A4
> \setstocksize{297mm}{210mm} % size of paper sheet : h w
>
> % Trims (i.e. cuts) = set interior edge of the page to be the actual
> edge of the stock and center vertically
> \settrims{0.5\stockheight-0.5\paperheight}{\stockwidth-
> \paperwidth} % portions to trim from : top edge
>
> % Set margins and compute size of text block
> % NB: \textheight is set to an integer number of lines by
> \checkandfixthelayout below
> \settypeblocksize{197mm}{100mm}{*} % block: height width ratio
> \setlrmargins{32mm}{*}{*} % horiz margins : spine edge ratio
> \setulmargins{69pt}{*}{*} % vertical margins : upper lower
> ratio
>
> % Margin notes
> \setmarginnotes{3.8mm}{31mm}{5mm} % margin notes: separation width
> push
> % separation: horiz space between text and note
> % width: max width of note
> % push: min space between notes
>
> \checkandfixthelayout[nearest]
> % nearest = chose the integral number of lines nearest to the
> specified textheight and use this as the textheight
>
> I hope that helps.
>
> JiHO
> ---
> http://jo.irisson.free.fr/
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 4 Oct 2008 17:03:34 +0100
> From: "Pedro Borges" <pedro.dhb(a)gmail.com>
> Subject: [TxMt] Re: Python 2.6?
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Message-ID:
> <d82a1ed0810040903q34795f72qc3d82e8bac77b423(a)mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Is there a list of requested features for the bundle?
>
>
> ------------------------------
>
> Message: 3
> Date: Sat, 4 Oct 2008 18:12:13 +0200
> From: Tobias Pyndt Steinmann <tobii(a)tobii.dk>
> Subject: [TxMt] How do I tell TextMate to move the cursor one line
> down?
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <A63860BE-556B-49BF-881D-255872FEC11D(a)tobii.dk>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
> I am trying add a command to the R bundle that will send the current
> line to the R GUI, in the same way the ESS for Emacs "Eval line &
> step" command works.
> It is quite easy to send the line to R GUI, but I cannot find a good
> way to move to the cursor to the next line in TextMate.
> Currently I am using this Applescript to do the job:
> # move the cursor
> osascript -e 'tell application "System Events"' \
> -e 'tell application "TextMate" to activate' \
> -e 'tell process "TextMate"' \
> -e 'keystroke (ASCII character 31)' \
> -e 'end tell' \
> -e 'end tell'
>
> But the problem is that when you call the command using a keyboard
> shortcut ie. cmd+shift + R and keep holding cmd+shift for some time (I
> have this of a habit unfortunately :) ) the keystroke will be cmd
> +shift + (ASCII character 31) causing the text from the cursor to the
> end of the document to be selected.
>
> Is there a smarter way to advance the cursor one line? -- maybe an
> internal TextMate command?
>
> Thanks in advance.
> with best regards,
> Tobias Pyndt Steinmann
>
>
Hi,
I am trying add a command to the R bundle that will send the current
line to the R GUI, in the same way the ESS for Emacs "Eval line &
step" command works.
It is quite easy to send the line to R GUI, but I cannot find a good
way to move to the cursor to the next line in TextMate.
Currently I am using this Applescript to do the job:
# move the cursor
osascript -e 'tell application "System Events"' \
-e 'tell application "TextMate" to activate' \
-e 'tell process "TextMate"' \
-e 'keystroke (ASCII character 31)' \
-e 'end tell' \
-e 'end tell'
But the problem is that when you call the command using a keyboard
shortcut ie. cmd+shift + R and keep holding cmd+shift for some time (I
have this of a habit unfortunately :) ) the keystroke will be cmd
+shift + (ASCII character 31) causing the text from the cursor to the
end of the document to be selected.
Is there a smarter way to advance the cursor one line? -- maybe an
internal TextMate command?
Thanks in advance.
with best regards,
Tobias Pyndt Steinmann
Hi!
In addition to my TeX-typesetting-problem I noticed that the
HTML-output-window suddenly looks just plain wrong. I attached a
screenshot. Some of the text is huge, other parts are very small and
behind the huge stuff.
Niels
I've recently switched to 1.5, mostly because of sparse checkouts. I
just spotted every-time I commit something Subversion bundle shows
"unknown revision committed" in the title, which is obviously because
now "svn" command has Polish (my native language) locale and doesn't
output "Commited revision XX." but the text in Polish.
I'd suggest to set "LANG=en_US" environment variable before launching
any command that matches the output text in English or when running
command line directly use "LANG=en_US svn" instead of just "svn".
This suggestion should go also to all other bundle creators that use
similar methods.
Best regards,
--
Adam Strzelecki
Hello
I'm a newbie with Ruby but it seems that there is a problem with
"fileExt".
I try this (I add fileExt=[] )
#!/usr/bin/env ruby
#
#####################
# Helper function
#####################
def recursiveFileSearch(initialList)
extraPathList = []
fileExt=[]
and now I can use alt+esc in all the cases.
Is it a good solution?
Alain
Hi,
I made a command for the ruby texmate bundle that might be interesting.
What it does (on command-option-R):
- It takes the selected text or the current line (= STDIN)
- It finds a running IRB session in the Terminal.app. If you don't have one,
it starts a new one.
- It pastes your code in IRB and switches to the terminal.app.
It saves you from manually selecting, copying, switching and pasting to try
out some code in irb. A poor man's SLIME if you will.
The command is a basic ruby script that uses the scripting bridge to drive
Terminal.app. It can also be adopted to use other interactive consoles
(python, clojure, ..) by changing the REPL_ constants at the top of the
script.
- REPL_CMD is the command to start the interactive console
- REPL_PROCESS is the active process that ends up running in the terminal.
- REPL_PROMPT is the prompt you get when you start the interactive console
See attachment for the command.
Greetings,
Jan Sabbe
On Oct 3, 2008, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
> On Oct 3, 2008, at 1:03 PM, Ricki Gregersen wrote:
>
>> Hi
>>
>> I have been looking for a way to print my recent project which is
>> around 50+ actionscript classes to
>> a single pdf for some time.
>>
>> I tried Automater but it refuses to recognize .as files as
>> text files.
>>
>> Is there som way to obtain this in textMate?
>>
>> Thanks in advance:)
>>
>> Regards Ricki
>
> The best thing is to generate HTML from your source code and print
> that. In the TextMate bundle, there is a command to ?Create HTML From
> Current Document?. Run that command and save the resulting file.
> Open in Safari and print to PDF!
>
> ?Alex
I would also consider using the command line tool "textutil" to
concatenate the files and then format the catted files as RTF or HTML
-- or even plain old text -- and then printing the compiled document.
(You could make this an Automator script -- I know that Apple script
allows you to call shell apps, or you could make it a bash script, or
you could make it a Textmate command.
So many options ...
Hi
I have been looking for a way to print my recent project which is
around 50+ actionscript classes to
a single pdf for some time.
I tried Automater but it refuses to recognize .as files as
text files.
Is there som way to obtain this in textMate?
Thanks in advance:)
Regards Ricki
Hi all,
I've been using TextMate for a while but I have recently started
looking at some matlab scripts that I am porting over to C(Obj-C).
The only problem is TextMate keeps coloring the .m matlab files using
the C/Obj-C syntax coloring rather than the coloring provided by a
Matlab bundle I have installed. Since I am editing files in both at
the same time, Matlab and C, what would you recommend is the easiest
way to get my .m matlab files to use the Matlab bundle coloring and
my .m Obj-C files to use the C syntax coloring?
Thanks
I've been struggling against TextMate's clipboard manager for some
time. I use PTHPasteboard, which works against all applications, and
serves the purpose of having multiple copy buffers.
It appears to fight against TextMate's clipboard manager, however.
When I copy things using TextMate, sometimes (randomly) it will place
the copied item straight into the second item in PTHPasteboards, so I
always have to guess where my copied item is. It's very, very annoying.
Is there any way to disable TextMate's clipboard manager? I would
prefer to use PTHPasteboard for clipboard management instead as it
works in any application.
Thanks!
Tim
Hi,
I'm just rewriting the GetBundles bundle to support the new syntax of
DIALOG2. In principal it works fine if I take the eventInfo Dict. But
I came up with a "problem".
I have a NIB containing a NSSegmentedControl for filtering the repos
Bundles, Review, GitHub, All.
I bound it via Segment Selection > Selected Label to
Paramters.selcetion.bundleSelection and connected the entire
NSSegmentedControl to File's Owner 'performButtonClick'. Each Segment
has its own tag number.
With DIALOG1 I get e.g.:
<dict>
<key>bundleSelection</key>
<string>Review</string>
<key>cancelBtn</key>
<string>cancelButtonIsPressed</string>
<key>dataarray</key>
<array>
<dict>
....
then I can check whether there's a returnArgument, if not is there a
key 'bundleSelection'...
BUT with DIALOG2 the eventInfo Dict gives me:
<key>eventInfo</key>
<dict>
<key>tag</key>
<integer>0</integer>
<key>type</key>
<string>buttonClick</string>
</dict>
<key>model</key>
<dict>
<key>bundleSelection</key>
<string>Review</string>
<key>cancelBtn</key>
<string>cancelButtonIsPressed</string>
<key>dataarray</key>
<array>
<dict>
This would me that I have to deal with both the eventInfo Dict AND the
model Dict in order to find which button was pressed.
If I have a 'normal' button bound to performButtonClick DIALOG2
response is:
<key>eventInfo</key>
<dict>
<key>tag</key>
<integer>4</integer>
<key>title</key>
<string>Rescan Bundle List</string>
<key>type</key>
<string>buttonClick</string>
</dict>
Is there a way to put into the eventInfo Dict the title of the chosen
Segment of a Segment Control à la the 'normal' button event?
My very first idea was to include into TMDNibController.mm
- (IBAction)performButtonClick:(id)sender
...
if([sender respondsToSelector:@selector(selectedSegment)] & [sender
respondsToSelector:@selector(cell)])
[res setObject:[NSNumber numberWithInt:[[sender cell] tagForSegment:
[sender selectedSegment]]] forKey:@"selected_tag"];
Then you can deal with unique tag numbers and you only need the
eventInfo Dict.
Many thanks in advance
--Hans
I've recently upgraded to a shinny new iMac from my 3 year old powerbook.
This has required the re-installation and setup of all my software. I.e.
Latex and TextMate, which previously worked seamlessly.
Specifically, i downloaded and installed MacTeX. Latex (pdflatex) works
fine from the command line. However "Typeset & View" in TextMate returns
the following:
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
I'm fully up-to-date (cutting edge) and i have confirmed that all the
appropriate paths exist (i.e. to /usr/texbin in /etc/profiles). "pdflatex"
is selected in the TextMate latex preferences.
An extensive search of the web provides a lot of solutions (usually related
to making sure the path is set correctly), but none work for me.
Any ideas? I'm slightly baffled and have run out of things to try.
Thanks in advance.
Sorry for the delay here. I seem to have lost contact with my own thread.
I sent this a few weeks ago in response to your suggestion:
Strange ...
turning on debug
%!TEX Directives: {}
Typesetting Directory = /Users/dcroton/work/documents/current/antonio_agnfrac
master file = agn_fraction_v12.tex
Typesetting Directory = /Users/dcroton/work/documents/current/antonio_agnfrac
Error: Could not open to check for packages
This is most likely a problem with TM_LATEX_MASTER
Thanks,
Darren
I was told by textmate to report this:
"svn" status /Applications/MAMP/Documents/Remwes/mcfr/app/webroot/js/
ajax.js
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_revision_chooser.rb:27:in `svn_cmd'
/Applications/TextMate.app/Contents/SharedSupport/Bundles/
Subversion.tmbundle/Support/svn_revision_chooser.rb:83:in
`choose_revision'
-:7
Hi all
AFAIK it is possible the insert ^L to
force the printer to start with a new
page - in plain text files.
But how can I insert this characters (control)
with textmate.
Karl-Heinz
Hi,
I've been enountering this problem with TextMate for some time now. I open a
directory, keep working on the files, keep editing and saving as usual, but
sometimes, TxMt locks up and prompts me for password to save the file - and
it wouldn't save the file even if i supply the password. I've checked the
file permissions and they seem to be fine (for until a while ago, TxMt was
saving without a hitch). While this happens, I get this error on
Console.app:
30/09/08 3:56:54 PM TextMate[18607] executeLsFilesUnderPath:inProject: ***
-[NSCFDictionary setObject:forKey:]: attempt to insert nil value (key:
_NSTaskDiagnosticFileHandle): launch path "/opt/local/bin/git"
I have the ProjectPlus plugin installed.
What could be going wrong?
Thank you in advance.
-- Srinivasan
Not quite sure what else to add, TextMate freezes when I start it up.
It used to load an old project with about 10-15 files, but I have
tried moving the folder and it still freezes. Not sure how to reset
the settings so that TM doesn't try to reload the last open project.
I'm using 10.5.5
Dunno if there's a way I can get some debug info to provide more information.
>> Just wanted to let you guys know that I updated my CSS bundle with
>> even more tab triggers! ;) Some other additions and fixes too... For
>> more info and screencast, go to my site:
>>
>> http://minimaldesign.net/articles/read/textmate-css-bundle-11
>>
>> btw, I don't mind including my stuff in the official bundle and
>> contributing to official CSS/HTML bundles in general if that's
>> something you'd be interested in. Just let me know.
>
> I have a new version of the CSS bundle coming out soon.
> It's currently on GitHub. It's mostly just enhancements to the
> language grammar and code completion.
>
> What I recommend is to make a new bundle with all your stuff for now.
> Maybe "CSS Extras" or "CSS Fast Coding" or something like that.
> Then people can install the new CSS bundle and your new CSS bundle at
> the same time without any interference.
>
> I haven't looked at the info.plist of your bundle, but if you added
> your snippets to the CSS bundle itself instead of making a new bundle,
> there's no way to install both versions at once.
>
> Once I get some time we can talk about the official direction of the
> bundles and decide what stuff should be merged in.
> There might be some overlap or something.
The way I've done it so far is to add on to the official bundle
instead of creating a new one because I haven't found an easy way to
duplicate a bundle... I looked in the docs a while back but couldn't
figure it out... I don't overwrite any of the functionality from the
official bundle though, I want to keep all the functionality from the
original... but yeah, it forces me to make sure I keep in synch with
the updates
of the official version.
I don't mind creating a separate bundle, but a "CSS extras" would
defeat the purpose 'cause you'd lose some of the original
functionality... Unless it's possible to use 2 bundles "at the same
time" for a language?
If you can point me in the right direction as to how you'd go about
duplicating a bundle and changing its name, I could update it in the
next few days... And my HTML bundle too ;)
Thanks!
- Yann
Hey,
I found a small bug in the most recent Haskell Bundle.
The Load in GHCi command needs 1 line changed from:
do script "clear; cd $(esc "${TM_DIRECTORY}"); ${THASKELL} $
{TM_FILEPATH}"
to
do script "clear; cd $(esc "${TM_DIRECTORY}"); ${THASKELL} '$
{TM_FILEPATH}'"
Otherwise the command fails if you are in a directory that has spaces
in its path.
Armon Dadgar
I've been working on bringing full ActionScript 3 autocompletion to
TextMate. It's still in progress and it may be rough around the edges
but should be ready for some testing when Dialog 2 is shipped, here's
a short teaser:
http://blog.simongregory.com/09/as3-autocompletion-in-textmate/
Cheers,
Simon
Hi. Maybe someone can tell me whether this is interesting.
While preparing the Objective-J bundle I found an useful way to write
a snippet for inserting 'import "foo.j"' or for Objective-C '#import
"foo.h"' which looks for all header files in the project or at the
current path and down and shows up them as a inline menu list with
relative paths to the current file. The TAB trigger is e.g. impp.
A demo movie can be found here: http://www.bibiko.de/TM_importAsFileList.mov
.
The snippet looks like
import "${1:`"$TM_BUNDLE_SUPPORT/bin/import_FileMenu.sh" ".j"`}"
#import "${1:`"$TM_BUNDLE_SUPPORT/bin/import_FileMenu.sh" ".h"`}"
To use it system-widely one could save it in SUPPORT_PATH/lib. Any
comment??
--Hans
Hello List,
I am new on this list and here is my first question to TM: I've started to
learn programming with C. of course, I want to use TM as editor because of
my positive experiences with the LaTex bundle. now i've the problem with
compiling the source code. everytime pushing cmd+r, I get the error: "no
xcode project available" so I compile the c-files manually with the
terminal. that is not very comfortable;)
my question is, if there is a way that I push cmd+r, TM runs the gcc in the
background und execute the file in the terminal automatically? and if there
is a source error TM jumps to the specific line? my current version of TM
is 1.5.7 (1464).
thanks a lot for your help.
sebastian
>
> When using the LaTeX bundle, "Reformat paragraph" isn't very clever
>
about respecting things like environments that aren't separated by a
>
blank line and commands like \item and \caption that might take
>
paragraph text. Is it possible to customise this?
>
>
> I think it's more a question of someone just writing a "reformat
>
paragraph" script for LaTeX files. Then you can bind it to the same
keystroke. But I don't know of any such "latex beautifier". If we can
formalize precisely what such a script should be doing, it will
probably be not too hard to write one.
The standard LaTeX bundles still(!) ships with an old LaTeX Tidy I wrote,
under "Tidy". It is simple-minded and works on the whole document. You
should try it out and see if it gets close to what you want. You may be able
to effectively customize it (it's a perl script LaTeXTidy.pl in
Latex.tmbundle/Support/bin). Here are the notes from the script comments:
# General Idea
# ------------
# Eat all single newlines. Add newlines after all "\\"
# Newlines before each \begin and \end. After each \end{}
# Each environment \begin adds a level of tab.
# Newlines before each \item.
# \n before each \[ and after each \]
best wishes, Eric
--
Eric Hsu, Associate Professor of Mathematics
San Francisco State University
http://math.sfsu.edu/hsu
erichsu(a)math.sfsu.edu
Hi,
up to now it is not possible to use the JavaScript functions alert()
and confirm() within TM's HTML output window.
But there is a solution (unfortunately this does not work for the HTML
preview :( ).
The only thing I do is to write a kind of wrapper for these functions
by using TextMate.system('"$DIALOG" -e ...').
<script type="text/javascript" charset="utf-8">
try {
if (TextMate.system("", function (task) { })) {
var __TM_confirm_Status;
alert = function(s){TextMate.system('"$DIALOG" -e -p
\'{messageTitle="JavaScript";informativeText="'+s+'";}\'',null);};
confirm = function(s){TextMate.system('"$DIALOG" -e -p
\'{messageTitle="JavaScript";informativeText="'+s
+'";buttonTitles=("OK","Cancel");}\'',null).onreadoutput=function(s)
{if(s==1)
{__TM_confirm_Status
=false}else{__TM_confirm_Status=true}};return(__TM_confirm_Status)};
}
} catch(e) {}
</script>
The try block will be only executed if the code will be showed up in
TM HTML output window.
If you put these lines into your HTML code the page will work within a
normal browser as well as in TM's HTML output window.
Attached is a demo command. Simply press the buttons ;)
BTW With this approach I can prompt JavaScript errors by using simply
"alert(err)" inside of TM ;)
--Hans
I inadvertently pasted several megabytes of characters into the find
field of the search and replace dialogue box. The performance of TM
dropped significantly whenever the dialogue was displayed as a result.
I tried using the CLI tool defaults to remove the find history from
the preference file and even reverted to an earlier version of the
preference file (courtesy of Time Machine) to reduce the preference
file size from 4.5M to 25K. Unfortunately starting TM again somehow
restored the preference file so I was still left with the problem.
It turned out the fix was simple - just select a few characters and
Command E to make them the new find string. Repeat with a different
set of characters a dozen or so times. This pushes the offending
search string down the history list until it is discarded.
Dave.
Hi,
I have an HTML page running in TM's HTML output window with embedded
JavaScript and my JavaScript is not correct, I can invoke 'Inspect
Element' to see the error. Fine.
But is there a way to access the error message from outside, I mean
by a script?
If not, would it be possible to redirect the JavaScript error
messages to a log file?
Many thanks in advance,
--Hans
Hi,
would it be also useful for other users to have the chance to set the
appearance of the HTML output window as:
- normal window (like the current one)
- HUD window
- frameless window (like HTML tooltip)
- maybe some others
Technically it should be "quite" simple to provide these options.
Or am I wrong?
Regards,
--Hans
Hi,
if I have an HTML page (TM's HTML output window) with embedded
JavaScript and my JavaScript is not correct I can press the right
mouse button and invoke 'Inspect Element' to look at the JavaScript
error(s). Fine.
But is there a way to access the(se) error(s) from outside, I mean by
a script?
If not, would it be possible to redirect the(se) error(s) to a log file?
Many thanks in advance,
--Hans
Writing a ruby command for TextMate to reformat author names
in a list of papers I run into the obvious but sad fact that
/[A-z]/ =~ "ü"
does not match anything. Is there a simple workaround?
I mean, simpler than a very long and unelegant list of Unicode
ranges such as the one here
http://forums.mozillazine.org/viewtopic.php?f=25&t=834075
Thanks,
Piero
Just wanted to let you guys know that I updated my CSS bundle with
even more tab triggers! ;) Some other additions and fixes too... For
more info and screencast, go to my site:
http://minimaldesign.net/articles/read/textmate-css-bundle-11
btw, I don't mind including my stuff in the official bundle and
contributing to official CSS/HTML bundles in general if that's
something you'd be interested in. Just let me know.
Hello,
When using the LaTeX bundle, "Reformat paragraph" isn't very clever
about respecting things like environments that aren't separated by a
blank line and commands like \item and \caption that might take
paragraph text. Is it possible to customise this?
Thinking more about it, it's certainly not an easy problem. But if
there are hooks, then I'd like to start looking at taking advantage of
them...
Cheers,
Will
Dear regexeperts,
I'm trying to write a snippet for wikimedia for applying bold
(wrapping a string in **str**)
I've attached cmd-B to the snippet, and I'd like it to bold the
CURRENT_WORD if there is no selection.
Sounds like a job for:
**${TM_SELECTED_TEXT:$TM_CURRENT_WORD}**
Works fine for the selected text, but not for the current word, where
it returns things like this:
he|re -->cmd-B--> he**here**re
Any pointers, or do I need to be made into a command? (in that case,
what use does $TM_CURRENT_WORD have in snippets?
cheerio,
tim
Hello everyone,
if I insert a snippet with a tabstop, which is immediately followed by
a number (without any white spaces in between), the number gets
interpreted as belonging to the tabstop. Is there a way to aviod this?
I want to put the caret to an arbitrary location of a (script
generated) replaced text, which might be inside a number block. The
solution I have is to put a pair of backticks before the number, but
then the inserted text flashes on insertion, so it does not seem to be
the correct way to solve this.
Best, Christoph
I get the following error when invoking the Git Bundle with
control-shift-G:
/tmp/temp_textmate.datgB4:26:in `open': No such file or directry -
pages (Errno::ENDENT)
/from /tmp/temp_textmate.datgB4:26:in `entries'
/from /tmp/temp_textmate.datgB4:26
One odd thing is that this only happens with documents with a particular
Git repository. With other Git repositories, things work as expected.
The problematic repository *is* a Git repository, and everything works
fine from the command line---I can commit, pull, push, etc. just fine.
Best, Mark
This is a feature request.
When multiple items are found when pressing keyboard shortcuts, a menu
will appear. (See 5.1.1 http://manual.macromates.com/en/bundles#activation_of_bundle_items
)
In the menu, TextMate offers 1 to 9 to make selecting an item easy.
But in the menu, I woud like
to use control-N and control-P to move up or down.
Spotlight, Safari's location bar and many other apps support Control-P
and Control-N for various
places.
It would be cool if TextMate has this support.
Of course, I know I can use arrow keys or just type the first letter
of the item to select an item.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
On 22/set/08, at 10:19, textmate-request(a)lists.macromates.com wrote:
>> \documentclass{article}
>>
>> \begin{document}
>> \input{essai}
>> \end{document}
>>
>> I save it and now alt-esc does not work anymore
>>
>> Perhaps a problem with LatexCommandCompletions.rb ??
>>
>
> I have the same problem. I would like to know if I am the only one
> with this problem?
>
> Perhaps i need to update something ? but I think there is a problem
> with \input, \include and the completion !
>
> Best regards
> Alain
Same problem here. This is what happens on my machine with the code
above:
- when I use \include or \input the command completion stop working in
the master file. However in the file called by \include or \input it
works without a problem. The command completion works in the master
file until the first time i save the file.
- \ref and \cite work smoothly in both file.
- the file essai is in the same folder of the master one, and has
the .tex extension.
However I've always considered this behavior as a "feature" of the
LaTeX bundle, a kind of advice: "if you use \include or \input, it's
better to write all of your text in secondary files, keep the master
file clean".
Leopard 10.5.5, TextMate Version 1.5.7 (1466), LaTeX bundle updated
some days ago, for the release of MacTex 2008.
Roberto Durante
Hi List,
I just tried to use "Edit in TextMate" on groups.google.com and it
just plays me an alert sound when hitting the keyboard shortcut
instead of opening a new TextMate window.
Can someone confirm that "Edit in TextMate" is not working when trying
to make a new post on any group with safari and groups.google.com
website?
Thanks,
Jan
Hi,
I do not know whether I can remember correctly but I believe that
someone mentioned a generator script for language grammars' regexp of
a set of fixed names. I mean e.g.:
I have this list of fixed classes:
NSArray
NSMutableString
NSMutableArray
NSCell
NSCellItem
NSCoder
and the generator script will output something like this:
NS(Array|Mutable(String|Array)|C(ell(Item)?|oder))
If someone knows this script I'd be appreciated to get a hint where I
can find it.
Many thanks in advance!
--Hans
Hi everyone,
I hope I won't trigger any flame war here but I would like very to have a
scratchpad as has appeared in BBedit 9.0.
I find myself using TextMate to reformat "raw data files" and I often have a
blank file open somewhere where I paste bunch of texts, do something with it
and paste it back in the original file.
For me at least, it would be very useful.
Thanks in advance.
--
View this message in context: http://www.nabble.com/-FeatReq--Scratchpad-tp19272741p19272741.html
Sent from the textmate users mailing list archive at Nabble.com.
I'm new to TextMate. I have some questions I was hoping you guys could help me with.
1. Let's say I wanted to create a Language Grammar (.bah) that inserts 'bah' when I type b + tab. However, this snippet should only work in .bah files.
So my new language looks like this:
{ scopeName = 'text.bah';
fileTypes = ( bah );
...
When I create a new snippet, and give it a scope of 'text', it works in .bah files; however, when I give it a scope of text.bah, it doesn't.
2. When I go to Bundles -> RoR -> Install Plugin I get this error:
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on Rails.tmbundle/Support/bin/list_plugins.rb:27:in `join': can't convert nil into String (TypeError) from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby on Rails.tmbundle/Support/bin/list_plugins.rb:27
3. I supposedly installed 'Edit in TextMate' successfully, it gives me this: Success! /Applications/TextMate.app/Contents/Resources/Edit in TextMate copied to /Library/InputManagers
But, whenever I go to Safari or TextMate 'Edit in TextMate' isn't under the edit menu. I've tried restarting and everything. Still nothing.
4. Okay, last one. I downloaded Peepcode's screencast on TM, and when I tried to emulate the part where he created a scaffold-like create method using 'defcreate + tab', it didn't work. I put the caret in a Controller, and changed the language to Ruby on Rails.
The question is the same for all: how do I make it work?
Thank you!
_________________________________________________________________
See how Windows connects the people, information, and fun that are part of your life.
http://clk.atdmt.com/MRT/go/msnnkwxp1020093175mrt/direct/01/
Hi,
I've read 3 times the PHP Bundle doc but I can't use completion from
files.
For instance, if I type "include" + ALT + ESC, I've a "No matches
found". However, I've a lot of *.php, *.class.php in my project.
I've tried to define the PHP_INCLUDE_PATH var at project level with :
".:/usr/local/myphplib/" in order to use completion from myphplib...
It doesn't work.
I'm using OSX 10.5.4. It's a known issue or it's an error?
--
Nicolas CHARLOT
Hans, et al
I'm one of the core Objective-J / Cappuccino developers. I'm glad you
like it, and thanks for helping out.
We actually use $OBJJ_HOME in the Objective-J tools already. If you
install the Tools package it currently puts all the tools and
libraries in /usr/local/share/objj. This is the default used in case
$OBJJ_HOME isn't set. If you install the tools elsewhere, you can set
your $OBJJ_HOME to that location. We just didn't want to have to set
too many environment variables ($STEAM_BUILD is already required, it's
where frameworks, etc are built)
Anyway, I like the idea. We probably will be putting a copy of
Frameworks at $OBJJ_HOME/Frameworks and the template applications
somewhere in $OBJJ_HOME.
We're actually planning on adding some commands for generating
standard projects to the "steam" tool (an Objective-J specific build
tool, similar to xcodebuild). This would be similar to the "rails"
command with Ruby on Rails. Then the TM commands you're talking about
would simply call steam with whatever the syntax for a new app is.
Any thoughts?
Also, feel free to join us in #cappuccino on irc.freenode.net
-Tom
Hi,
I've just discovered Objective-J as a very very nice and powerful
programming environment.
Obj-J runs perfectly in TM's HTMLOutput (Tiger and Leopard) thus I
try to solve some issues with it.
Then I downloaded the "JavaScript Objective-J" bundle. I added a
first naïve "Run" command and a first help system for it.
But I want to discuss some details in beforehand.
I could imagine that Obj-J will be used by TM coders more and more in
the near future. A 'normal' Obj-J application always ships with 2MB
of Frameworks code. To prevent this I think it would be nice to do
the following.
If someone wants to use Obj-J apps inside of TM s/he should download
the starter kit or tools from
http://cappuccino.org/download/
and copy this folder to a proper destination (maybe also rename it).
Then s/he only have to set a shell variable OBJJ_HOME in '~/.profile'
like e.g.
export OBJJ_HOME="$HOME/Library/Objective-J"
Then my help system would work and a new app could have instead the
entire subfolder 'Frameworks' only a symbolic link like:
ln -s "$OBJJ_HOME/Frameworks" Frameworks
Then one could write commands:
New Obj-J Application
New Obj-J Application (embedded Frameworks)
to generate an app template with index.html, main.j, Frameworks
folder etc. with or without embedded Frameworks.
Are there any comments?
Should I upload my stuff I have to the Review trunk as "JavaScript
Objective-J"?
Is there someone who is using it yet?
Regards,
--Hans
Hans,
Downloaded the scratchpad bundle as your movie is very intriguing. I
get the following error on both my desktop and laptop:
/tmp/temp_textmate.OerJwl:5:in `require': no such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/tm/
htmloutput (LoadError) from /tmp/temp_textmate.OerJwl:5
Neither installation has a tm directory (let alone htmloutput file) in
the application (nor the user Library/Application Support/TextMate)
path.
I have not set my TM_SUPPORT_PATH environment. Is there something I am
missing to configure? I've never come across this issue.
Cheers,
Brian
I am subscribed to the digest, so I didn't see the thread about this
issue until after my posting. Sorry for the waste of bandwidth.
> Hans,
>
> Downloaded the scratchpad bundle as your movie is very intriguing. I
> get the following error on both my desktop and laptop:
> [snip]
>
Hi,
Does TextMate have a keyboard shortcut that acts_as Vim's "^" key?
i.e: it puts the cursor in front of the first character of a line that
is not a space or a tab.
Hi,
I have another problem with snippets.
I have defined the snippet
^{$1}$0
for inserting LaTeX superscripts. The snippet is bounded to the ^ key.
However, with some keyboard (French and Italian and possibly more), ^
is an active key to insert accented letter. When the snippet is used
with such keyboards after typing ^ one correctly have ^{} with the
caret inside the curly brackets, but when one types, for example 2,
the result is ^{^{}}.
Any way to prevent this (beside changing the trigger for the snippet)/
All the best
Guido
--
Dr Guido Governatori
http://www.governatori.nethttp://www.governatori.net/TextMatehttp://www.defeasible.org
Hi,
I wonder how you guys keep your TextMate synced with among multiple
Macs.
I noticed that BBEdit 9 added mobileme support.
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hi i just updated the Support folder and the Python and Perl bundle.
Now every time I do "run script" the following error is displayed with
the expected output:
"/Library/Application Support/TextMate/Support/lib/tm/process.rb:123:
warning: Insecure world writable dir /Library in PATH, mode 040777"
Hi,
1) I would like to create a snippet like (actually a part of a snippet)
${1:[${2:text}]}
So when I insert it on the first tab I have
[text]
with the option of deleting it typing <delete> and then on the second
tab to modify the actual placeholder. The problem is when I replace
the square brackets [] with curly brackets {}. I have tried a few
options with mirror and conditional insertions but to no avail. Any
suggestions?
2) I would like to have a snippet for LaTeX superscript (and
subscript) such that curly brackets are included when the content is
at least two characters and no brackets when I have only one
character, that is "^{abc}" and "^a".
So far I have the following solution
^${1/(.{2,})|./(?1:{)/}$1${1/(.{2,})|./(?1:})/}$0
but there is a few problems. When I have nested superscript (or
subscripts) if the nested supscript is inserted as second character,
then the caret is not at the right place. So if I type
^a^
I get
^{a|^}
where | indicates the position of the caret. The second problem is
that if the first command triggers a snippet of a command, the snippet
no longer work.
Any suggestions?
Regards,
Guido
--
Dr Guido Governatori
http://www.governatori.nethttp://www.governatori.net/TextMate
Hi,
While I am developping a Rails app, I would like to be able to hit the
ctrl+shift+M key to open the Mercurial menu, but instead, it creates a
Rails migration file. How can I change the keyboard shortcut so that
it becomes ctrl+shift+A which is the one dedicated for subversion that
I don't use?
I just installed Ruby 1.9 but every time I try to run a script in Textmate I
get the following:
Users/ron/Library/Application Support/TextMate/Support/lib/scriptmate.rb:10:
warning: variable $KCODE is no longer effective; ignored
/Users/ron/Library/Application
Support/TextMate/Support/lib/scriptmate.rb:11:in `require': no such file to
load -- jcode (LoadError) from /Users/ron/Library/Application
Support/TextMate/Support/lib/scriptmate.rb:11:in `' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:1:in
`require' from
/Applications/TextMate.app/Contents/SharedSupport/Bundles/Ruby.tmbundle/Support/RubyMate/run_script.rb:1:in
`'
HELP!!!!
--
ron.green(a)gmail.com
Hi
I have been messing around with the trial version of textMate as I
finally got the time
to do so. It is of course awesome!
I have now broken every single path, snippet, template, bundle.. you
name it.
This is OK and totally expected in a test drive for a piece of
software that gives one this much
power.
How can I completely re-install textMate so that it looks
precisely as when I started it up this morning?
Im on 10.5.4 OS X leopard, running/breaking textMate 1.5.7(1436)
I tried removing the files in user/library/preferences and deleting
what ever I could find on
my system named textMate and emptied out my trash.
Still when installing from the image I get my "broken" version back.
Regards Ricki
Hello,
I've been using TM for the last couple of years but, as you all know,
a new major release is quite far into the future, and since those
issues that I have with TM won't go addressed for the coming few
years, I've decided to move back to Emacs. I had a list of things I
liked in TM, which Emacs was lacking, but I have found solutions for
each one of them, apart from one, last item. I know that this is not
an Emacs forum, but I expect quite a few here has moved from Emacs to
TM, as I did myself a few years ago, and thought it could be
interesting to hear your opinion on the issue (esp. since you will
have experience with both editors and would be able to understand the
issue better then the pure Emacs folk over at the Emacs forums).
My last remaining item is the project drawer; I do not use it much as
my projects usually are single file projects, but I think it is very
nice to have and I esp. like the concept that I can have files from
different directory trees in one project. I could not find a similar
concept in Emacs; neither Speedbar nor ECB since to be able to solve
my "problem", as they try to solve other, unrelated, problems. I
could use a directory structure but then I have to move some files
from other location into my main directory, I would like to avoid that.
The project I think of is my website to be specific, I have all files
in a directory structure under ~/Documents, but I have a number of
Perl scripts for maintenance located in ~/Applications, and some
additional support files located elsewhere, and I don't quite like
the concept of moving all those files (about 10 all in all I think)
to ~/Documents, even as symlinks.
Any nice, preferable light-weight, solution to this?
TIA.
/Jonas
Hi there,
I have the following problem. When I try to give the Scope as input to a command, Textmate not only passes the present scope, but the whole document to the script (for any document type that I tried, e.g. Latex, Perl and C). According to the documentation, only the present scope should be passed to the script, delimited by the first and next position of the curser, where the present scope would change.
Perhaps I am getting something completely wrong, I would appreciate any help.
Best, Chrisotph
--
They said Windows95 or better, so I took Linux...
GMX startet ShortView.de. Hier findest Du Leute mit Deinen Interessen!
Jetzt dabei sein: http://www.shortview.de/wasistshortview.php?mc=sv_ext_mf@gmx
Hi
Using the svn-bundle I would like to filter the files presented for
committing. I do not want files with extension pyc to be shown.
How can I do that?
Regards, Katja
I do a lot of text manipulation with Textmate and find the command
"Filter Through Command..." amazingly useful. I love all of the
output possibilities, but I wanted to put in my vote to add one more
output option: "Copy to clipboard".
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
Hi all there (3)
> I am suffering an uncomfortable problem with TM scripts that depend
> on Ruby and makes them unusable. Using for example Cmd-B in LaTeX
> (toggle_style.rb -style=textbf), TM inserts instead:
>
>
> no such file to load -- ubygems (LoadError)
>
> Sometimes I fixed the problem renaming ~/Library/Application\
> Support/TextMate. Sometimes not.
>
> I use an env
>
> RUBYOPT=rubygems
>
my apologizes for the reps.
I have found a solution to the annoying ubygems LoadError:
To install gems both in the
/usr/bin/ruby
and
/opt/local/bin/ruby
making both
~/Downloads/rubygems-1.2.0 % sudo ruby setup.rb
and
~/Downloads/rubygems-1.2.0 % sudo /opt/local/bin/ruby setup.rb
Then I can keep the
export RUBYOPT="rubygems"
in the ~/.profile and let terminal ruby use this option.
- Juan F.