This doesn't seem to be documented anywhere online that I can find, so:
Allan informed me on IRC that the mate command doesn't work from
inside screen in Leopard.
All is not lost, however. I discovered that if you install screen via
MacPorts (I had to 'port sync' first, then 'port install screen'), you
can use the mate command from inside screen with no problems.
Hopefully this will save someone else a few minutes of fruitless
searching.
- Andre
I just started with Textmate:
http://www.rsaccon.com/2007/10/erlang-and-textmate.html
Searching the mail archive shows very little posts about Erlang. I
would like have better erlang support and I am interested in
contributing to get there. Anybody has done something with textmate
and Erlang and has some Experiences to share, anybody just thinking
about it and has thoughts to share ? Or just advice to put me in the
right direction to get started ? (the howtocontribute-Wiki-entry I
have read already) What I would like to have is Emacs/Distel like
Erlang integration, for example a keybinding for compiling/reloading
the current sourcefile and in case of errors keybinding to jump to the
first/next error. With Emcas I wrote some elisp hack just to integrate
things better into my workflow, I hope that can be done for
textmate/erlang as well
regards
--
Roberto Saccon
http://rsaccon.com
Hi Guys,
Please forgive me if this has been asked and answered before... But
is there any way to fold your code normally when using TM for Python?
In my experience, the arrow appears where you'd expect it to, but
stubbornly refuses to do anything at all when clicked.
Any tips from my fellow Pythonistas?
:=)
Sean
:::: DataFly.Net ::::
Complete Web Services
http://www.datafly.net
I am trying to find out how to insert an existing applescript into a
snippet or perhaps a more elegant solution to inserting variables into
snippets. Perhaps I need to explain:
I have many variations of boilerplate text that I use dozens of times
during the day in my work that require a variable input in certain
places. While I am not a programmer, I am all for automating repetitive
tasks and I'm not afraid of a little scripting. A little. Some of the
stuff in those bundles looked downright scary.
I was kindly directed to use the tab stops for snippets like this:
________________________________________________
Hello ${1:firstname}
Thank you for your order for a ${2:product}
________________________________________________
Perfect. Easy. The next part, though, is to give me more control over
the values I am inserting.
For example, I have been using BBedit (which does the job but I don't
particularly like) and in their "clippings" you can insert a
placeholder that can call up an applescript to run. Even this is
awkward compared to the simple way that NoteTabPro worked for me for
10+ years in windows before I switched to a mac - I could create
'clips' in it that would insert boilerplate text and at any
placeholders, I could include dialog boxes to type in a value or choose
it from a list.
I sat here for 6 hours today trying to see how I can do this or
something like it in TextMate - and I found programming languages that
I will never use, and syntax for them that I am utterly stumped by.
Can anyone help me?
Janet
I saw an old message on GMANE "Re: C syntax fixes" regarding this
issue. I guess much of the patch did not get applied?
There seem to be a very significant issues (for me anyhow) with the
current C syntax parser:
1) Multiple line function definitions are not tagged as functions, e.g.,
int test(int a,
int b)
{
...
}
This is unfortunately very common with functions with large numbers
of arguments.
2) Less importantly, simple macros such as
#define __MY_HEADER_H
are also getting listed in the function pull-down.
Does anyone have a patch for this that could get pushed into SVN? I
have yet to grok the syntax of C plist etc, but this is driving me
insane.
Thanks,
Matt
Matthew Winter wrote:
> SVN is the subversion repository.
>
> Here is the Wiki guide to how to checkout bundles:
>
> http://macromates.com/wiki/Main/SubversionCheckout
>
> You can access the Matlab bundle directly from the web at:
>
> http://macromates.com/svn/Bundles/trunk/Bundles/
>
> However it is easier to use the subversion commands as des-
> cribed in the Wiki guide.
Matt, thanks for these directions. The GetBundles bundle
worked beautifully.
- Dushan
I installed os-x 10.5 last weekend. Since then, when using TextMate
1436 and LatexWatch, I observe the following behavior: the pdf preview
window, in TeXShop, doesn't gain focus and refresh until I click on it:
it then refreshes . If I switch to Skim as previewer, no refresh even
with clicking on the Skim window to give it focus. I had been using
both for several months, without any problem whatsoever.
Here is the console line I get regarding TeXShop as previewer:
10/29/07 10:03:11 AM TextMate[177] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
With Skim, I get the following window message:
Unable to read notes for ~/Documents/Work/Writing/Journal/2007/July.pdf,
but a Skim notes file with the same name was found. Do you want Skim to
read the notes from this file?
I click OK, but Skim doesn't refresh, though I have "check for file
change" preference on (and have restarted everything). Here is the
console reading concerning Skim:
10/29/07 10:24:14 AM TextMate[888] loadPlugIn: Dialog plug-in with same
bundle identifier (com.macromates.dialog_plug-in) already loaded
10/29/07 10:24:26 AM Skim[926] .sdef error: Operation could not be
completed. (NSXMLParserErrorDomain error 1549.)
10/29/07 10:24:26 AM Skim[926] line number: 2
I have sent as detailed a description I could to Apple Software/Support
but thought I could get some help from the LateX people on TextMate.
--Gildas Hamel
My Mac Mini is configured to use Skim as the PDF viewer called from
Textmate's LaTeX bundle, however I still view compiled .PDF files inside
Textmate. I need help configuring Textmate so that it will automatically
launch Skim.
Intel Mac Mini
OS X: 10.4.10
Textmate version: 1.5.7 (1436)
I have the following Textmate environment variables set in
Preferences->Advanced->Shell Variables:
TM_LATEX_ERRLVL 1
TM_LATEX_COMPILER latexmk.pl
TM_LATEX_VIEWER Skim
Skim Version: 0.9.3 (v15)
Skim has Prefereces->Sync "Check for file changes" checked and the Preset
set to "Textmate".
I am using fink's LaTeX distribution.
Skim works. It is my default .PDF viewer in Finder. I can use it to open
and view .PDF files.
If I successfully compile a LaTeX document in Textmate using apple-R, the
compiled .PDF file appears in the "Typeset and View" window owned by
Textmate instead of a Skim process.
I have another computer, a Mac Book, that as far as I can tell is configured
identically. On this machine, Textmate launches Skim as its .PDF viewer as
expected.
I'm out of ideas on how to debug this. Any suggestions?
Thanks for any help.
--
Bill McNeill
http://staff.washington.edu/billmcn/index.shtml
I've noticed some ctrl-key snippet wierdness in the Ruby Bundle.
Until the latest update, the ctrl-{ snippet to toggle blocks between
{} and do;end forms either didn't work at all, or worked
intermittently. I believe that this broke with the previous
cutting-edge update some weeks ago. I just checked for updates, and
I'm running 1436 as well, although the latest version mentioned when I
view the release notes is 1435.
Since Matt reported the problem with version 1436, I tried the snippet
just now, and here is how this line of ruby code:
a.each { | f| f }
evolves after a sequence of pressing ctrl-{ with the cursor after
either the { or do as appropriate.
a.each do |
f| f
end
a.each { |; f| f }
a.each do |;
f| f
end
a.each { |;; f| f }
On 10/29/07, Matt Freels <matt(a)furtherin.net> wrote:
> I just ran into a problem where after the recent update (version
> 1436), all of TM's shortcuts involving the ctrl key broke.
>
> All of the emacs-like keybindings seem to still work, though.
>
> I've tried resetting all of the preferences i could think of
> including a new user account.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Since the last update, my HTML colors are messed up if I have some
php at the top of the page, everything else after that is treated as
"embedded source" from the "fonts & color" pref pan.
If I just put: <?php ?> on top, it's fine, but if I put something like:
<?php require_once('_php/some_file.php'); ?>
The everything under is just a big chunk of the same color... Anyone
else got that? And found a way to fix it... Any suggestion much
appreciated.
Thanks!
- Yann
.........................................
Yann Bettremieux
minimal design LLC
244 Fifth Avenue
Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: yann(a)minimaldesign.net
site: http://minimaldesign.net
The information in this email may be confidential and/or legally
privileged. This email is intended to be reviewed by only the
individual or organization named above. If you are not the intended
recipient or an authorized representative of the intended recipient,
you are hereby notified that any review, dissemination or copying of
this email and its attachments, if any, or the information contained
herein is prohibited. If you have received this email in error,
please immediately notify the sender by return email and delete this
email from your system.