On 4. May 2007, at 15:56, Simon Gregory wrote:
>> if find_app >/dev/null «bundle identifier of iTerm»; then
>> echo 'We got iTerm installed!'
>> fi
>
> I'm assuming that the «bundle identifier of iTerm» is the value
> from this key found in iTerm.app/Contents/Info.plist
>
> <key>CFBundleIdentifier</key>
> <string>iTerm</string>
Yes, unfortunately that bundle identifier is in the wrong format. It
should be something like: “com.«company».iTerm”.
It will likely work though. Alternatively you can do: find_app
iTerm.app (then it looks using the app name instead of the bundle
identifier, normally the former would be more ambiguous).
> One thing, would iTerm need to have been run once in order for the
> system to register it's presence?
If it is in /Applications and possibly ~/Applications, the system
will automatically register the application (at boot time) -- maybe
some other locations are also magic.
But at least running the app, will ensure the system has it in the
index.
Maybe I'm just missing something here, but:
Please make it possible to use a filter for the files scanned using
Find in project. I almost always have a situation where I'm searching
for something in my HTML files only and that something will be present
in almost all of the PHP files, thus adding a lot of noise to the
search result dialog.
There will also be situations where I'm searching for instance all
index.php files in a large project.
And while I'm at it, please make the Find in project faster ;^)
--
Sven Axelsson
I love the "Find in Project" command - especially when I'm working on
lots of HTML files. But it lacks something that the regular "Find"
command has - the ability to see multiple lines in both the "Find" and
"Replace" field. If the "FInd in Project" had that feature, it would
be much, much more useful. I work mainly in HTML, and it would really
help with things like updating menus across the site - pieces of code
that are rarely on a single line.
I know that you CAN replace multiple lines of code with "FInd in
Project", but having the ability to *see* them would help immensely.
For some reason whenever I try to replace multiple lines of code, I
get weird duplicates and other strange things. Granted, that could be
more indicative of my own ability ; ) - but if I could see all the
code at once that I'm using, I think I would run into fewer problems.
Any thoughts?
Hi,
A nice feature in TextMate is the automatic update of a dragged
folder inside the project drawer. But when you work with latex
projects and compile your document you'll get some help files, such
as aux, toc, lof, lot and so on. For this reason it would be nice to
have some kind of filter which is applicable for hiding certain
extensions when the folder is rescanned.
Would this be possible...?
Christian
Is there some way to control the appearance of the spinning progress
indicator on the HTML output pages? Some CSS, maybe? I'm writing a
command using the standard themes given by webpreview.rb, but the spinner
is practically invisible. I don't want to turn it off (I know about
TextMate.isBusy) or make any drastic changes, just change the color.
--
Steve King, <steve(a)narbat.com>
Hi all, I'm a Textmate newcomer. I'm using it to write my dissertation
in Latex. I ditched TexShop and I really love Textmate. I've watched
the video tutorial, read the documentation and have everything setup
and working. I have a master file and the compilation works
flawlessly.
The one thing I haven't been able to use is the \ref{} and \cite{}
completion. I have a bib file linked to the master file and my
bibliography shows fine when I compile the document. I just can't get
completion to work. Same thing with \ref{}, I added colon (:) to the
set of word characters but nothing. When I'm in a \ref{} or \cite{}
and press escape, nothing happens, I press option-escape and nothing
happens. Type the first few letters and press escape, nothing. If I'm
outside of \ref{} or \cite{} and type eq: and then escape I DO get
completion to work but not if I'm inside of the {}!!!!
If I'm anywhere outside an {} and press option-escape I get:
Label based on current word.. 1
Citation based on current work... 2
but if I choose either I get a crosshair pointer, what is this for?
I'm running Textmate version 1.5.4 (1360) and both the Lattex bundle
and support folder are the latest from SVN. Mac os X 10.4.8.
Thanks for your help,
Andres
--
Andres Gonzalez-Mancera
Biofluid Mechanics Lab
Department of Mechanical Engineering
University of Maryland, Baltimore County
andres.gonzalez(a)umbc.edu
410-455-3347
Hi
I am hoping someone has solved this problem.
I use latekmk.pl script as $TM_TEX_COMPILER to compile my LaTeX documents
from within Textmate and it works wonderfully on every document I've made,
except for any document that uses the exam package.
The problem is small: I must execute cmd-R twice to get it to compile the
number of points correctly. This is only a problem within Textmate; if I run
the script from the command line it works perfectly. And while it is a small
problem it is vexing, since latexmk.pl was made specifically to deal with
the need to run LaTeX etc. multiple times.
My guess is that there is a bug in either cmd-R (though I can't find one)
or somewhere in the bowels of Textmate.
Seeing as how I used this package frequently, almost daily, I'm guessing
that this need to cmd-R twice will cost me about an hour and a half of my
life in the coming year.
Best wishes
----
David
Maybe this is already in the works, but anyways:
Show invisibles needs a (separate) option to show spaces. Even better,
I'd like to see an option to show leading spaces only (Komodo has
this). Makes it easier to see the correct indent level.
--
Sven Axelsson
Hi there,
Sorry to raise an old question, but I can't find a definitive answer
in the archive - is it possible to turn off the tab bar? In a
previous post (Re: [TxMt] new beta, in Dec, 2004) Allan said, in a
rersponse to a question about hiding the tab/status bars:
> > Why remove the option to show/hide tab/status-bar ?
>
> I didn't thought anyone would actually use them, and if possible, I'd
> like to enforce that they're always enabled (since I'll rely more on
> these elements in the future).
>
> I can bring back the option to hide the tab bar.
Did this ever get brought back in? Is it a 'hidden' preference that
can be accessed? I never use the tab bar and would like to be able to
toggle it off if I can.
Thanks,
Nigel
Hi Folks,
A lot of my projects include some images and for getting a nice
overview, I also arrange these images, together with other related
files, within the project drawer.
If I right click on an image, I can open it with the standard
application (for example preview.app). Would it not be nice to have
an option "Open with..." and then be able to open it in the favorite
graphics program?
I know, it is possible to drag and drop the image on the dock icon of
the graphics program, but an option would easier.
Thanks
Christian
I have a command that relies entirely on the applescriptability of iTerm over Terminal. However as I can't guarantee that iTerm
is installed I'm looking for a way to detect it. Does anyone have any suggestions, specifically when it's not running?
Thanks,
Simon
Hello,
When I work with large projects and using the project drawer it would
be very comfortable and more usable if the folders and files could be
highlighted in some way. I mean exactly the same feature that ships
with OS X. When you right click on a folder/file you can choose a
colour (red, orange, green...) for this item.
Thanks
Christian
> Hi,
>
> I found a tiny error. Here the corrected utf-8 version of gspell.
>
> BTW In addition to that it is very easy to write out all google
> suggestions delimited by a '|' within the multiple word spell
> checking. With the help of a small command which shows this list as
> pull-menu you can edit each error very handy ;)
>
> Cheers,
>
> Hans
Thanks Hans, before reading your recent replies with the attached
files, I had already started work on UTF-8 version with environment
variable support (I receive the list in digest form, so I'm not
always up to date with the activity here.) I'm not quite sure if my
contribution is any better or worse than yours because I essentially
cannibalised the HTML bundle for encoding and decoding UTF-8 for POST-
ing and GET-ting with Google's servers. As a result my effort relies
on entities.txt existing in the Support directory in the Textmate
bundle (this means that I can no longer supply it as a singular
tmCommand), I genuinely do not know if this is a better method for
handling this sort of thing - perhaps someone on this list could help
clarify.
Incidentally, I think there was an error in the original version
which was inherited by the version you've supplied - the final tab
stop was not being preserved, to correct this remove the line 'text
+= "$0"' and replace 'print $text' with 'print "#{$text}$0"'.
[The GSpell bundle is available here][1]
[1]: http://homepage.mac.com/andy.herbert/.Public/GSpell.tmbundle.zip
Hey all. I just downloaded version 1.5.5 (1368) on OS 10.4.9.
1. Apple + Enter no longer moves the cursor down one line.
2. The ERB tag creator no longer works (I believe it was CTRL + Z)
Any ideas?
Hi Folks:
I just installed TM 1.5.5 (1383). I have perltidy installed in /usr/bin:
ls -lr /usr/bin/perltidy
-r-xr-xr-x 1 root wheel 97203 May 3 13:46 /usr/bin/perltidy
When I execute tidy from the perl bundle in TM, I get:
Couldn't find perltidy
Perltidy is available from here.
Locations searched:
/Applications/TextMate.app/Contents/SharedSupport/Support/bin/CocoaDialo
g.app/Contents/MacOS
/bin
/sbin
/usr/bin
/usr/sbin
/Applications/TextMate.app/Contents/SharedSupport/Support/bin
I'm not sure why TM doesn't see perltidy in /usr/bin. Does anyone know
how to fix this?
Thanks,
David
Hi,
I'm used to TextMate with Full-screen, which is offered by SIMBL, but
when in full-screen, the drawer disappears for the screen. In fact,
it is still there, but moved to the other ede of the other screen
(yes, i have dual-screen).
To fix it, I've installed the Plugin from Hetima "The Missing Drawer"
which basically includes the drawer into the main panel. But it is
realy not convenient when the drawer is not needed, cause I haven't
found how to make it disappear...
Whatever, this led me to a feature request: a floating drawer.
Is there a way to have one? Even better, has anyone already built a
plugin or something for that purpose?
What do you think of it? A floating drawer, accessible via a
shortcut, controlled and navigated from the keyboard, would you take
benefit of this feature?
Xavier Cambar
I just noticed I get this from the command line on both individual
file and directories.
2007-04-30 19:52:04.221 mate[5199] An uncaught exception was raised
2007-04-30 19:52:04.221 mate[5199] [NOTE: this exception originated
in the server.]
*** Object does not implement or has different method signature
2007-04-30 19:52:04.221 mate[5199] *** Uncaught exception:
<NSInvalidArgumentException> [NOTE: this exception originated in the
server.]
*** Object does not implement or has different method signature
Trace/BPT trap
I just upgraded this morning. Not sure what I've done here...
Thanks,
Brett
>> I've got the completion set-up to complete from a document-parser
>> and a preference item. The parsed completions still work, but it's
>> stopped pulling completions from the preference item. I've checked
>> the item name in the bundle editor and the finder, and even tried
>> re-creating the completions from scratch, to no avail.
>
> It works while it's still lowercase, once it goes upcase it doesn't
> work anymore.
>
> thomas Aylott — subtleGradient — CrazyEgg — sixteenColors
Yes, you need to be matching lowercase letters. But sometimes the
match fails anyway.
I just tested again and it seems to be working. This is the worst
kind of bug, one that pops up randomly. I'll try to nail it down more
specifically and get back to you.
Hello,
I made some simple additions to the Objective-C Bundle, and was
wondering if anyone was interested in them.
* Comment Reflow - based on the Screencast by Allan
* Comment Code - comments out the current line of code (or the
selected lines of code), useful for debugging
* Uncomment code - undoes above
I know they are not very glamarous, but I was surprised they were not
already included in the bundle.
- Nithin
I'm having a problem with Code Completion. Here's the deal:
I've got the completion set-up to complete from a document-parser and
a preference item. The parsed completions still work, but it's
stopped pulling completions from the preference item. I've checked
the item name in the bundle editor and the finder, and even tried re-
creating the completions from scratch, to no avail.
Deleting the bundle and reinstalling it seems to fix the problem, but
only for a while. I've tried to track down what triggers its failure,
but I can't seem to isolate it.
Download: http://ollieman.net/files/beta.zip
If you could, install the beta and in Screenplay Mode type the
following:
int. location - d
And attempt to trigger the "Time of Day" auto-complete from the "D"
at the end of the line.
Any help is appreciated.
-- Oliver Taylor
I am getting the same problem when asking mate to open a file. If I use only "mate," TextMate opens. If I use "mate ~/Sites/file.html" TextMate comes to the front window, but the terminal gives the same "***Uncaught Exception" noted earlier.
Running on an intel Macbook Pro 10.4.9
Robert
On Wednesday, May 02, 2007, at 02:48PM, "Andrew Jaffe" <a.h.jaffe(a)gmail.com> wrote:
>Allan Odgaard wrote:
>> On 2. May 2007, at 23:23, Brett Terpstra wrote:
>>
>>> This is from mate.crash.log, sorry for the long paste:
>>
>> The crash log basically says ?the system function to send a message from
>> mate to TextMate crashed? -- so this says less than the Terminal output.
>>
>> But maybe there is some output (from TextMate) in the system console --
>> the first message you quoted said the error happened in the server
>> (TextMate), so if that is the case, details would likely have to be
>> found in hte console.
>>
>Alas, it just appears to say "mate crashed" and "crash report written
>to: /Users/jaffe/Library/Logs/CrashReporter/mate.crash.log"
>
>It seems to be happening with any use of 'mate'...
>
>Andrew
>
>
>
>
>
>
>______________________________________________________________________
>For new threads USE THIS: textmate(a)lists.macromates.com
>(threading gets destroyed and the universe will collapse if you don't)
>http://lists.macromates.com/mailman/listinfo/textmate
>
>
Could the Markdown bundle be modified to use a TM_MARKDOWN variable
(similar to the way the Subversion bundle uses TM_SVN) in the
"Convert document/selection to HTML" and other relevant commands?
I envision that the variable would contain whatever command(s) you
want to use for Markdown stuff and would default to the current
"Markdown.pl|SmartyPants.pl|perl…".
For example, I like to add the "--html4tags" option and get rid of
SmartyPants, but to do it currently, you need to modify the bundle.
(Which is fine in theory, but I worry that in practice, updates will
be missed.)
Or perhaps the "--html4tags" option should just be used/not used
automatically based on the value of TM_XHTML.
The current chunk of perl would probably be awkward to store in a
variable or to use as a default value, but perhaps it could be made
into a script in the Markdown bundle's support dir?
Just an idea. Thanks.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
Hi All,
I've run into a glitch related to the C++ bundle of TextMate and
since I'm new to both TextMate and this list, I'm quite unsure how to
proceed with the bug report.
Here it is anyway. The symbol is not properly detected with
constructor in the form of:
Foo::Foo() :
boo(1)
{
}
"boo" is incorrectly detected as symbol instead of "Foo::Foo". My
bundle collection is quite up-to-date (rev. 7108).
Let me know if I should report this elsewhere.
Best,
Antoine
--
Antoine Beyeler
PhD Student
Ecole Polytechnique Fédérale de Lausanne
Laboratory of Intelligent Systems
EPFL-STI-I2S-LIS
Office ELE 132 - Station 11
CH-1015 Lausanne
Voice: ++41 21 693 73 54
Fax: ++41 21 693 58 59
Home page: http://lis.epfl.ch/119413
Project page: http://lis.epfl.ch/microflyers
Hi,
I have a question about TM's preference "word characters":
I also want to match a word if the word contains '\ '
Is this possible?
If I write into TM's preference "word characters" '_/\ ' it works
partly because TM takes all four characters, but I only want to match
'_' '/' '\ '
Any comments are helpful.
Thanks in advance.
Hans
I think TM do the things fine, as it simple and powerful renaming
files in the file drawer. That function has been for me really a
time-saver and is very natural that it was there as is. The solution
to the problem, IMHO, is to add a more complete behaviour to TM,
allowing Option-Drag of files in the drawer. Also, perhaps, info
for files (to make them executable, for example, via a dialog...
although I think this is not so important...)