Hello everyone,
On my french AZERTY keyboard, some keys are dead by default. This
includes the ‘^’ key and is necessary for circumflexes such as î or
ê. However, when in math mode, circumflexes are seldom needed; in
math mode, I'd rather have the ‘^’ not dead, in order to easily type
exponents. Worse, in fact TM behaves strangely when one tries to type
a character which can't be circumflexed, it doesn't display anything:
when typing ‘^{’ on my keyboard, nothing appears.
So I though the easiest solution would be to override the ‘^’ key
with a snippet in scope string.other.math.latex, but the shortcut
doesn't seems to work. Any other solution?
Oh, and while I'm at it. I found it really useful to bound a ~
snippet to alt-space - ~ is a dead key too on my keyboard. I was
wondering if it was worth including this in the LaTeX bundle. And the
X ~> \Xi command completion is lacking in my version of the package.
Why is that?
As always, thanks for your help,
Édouard
Hey guys,
I am right now trying the out TextMate and it seems pretty awesome.
I do have a Problem with using my old pything files with TextMate. They are
all indented by whitespaces and not by tabs. So when I add a new line with
TextMate, the python script won't run anymore, since TextMate indents by
using tabs.
So I would either have to convert my python scripts to use tabs or tell
TextMate to use whitespaces.
How would I achieve one of the above?
Regards,
Samy
--
View this message in context: http://www.nabble.com/Question-about-python-indentation-tf4646652.html#a132…
Sent from the textmate users mailing list archive at Nabble.com.
Some frequent discussion topics on this list are:
1. How do I use TextMate's cool project features when my directory is
on some other machine? Or…
2. I've created a TextMate project out of a directory on some other
machine, but now Subversion is broken. Or the extremely common…
3. I've created a TextMate project out of a directory on some other
machine, but every time I switch to TextMate, there's this huge delay.
I've had all of these problems myself and have developed a bundle to
work around them.
<http://kendra.oit.gatech.edu/remote_project_bundle.zip>
The intro in the bundle's documentation sums it up nicely:
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
## About This Bundle
### The Problem
You want to work with files in a TextMate project on the local
filesystem (for speed, Subversion compatibility, and other reasons),
but the files you're working on are useless unless they're on some
remote machine. This is most common with web based projects where the
code only works on a sever that has been configured in a particular way.
### Who This Bundle Is For
This bundle is meant to support a workflow where all (or almost all)
changes are made locally using TextMate, while all (or almost all)
viewing/running/testing of those changes will be done on a remote
machine (such as a web server).
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
For more details, run the bundle's Help command. If anyone uses this,
send suggestions to me or to the list. I'd like to go through a
couple of feedback and improvement cycles before submitting it for
consideration as an "official" bundle. Thanks.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
i'm using mySQL Version 14.12 Distrib 5.0.41, for apple-darwin8.5.1
(i686).
I've configured my Setup to use the SQL Bundle. When I select a Query
(working
in Shell) and press Ctrl-Shift-Q, I get the folling Errors:
- -- snip --
/Library/Application Support/TextMate/Bundles/SQL.tmbundle/Support/
bin/db_browser_lib.rb:5:in `require': No such file to load -- /
Applications/TextMate.app/Contents/SharedSupport/Support/lib/osx/
keychain (LoadError) from /Library/Application Support/TextMate/
Bundles/SQL.tmbundle/Support/bin/db_browser_lib.rb:5 from /Library/
Application Support/TextMate/Bundles/SQL.tmbundle/Support/bin/
db_browser.rb:7:in `require' from /Library/Application Support/
TextMate/Bundles/SQL.tmbundle/Support/bin/db_browser.rb:7
- -- snap --
As I do not code in Ruby, I do not exactly know where the Problem is.
Same Query in Project worked in a prior Version of TextMate.
Maybe there ist someone who can give me a Hint to fix this. :o)
Thanks in Advance from Aix-la-Chapelle,
Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHFnDrf47P97gjAUwRAr2uAKCNpjR+r0y5SHzr1aKXexTJbfHqTgCgxnOG
SxInY58C3Vr+EDNlT+WntU4=
=PZOZ
-----END PGP SIGNATURE-----
The \href{URL}{text} command of the hyperref package doesn't get
scoped correctly, I think. URL receives the following scope:
text.tex.latex
meta.group.braces.tex
meta.reference.label.latex
constant.other.reference.lable.latex
Shouldn't it rather receive:
text.tex.latex
meta.group.braces.tex
meta.function.link.url.latex
markup.underline.link.latex
Small thing, I know, but it affects syntax coloring and it means that
you cannot launch the URL with ⌅.
Best, Mark
I was just writing an e-mail, which is scoped as Markdown, and got an
error when trying to convert something to lower case using ⌃⇧U. I
discovered that ⌃⇧U is bound to "Update References" in the
Markdown2Book bundle. It probably needs to be changed to something else.
---
Rob McBroom
<http://www.skurfer.com/>
I didn't "switch" to Apple... my OS did.
I'm curious about the reiationship between textmate projects and the
subversion bundle.
I've had occasion to commit changes in a Textmate project, then go to
the terminal in the working directory and svn info shows me at a
previous revision, but doing svn up just reports that I'm now at the
latest revision.
Is this an artifact of the way I set the project up?
I have to admit that I'm still a bit confused by JEG IIs description
of two types of text mate projects in the book. I never managed to
understand what he was saying about the difference.
I think now that it's not really that there are two types of projects,
but two types of relationship between items in the project and the
filesystem.
When I first set up my first existing rails project as a textmate
project, I picked File>New Project and then dragged the individual top
level items from the finder to the textmate project pane, so the top
level of the project has the standard rails folders: app, components,
config, db ...; and two files README and Rakefile.
I think this means that the directories are folder references and I'm
not sure what the difference, if any there is for the two top level
files. I just changed README in textmate and saved it and it
certainly seems to be directly changing the file in the rails project
directory. So just what is the difference? I think that the real
difference is between a folder reference and a group inside a textmate
project, Yes?
And I guess that I really want to restructure the project so that it
has one toplevel folder reference which is the rails project
directory.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
I tend to use snippets a lot in textmate because they help me
standardize my data (text files, reports, blogs, wiki pages, code,
etc). I wanted to know if there was anyway (or any planned features)
that would allow the use of a temporary snippet, so that someone can:
1. while working in a file goto a blank line
2. type in some snippet code
3. highlight the code
4. hit a key combo to copy the snippet into a temp register/key that
can then instantly be used in the document.
For example, say I'm writing a document that has is starting to use a
bunch of citations:
"Begin with the name of the author, moderator, or other responsible
person or organization, if available, followed by the date of
publication, the title of the site, the URL, and the date of access.
(ex: American Chemical Society. (2006). Chemistry.org. http://
www.chemistry.org/portal/a/c/s/1/home.html (24 Mar. 2006).)"
So on a blank line I type:
$1. ($2). $3. http://$4 ($5).
I then select the text, and copy it to a temp register[1], (perhaps
with a fixed tab trigger, or hot key) and now I can quickly call on
it to populate the rest of my document.
This would save me time without having to goto snippets, create a new
snippet, assign a name, key combo, code, etc, then use the snippet,
and after I'm done with the document, go back in and delete the snippet.
I find I love the use of the snippets, but sometimes a formating
issue is only needed once, not enough to warrant creating permanent
snippets.
[1]: If there were 3-4 registers, then that would be even better.
----
Brian H
binarynomad(a)gmail.com
http://www.binarynomad.com
I'm really missing the ability to diff two files that I've selected in
the project drawer from the context menu, coming from an IntelliJ IDEA
background (now doing Ruby work).
Currently I have to do option-shift-apple-D, and then press 4 (??)
I see from an earlier post that you can't add things to the context
menu from a Bundle.
Is there anything into the works to add diff functionality into the
context menu for the project drawer? I can see at least two scenarios
that would be big time-savers:
Select modified file:
1) diff with saved version
Select two files:
2) diff between these files (regular and HTML) options, order same as
selection order
Hi,
I just uploaded the new version 0.902
Download:
http://email.eva.mpg.de/~bibiko/downloads/textmate/TMTools.tmplugin.zip
Help:
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
or
"$TMTOOLS" help me
Changes:
added: to get allEnvironmentVariables an option variables to output
only these values
added: close allAuxiliaryWindows (very useful for developing ;)
added: close allFloatingDocumentWindows
changed: do closeAllWindows to close allWindows
added: get openDocumentFiles (for all opened floating windows)
added: set/get frontMostDocument (one can edit more than one document
with one script)
added: to get openProjectFiles the output option format=mate;
changed: get openProjectFiles output option escape is renamed to
shellEscape
added: do openFileInNewWindow
added: do revealFileInFinder
added: do openFileWithFinder
added: show alertSheet
Regarding to show alertSheet: I tried to get rid of it within
TMDIALOG but I had some problems to get the return value out. Maybe
it can be done in TMDIALOG 2.0 to show an alert in a sheet attached
at the current window.
I attached two examples:
editAllFloatingWindows:
This will resize and arrange all floating windows, and inserts into
the first line the html escaped file name. Finally it will show an
alert sheet.
reopenAsProject:
This will put all floating documents into a new project (for me very
helpful ;); close all floating windows; and open the front most
document in the project. This also works if only one window is open.
Please note: these are ONLY examples for showing what can be done.
Regards,
--Hans
When I try and add a date to an action in the GTDAlt bundle, I get the
following error:
--
/usr/local/lib/ruby/1.8/date/format.rb:230:in /bin/bash: -c: line 1:
unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filestrftime'
from /usr/local/lib/ruby/1.8/date/format.rb:201:in /bin/bash: -c:
line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filestrftime'
from /usr/local/lib/ruby/1.8/date.rb:1343:in
--
Any clues on how to sort this out?
This has happened several times today. I'm using the "cutting edge". I
believe it has happened consistently (at least twice) when I did the
following: if I enter a "(" in the middle of some text, e.g., before the "s"
here:
method_namestuff_after
so it becomes (after TM fills in the right parenthesis)
method_name()stuff_after
TM then goes into an infinite loop, taking all the CPU time and doesn't come
back, at least not before I kill it.
I'm using the Ruby Experimental bundle and MacBook Pro (i.e., Intel CPU), OS
X.4.
dean
--
Dean Wampler
http://www.objectmentor.comhttp://www.aspectprogramming.comhttp://aquarium.rubyforge.orghttp://www.contract4j.org
Hi,
can anybody tell me how to use the file selection dialog in a ruby script
with the --select-only-directories option?
i tried:
folder=Dialog.request_file(:'select‑only‑directories' => "")
next i tried:
folder=Dialog.request_folder()
after adding to file dialog.rb :
def request_folder(options = Hash.new,&block) # added by PV 13.10.2007
_options = default_hash(options)
_options["title"] = options[:title] || "Select Folder"
_options["informative-text"] = options[:prompt] || ""
_options["text"] = options[:default] || ""
_options["select‑only‑directories"] = ""
dialog("fileselect", _options,&block)
end
On page 140 of Textmate by James Edward Gray II it says:
"You may pass any other options supported by CocoaDialog"
thanks,
Peter
--
View this message in context: http://www.nabble.com/tm_dialog-fileselect---select-only-directories-tf4617…
Sent from the textmate users mailing list archive at Nabble.com.
I've just started using TextMate for perl editing and I noticed today
when I opened up a file that this line of code confusing the syntax
coloring...
if ($link eq '' || $user eq '' || $user =~ / / || $link =~ / /) { ... }
TextMate saw a string starting at the first ~ and never stopping.
I looked through the bundle and I found what seemed to be the problem
here...
{ name = 'string.regexp.find.perl';
match = '(?<!\\)((~\s*)?\/)(\S.*?)(?<!\\)(\\{2})*(\/)';
captures = {
1 = { name = 'punctuation.definition.string.perl'; };
5 = { name = 'punctuation.definition.string.perl'; };
};
},
The \S there is matching any non-whitespace character so it doesn't
like the space character being used between the //. I changed that
match line to this and it seems to have fixed it for me...
match = '(?<!\\)((~\s*)?\/)([\S| ].*?)(?<!\\)(\\{2})*(\/)';
Is there any reason that's not a wise change to make?
Thanks for any info,
Dallas
Hi all,
I think I’ve finally managed to get a statically linked build of
SVNMate working, which means that it should work on any system
without problems. Maybe.
Apologies if you tried to install it previously and had problems.
Download at the same place: http://ciaranwal.sh/2007/10/10/svn-plug-
in-for-textmate
Ciarán
Hi,
would it be possible to add support to the
chktex semantic LaTeX checker? it's a nice
program that checks for structural errors
in the latex file and is able to spot errors
in many situations (unmatched braces etc).
It is more advenced than lacheck and last
version 1.6.3 compiles perfectly on Mac OSX.
The ideal would be to produce an HTML view
with links to the offending lines (and to
have an additional button "Chktex" alongside
"Re-Run pdflatex"... etc
Thank you,
Piero
Hi,
I 'finished' the recoding of TMTOOLS. If someone has a bit time
please give me a feedback about the functionality, bugs, wishes, etc.
Please note: The version 0.9 is still beta, i.e. please be careful
while testing it. By myself I use it every day while working, and it
helps me a lot; at least for me ;)
I also wrote a tentative help file for it very quickly.
To install the plug-in download it, uncompress it, and double-click it.
http://email.eva.mpg.de/~bibiko/downloads/textmate/
TMTools.tmplugin.zip (111kB)
(it should be universal - if not please give me a hint)
For help have a look at this page (utf-8 encoded!)
http://email.eva.mpg.de/~bibiko/downloads/textmate/tmtoolshelp.html
or type in an empty TM document (after installing ;):
"$TMTOOLS" help me
and press CTRL+R
A short demo:
http://www.bibiko.de/TMTOOLS_demo_01.mov (10MB)
Up to now TMTOOLS contains 106 shell commands which interact with TM.
some examples:
"$TMTOOLS" get windowOriginAndSize
"$TMTOOLS" get currentWord '{only=tail;delimiter=" ():.";}'
"$TMTOOLS" set spellCheckerLanguage '{to=en_GB;}'
"$TMTOOLS" set windowSize '{width=100;height=200;}'
"$TMTOOLS" set grammar '{to="Ruby";}'
"$TMTOOLS" call template '{name="From Clipboard";}'
"$TMTOOLS" show projectDrawer '{onEdge=0;}'
"$TMTOOLS" complete usingDictionary
'{lang="da";showInternalListFirst=yes;}'
"$TMTOOLS" use nsstring '{initWith="たてもの";
toGet="canBeConvertedToEncoding:"; with="8"; }'
The command "$TMTOOLS" do onKeyDownAfterDelay is still experimental.
I tested it a lot, and it works.
This command installs an event manager which will execute any shell
command after a delay of X seconds if no other keyDown event occurs
within X seconds.
The following example will save the current document in /tmp after
5sec if there is no further key pressed. (A kind of AutoSave function
while non-typing)
If one presses ESC (stopkey=53) one destroys that event handler. For
more details see help.
Furthermore it can be used to display suggestions for the code
completion à la XCODE (see demo).
"$TMTOOLS" do onKeyDownAfterDelay "{
delay="5";
repeat=no;
startAtCall=no;
shell='\"$TMTOOLS\" get textString > /tmp/\"$TM_FILENAME
\".txmtbkp;say \"document was saved\"';
stopkey=53; }"
Best,
Hans
Hi,
I finally got a macbook and Textmate about a month ago, primarily for
ruby/rails development.
I looked at the various screencasts, and the one on the rails bundle
shows some features like the mdct (migration drop and create table)
and mrac (migration remove and add column) which use schema.db to
generate code in the migration's down method to recreate the table or
column being dropped or removed.
The rails ruby bundle which came with TextMate doesn't seem to have
these. I did find what seems to be the bundle demoed on the
screencast at the syncPeople web site, and installed it, but it seems
to replace the 'standard' bundle which came with TM (the names differ
though).
What's the status of this/these bundles?
By the way, I wrote another mini-bundle which has one command which is
a 'magic' snippet for adding an item to a rails test fixture. It also
works by reading db/schema.db
The code for the command in the bundle can be found in an article on
my blog. I had planned to add the bundle as a resource to the
article, but it seems that typo(my blog engine) doesn't seem to
support uploading bundles.
The article is at
http://talklikeaduck.denhaven2.com/articles/2007/10/09/my-first-serious-tex…
I'd appreciate any feedback on this textmate command.
--
Rick DeNatale
My blog on Ruby
http://talklikeaduck.denhaven2.com/
Hi,
I wonder if it would be possible to tell TM (2.0) to execute a
specific tmCommand on some events like:
-TM starts : execute a autostart script
-TM quits : before quitting execute a script
-TM looses its focus to an other App
-TM gets the focus
-for each TMPROJ, specify an autostart script and a shutdown script
Maybe also:
onRightMouseDown
onLeftMouseDown
etc.
This behaviour could be set in TM's Preference.
Esp. if one develop a plug-in for TM one has to restart TM very
often, and it would be nice if my window settings (code documents,
bundle editor opens with the last edited item, etc.).
I tried to write a plug-in for that, but for me it's a bit tricky. I
got rid of onOtherMOuseDown, etc. but to start a script if TM starts,
well I have no idea to do that because no document is open if the
plug-in will be initialized. Or has someone an idea?
Regards,
--Hans
Hi,
I don't know if someone else is interested in this, but the TMTOOLS
plugin has very nice side-effect ;)
Now I can write quite easily my own dialog/menu/monitor in HTML,
meaning a tmCommand with output 'ShowAsHTML', with my favorite tasks.
see demo: http://www.bibiko.de/TM_HTMLDIALOG.mov (1.5MB)
--Hans
I've been using pdfsync with Skim, and notice that every time I hit the key combo for pdfsync in TM, Skim reloads the document (this is obvious because Skim now displays a progress sheet). Would it be possible to avoid telling Skim to revert the document unless it's actually changed? That would speed up syncing quite a bit, I think. Skim's displayLine command should handle opening it if necessary, also. If I stare at textMate.py a bit more I might be able to figure it out on my own.
thanks,
Adam
I was a long-standing user of emacs for my LaTeX documents, and I
have recently switched to TextMate, but I miss some features of
emacs. In particular:
pressing TAB in an environment (or in math mode, or inside
parenthesis) move the cursor out of the environment (math mode,
parenthesis). In addition pressing tab when in sub/superscrit takes
the cursor out of the superscript and removes the curly brackets if
the sub/superscript contains a single character.
For inserting symbols I were used to the RefTeX way, i.e., pressing a
key (` in the original setting and ! in my customisation) followed by
a letter produces a (LaTeX) symbol. So for example typing !a produces
\alpha and !A produces \forall.
I wonder if there are ways to replicate the behaviours in TextMate.
All the best
Guido
--
Dr Guido Governatori
School of Information Technology and Electrical Engineering
The University of Queensland
Brisbane, Queensland, 4072, Australia
Phone: +61-(0)7-336 52907
Fax: +61-(0)7-336 54999
http://www.itee.uq.edu.au/~guidohttp://www.governatori.nethttp://www.defeasible.org
I'd like to automate the date entries for a journal I write in "LaTeX"
and have come up with this snippet:
\subsection{${1:`date +%A`, `date +%d` `date +%B` `date +%Y`}}
which gives me the date as follows in my files (example):
\subsection{Wednesday, 10 October 2007}
It works--that is, it gives me the spaces I want between the elements of
the date, but it looks cumbersome to me to invoke the date command
repeatedly to get these spaces and I wonder if someone could supply a
more elegant way to get the same result.
Thanks.
--Gildas Hamel
Hi gang,
I'm using TM/Skim for some LaTeX and when typesetting — using
mklatex.pl —, nearly everything is alright. Except for a little
annoying message : Skim tell me that “The document 'file.tex' can‘t
be opened. File does not exist.” Yet, it just has been. This happened
on different files, but only when there are non ascii characters in
the file path. Removing those character make the message disappear.
I'm not sure wether it is a problem with Skim or TM. I tried with
both "retail" and svn version of the LaTeX package.
Any hint of what it could be?
Thanks,
Édouard
hi ciarán :)
sadly your plugin at http://ciaranwal.sh/?p=6 doesn't seem to work
here - it won't show up.
in my console.log i found this:
2007-10-11 12:09:44.093 TextMate[23439] Can't open input server /
Users/oktay/Library/InputManagers/Edit in TextMate
2007-10-11 12:09:44.181 TextMate[23439] *** -[NSBundle load]: Error
loading code /Users/oktay/Library/Application Support/TextMate/
PlugIns/SVNMate.tmplugin/Contents/MacOS/SVNMate for bundle /Users/
oktay/Library/Application Support/TextMate/PlugIns/SVNMate.tmplugin,
error code 4 (link edit error code 4, error number 0 (Library not
loaded: /usr/local/apr/lib/libapr-1.0.dylib
Referenced from: /Users/oktay/Library/Application Support/TextMate/
PlugIns/SVNMate.tmplugin/Contents/MacOS/SVNMate
Reason: image not found))
2007-10-11 12:09:44.181 TextMate[23439] instance SVNMate plug-in has
no principal class
i don't have the libapr-1.0.dylib - i only have these:
[oktay@blackbox oktay]$ ls /usr/local/apr/lib/
apr.exp libaprutil-0.a
aprutil.exp libaprutil-0.dylib
libapr-0.0.9.7.dylib libaprutil-0.la
libapr-0.0.dylib libexpat.0.1.0.dylib
libapr-0.a libexpat.0.dylib
libapr-0.dylib libexpat.a
libapr-0.la libexpat.dylib
libaprutil-0.0.9.7.dylib libexpat.la
libaprutil-0.0.dylib
can i update this thing? from where?
i'm a heavy svn user so this plugin is really interesting for me :)
regards,
oktay.
Hi all,
Every now and then my Project Drawer groups seem to collapse every
time TM becomes the active application, which bugs me no end. Is the
cause for that known? I can't seem to detect a pattern, it is fine
for weeks, then there are days where it does that all the time.
Thanks
Gerd
Hi all,
I'm sure this has been asked a thousand times, but I can't seem to
find a simple answer via Google...
I just want to know if there is a function that searches your HTML
document and tells you about invalid characters, or just replaces all
invalid characters with their HTML entities. Can it be activated via a
keyboard shortcut?
I'm pretty lame at understanding regular expressions and the like, so
if you could explain it to me in laymans terms, that would be great!
Cheers
Hi there
When running the todo bundle I get the following error about 9 times
in the output window:
/Library/Application Support/TextMate/Support/lib/textmate.rb:83:
warning: Insecure world writable dir /Library/Application Support/
TextMate in PATH, mode 040777
Below, the Todos are displayed correctly. Is there an error on my
side or is this a bug?
Oliver
Hi,
I have a problem:
I wrote a tiny command:
Save:
nothing
Command:
CHAR=$(cat)
echo -en "($CHAR)"
Input:
Selected Text OR Character
Output:
Show as Tool Tip
If I don't make a selection it outputs only '()'.
But I expect between the parenthesizes the character left from the
caret.
Can this verified by others as well, or am i wrong, or is my TM
installation broken?
Many thanks,
Hans
Hi all,
I'm trying to run rspec bundle command but am getting errors.
/Users/alastair/Library/Application Support/TextMate/Bundles/
RSpec.tmbundle/Support/lib/spec/../spec/mate/runner.rb:34:in `run':
undefined method `parse' for Spec::Runner::OptionParser:Class
(NoMethodError) from /Users/alastair/Library/Application Support/
TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:33:in `chdir' from /Users/alastair/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:33:in `run' from /Users/alastair/Library/Application
Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec/../spec/mate/
runner.rb:12:in `run_file' from /tmp/temp_textmate.U7M7Xe:4
Does anyonene have any ideas what might be causing this?
Thanks,
Alastair
-----
Alastair Moore
Freelance web design, development and consultancy
t. 07983 983945
e. alastair(a)kozmo.co.uk
w. http://www.kozmo.co.uk
skype. alastair_kozmo
FYI, Typeset and Preview didn't capture the following error message
in the log:
/usr/local/texlive/2007/texmf-dist/tex/generic/pgf/systemlayer/
pgfsys.code.tex:
847: Package pgfsys Error: Driver file ``pgfsys-xetex.def'' not found..
Best, Mark
Ok, I am not sure how to explain this but it is driving me crazy. I looked
around the forums but could not easily describe the issue so forgive me if
this is simple.
The cursor on my scree will show about 4 spaces outside where I am typing,
and when I turn on finish quotes or auto quotes in the prefrences and try to
type, the last pair of quotes will follow the cursor.
Can someone clue me in on this program and what I am missing here?
thanks,
Paul
--
View this message in context: http://www.nabble.com/Very-Wierd-Issue.....-tf4559431.html#a13011657
Sent from the textmate users mailing list archive at Nabble.com.
I'm being slowly driven mad by two things that I suspect other people
just shrug and live with.
- Sometimes, the command-T list seems to 'forget' where I've been
recently. So when I'm flipping back and forth between, say, a test
and its code, cmd-T RET takes me to some surprising file, usually
beginning with 'a'.
- Sometimes, the Find dialog becomes inert. Nothing happens when
hitting the gently throbbing Find button. Often (always?) the little
red gumdrop doesn't dismiss the window.
What I'm mainly wondering is: is it just me?
-----
Brian Marick, independent consultant
Mostly on agile methods with a testing slant
www.exampler.com, www.exampler.com/blog
Trying to build a new project I get this:
/Library/Application Support/TextMate/Bundles/Xcode.tmbundle/Support/
bin/parse_build.rb:99:in `initialize': Permission denied
- //.tm_build_errors (Errno::EACCES) from /Library/Application
Support/TextMate/Bundles/Xcode.tmbundle/Support/bin/parse_build.rb:
99:in `open' from /Library/Application Support/TextMate/Bundles/
Xcode.tmbundle/Support/bin/parse_build.rb:99 from /Library/
Application Support/TextMate/Bundles/Xcode.tmbundle/Support/bin/
format_build_output.rb:288:in `load' from /Library/Application
Support/TextMate/Bundles/Xcode.tmbundle/Support/bin/
format_build_output.rb:288
Seems that ENV['TM_PROJECT_DIRECTORY'] is set to '/'. I opened the
project in TM via Xcode/Open frontmost project.
Any ideas? Older projects seem to work fine.
Gerd
There are some annoyances with this Bundle. It does not work.
It tries to call the application called "Term" but it should be "Terminal"
(was Terminal ever called Term in previous versions of OS X?).
Then, it moves the terminal window to an awkard position (100,100 ?) (See
the diff).
So the diff to repairs those. It is not a big patch but it corrects
annoyances I get everytime I checkout that bundle or tell someone else to.
Also, not included in the diff : The bundle shows support for gprolog on the
command line. Some people (like at my university) prefer using swi-prolog
(swipl). Should I make a patch that supports gprolog but falls back to swipl
if it is not installed? Is it appropriate for a "texmate Run command" to
support 2 implementations of Prolog?
Thanks
Guillaume Carbonneau
Hi,
I was doing Japanese translation of TextMate manual, but I can't
complete the task soon.
The reason is simple. I was jobless, but now I got my first full-time
job in my life.
I'm now, yes, a programmer. I'm extremely busy with learning new
things and adapting myself
to a Japanese office environment.
It would be great if Allan could cook up a script that generates
Japanese manuals in HTML dynamically.
Thus, I can still update when I have time. Other pages can still be
English.
(If I see my Japanese writing on macromates.com, that would be
encouraging and motivating...)
As TextMate 2.0 approaches, I wonder what part of the manual is worth
translating at this point.
Is everything changing in 2.0? Or, language grammars and scoping will
have overhaul?
Takaaki
--
Takaaki Kato
http://samuraicoder.net
Hello everyone.
I'm starting to use Markdown for most of the documents I produce.
Usually I go directly to PDF or for more complex documents I firt do a
Latex export and mostly get good results. Today I needed to export a
document which includes spanish accents to RTF but it doesn't look
right in Textedit. Anything with an accent or an 'ñ' just shows as a
series of symbols. I have Textmate to encode the document using UTF8.
Anyone has a solution for this?
Thanks,
Andrés
Hi all,
I haven't developed with PHP in a while and just recently started
again... but I noticed that there's no longer a HTML (PHP) bundle.
What's up with that? Why was it removed?
Thanks
Mike Gregoire
> Well, welcome to the club.
> I highly recomend that you watch all the screencasts and read all
> the documentation. I'm not normally the type to bother with the docs
> but I was amazed at how much stuff textmate can do. There's just so
> much awesome right under the surface.
>
> Thomas Aylott [SubtleGradient] from iPhone
>
> On Oct 4, 2007, at 10:05 AM, hairball <stop.the8thday(a)gmail.com>
> wrote:
>
>> Like to say HELLO,
>> I'm a new member to the list and also a new user of TextMate. This
>> seems to be a wonderful tool and I'm looking forward to working
>> with it.
hey all. so i am an eclipse user trying to switch over to textmate
for some perl development. usually i end up with project folders that
have their own modules (.pm files) within, and eclipse allows me to
specify the library folders to be part of the @INC path at run time.
this is great because it makes the whole project folder portable, and
i don't have to "install" developement modules on the system in any
of the usual locations.
my issue is that the perl module "run script" command doesn't seem to
allow for any of this. what solutions do you all use to get around
this? please save me from eclipse. thx
e
Like to say HELLO,
I'm a new member to the list and also a new user of TextMate. This seems to
be a wonderful tool and I'm looking forward to working with it.
Hello all,
I am having problems were by attempt to word completion (say for
something starting "people..") leads to the following error:
peopleWarning: PropertyList is deprecated. Use OSX::PropertyList
instead.
dom
I am using the latest cutting edge Textmate version: Version 1.5.6
(1414)
I also updated the bundles that I loaded separately using :
cd /Library/Application\ Support/TextMate
export LC_CTYPE=en_US.UTF-8
svn up *.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
And then
After a search at the macromate site I read a suggestion that I
would have to use the following commands to change to the most
recent version of support:
cd /Library/Application\ Support/TextMate
sudo svn co http://macromates.com/svn/Bundles/trunk/Support
indeed, this was confirmed after I checked by using ^R on:
echo "$TM_SUPPORT_PATH"
which now gave
/Library/Application Support/TextMate/Support
IN PLACE OF the previous
/Applications/TextMate.app/Contents/SharedSupport/Support
This has not helped...
Is there another solution to ridding myself of the above error?
Thanks in advance.
danstan
Hi everybody,
being a new TextMate user I want to install now a TeX/LaTex distribution.
Yet there are so many of them. Which one works best with the LaTeX bundle of
Textmate?
Thanks for your help.
kuka
I'm attempting to use TM for my most common development tasks, but haven't
got my head around it yet. Can someone point me at the right place to find
documentation about the following:
Task 1: I work on a code base of about 50,000 lines of ordinary C code,
spread over about 30 files. Most of what I do is cut, paste, search, make. I
want to add some functions to the context menu. First, I want a function
that would take me to the definition of the item under the cursor. E.g., if
it's a function, open a window containing the prototype, or otherwise show
me the prototype. If it's a constant, take me to the header file where it's
defined. Second, I want a function that will find references to the symbol
under the cursor. I don't want it to find definitions or comments, just any
chunk of code that actually uses the symbol. This would be some variant of
the 'Use Selection For find', but as a context menu item.
Task 2: I want to add an item to the context menu that will do the
following: save any dirty files, then run the makefile of the project. If
there are any errors, take me to the place in the source file that contains
the first error. This would be something like the Command-B, but as a
context menu item. Also, when I tried using Command-B, it attempted to build
the code using Xcode. I just want it to run the makefile in a shell and show
me the errors. I would also want to
--
View this message in context: http://www.nabble.com/Context-menu%3A-Help-me-get-my-mind-around-this...-tf…
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I'm trying to get the feel for TextMate right now, and I'm wondering:
can it be that there is no nice support for Makefiles?
I checked out the Makefile bundle from SVN, but while that does allow
you to *run* a Makefile, it doesn't allow you to click on an error
message and be taken to the relevant source file, or do any other
interactive goodness, unless I am mistaken.
In general, it seems it would be nice if there were a way to run an
arbitrary command and filter the output for file names and line
numbers (kind of like M-x compile); this would be quite flexible for
those of using projects that don't build in Xcode. Is there a bundle
out there that provides this kind of feature? Or, at least some kind
of "Build with Makefile" support?
I am not trying to slight the work of the author of the Makefile
bundle, by the way: no doubt s/he just doesn't use Makefiles that
often. But I would be surprised to learn that there aren't a lot of
users still working on projects that use makefiles to build...
thanks for any information!
Niko Matsakis