Hi all,
I'm trying to figure out the magic behind $ (the dollar sign) in LaTeX mode,
with no luck.
In LaTeX mode when, say, 2+2=4 is highlighted and the $ is pressed, $2+2=4$
is what you get.
Who (what command or code) does this task?
In general: How to discover the command performed by a shortcut? Is there a
way?
Many thanks in advance.
--
ßlue
--
View this message in context: http://old.nabble.com/How-to-discover-the-command-performed-by-a-shortcut--…
Sent from the textmate users mailing list archive at Nabble.com.
>
> Where may I post a bug or ask for support? I have an issue with keymap
> that I cannot solve but I hostly cannot find a way to get vendor support.
You've come to the right place.
I'm running a Ruby script from TextMate and within that script call a Perl script (gpsPhoto.pl) and would like to capture the error messages and act on them. The messages show up in the TM Running window.
An example of an error that appears in the TM Running window:
Use of uninitialized value $text in pattern match (m//) at /someFolderOnMyMac/gpsPhoto.pl line 3120.
Thanks for any ideas.
Greg
Has anyone worked out any solutions within textmate for remote pair programing? Gnu screen and vim/emacs is ok for me but the guy I'm soon to develop with would be lost in those ide's.
Adam Merrifield
seydoggy.com
820 Strasburg rd, Kitchener,
Ontario, N2E 2Y3, Canada
Email: info(a)seydoggy.com
Office: 519-489-6033
Cell: 519-574-9788
>
> Of course you can make TM scope aware and such, but AFAIK the completion
> mechanism can't be modified. Your bundle can be very refined but you will
> always have to use ESC and press again and again until you find the option
> you need...
The built in completion (ESC by default) might not be able to be modified
(it actually can a little), but almost every language has one or several
completion commands in the bundle. Check out PyRopes, and also the PHP
bundle has a couple different great completion commands.
A question about support.
Where may I post a bug or ask for support?
I have an issue with keymap that I cannot solve but I hostly cannot find a way to get vendor support.
Any suggestion?
Thanks
Andrea Campolonghi
acampolonghi(a)gmail.com
@Gerd
Programmable event driven actions & context menu plugins are actually two of
the most useful realistic suggestions I have heard for TM2. Has anyone
played with SIMBL / APE? What are the chances of us hooking something like
this in ourselves? Are there already Cocoa events that we could hook on to
for that stuff, or does the entire event framework need to be put in?
I've only written a few Cocoa programs so I'm not an expert on that stuff,
but I've been wanting to play around with SIMBL so this may give me the
opportunity. I'm thinking that the context menu thing should definitely be
doable to some extent.
Brandon
On Fri, Jul 1, 2011 at 11:54 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. keymaps (Andrea Campolonghi)
> 2. Re: Capturing error messages (Greg)
> 3. Re: Any news on Textmate 2? (Brandon M Fryslie)
> 4. Re: Any news on Textmate 2? (pier25)
> 5. Remote pair programming (Adam Merrifield)
> 6. Re: Any news on Textmate 2? (Gerd Knops)
> 7. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 8. Re: Remote pair programming (Gerd Knops)
> 9. Re: Remote pair programming (Mario "Kuroir" Ricalde)
> 10. Re: Any news on Textmate 2? (Will)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 1 Jul 2011 15:38:45 +0200
> From: Andrea Campolonghi <acampolonghi(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] keymaps
> Message-ID: <58A56F19-F6B7-4D28-A51C-4B5C79094E47(a)gmail.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hi,
>
> I am using mate on an italian keyboard.
> While the menu tell me that I can do shift left wiht command + [ when I try
> nothing happens.
> I have to do alt + command + [ to get a shift left but this last keymap is
> supposed to do code formatting.
>
> Thanks
>
> Andrea Campolonghi
> acampolonghi(a)gmail.com
>
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Fri, 1 Jul 2011 10:17:34 -0700
> From: Greg <web(a)web.knobby.ws>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Capturing error messages
> Message-ID: <430DB169-BEFC-450C-94C2-6FE9296693B0(a)web.knobby.ws>
> Content-Type: text/plain; charset=iso-8859-1
>
> On Jun 30, 2011, at 10:42 PM, Martin K?hl wrote:
>
> > On Thu, Jun 30, 2011 at 21:58, Greg <web(a)web.knobby.ws> wrote:
> >> I'm running a Ruby script from TextMate and within that script call a
> >> Perl script (gpsPhoto.pl) and would like to capture the error messages
> >> and act on them. The messages show up in the TM Running window.
> >
> > There's nothing TextMate-specific about this, you can capture those
> > messages any way you would otherwise in Ruby. Which way that is depends
> > on how you call the other command, e.g. with backticks you would append
> > `2>&1` to the command line.
> >
> > If you're unsure, [1] has a survey of ways to run subprocesses in Ruby.
> >
> > HTH,
> > Martin
> >
> > [1] http://tech.natemurray.com/2007/03/ruby-shell-commands.html
>
> Thank you. I think this will point me in the right direction.
> Greg
>
>
>
> ------------------------------
>
> Message: 3
> Date: Fri, 1 Jul 2011 10:44:32 -0700
> From: Brandon M Fryslie <bmf(a)email.arizona.edu>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Re: Any news on Textmate 2?
> Message-ID: <BANLkTin_9p6eeornUXPq8_m_5dXXc5gcjg(a)mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> >
> > Of course you can make TM scope aware and such, but AFAIK the completion
> > mechanism can't be modified. Your bundle can be very refined but you will
> > always have to use ESC and press again and again until you find the
> option
> > you need...
>
>
> The built in completion (ESC by default) might not be able to be modified
> (it actually can a little), but almost every language has one or several
> completion commands in the bundle. Check out PyRopes, and also the PHP
> bundle has a couple different great completion commands.
>
I'm really excited about it.
The features I'd love to see:
- auto text completion (like in xcode or dreamweaver)
- auto complete based on the project and not only in the file
--
View this message in context: http://old.nabble.com/Any-news-on-textmate-2--tp31959429p31959429.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I wonder if anyone has tested TM with Lion (prerelease).
What are the versions of Ruby and Python with Lion ?
Actually is it possible to work with LaTeX, TM, Python 3 and Ruby > 1.9 ?
Alain
What about using "find in project" ?
shift + cmd + F
or
edit>find>find in project
moom wrote:
>
> Hello.
> How can I find and replace multiple lines of code in the project.
>
> Like this:
>
> <ul>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> <li></li>
> </ul>
>
>
> TextMate supports searching multiple lines of code in the project?
> Normal searching can do it, but finding that in the project can not.
>
> Do You have any advice please?
>
--
View this message in context: http://old.nabble.com/How-can-I-Find---Replace-multiple-lines-of-code-in-th…
Sent from the textmate users mailing list archive at Nabble.com.
Without opening the whole TextMate 2 can of worms again, I was curious how Lion's App Sandbox would effect TextMate and the whole plugin/bundle atmosphere we all currently enjoy. Would our current MO preclude future versions of TextMate from ever being sandboxed and therefor ever being on the MAS?
Adam Merrifield
I have two snippets in differente bundles (CSS and AS3) with the same tab
trigger.
Why is the AS3 snippet showing up in the CSS bundle? I mean when I press tab
a list appears with both snippets.
Is there a way to avoid this apart from using different tab triggers?
--
View this message in context: http://old.nabble.com/snippets-with-same-tab-trigger-on-different-bundles-t…
Sent from the textmate users mailing list archive at Nabble.com.
I'm trying to create a new file template, and it's not working for
some reason. I can run the script in a regular shell and it works
perfectly, but not within TM.
The script is:
if [[ ! -f "$TM_NEW_FILE" ]]; then
TM_YEAR=`date +%Y` \
TM_DATE=`date +%Y-%m-%d` \
TM_CLASS_NAME=`echo "$TM_NEW_FILE_BASENAME" | perl -pe 'm/
^(unitTest|test)/ && s/(unitTest|test)([[:alnum:]_]*)/$2/'` \
perl -pe 's/\$\{([^}]*)\}/$ENV{$1}/g' \
< template_in.txt > "$TM_NEW_FILE"
fi
with extension set to "php"
The tempate_in.txt file is:
<?php
/**
* ${TM_NEW_FILE_BASENAME}
* simpletest unit test template: http://www.simpletest.org/
*
* Created by ${TM_FULLNAME} on ${TM_DATE}.
* Copyright (c) ${TM_YEAR} ${TM_ORGANIZATION_NAME}. All rights
reserved.
*
* @author ${TM_FULLNAME}
* @version ${TM_DATE}
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.${TM_CLASS_NAME}.php';
class Test${TM_CLASS_NAME} extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'Test${TM_CLASS_NAME} start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
When I run it in a normal shell with the command:
rm unitTestDebug.php ; TM_NEW_FILE=$PWD/unitTestDebug.php
TM_NEW_FILE_BASENAME=unitTestDebug TM_ORGANIZATION_NAME='Miishka'
TM_FULLNAME='Tamara Temple' sh -vx new.sh
I get a file in the current directory as unitTestDebug.php containing:
<?php
/**
* unitTestDebug
* simpletest unit test template: http://www.simpletest.org/
*
* Created by Tamara Temple on 2011-06-23.
* Copyright (c) 2011 Miishka. All rights reserved.
*
* @author Tamara Temple
* @version 2011-06-23
* @package undefined
*/
require_once('simpletest/autorun.php');
include '../class.Debug.php';
class TestDebug extends UnitTestCase
{
private static $testlog = 'testlog.log';
function setUp()
{
error_log(PHP_EOL.'==================
%<=========================='.'TestDebug start '.date("Y/m/
d.H:i:s").PHP_EOL,3,self::$testlog);
}
function test1()
{
}
}
?>
which is exactly what I would expect. If I call up the template in TM
drawer's new file creation dialog, I get nothing.
so I'm stumped.
Any help?
Hello,
When I use the categories menu item:
Bundles->Blogging->headers->Category
i get an error message.
Fetching of the blog posts is working!
I get the exception as listed below: (Hope this works on the list?)
Kind regards
Dick Barends
(Mac OS 10.6.7 ; TextMate by macromates.com)
I’ve installed Fletcher Penney’s Markdown/MultiMarkdown bundle in ~/
Library/Application Support/MultiMarkdown. But when I try the Preview
command in TextMate, I get the error
/bin/bash: line 11: multimarkdown: command not found
The multimarkdown command is installed in /usr/local/bin which
TextMate has in its PATH variable. The command line also knows
multimarkdown is there.
What am I missing?
--
View this message in context: http://old.nabble.com/Multimarkdown-command-not-found-by-TM-Preview-tp31907…
Sent from the textmate users mailing list archive at Nabble.com.
Good morning,
I'm using TextMate with and Mac OSX Snow Leopard.
In the Ruby Bundle, ^B Left one character works just fine...
However, ^F Right one character doesn't...rather than moving right one character the following message is displayed: "NOTE: Gems latest_load_path is depreciated...".
I checked 'Select Bundle Item' list but could not find ^F entry...
I'd appreciate help.
Thank you
I am something of a newbie to Textmate. When I try to compile with the Latex
Bundle, I get the following message:
---------------------------------------------------------------------------------------------------------------------------------------------------
The current PATH is:
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/usr/X11/bin
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: Set PATH and Relaunch.
---------------------------------------------------------------------------------------------------------------------------------------------------
I saw that there were users on this list who had encountered similar
difficulties, but I tried some of the suggested solutions, and they didn't
seem to work.
When I launch the alternative path, it creates a new path which is exactly
the same as the previous path. I would be grateful for any help with this. I
can't seem to figure out how to get this to work, despite numerous attempts.
Thanks in advance for considering helping me out with this.
Best,
Miguel
Dear Sirs,
Amy update on the below request.
Regards,
Janardhan Shivarudrappa
_____
From: Bits Software [mailto:sales@bitsonline.co.in]
Sent: Wednesday, June 15, 2011 12:13 AM
To: 'textmate(a)lists.macromates.com.'
Subject: License clarification
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
Dear Sirs,
I had purchased the Textmate product to on my client behalf Sourcebits
Technologies P Ltd. I wanted the license to be registered in my client name
itself.
But when I purchase the software the mail was saying that the owner is
sales(a)bitsonline.co.in. could you guy help me out on registering the license
name in my client's name.
I have purchased 6 Lic of Textmate which was purchased yesterday.
Please help us out on this.
Regards,
Janardhan Shivarudrappa
Bits Software Online
Ph 9632227977
>
> (1) Add a feature that gives the option to redirect Bundle error messages
> to
> either a tooltip, or a new document .
> (2) Add a feature that allows you to click on a Bundle error message, and
> see it automatically jump to the offending line in the original document.
> (i.e. error message at line 700). This could be done by providing an error
> parser regex (perhaps bundle specific), so if the error regex matches, it
> grabs the line number from the error output, and jumps to that specific
> line
> number in the original document, making it easier to edit the document!
These features are already in TextMate. You can edit the bundle to redirect
error messages to a file (if it is a shell command use 2</dev/null, etc).
Unfortunately it isn't as easy as it could be to redirect stderr to a
different place than stdout (like the output dropdown in the bundle editor)
so this may not be feasible for you.
For number 2, the PHP bundle does it when you press validate and it detects
an error. You can take a look at that bundle to see how they do it. The
command is Validate (ctrl+shift+v) and it goes to the first line with an
error.
Brandon
Hello!
Sometimes, some bundles that I run, generate a lot of error messages (i.e.
repetitive error messages about a bad CSS format that I'd like to ignore
temporarily for now). The tooltip is bigger than the screen.
I'd like to edit the Bundle for "Html Tidy" to redirect all error messages
into a separate document, instead of a tooltip. How do I edit it? I'm not
familiar enough with Ruby to make that 1-line edit necessary (I think one of
you Ruby pro's can spend 30 seconds teaching a Ruby newbie like me! I
appreciate it.)
Thanks!
Mark Rejhon
--
View this message in context: http://old.nabble.com/Bundles-%28i.e.-HTML-tidy%29%3A-Redirecting-error-mes…
Sent from the textmate users mailing list archive at Nabble.com.
Hi Folks,
I found some free time today and couldn't think of anything better to do[1]
than trying to extend the life support of Edit in TextMate.
* The result is available on GitHub[2].
* The bundle uses SIMBL[3], so install that first.
* Install to `$HOME/Library/Application Support/SIMBL/Plugins/`.
* If you installed the old input manager, remove it.
It has seen an /incredible/ lack of testing, but I used it a handful of times
and it didn't set my computer on fire.
So far I've seen work with TextMate, TextEdit and Xcode, and /not/ work with
Safari.
Feedback, bug reports and patches welcome, and apologies in advance if I don't
get around to responding quickly at the moment.
Cheers,
Martin
[1] Well apart from a bath actually, but after that.
[2] https://github.com/mkhl/edit-in-textmate/
[3] http://culater.net/software/SIMBL/SIMBL.php