Hi,
what is the best form, to change/adapt the highlighting of ons own
often-used functions?
E.g. if I have a Perl sub called `i` (printing some debug-info to
stdout) and to be used e.g.
i 'Starting ifgrp store ...';
And if would like to have these lines formatted like a comment (grey,
italics) so that it survives changes in the Perl-Bundle including
reinstallations of TM2. Where and how would someone define that?
My guess is, to place it in my own Bundle and to use something like
begin = '^\s*';
end = ';\s*$'; # trailing white space may occure
But I can't figure out the details.
Thanks and kind regards, Ingo
--
Ingo Lantschner
Hi,
The “Commit” command in the git bundle no longer works for me.
If I run “Show Uncommitted Changes”, the git bundle properly displays the
diff. However, if I run the “Commit” command, it instead displays: "Working
directory is clean (nothing to commit)”.
So the repro steps are:
1. Make a change to a file
2. Run `git diff` or “Show Uncommitted Changes” to verify that a change has
been made
3. Run the “Commit” command
Is anyone else experiencing this issue?
Thanks,
Charles
On 01.01.2014, at 22:50 , "T. Zha" <zmail(a)tzha.net> wrote:
> Thanks for the information. I?ll try what you suggested. Any suggestion of the best source to download the epstopdf package?
If you have downloaded MacTeX, the package is included in the standard installation. All you need to do is use \usepackage{epstopdf} in the preamble and that's it.
I'm not using Matlab, just gnuplot, xfig and other simple graphing tools, but with the exception of gnuplot, they all feature pdf+latex output (meaning that the software creates a .tex file which you need to include and a pdf file, this way you can use latex commands in labels and such).
Max
Hi all and a very great / happy new year to all of you.
My name is Gabriel and I’m a very beginner both as a programmer and with TextMate.
TM is one of the few editor I have found which is accessible to the VoiceOver technologies
I have to use as I’m totally blind.
My problem has to do with using TM to write and test Python scripts.
I have this simple one:
# begin
a =input(“name? ")
print a
# end
I press Bundle… python… run script and getting this error message:
***
Running “untitled”…
Python 2.7.6
Theme:
nome
EOFError: 'EOF when reading a line'
module body in untitled at line 1
a =input("nome")
copy output
Program exited with code #1 after 0.41 seconds.
***
That’s sounds strange as the script has no mistakes.
Could you please help me to found how to solve this issue?
Thanks.
Gabriel.
All my source code is on a centos virtual machine, which I access over an
AFP share.
When I have a file open in TM2, TM is not able to detect that its been
changed.
This happens often when I switch git branch.
If I open a terminal and run 'ls' on the file, at this point suddenly TM
realises its changed and reloads it.
Can anyone offer an explanation for this?
I figured maybe its some form of fstat cache kicking in, either in OSX or
due to the way the AFP share has been configured, but I cannot find any
other apps behave the same way (ie, Sublime Text detects it has changed
immediately)
Pardon me for being a bit sentimental, but as a recent TextMate 2 adopter, I find that, quite aside from the technical improvements and the ability to run happily on Mavericks, I'm loving the new interface. When working on a small screen especially, I really appreciate the ability to maintain an all-in-one layout. With multiple documents opening as tabs, and the results window as a right pane, I'm so much more agile than in the past. This is a marvelous transformation. Thanks and a happy new year - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi,
currently i don’t know why building text mate from source did not work for me.
My Setup is :
- source checked out from git with all submodules
- latest os x Maveriks 10.9.1
- neded dependencies are installed via brew
- my ninja target is TextMate/run
after clean and build from text mate i get the following error
https://gist.github.com/tfcoding/8195924
so it would be great if somebody could say why this error appears..
thx
Tim
In one of the recent updates (I think), the default behaviour when hitting
return inside a new set of braces seems to have changed.
Previously opening a pair of braces and hitting return would result in the
following:
{
// caret here
}
Now I get:
{
// caret here}
This is affecting all the grammars I commonly use - PHP, CSS, JS but
presumably is global.
Did I inadvertently change a setting somewhere or is this a change of the
default TextMate behaviour that I missed?
Either way, is there a way to return to the old behaviour? I have done a
few searches and seen some mentions in certain languages that you may be
able to build a snippet to fire on enter if the syntax supports specific
enough scoping but I'm failing to get it to work for me.
Dom
On 01.01.2014, at 07:00 , textmate-request(a)lists.macromates.com wrote:
> Actually I would recommend you and everyone to use the ?latex? engine instead of pdflatex.
I'm very well-versed in LaTeX, and I started with the non-pdf latex many moons ago. If it were up to me, I'd use xelatex because of its superior handling of fonts, but the arxiv doesn't support it and most collaborators don't know about it or care to use it. (The arxiv still on TeX Live 2011, too.) pdflatex is the de-facto standard for good reason.
> With latex, you can typeset eps figures directly without converting it to pdf figures and the resulting pdf file has a much sharper resolution than those produced by pdflatex applied to pdf figures, especially when you use the beamer for presentation.
Actually, eps is a format of the past, most programs (e. g. xfig) can output either directly to pdf or a pdf/LaTeX combo. Even if you get eps output (e. g. from gnuplot's using the eps+latex output), loading a single package (epstopdf) takes care of the on-the-fly conversion (which does *not* reduce the resolution, I think it just encapsulates the eps file into a pdf wrapper). This reduction in quality only happens if someone manually converts the eps file to pdf with the wrong tool in the wrong way.
During typesetting, you lose pdfsync which is a very handy feature (clicking in a location in the pdf file sends you to the corresponding line in your latex code). Moreover, pdf files which are generated from the intermediate dvi files often have lower quality (e. g. font rendering is worse, text no longer is searchable and hyperlinks may stop working).
I've only dealt with one journal that used latex instead of pdflatex (and another one which strangely enough doesn't seem to use latex at all on its backend).
If latex works for you, fine, but I don't understand why you force others to cling to the old. (I would not force my students to use TeX in any particular way.) Especially when it seems to be due to just not knowing about well-known solutions to old problems.
Max
On 31.12.2013, at 07:00 , "T. Zha" <zmail(a)tzha.net>
> I need latex as engine because it can typeset .eps graph files. The eps graphs have much better resolution than pdf graphs.
All you need to do is load the package epstopdf and use pdflatex. I seriously caution against using anything but pdflatex these days, most journals have moved to pdflatex (for very good reason), so that's what you should use as well to minimize friction.
Also, if you use the proper tools to convert the eps file to pdf, then the resolution is the same as both are capable of including vector graphics. However, if you convert an eps file the wrong way, the output will be a bitmapped file encapsulated in a pdf file.
Max
Dear List,
Apologies if this question has an obvious solution. In TextMate 2, is
there any way to make the project window stay open even if the last
file tab has been closed?
Nicholas
Hi:
I use MacBook Pro with OS X 10.9.1. I have encountered a typesetting problem with the latest TextMate version 2.0.alpha. I set Bundles → Latex → Preferences as follows:
Default Engine: latex
View in: Preview
Checked on “Show pdf automatically”
Checked on “Keep log window open”
The message I got is
error number 256 opening viewer
When I set “Default Engine: pdflatex”, TextMate works, but it gives me the above error message when I set “Default Engine: latex.”
I have deleted the files you as suggested by the following link
https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
but it still gives me the same error message.
Note that it can generate a valid .ps file, but fails to generate a .pdf file. Any help would be much appreciated.
Is it possible to define headers that appear in the Go to Symbol list (shift
+ command + T).
For example, can I define this as a header:
% This is a header -----------
Thanks
Ross
In R.app on Mac OSX, pressing tab after an object name and dollar sign will list all variables contained within that object. For example:
Pressing mtcars$ + TAB will list all variables contained in the mtcars dataset.
Pressing iris$ + TAB will list all variables contained in the iris dataset.
Is it possible to mimic this behaviour in a .R file in TextMate?
Ross
Well, I have two issues I am hoping for help on.
(1) The built-in git bundle has partly stopped working on 10.9 Mavericks (on the nightly build). The bug is that the log command creates a window which shows the log messages, but the + which expands into a line by line diff no longer expands.
I think that began exactly when I installed Mavericks, so I imagined that this was a simple config issue with the ruby scripts in the bundle. So I downloaded the latest git bundle from https://github.com/jcf/git-tmbundle which of course didn’t work on my computer, so… anyway to get to the point, of course….
(2) I screwed up my config somehow and I can’t get back to the default git bundle. I am trying to do a clean reinstall of TM2 and I’m failing. I deleted
~/Library/Application\ Support/Avian
~/Library/Application\ Support/TextMate
~/Library/Preferences/com.macromates.*
and I rebooted and I emptied the trash. I copied a fresh nightly 2.0 into /Applications. My bundles are still screwed up and the Git bundle won’t work.
Is there some location I am forgetting to delete?
best wishes, Eric
--
Eric Hsu, Professor of Mathematics
Director, Center for Science and Mathematics Education
San Francisco State University
http://math.sfsu.edu/hsu
Well, I have two issues I am hoping for help on.
(1) The built-in git bundle has partly stopped working on 10.9 Mavericks (on the nightly build). The bug is that the log command creates a window which shows the log messages, but the + which expands into a line by line diff no longer expands.
I think that began exactly when I installed Mavericks, so I imagined that this was a simple config issue with the ruby scripts in the bundle. So I downloaded the latest git bundle from https://github.com/jcf/git-tmbundle which of course didn’t work on my computer, so… anyway to get to the point, of course….
(2) I screwed up my config somehow and I can’t get back to the default git bundle. I am trying to do a clean reinstall of TM2 and I’m failing. I deleted
~/Library/Application\ Support/Avian
~/Library/Application\ Support/TextMate
~/Library/Preferences/com.macromates.*
and I rebooted and I emptied the trash. I copied a fresh nightly 2.0 into /Applications. My bundles are still screwed up and the Git bundle won’t work.
Is there some location I am forgetting to delete?
best wishes, Eric
--
Eric Hsu, Professor of Mathematics
Director, Center for Science and Mathematics Education
San Francisco State University
http://math.sfsu.edu/hsu
Yes, maybe there is a problem with samba and Maverick since I changed to
Maverick almost at the same time I change to TextMate v2. I try opening
with another editor and I get a non updated version of the file.
Then I try to open with TextMate and I get the message "TODO Reselect
previously open document". I cannot open the file with TxtMt until I close
my session on the OS and I log on the OS again. However, after a while, I
can correctly open the file with other editors.
Is there a way to do a "clean reopening" of the file without having to
restart my user session in the Mac OS?
Another issue I have notice is that TxtMate does not detect automatically
changes in files of samba file system.
2013/12/19 Allan Odgaard <mailinglist(a)textmate.org>
> On 18 Dec 2013, at 21:54, Jesús Baquedano wrote:
>
> […] I occurs only when using subversion […] file is in a linux machine
>> and I use
>> samba to access it from TextMate […] I see the file in TexMate. The file
>> is incomplete. The last lines are
>> lost […]
>>
>
> Sounds like it could be a problem with the network file system, especially
> since you re-open the file in TextMate and still see the last part missing,
> i.e. the network file system locally cached the file prior to it having
> been fully written by subversion.
>
> Did you try to open the file with another application?
>
> You mention the file being open in TextMate while updating it on the linux
> server. What if you close the file before updating it (TextMate keeps the
> file open for “events only” to be notified about changes, perhaps this
> plays a role in the network file system’s behaviour)?
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
--
--
Juan Jesús Baquedano Bruna
Centro Tecnológico qInnova
UNED Tudela
Tlf: 948 821535 (ext 8)
www.unedtudela.es
Hello,
When I invoke the "Documentation for Package" command of the Latex
Bundle, I get the Packages Browser and My Packages, but clicking on the
links in the packages browser does not open the linked pdf documents.
The path to the help documents seems to be ok: Inspecting the elements
(eg the mhchem package yields the correct path to the document
(/usr/local/texlive/2013/texmf-dist/doc/latex/mhchem/mhchem.pdf).
Could the path to the Document viewer (DocView.sh) be broken ?
Greetings, Christof
Occasionally I will get TM2 into a state where "find in folder” and "CMD+T"
will be missing files in their search scope.
Unfortunately, I don’t yet have a series of reproducible steps that cause
this condition. However, for CMD+T at least, I’ve found that repeatedly
hitting CMD+T will “recover” the ability to locate all files in the folder
that’s open.
Some other points of interest… From reading the docs it seems like this
could be related to
http://manual.textmate.org/projects.html#effective-folder and it’s
interaction with the fact that I have “single click to open file” enabled.
Have any other users experienced this? What sort of debugging information
would be useful?
Thanks
Am I the only one who can't get .tm_properties files to *do* anything?
For example, as a test I created this:
[ *.asciidoc ]
spellChecking = false
tabSize = 4
fontName = "Georgia"
fontSize = 18
softTabs = true
I figured if I open an asciidoc file I should be able to tell if it's suddenly Georgia 18. I don't actually *want* that setting, I just want to see that .tm_properties is functioning! But it isn't. I've put this file in my home folder, in the project containing folder, all over the place. But nothing is changing. m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
OS Version ist OS X Version 10.9. (maveriks). The file was php
Hi,
I have tried to reproduce using simple actions, like modifying the file
using vi, but the problem does not happen. I occurs only when using
subversion.
To reproduce I perform this steps:
· I edit a file with textmate. This file is in a linux machine and I use
samba to access it from TextMate.
· I update the file using subversion (svn up <file name>. Subversion merge
this file with changes of my coworkers.
· I close TextMate and I reopen it. We do this because with former versions
of textmate we had problems, we lost changes of other coworkers when we
undo our changes in texmate.
· I see the file in TexMate. The file is incomplete. The last lines are
lost. If my coworkers deleted lines, then I have extra binary 0 characters
at the end of the file instead.
subversion version 1.6.17
TextMate version 2.0-alpha.9497 (downloaded few days ago)
OS Version ist OS X Version 10.9. (maveriks). The file was php
Regards,
2013/12/13 Allan Odgaard <mailinglist(a)textmate.org>
>
>> On 13 Dec 2013, at 18:15, Jesús Baquedano wrote:
>>
>> > if I open a file with text mate 2, I modify the file from outside and I
>> > reopen the file with text mate, text mate does not load the entire file.
>>
>> That shouldn’t happen. Can you provide more detailed steps to reproduce?
>>
>> See e.g. https://github.com/textmate/textmate/wiki/Writing-Bug-Reports
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
>
> --
> --
> Juan Jesús Baquedano Bruna
>
> Centro Tecnológico qInnova
>
> UNED Tudela
>
> Tlf: 948 821535 (ext 8)
> www.unedtudela.es
>
--
--
Juan Jesús Baquedano Bruna
Centro Tecnológico qInnova
UNED Tudela
Tlf: 948 821535 (ext 8)
www.unedtudela.es