Hi folks,
I have a weird TextMate problem on my MacBook Pro. (My other systems
don't exhibit this behaviour) On this system, when I command-` to
switch windows in TextMate, it 'beeps' at me and doesn't switch
windows. All other apps (iTerm, Safari, Mail, etc) work as per usual.
Probably the only 'customization' that I've done is that I keep svn
up'ed in /Library/Application Support/TextMate. I'm really at a loss
as how to debug this. Any ideas greatly appreciated.
Carpe viam,
Mike
Michael Larocque
Chief Cook and Bottle Washer
Prolumina Communications Inc.
http://prolumina.com/~mlarocque/
At 12:00 +0000 2007-04-11, textmate-request(a)lists.macromates.com wrote:
>Content-Transfer-Encoding: 7bit
>From: Charilaos Skiadas <skiadas(a)hanover.edu>
>Precedence: list
>MIME-Version: 1.0 (Apple Message framework v752.2)
>To: TextMate users <textmate(a)lists.macromates.com>
>References: <FE72A777-CD43-45F0-91D5-6A07CFDC8EBD(a)prolumina.com>
>In-Reply-To: <FE72A777-CD43-45F0-91D5-6A07CFDC8EBD(a)prolumina.com>
>Date: Tue, 10 Apr 2007 12:49:19 -0400
>Reply-To: TextMate users <textmate(a)lists.macromates.com>
>Message-ID: <9964CE10-4767-4DCA-924D-4B36A280BB42(a)hanover.edu>
>Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>Subject: Re: [TxMt] Command-backtick not working?!?!
>Message: 15
>
>
>On Apr 10, 2007, at 11:51 AM, Michael Larocque wrote:
>
>>Hi folks,
>>
>>I have a weird TextMate problem on my MacBook Pro. (My other
>>systems don't exhibit this behaviour) On this system, when I
>>command-` to switch windows in TextMate, it 'beeps' at me and
>>doesn't switch windows. All other apps (iTerm, Safari, Mail, etc)
>>work as per usual. Probably the only 'customization' that I've done
>>is that I keep svn up'ed in /Library/Application Support/TextMate.
>>I'm really at a loss as how to debug this. Any ideas greatly
>>appreciated.
>>
>I would bet that somehow by accident cmd-` has been bound to some
>bundle item. Press ctrl-cmd-T, then click on the magnifying glass
>and set it to "key equivalent", and press cmd-`, and if it shows any
>items in the list then those are your culprits.
>>Carpe viam,
>>Mike
>>
>>Michael Larocque
>>Chief Cook and Bottle Washer
>>Prolumina Communications Inc.
>>http://prolumina.com/~mlarocque/
>>
>
>Haris Skiadas
>Department of Mathematics and Computer Science
>Hanover College
I can confirm this behaviour as well. In my case, it's an old
Machine Name: Power Mac G4 (AGP graphics)
Machine Model: PowerMac3,1
CPU Type: PowerPC G4 (2.9)
running Mac OS X 10.4.9. The list shown is empty,
yet I get a beep and no window switch.
However, looking at Keyboard Shortcuts in System Preferences
shows I had Keyboard Navigation unchecked; checking it makes
it work correctly. Perhaps this is Michael's problem?
--
Vic
This new version uses PDFTeX by default, and will try to use TeXShop as the
previewer.
(Note that TeXShop is part of MacTeX 2007.)
The bundle is available (for the moment) here:
http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.0.dmg
This version should be almost ready to be incorporated into the LaTeX
bundle, so please let
me know about any problems.
The default behaviour can be changed by setting shell variables, as follows:
1. If TM_LATEX_VIEWER=TeXniscope, it will use TeXniscope instead of TeXShop
(If you should happen to want LaTeX Watch to use a different previewer
from 'Compile and View',
you can set TM_LATEX_WATCH_VIEWER=TeXShop to override the
TM_LATEX_VIEWER setting.)
2. If TM_LATEX_WATCH_MODE=PS, then it will compile via DVI, and use GV to
preview.
3. If TM_LATEX_WATCH_DEBUG=console, additional status messages will be
printed to the console;
if TM_LATEX_WATCH_DEBUG=dialog, these status messages will pop up in
dialog boxes.
Incidentally, there is a utility in Support/bin/check_open that may be more
generally useful.
It uses the Carbon API to check whether a particular document is open in a
particular application.
(This is used to stop watching the document when you close its preview
window.) Of course
the same thing could be done with AppleScript, but that is too slow.
(Another alternative
would be to use the Perl-Carbon bindings that are included in 10.4, but that
would not work on
earlier OS versions.)
Since it's a bit of a pain to install GV, and since several
widely-distributed versions have
irritating bugs, I wondered about including a GV binary in the package. As
an experiment,
I built gv-3.5.8 as a universal binary with libXaw3d statically linked in,
and it comes to
about 3MB. Does anyone have an opinion on this?
Robin
Hi,
I have a tiny question.
Would it be possible to implement a kind of a 'onChange'-trigger in
TM (Ã la Javascript).
The normal way to invoke a command is to use a key combination, fine.
But I would like to invoke a specific command/macro based on the
current scope by changing the content of document (inserting/deleting).
The application range would be multifarious.
For 'onLoad' and 'onSave' I rebound the apple+O/S in conjunction with
TM_SCOPE. This works perfectly.
Thanks,
Hans
I'm trying to create a bundle command that will compile a Flex (.mxml)
file using fcsh (the flex compiler shell
http://labs.adobe.com/wiki/index.php/Flex_Compiler_Shell) unlike the
mxmlc compiler fcsh keeps things in memory so it's much much faster.
Long story short to use the fcsh compiler you would open up the Terminal
and run
$ fcsh
which launches the compiler, then you compile the mxml file as you
normally would
(fcsh) mxmlc /pathto/my.mxml
that mxml file gets assigned an ID (say '1'), from then on you use the
command
(fcsh) compile 1
I can get fcsh to run from a bundle command, but how I can I have it
wait to launch then run 'mxmlc /pathto/my.mxml' the first time but then
'compile 1' thereafter? (All within the original Terminal window). If
all three steps together are impossible, could I have it just run
'compile 1' in a Terminal window in which I've manually run steps 1 and 2?
thanks!
Hi,
In the begin pattern for meta.preprocessor.macro.c (see
http://macromates.com/svn/Bundles/trunk/Bundles/C.tmbundle/Syntaxes/C.plist)
I count the following groups:
1: (define)
2: ((?<id>[a-zA-Z_][a-zA-Z0-9_]*))
3: (?<id>[a-zA-Z_][a-zA-Z0-9_]*)
4: (\()
5: ( \s* \g<id> \s* (, \s* \g<id> \s*)* (?:\.\.\.)? )
6: (, \s* \g<id> \s*)
7: (\))
This doesn't seem to match up with the order in beginCaptures, where 6
is given the scope punctuation.definition.parameters.c. Shouldn't it
be 7 that is given that scope instead?
Regards,
Hector
File Drawer is one of my favorites marvelous of TM. I have, for
example, a folder hierarchy full of perl samples (for teaching). I
get really pleasured when so easily I can rename them (01-hello.pl,
02-read.pl, etc) to reorder following a difficulty criterion. But, I
found an annoying bug (or perhaps three, but it depends on the way
you define "bug":)
1) If you press enter to finalize the name edition (as you usually
do in Finder items renaming to finalize the edition), the <enter>
char not only doesn't finalize totally the edition but goes to the
edition window changing it.
2) If you are changing the name of a file and in the middle of the
process you switch to the Finder, for example, when return to TM, it
doesn't recognize the changed file (and is red highlighted) as in TM
the change of the name is not "completely" done, but in the Finder
system, yes.
3) It would be great if simply changing the files between the file
names with the tab key the edit window could follow it. It would
help a lot knowing what where you renaming. I am not sure about if
the currently is the desired behavior, but then I don't understand
the reason.
Juan F.