One of the great things in TextMate 1 was that the Find/Replace dialog had a toggle to switch between the default view and an expanded view, where both text boxes were large scrollable "text areas", i.e. they allowed intuitive multiline editing of search-replace clauses. This is also how it's currently done in BBEdit.
The TextMate 2 Find/Replace dialog looks like the default view of TM1, i.e. consists of two "input areas", i.e. one-line controls. It took me a while to figure out that you can actually type Alt+Enter there, and then the controls expand vertically -- so it's better than the default TM1 mode.
But I still lack the truly "expanded" view where the text boxes were, say, 8 lines tall.
Also an important feature request would be the ability to "Show Invisibles" in the Find/Replace window. Actually, I think "Show invisibles" should be the default or even the only display mode in the Find/Replace text boxes.
Regards,
Adam Twardoch
TextMate user since 2007 (i.e. since moving from Windows to the Mac)
TM2 changed the concept of projects. Could someone point to the best
pages/posts for explaining them?
First of all, *are* there projects? I see the .tm_properties discussions
but not sure how to correctly use them, or how to build a project that has
multiple folders.
My projects are of two kinds: github and multi-folder. I think the first is
easy once I understand the format of the .tm_properties file (God I wish it
were JSON, but I digress) because there's one obvious top level folder, the
git repo, and I can include/exclude files/folders in .tm_properties, I
think.
But the second is harder I think. Think of my home directory with several
folders I'd like to include in multiple projects. Ex: my bin dir and my
notes dir to start with. I could built a .tm_properties file in the home
dir which include bin and dir (both of which might also have their own
.tm_properties?) But then I also want another project in my home dir that
includes two other folders, src and hax. How do I manage that? I can't
rely on the single home .tm_properties .. I seem to need two of them.
The solution for me with Sublime is to have a folder of projects, each of
which is a JSON tree which can aim its path at specific sets of folders
anywhere in my system with associated include/excludes.
Can I do this in TM2? Easily? Thanks!
-- Owen
--
View this message in context: http://textmate.1073791.n5.nabble.com/Projects-in-TM2-simple-include-exclud…
Sent from the textmate users mailing list archive at Nabble.com.
This is a possible bug report:
Textmate 2.0-alpha.9495 crashes (or rather, gets stuck) when executing a command which has both of these options defined:
Semantic Class: callback.document.will-save
Save: Current Document
As in screenshot: http://i.imgur.com/1ghCVC3.png
Nobody would *want* to set both of these, but I thought mention this in case, as it happened to me, you set them inadvertently.
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
Let's says I have this code:
is.numeric(mean(mtcars$mpg))
Let's says I highlight the code and press CMD+E to use code as find. What regular expression can I use to strip the outer function? So the replacement code would be mean(mtcars$mpg)
Cheers
Ross
Since reformat & reformat+justify are built-ins I can’t really provide decent patch w/o asking prior how we could solve the issue.
Two examples:
(1) Git commit:
I type commit message, than I press ⌃Q on 2nd paragraph.
> ——————————— before ——————————
>
> Lorem ipsum dolor sit amet
>
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
> # Please enter the commit message for your changes. Lines starting
> # with '#' will be ignored, and an empty message aborts the commit.
> # On branch master
>
> ——————————— after ———————————
>
> Lorem ipsum dolor sit amet
>
> Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
> incididunt ut labore et dolore magna aliqua. # Please enter the commit message
> for your changes. Lines starting # with '#' will be ignored, and an empty
> message aborts the commit. # On branch master # # Initial commit #
This isn’t really what I would expect. Of course when I put empty line after 2nd paragraph it does work fine. Unfortunately I keep forgetting about that.
(2) Same applies to LaTeX, which is even more frustrating, since empty line in LaTex is actually meaningful.
> ——————————— before ——————————
>
> \documentclass{article}
> \begin{document}
> \title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
> \end{document}
>
> ——————————— after ———————————
>
> \documentclass{article} \begin{document} \title Lorem ipsum dolor sit amet,
> consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et
> dolore magna aliqua. \end{document}
>
> ——————————— expected ———————————
>
> \documentclass{article}
> \begin{document}
> \title Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
> tempor incididunt ut labore et dolore magna aliqua.
> \end{document}
Also this applies to following cases when new environment starts before some text block.
> ——————————— before ——————————
> long paragraph text
> % comment
> ——————————— after ———————————
> long paragraph text
> wrapped % comment
> ——————————— before ——————————
> long paragraph text
> \begin{equation} …
> ——————————— after ———————————
> long paragraph text
> wrapped \begin{equation} …
So basically reformat should take into account paragraph boundaries of given language (grammar). I’d say it would be just enough if paragraph boundary would be:
(1) line with commend
(2) ending or starting of fold scope
WDYT?
—
Adam
In these lines
some text
some text
# TODO some text
some text
What regular expression can I use to find all lines except "# TODO some
text²?
I thought ((?!^# TODO.+).+) would work but didn¹t.
Thanks
Ross
I have been using rmate successfully -- installed with "gem install rmate"
on an Ubuntu system -- but rmate wasn't being recognised by the root user
(via sudo commands) so I did some fooling around in trying to install rmate
for root. Didn't go well so I gave up. The problem is now it doesn't work
for any user.
When I type "rmate filename" I get:
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `initialize': Connection refused - connect(2) (Errno::ECONNREFUSED)
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `new'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:148:in
> `connect_and_handle_cmds'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:186:in
> `block in <top (required)>'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in
> `fork'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/gems/rmate-1.5.5/bin/rmate:185:in
> `<top (required)>'
>
> from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `load'
>
> from /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/rmate:23:in `<main>'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in
> `eval'
>
> from
> /home/ubuntu/.rvm/gems/ruby-2.0.0-p247/bin/ruby_executable_hooks:15:in
> `<main>'
>
Not being a rubiest or even much Ubuntist I'm seeking help from the
community. Anyone have any ideas how I can get back to normal?
Ken
p.s. I did try uninstalling and reinstalling (with gem) but that didn't
change the behaviour.
In Bundles > TODO > Preference I¹ve accidentally deleted the TODO marker.
In the ³Pattern² box, what regular expression do I need to use to find all
TODOs in a project?
Thanks
Ross
Does anyone have a solution to restore tabs when a new favorite project is opened?
I have several projects I work with, switching back and forth frequently. In TM1, opening a project would restore the previously opened tabs. In TM2 when a favorite is reopened no tabs are restored (which is understandable since I don’t believe there is any machinery to do this). I do know that the initial session is restored at application launch, from the last project closed when the TM2 application is closed.
Ideally, I would like a mechanism that could save the meta data (files open in tabs and cursor position) for any favorite project when it is closed and restore the session when a favorite is reopened. If I have ’n’ different favorite projects, I would have ’n’ different sessions saved.
If there is a way to run a shell script “hook” at close and open of a favorite, I suppose I could write some code to do this. Since I’m somewhat new to TM2, I’m not sure what capabilities are available to do things like this.
Thanks for any help or suggestions.
— dave
Hello,
I'm transitioning to Textmate 2 and I would like to use some 'commands' that I used with Textmate 1.5, mainly for LateX, but I am having trouble.
As a simple example, in Textmate 1.5, I wrote a command that opened a Terminal window and listed the LaTeX master file, thus:
---------------------------------
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
TM_LATEX_MASTER=`${TM_RUBY:-ruby} <<"RUBY"
require "#{ENV['TM_SUPPORT_PATH']}/lib/escape.rb"
require "#{ENV['TM_SUPPORT_PATH']}/lib/LaTeXUtils.rb"
master = LaTeX.master(ENV['TM_LATEX_MASTER'] ||
ENV['TM_FILEPATH'])
puts master
RUBY`
cd ${TM_DIRECTORY}
/Users/gkv/scripts/term2 "echo ${TM_LATEX_MASTER} "
-------------------------------------
The script 'term2' opens a terminal window and executes the command following. This command now longer works in Textmate 2. However, Textmate 2 certainly knows what the master file is, because the standard Textmate command for opening the master file works as expected. What would the correct script be? Please be explicit in any answer you may have, as I am an end-user not a programmer!
More generally, is there a place I can read about how to construct such commands in Textmate 2.
Regards,
Geoff
Thanks Allan,
For the record I upgrade to a new TextMate version and did not change python in any way. I did notice TM_PYTHON was gone so I re-added and it didn't work at the time. Re-installed Canopy 1.1.1 python and added the path again with TM_PYTHON to the new location and it worked today.
Thanks,
-D
On Nov 11, 2013, at 4:00 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. networkx, scipy load errors in TextMate (Dave Gianetto)
> 2. Re: LaTeX: Improving bibliographical label completion
> (Allan Odgaard)
> 3. Re: networkx, scipy load errors in TextMate (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Sun, 10 Nov 2013 08:00:35 -0800
> From: Dave Gianetto <dgianetto(a)icloud.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] networkx, scipy load errors in TextMate
> Message-ID: <4E9BF255-834B-44E7-BC04-7D37D73B9312(a)icloud.com>
> Content-Type: text/plain; charset=us-ascii
>
> I posted this to Github here:
> https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
>
> Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> Any help is appreciated,
> -Dave
>
> ------------------------------
>
> Message: 2
> Date: Mon, 11 Nov 2013 02:37:10 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: LaTeX: Improving bibliographical label completion
> Message-ID: <63582790-D6FD-46A6-B42B-A902FD70D8A0(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 2:35, JairoB wrote:
>
>> Ok, I found the rb file on my system. Once I edit it, what do I need
>> to do to
>> make the changes effective? Do I need to compile it? (Sorry for the
>> newbie
>> questions.)
>
> Ruby is an interpreted language, so nothing is required after making
> changes, just re-run your test in TextMate.
>
> Before making changes, you may wish to ?git clone? the bundle to
> ~/Library/Application Support/Avian/Bundles so that changes you make are
> not overwritten on updates. Though after installing the bundle locally,
> you will have to manually update it (git pull).
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 11 Nov 2013 02:45:52 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: networkx, scipy load errors in TextMate
> Message-ID: <4C16292F-9A77-4934-8FBB-FF3F52A1EF19(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 10 Nov 2013, at 23:00, Dave Gianetto wrote:
>
>> [?] I don't see how a path issue causes certain libraries of a
>> common distribution (Enthought Canopy 1.1.1) to not be loadable.
>
> OS X ships with a version of python. Programs find this by looking at
> the locations specified via the PATH variable.
>
> This means that if you install a custom version of python, then you can
> make it be used by altering PATH, or if you just need it to be used by
> TextMate, you can set the TM_PYTHON variable.
>
> It?s unclear to me if you installed the networkx module for the system
> python, or you installed a completely new version of python with its own
> modules, but I do think you did the latter.
>
> This means that you need to instruct TextMate to use this new version of
> python, e.g. by setting TM_PYTHON.
>
> First though you need to figure out if a) this is actually what you did,
> and b) where this new version of python was installed.
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 66, Issue 17
> ****************************************
I posted this to Github here:
https://github.com/textmate/python.tmbundle/issues/34#issuecomment-28008122
Essentially, I upgraded recently to the latest TextMate alpha version and immediately could not load networkx and scipy libraries, though all other libraries can be loaded. Some have mentioned the need for path variables, I tried these and there is no difference. Further, I don't see how a path issue causes certain libraries of a common distribution (Enthought Canopy 1.1.1) to not be loadable.
Any help is appreciated,
-Dave
This is not a bug report but a question on how I could improve TM for my
personal use.
I use a macro \myhyperbibitem that extends the usual \bibitem to allow
hyperlinks in the bibliography. (If you're curious:
http://tex.stackexchange.com/questions/39177/web-links-in-the-bibliographic…
)
Is it too difficult to edit the LaTeX bundle so that the drop-down menu that
appears when I hit Command+Esc on \cite{} also includes both kinds of labels
(\bibitem and \myhyperbibitem)?
Here's an example:
\myhyperbibitem[St]{http://tex.stackexchange.com/}{Stack} Stackexchange --
Tex
\bibitem[Ho]{Hobbit} J.R.R. Tolkien. The Hobbit.
In this case, the labels that should appear on the drop-down list are
"Stack" and "Hobbit".
PS: Thank you Allan for solving the \ref{} problem.
-----
Jairo Bochi
http://www.mat.puc-rio.br/~jairo/
--
View this message in context: http://textmate.1073791.n5.nabble.com/LaTeX-Improving-bibliographical-label…
Sent from the textmate users mailing list archive at Nabble.com.
With 9491I am experiencing a problem that occurs when I switch from one document in a tab to another document in a tab. If I move the cursor to, say, line 196 in one document, then move to the document behind another tab, once I return to the document behind the first tab, the cursor is still on line 196 but the document scrolls (quickly) up about a page (around line 126 in the case I am looking at right now) so that the cursor is no longer in view.
I run TextMate on OS 10.9, this happens on LaTeX documents.
Is anyone else experiencing this?
Kyle
--------------------------------------
Kyle Johnson
Linguistics Department
University of Massachusetts
Amherst, MA 01003
Looking for help with language grammar. Coding in perl, and adding pod (documentation) within a codeblock, pod code gets automatically indented. Is there a way to have lines that begin with a = symbol auto- 'out-dent'? And then any subsequent lines, before a '=cut' line to be indented to match the previous line?
It's been a long time since I've looked at the language grammars in TM and, if they've changed in TM2 then I'm starting afresh. Any clues where to start would be gratefully received.
--
Justin Catterall www.masonsmusic.co.uk
Director T: +44 (0)1424 427562
Masons Music Ltd F: +44 (0)1424 434362
For full company details see our web site
TextMate version 2.0-alpha.9495 on OS X 10.9 (Mavericks)
Clean install, no customisations, using the version of Apache that comes with Mavericks.
Bundles > Apache > Open Config…
fails with the following:
> sh: : command not found
> Open Config…:40:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
> from Open Config…:40
Should I report this to the Apache bundle maintainer? If so, is this the right place to report an issue:
https://github.com/textmate/apache.tmbundle/issues
Thanks in advance.
Best, Darren
Hi,
I'm trying to symlink parts of my Application Support folder off into
Dropbox so I can share between machines.
In doing so, I noticed some rather odd behaviour. My belief was that
TextMate2 used the ~/Application Support/Avian folder for everything you
install and all it's deltas but that it still loads items from
~/Application Support/TextMate so that you can pull your old
bundles/plugins etc. from TextMate1.
However, there seem to be inconsistencies. When I double click a .tmbundle
file, this seems to be installed into the Avian folder but when I double
click a .tmplugin file this goes into the TextMate folder.
Am I completely misunderstanding how this stuff works? Which of the folders
is it I need to symlink out, or both to be able to share between machines?
Dom
I just installed 10.9 on my 15-inch, Mid 2010 MacBook Pro. gfxCardStatus is now
telling me that whenever Textmate (2.0-alpha.9489) is running, the system uses
the nVidia discrete graphics card. Textmate is listed in the Dependencies, so
it is definitely what is causing the switch. Textmate is also listed as an App
Using Significant Energy under the battery status menu.
I don't think this was happening before the upgrade to Mavericks, though it
might have come in with the latest build of TM and I just didn't notice.
Anybody else seen this?
After a few years using Textmate to type LaTeX, I updated to Textmate 2. I'm
happy with it but I still have a few problems.
The label completion ceased to work. I type \ref{} and press Command+Esc,
but instead of getting a list of labels I get the following error message on
a window:
Failure running “Label Based on Current Word / Selection…”.
Label Based on Current Word / Selection…:9: invalid regular expression;
there's no previous pattern, to which '{' would define cardinality at 1:
/{}/ (RegexpError)
Does this mean it hasn't found any labels? Of course, I'm testing this on a
file where (many) labels were defined.
BTW, completion for bibliographical labels (\cite{}) is working as before.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-label-completion-in-Textmate-2-…
Sent from the textmate users mailing list archive at Nabble.com.
I have found how to disable parent autocomplete, here the step:
- Bundles Menu -> Edit Bundles
- Select PHP -> Menu Actions -> Declarations -> Insert Call to Parent
- Remove check mark on Enable this item
- Save
Hello, I'am a new member.
I found a bug in version 2.0-alpha.9495 when I have the $parent variable and press tab after that, I get autocomplete I did not expect:
- When the $parent variable in the function in a class, such as the example below:
class myClass {
public function myFunction ($attr ='') {
$parent{tab}
}
}
Will produce:
class myClass {
public function myFunction ($attr ='') {
$parent::myFunction($attr);
}
}
- When the variable in the class, such as the example below:
class myClass {
public $parent{tab}
}
Will result in:
class myClass {
public $
}parent
- When the variable in the php file, not in the last line, such as the example below:
<?php
$parent{tab}
function myFunction () { }
?>
Will result in:
<?php
$
function myFunction () { }
?>parent
- When the variable below the function , such as the example below:
<?php
function myFunction () { }
$parent{tab}
?>
Will result in:
<?php
function myFunction () { }
$parent::myFunction();
?>
However, if $parent variable in the empty php file and the last line, will result in a tab character should be.
How can I disable the autocomplete function on the tab?
Thank you
Hi Everyone
Just started using TextMate 2 yesterday for coding websites (html5, css, php) and I really like it so far. It's running very stable on OS X mountain lion (not one crash yet). I'm sick of using Dreamweaver because it has bugs and other free titles like blueGriffon are still too buggy on the Mac. The find and replace window you guys built trashes dreamweaver's and runs really fast (except find/replace for "open files" is grayed out). Tabs are great, love the file browser as well. All in all it works fast, stable and looks great.
I'm not a programmer by trade so I hope to give you all some feedback coming from an artist's perspective as I work and see places for improvement.
So far I cannot get my PHP sites to preview. I get errors that the files can't be found even though they are there and if I preview in my browser using MAMP they work fine and also validate with using Validator S.A.C.
I also noticed that when adding php into parts of HTML the syntax highlighting is not consistent (see image below). This primarily happens when doing something like this:
<div class="headerBanner <?php echo $bannerClass; ?>">
<div class="bannerText"><p><?php echo $bannerText; ?></p></div>
</div>
Also, when using simple PHP stuff like this and not adding a semicolon at the end it also messes up the following syntax highlighting. As far as I know having the semicolon is optional in a case like this. See following images.
Some features I'd like to see added in the future:
It would be nice to have robust preferences/tool for creating syntax highlighting themes and an option to adjust the highlight color. The dark background themes you have are great but I would like to adjust them without having to get into coding since I'm not a programmer. Dreamweaver is pretty good at this although the preview window it gives you is way too small with too little example code. Something like that only done properly would be ideal, and the ability to save and pull up themes quickly would be nice such as in a Themes Panel.
Having icon/toolbar on the top and/or left of the UI would help for quick things, such as turning selection into a comment, uncommenting, folding, formatting, previewing, etc. Dreamweaver users will be familiar with this. For someone like me who uses so many applications, it's getting to the point where remembering more commands may cause cerebral hemorrhaging :P
Biggest thing I could use are code hints. With all the new HTML5 and CSS3 stuff sometimes it's hard to remember every property or value that is accepted. A simple little contextual list that pops up to the right of the code one is typing would be great. I'm sure this would be a bit involved if you haven't started building it but is so handy for web development. blueGriffon has this feature so there should be a way you can do this and avoid patent problems.
Would be great to be able to show favorites panel and the file browser simultaneously and be able to move their location and adjust the divider(s) between them. Ideally, the ability to move panels around allows each user to put things where they want them. The way QT does this is nice although not FOSS.
I would also like to see support for RTF text format. I'd rather use TextMate instead of Apple's TextEdit but it seems I can only make plain text files in TextMate. This would not be for crazy layout/design stuff, but just for taking notes and technical documents so I can use different fonts on my system and adjust font size and styling (B/I/U) on a per character/word/paragraph basis, add hyperlinks, and toss in the occasional image if needed. Basically what an email client allows you to do. If there is a way to do this now please let me know.
I would also like to see some additional formatting options for web development. For CSS control+Q works great, but control+alt+Q removes ALL the spaces. Having more control over this would help during different stages of a project so it's legible until I want to strip the spaces before pushing live. Dreamweaver let's you set various global preferences for CSS formatting like this. It would be nice to be able to adjust this in the preferences so I can get spaces in between properties for legibility:
example: html{height:100%;width:100%;} would become--> html { height:100%; width:100%; }
Also, for formatting (at least CSS), having options like this would help: space before comment, space after comment, one selector per line, one property per line. This way when formatting the file and not just a selection, things would be properly spaced apart, indented, etc. Either the prefs should allow for globally setting this, or variations on control+Q should do it (I also detest using the control key so maybe.
Something that would also be cool is to convert text to HTML ASCII and other methods of munging text and email addresses. I saw the ROT13 stuff but that might be more than needed for what I do in most cases and not sure how compatible it is (i.e. if a user has javascript disabled).
-----------------------
Here's a few more things to look at for future builds.
HTML and PHP do not auto-format properly. The HTML "Tidy" feature adds in doctype and extra tags I don't need because I'm using PHP and includes to build sites. There should be a way to format HTML and PHP (html files, php files with html, or php functions file) where it indents things properly, leaves spaces between different parts of the document that users can specify, and corrects orphaned or unclosed tags and such. If I try to control+Q on PHP functions it moves them all to the bottom of the document away from the comments and just jacks it all up. Same with control+alt+Q. Examples below of before and after.
When reformatting CSS with @font-face, control+alt+Q produces weird results and some strange looking white box symbol. control+Q works fine.
--------------------------
Anyway, hope some of the explanations will help. I'm not a programmer so the most I can do is make suggestions. If you'd like me to mockup any of my ideas as far as how they could work in a UI, let me know.
thanks
D
brieftrager(a)bigzite.com
I haven't been editing any PHP for several weeks so not sure when it
stopped working but I use the "out of the box" PHP bundle which has a
*doc* autocomplete
that now is giving the following error:
[image: Inline images 1]
As far as I know I haven't made any changes. Is there any way I can get
this back to working? I use this function all the time.
Ken
This list has become somewhat painful to read because the email threading is not working properly. For example Allan's responses almost always break threading. MailMate problem? Something else? Can we fix this pretty please?
Thanks
Gerd
Hi there,
I just upgraded to TextMate 2, and noticed that script and style tags don't
fold. The HTML bundle settings for folding seem sensible, so not sure why
this doesn't work. Is there some special pre-processing of such tags that
causes folding to not work (or is it working for everyone but me)? It
worked fine in the previous version I was using.
Best,
Linda
Hello,
Is the e-mail address that’s listed in the crash report dialog recorded in an accessible location?
I’d like to make use of it in a bundle.
Gary Ash
12946 Beresford E-mail: Gary.Ash(a)icloud.com
Sterling Heights, MI 48313 Phone: (586) 731-1744
Cell: (586) 201-0610
Fax: (586) 731-7016
Hi guys,
I'm hoping you can help. I've somehow managed to turn off code coloring, so
my code now appears the same color no matter what. I also created two
snippets in the PHP bundle that I can't figure out how to remove.
I've tried changing themes, uninstalling, quitting, then re-installing the
themes bundle, opening HTML, CSS and PHP files, changing the selector at the
bottom of the application to specify what language I'm using, all to no
avail.
I've also completely uninstalled/removed TM2 using AppZapper and then also
manually the Avian directory in Application Support and "re-installed" but
it still remembers the incorrect snippets in the bundle and doesn't
re-instate code coloring. TM2 remembered my preferences even after
completely removing the application, I had to remove, restart, then
"install" it again to get rid of those. Even still, the snippets remain (I
have no idea how, I'm deleting the app, remove the TextMate & Avian
directories in Application Support and the com.macromates files in
Preferences) and code coloring doesn't work.
I'm using the latest Nightly Build of TM2 in Mavericks Build 13A603.
If no one has any ideas, if you could tell me how to fully remove the app
and any/all associated files, I can have a shot at starting fresh and fixing
whatever I broke, I'm obviously missing something but I don't know what.
Thanks!
--
View this message in context: http://textmate.1073791.n5.nabble.com/I-ve-somehow-broken-TM2-code-coloring…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
I just updated to TextMate version 2.0-alpha.9489 and Max os X 10.9.
I have some trouble with the Subversion bundle. The reason is, that the bundle is not up to date.
The checkbox „Keep bundles updated“ under Preferences -> "Software Update" is activated. The bundle list under Preferences -> Bundles tells me, that the Subversion bundle has been updated 3 months ago.
But that is not correct: the git repository has been updated 3 days ago.
I also tried to follow these „Reverting to default“ steps: https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
But i did not solve the issue.
Is there anybody who can give me some advice?
Thanks.
Jens
Yes, that happens here as well (OS X 10.9.0 and TextMate 2.0-alpha.9493), and I have also recently reset the LaTeX bundle. TextMate also jumps after doing searches, it will get stuck on another occurrence of the search term and only after I press another key it would jump to the actual place where the caret is.
Max
Apologies if this has been addressed before.
I would like to use the Control-Option-Shift-P shortcut to set the language of my document to Python, and never anything else.
Currently, I get all 6 grammars that start with P displayed, and so I can go on to choose #6, for example.
I know that if I unselect language support in the preferences, then that language is uninstalled and doesn't show up in the "P-list" anymore.
Is there a way to remove languages from the shortcut list but still have support for that language grammar if I open a file of that format?
Thanks...
Hi,
I have created a bundle (https://github.com/peeyush1234/reek.tmbundle),
that looks for any code smell in ruby file. The bundle uses reek (
https://github.com/troessner/reek) for smelling code. I would like to add
the bundle to the TextMate organization on github (Or where ever all the
TextMate bundles are kept).
What should be my next steps for the bundle?
Thanks,
Peeyush
Is there a keyboard command to bring up the find dialog where the 'In:'
dropdown is set to selection. Or a key command that works while the dialog
is in focus?
Thanks.
I don't recall this being an issue before, but it seems that the underlying
search (IIRC it uses ack?) is no longer ignoring binaries as of build 9491.
This is causing the dratted beachball on every search I do in my project,
as well as severely polluting the results.
The binary is accessed via a symbolic link, if that matters.
Hi all,
As suggested I've upgraded to 2-0 to keep compatibility with my new
Mavericks OSX system.
I've noticed some changes, in fact some missing features I found useful on
previous textmate's versions:
1. no more transparency
2. when coding in Python, indentation is no more cancelled when typing ":"
(I explain: when introducing an if statement, you type if test: then after
the return your code is automatically indented, that's normal but when you
type else: the ":" is expected to cancel the indentation of the else so it
is well aligned with the if... that was the behavior of the previous
versions)
Do I miss some configuration or is it a known bug?
Thanks for answers,
--
Sébastien Hoarau
The recursive scan in the LaTeX bundle Insert Citation command was working with TextMate 9489 until I tried OS 10.9. It doesn't work any more when I hit Control-Shift-{ or Option-Escape. Anything I could do to fix this issue?
Here is the message from the bundle:
/Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:204:in `recursive_scan': undefined method `each_with_index' for #<String:0x007fd7019781e8> (NoMethodError)
from /Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:256:in `cite_scan'
from /Users/gweltaz/Library/Application Support/Avian/Pristine Copy/Bundles/latex.tmbundle/Support/lib/LaTeXUtils.rb:63:in `get_citations'
from Citation Based on Current Word / Selection…:8:in `<main>'
Gildas
Hello all,
I've been cleaning up the JavaScript grammar and as I get started on
this next round of cleanups, I've run into some inconsistencies in the
grammar that have led to the following questions:
* When adding a language specific implementation of a grammar group, like
comment.block for JavaScript, should the name of the group be comment.block
(expected) or comment.block.js (What's there now)? (I can't tell if I use
the name that corresponds with the root group, comment.block, or if I add
the language name to the end like comment.block.js.)
* Is there a way to have certain grammar features enabled based on the
existence, or lack of, a certain "enabler" in the file? (For example,
JavaScript has a strict mode to mark extra words as keywords due to
potential plans for supporting them as keywords in the future. That being
said, if you have "use strict;" in your file, certain keywords should be
scoped that wouldn't be otherwise *and* variable names with those keywords
should be marked as invalid.)
* Why isn't 'null' treated as a constant like undefined/Infinity/NaN?
Right now it's constant.language.null.js but I'd expect it to be
constant.language.js.
These questions, while specifically about JavaScript's implementation, are
really general questions about naming, feature enablement and what defines
when you break away from root groups and define your own groups. Any help
would be appreciated.
--
Take care,
Jeremy Whitlock (@whitlockjc on Twitter)
http://www.thoughtspark.org
Dear Users,
After I upgraded from the previous version to 2.0-alpha.9487, I noticed
that the Textmate log windows remains open even when we don't check the box
"Keep log window open" in the Latex Preferences.
Is there any adjustment that I am missing?
Best,
S.V.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-and-TM2-version-2-0-alpha-9487-…
Sent from the textmate users mailing list archive at Nabble.com.
I¹ve just noticed that its possible to fold TODOs using the little arrows in
the margins. Is it possible to fold all TODOs in a document using a keyboard
shortcut?
Thanks
Ross
Lets say I have a list of code like this
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- "test"
foo <- ³test"
Is it possible to automate the insertion of columns of numbers. The output
should be this:
foo1 <- "test1"
foo2 <- "test2"
foo3 <- "test3"
foo4 <- "test4"
foo5 <- "test5"
foo6 <- "test6"
foo7 <- "test7"
foo8 <- "test8"
foo9 <- "test9"
foo10 <- ³test10²
Is there perhaps a regex or other automation that could be used? I¹m aware
that it is possible to insert line numbers but this will only be useful if
the 10 lines of code happen to be on lines 1-10.
Thanks
Ross
I noticed that source code files in preview look very similar to the way
TextMate displays the same content.
Did TextMate 2 add the feature or was it always part of Finder?
Preview I am talking about is triggered in Finder when you press a space
on a keyboard.
I am using TextMate to write some R code. At the moment, I have R code that
looks like this:
foofoofoofoofoofoo <- NULL
foofoofoofoo <- NULL
foofoofoofoofoo <- NULL
foofoofoo <- NULL
foofoofoofoofoofoofoofoofoofoo <- NULL
Is there a way to automate aligning all <- within a block of code, like
this:
foofoofoofoofoofoo <- NULL
foofoofoofoo <- NULL
Foofoofoofoofoo <- NULL
foofoofoo <- NULL
foofoofoofoofoofoofoofoofoofoo <- NULL
Many thanks
Ross
I created a snippet for graphviz for subgraphs as follows:
subgraph cluster_${1/[[:alpha:]]+|( )/(?1:_:\L$0)/g} {
style = filled;
bgcolor = lightgrey;
$0
label = "$1"
}
With it in TM1, I can quickly create snippets such as:
subgraph cluster_subgraph_label {
style = filled;
bgcolor = lightgrey;
label = "Subgraph Label"
}
In TM1, after expanding the snippet, the cursor moves to the 'label = "$1"'
location of the $1 placeholder. However, in TM2, the cursor jumps up to the
subgraph_cluster_ line, where I'm unable to take advantage of the text
transformation there. I guess this would work if reworked the
transformation to be on second $1, but wanted to know what the consistent
behavior is or will be.
Thank you for your help.
Hi,
I want to create a snippet which takes takes the filename, removes the extension and converts the remaining string to uppercase, i.e. "filename.txt" -> "FILENAME".
So far I have ended up with
${TM_FILENAME/(.*)[.](.*)/\u$1/g},
but the \u only converts the first character of the string to uppercase, i.e. I get "Filename". Is there any way to convert the whole string to uppercase?
Regards,
Carsten
I trying to make a regular expression to find ³this is a test² is the
following string:
<a href="index.cfm?action=search.listings&test=6&view=names">this is
a test</a>
This is the regular expression:
(?<=.+).+(?=</a>)
The regular expression is not matching anything. Is there something I¹m
doing wrong here or does TextMate not support the regular expression flavour
I¹m trying to use?
Thanks
Ross
I just discovered another way that line numbers are not displayed correctly.
With line numbers visible. Press Cmd-Option-L to hide line numbers.
Then press Cmd-Option-L again to show them. When I do this the line
numbers always start at 1 regardless of where I currently am in the
file.
Anyone else seeing this?
Is it possible to save a macro that uses the find & replace dialogue box?
Lets say I want to save a macro that uses find & replace with a regular
expression to surround any number with ³**". For example, the macro would
replace any instances of ³123" with **123**. Is this possible?
Thanks
Ross
I trying to add the ability to run jshint on a document which has changes that haven't been saved to the filesystem to the jshint.tmbundle bundle:
https://github.com/fgnass/jshint.tmbundle
I wondered if there was a way to have textmate make a tmp file of the current document so I could pass that file in a command line invocation of jshint.
I was also checking out the Preview command in html.tmbundle and noticed that if I saved a file, added some text and ran Preview without saving the preview showed the new html content.
The code in the "Show Web Preview": command is pretty simple but it's not at all clear to me how it works to accomplish this:
https://github.com/textmate/html.tmbundle/blob/master/Commands/Show%20Web%2…
#!/bin/sh
if [[ -e "$TM_FILEPATH" ]]; then
echo "<base href=\"file://$TM_FILEPATH\">"
fi
cat
Does anyone have any suggestions of perhaps another bundle I can look at which does something like this?
FYI: this is the current command that invokes jshint in jshint.tmbundle:
https://github.com/fgnass/jshint.tmbundle/blob/master/Commands/Save%20and%2…
I've noticed a problem where if I have more than one tab in a window.
When make a different tab the active tab, the line numbers displayed
are those from the tab I just left. I can always reproduce this.
In the case I'm experiencing at the moment, the file in the tab I'm
leaving is only 24 lines long and so has no need for scrollbars, where
as the tab I'm activating has many lines. I scroll so that line one
is not visible. I then change to the other tab, then change back
again. I see line numbers starting at one. But it is not really line
one that is being displayed. If I Cmd-UpArrow. The line number
display is again in sync.
Is it possible for word completion to work on any open file or any file in a
project? Or in other words, lets say I press escape key to complete a word
which isn¹t in the current file, can I set up completion to cycle through
words that are in an open file and/or a project?
Thanks
Ross
After downloading 2.0-alpha.9477, the .txt and .tex files I open with TextMate by default lost their TextMate mini-icons and looked like blank files. I had to downgrade to 9475. Will the old behavior be restored?
--Gildas
Some applications. (e.g. the great "better_errors" Ruby gem [1]) encode
spaces as "+" when creating txmt://-URLs. This is also the default
behaviour of tje URI.encode_www_form_component and CGI.escape methods.
Currently, trying to open such an URL in TextMmate fails with "File Does
not Exist".
It works correctly though if I change the URL to use "%20" instead of "+".
My question is: Should TextMate support "+" in txmt://-URLs, or should I
submit a pull request for better_errors to generate URLs using "%20"
instead?
Regards,
Stefan
[1]: https://github.com/charliesome/better_errors
Selecting the following text strings and pressing Ctrl+T -> the resulting string, which seems incorrect:
@arr, ',' -> ',' ,rra@
$arr >= ">=" -> "=>" => rra$
Sorry if this has already been posted. I didn't see it in the Aug 2013 Archives.
regards - David
I’m working on a bundle command. In TextMate 2 (9475), I see “Completion List” as an option for the command’s output.
It doesn’t seem to do anything, but maybe I’m not sending the list in the right format.
Is this one of those things that hasn’t been implemented yet?
--
Rob McBroom
<http://www.skurfer.com/>
I have several files in a folder (all parts of a latex document).
When I run the "Show TODO list" command it just searches the current document.
The help file says "The “Show TODO List” command will scan your current document (on disk) or documents in your project for lines containing certain tags (see below)."
How do i search across all of files in a folder to find TODO items?
Thank you,
Christopher
*****************************************************
Operations and Information Management Group,
Aston Business School, Aston University,
Birmingham, B4 7ET, UNITED KINGDOM
Web: http://windermere.aston.ac.uk/~kiffer
Tel: +44 121 204 3233
Skype: christopherbrewster
SkypeIn (UK): +44 (20) 8144 0088
Twitter: @cbrewster
*****************************************************
Howdy,
A perplexing question. I just downloaded and installed TextMate 2.0 alpha
build 9465 and registered it. I played around a bit and after I was
finished, I uninstalled it, rebooted and reinstalled it. When I went to
register it again, it was already registered. From whence did the previous
registration come from?
For the record, I found and deleted all files/directories discovered using
"sudo find / -iname *textmate*" and "sudo find / -iname *macromates*".
That included components in:
1. /Applications
2. /private/var/db/BootCaches/....
3. ~/Library/Application Support/Avian & TextMate
4. ~/Library/Caches
5. ~/Library/Preferences
I'm losing sleep over this... I'd love to know where the registration was
picked up from. This is completely reproducible.
Thanks in advance,
Mark
--
View this message in context: http://textmate.1073791.n5.nabble.com/Where-is-a-reinstall-of-TextMate-2-al…
Sent from the textmate users mailing list archive at Nabble.com.
When a word is highlighted as being spelled incorrectly I control click on it to get a list of corrections and then select one. Is there any way to improve on this such as not using the mouse or tracker pad?
The sort of short cut I an thinking of is as soon as I have typed a word and it is shown as an error to be able to press some key combination to show the correction list and then use the number keys to select the correct word.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Hi everyone
I think there is a bug into some themes with PHP,
it doesn't color what it is in braces into a double-quotes string (Complex (curly) syntax)
http://www.php.net/manual/en/language.types.string.php#language.types.strin…
Here are exemples :
With Espresso Libre theme
Brackets should be in brown not green.
With Cobalt theme
db should be in white not yellow, but at least braces and brackets are in light
Do you have the same issue?
Cheers,
Ronan
I'm trying to change the hotkey in the PHP bundle's validation function to
CMD-S from the default but when I try and save the bundle I get an error
saying there was an error:
[image: Inline images 1]
I've done the exact change on another machine without any problems. How do
I get around this?
Ken
Hello everyone,
I am using TextMate 2.0-alpha.9459 on Mac OS X 10.8.4 and would like to
find out why "C++ member function completion" is showing the following
error message, when I try to use that bundle:
Failure running “C++ member function completion”.
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require': no such file to load -- treetop (LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`require'
from /Users/chris/Library/Application Support/TextMate/Managed/Bundles/C++
completion.tmbundle/Support/cpp_completion.rb:5
from C++ member function completion:6:in `require'
from C++ member function completion:6
It is entirely possible that my Ruby setup is incorrect as I have not used
it before. What I would like to know is, if this bundle (C++ code
completion) should generally work or if it will only work in a previous
TextMate version.
Thanks and best regards, Chris
Has anyone had any experience with the asciidoc bundle https://github.com/zuckschwerdt/asciidoc.tmbundle with Textmate 2 or has a better one they are prepared to share?
This bundle has had little work done on it in the last 3 years so was written with Textmate 1 in mind. Also since then a nicer toolchain for processing asciidoc files called asciidoctor has been written and is being actively developed.
Thanks,
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Hi
Please be aware that it is possible to have a file containing different contents in TextMate and TextEdit.
Example:
- You open <file> and you see a text clipping from Notes.app
- You open the same <file> in TextMate and it is blank.
- You then try and Save the same file in TextMate and it does not register the change in TextEdit
- You reopen the file in both applications and the differences remain.
Kind regards
Craig Fairhurst
craigfairhurst(a)me.com
Trying to run (compile) C from latest build of textmate 2.
Xcode command line tools are installed.
Yet I get this error:
The best i can find is "xrcund.1" which in the second to last path variable.
Yet running xcrun from the CLI works.
Allan,
> Can you try, on your Mac, to run:
>
> telnet localhost 52698
>
> That should indicate if TextMate is listening. If this works, then try
> the same on your server to check the tunnel is working.
Thank you for the message. I did the above:
1) On the Mac:
telnet localhost 52698
Trying ::1...
Connected to localhost.
Escape character is '^]'.
220 blinky.local RMATE TextMate (Darwin 12.4.0)
So, it seems to work fine.
2) Next from the remote server. First, I ssh with verbosity on:
[snip]
debug1: Remote connections from LOCALHOST:52698 forwarded to local address localhost:52698
debug1: channel 0: new [client-session]
debug1: Requesting no-more-sessions(a)openssh.com
debug1: Entering interactive session.
debug1: remote forward success for: listen 52698, connect localhost:52698
debug1: All remote forwarding requests processed
debug1: Sending environment.
debug1: Sending env RMATE_PORT = 52698
debug1: Sending env LANG = en_US.UTF-8
debug1: Sending env LC_CTYPE = en_US.UTF-8
So, the forwarding seems to be enabled. Recall that my ssh configuration is:
Host REDACTED.HOST1
RemoteForward 52698 localhost:52698
SendEnv RMATE_*
I then try the telnet on the remote system:
telnet localhost 52698
debug1: client_input_channel_open: ctype forwarded-tcpip rchan 3 win 2097152 max 32768
debug1: client_request_forwarded_tcpip: listen localhost port 52698, originator 127.0.0.1 port 47996
debug1: connect_next: host localhost ([127.0.0.1]:52698) in progress, fd=8
debug1: channel 1: new [127.0.0.1]
debug1: confirm forwarded-tcpip
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
debug1: channel 1: connection failed: Connection refused
connect_to localhost port 52698: failed.
debug1: channel 1: free: 127.0.0.1, nchannels 2
Connection closed by foreign host.
So, it fails the connection...
Any idea why that would be the case all of a sudden (on multiple servers)? Particularly if it is responsive on the Mac.
Thanks,
Brian
I have been using rmate via an ssh tunnel with a several of my clusters since the 2.0 alpha first appeared; however, since updating to alpha.9459, rmate reports:
connect_to localhost port 52698: failed.
/share/frinkraid/powellb/bin/rmate:153:in `readline': end of file reached (EOFError)
from /share/frinkraid/powellb/bin/rmate:153:in `connect_and_handle_cmds'
from /share/frinkraid/powellb/bin/rmate:192
from /share/frinkraid/powellb/bin/rmate:191:in `fork'
from /share/frinkraid/powellb/bin/rmate:191
I updated the rmate to the latest standalone from https://github.com/textmate/rmate#standalone and the exact same error is reported. My .ssh/config has always been configured as:
Host REDACTED.HOST1
RemoteForward 52698 localhost:52698
SendEnv RMATE_*
Anyone else having trouble or suggestions? I have never had an issue with it before. The only change was updated texmate to 9459, then updating to the latest rmate hoping it would clear the problem.
Thanks,
Brian
I think that the Latex Watch is experimenting problems after the upgrades in
TM 2. To be sure, I need to know how do I correctly set the TM_LATEX_MASTER
in the .tm_properties file.
I was using TM_LATEX_MASTER = foo.tex
It is not working anymore. I tried:
TM_LATEX_MASTER = 'foo.tex'
TM_LATEX_MASTER = "foo.tex"
TM_LATEX_MASTER = /foo.tex
TM_LATEX_MASTER = '/foo.tex'
TM_LATEX_MASTER = "/foo.tex"
TM_LATEX_MASTER = ./foo.tex
and etc
What should I do?
--
View this message in context: http://textmate.1073791.n5.nabble.com/TM-LATEX-MASTER-and-Latex-Watch-tp267…
Sent from the textmate users mailing list archive at Nabble.com.
While I appreciate the desire to bring rmate into the rubygem fold, it
presents some difficulties.
Prior, I could install rmate into ~/bin on any machine I had ssh access to,
quickly and easily by copying the guts of the script. This let me minimize
my impact on remote machines that I needed to work on. (FWIW, I do most of
my work on client machines of, let's say, older vintage, with extremely
locked down environments. rmate is my secret sauce.)
Now, I find myself needing to install rubygems on the remote machine, just
to keep working, and without admin access.
In the interest of retaining my remaining hair, what's the quick and dirty
way of installing rmate on remote machines now, when one does not have
admin rights to do a simple install of rubygems?
Failures:
% rmate mpp
/work/users/jsmith/bin/rmate:12:in `require': no such file to load -- rmate
(LoadError)
from /work/users/jsmith/bin/rmate:12
[ install rubygems in ~/bin ]
% gem install rmate
/work/users/jsmith/bin/gem:8:in `require': no such file to load -- rubygems
(LoadError)
from /work/users/jsmith/bin/gem:8
% printenv GEM_HOME
~/bin/gems/
Comment Line / Selection:16:in `require': no such file to load -- /lib/escape (LoadError)
from Comment Line / Selection:16
This is on a pretty vanilla install of TextMate version 2.0-alpha.9449
It was working fine last week. Also saw another error earlier but got distracted and forgot to make a note of it. If I see it again I’ll report it.
Let me know if you need further details.
Best, Darren
Hello everybody,
when in LaTeX mode inside a \cite{}-command I hit alt+ESC to trigger the BibdeskCompletion I get the following result:
\cite{2013-07-30 12:17:02.193 osascript[53111:707] Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: dlopen(/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types, 262): no suitable image found. Did find:
/Library/ScriptingAdditions/Adobe Unit Types.osax/Contents/MacOS/Adobe Unit Types: no matching architecture in universal wrapper
osascript: OpenScripting.framework - scripting addition "/Library/ScriptingAdditions/Adobe Unit Types.osax" declares no loadable handlers.
Bourbaki98General-topology}
(the dialog for choosing the citation displays correctly and the label "Bourbaki98General-topology" gets inserted correctly, but preceded by some error messages that I do not understand). This occurred after updating my entire system, so I cannot say which piece of software might be relevant for the bug.
Any suggestions?
Best, Christoph
-------------------------------------------------------------------------------------
Christoph Wockel
Bereich Algebra und Zahlentheorie
Fachbereich Mathematik, Universität Hamburg
Bundesstraße 55
20146 Hamburg
Germany
Tel.: +49 (0) 40 / 42838 - 5194
Fax: +49 (0) 40 / 42838 - 5190
www.wockel.eu
I am running Textmate 2 build 9453 on 10.8.4, and I have a problem with the LaTeX bundle that started sometime after I upgraded to Textmate 2. The autocompletion <esc> button does nothing when in a \ref{} tag. It works inside \label{}. And pressing opt+esc correctly brings up the list of tags when inside \ref{}. But the esc button alone does nothing inside \ref{}. Is this problem known? And if so, does anyone know a fix?
Hi,
Is anybody working on adding automation functionality to TM2 ?
I'm currently using TMTOOLS for my personal bundles, but I'd love to have something "official", sharable, and maybe better integrated.
I cloned the source base and looking at the code I'm beginning to have a [very] general idea of how it could be implemented. I don't know how TMTOOLS does its magic (sources anywhere?) but something along the lines of the command line "mate" utility could work, maybe just extending its commands beyond just "open"
Thanks for any information.
Gualo
Where can I find this bundle? I looked in the preferences list, but
didn't find it. Perhaps I have the name wrong. It would be handy to
share code directly from inside TM2.
--Lewy
On 7/26/13 4:00 AM, textmate-request(a)lists.macromates.com wrote:
> I tried to use the Paste Selection Online bundle item
Just attempted to build from master at github. A problem introduced in one of the July 26 commits?
[120/984] Run test ‘/Users/louis/bui...te/Frameworks/buffer/test_buffer’…
FAILED: /Users/louis/build/TextMate/Frameworks/buffer/test_buffer && touch /Users/louis/build/TextMate/Frameworks/buffer/test_buffer.run
test_buffer(10037,0x109f85000) malloc: *** error for object 0x7feb10d13ed0: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
/bin/sh: line 1: 10037 Abort trap: 6 /Users/louis/build/TextMate/Frameworks/buffer/test_buffer
ninja: build stopped: subcommand failed.
I was trying to share some code with a friend to get a second set of
eyes on an error I was having,but when I tried to use the Paste
Selection Online bundle item, it reported a 404. So I tried going
directly to http://pastie.textmate.org to paste it manually, but when I
did, it reported it as an unknown domain. Is pastie gone? If so, is
there some way to make the bundle item work with another pastebin service
--
Keith Solomon - ksolomon(a)gmail.com
My Blog - http://keithsolomon.net/
TextMate (both 1 and 2) for some reason makes my MBP (Mid-2010) use the discrete graphics card. In OS X 10.9 we are going to get a nice dialog which shows the apps that use 'significant energy'. TextMate is listed amongst them (see screenshot).
Just a FYI. Would be nice to 'fix' (saves a bit of power). But I'm curious what triggers this behavior. As far as I know I haven't seen any animations or anything that couldn't be easily handled by the internal graphics. It happens right away after launch, an empty edit window is enough.
OT: Wow, I just realized that I've been using TextMate now for almost 9 years (Oct 2004). How time flies. Except for searching within big projects the editor always felt 'new' and slick, and I've upgraded to TM2 only last week. It has been good for me, with hours of usage nearly every day. And TM2 has been doing quite well thus far. Well done :)
--
Joost Schuttelaar
The Hague, NL
Alright, this may be an extreme boundary case, but it just bit me hard at
work, so I thought I'd give a heads up.
1) Work server is accessed via SMB.
2) Batch Find All/Replace All is done for some API changes.
3) Second Find All/Replace All is started, alert pops up "would you like to
save your changes?" Yes, please.
4) Everything looks good.
5) *Some* files on server *are not changed*. Others are correctly edited.
6) Files that are not saved properly have permissions of rw-r--r--. Files
that are saved properly have rw-rw-r--.
Now, the fix is to change permissions, but I want to point out that *this
failed silently*. That to me is the problem. If I save the files
individually, I get a helpful "The file Foo is locked. Do you want to
overwrite it anyway?", but if they're saved as an action from the Find
panel... no warnings, no alerts, nothing. Silent failure.
Just FYI.
Hi,
Every now and then (very rarely though) the folding for a file becomes quite messed up. I seem to remember there was a quick workaround discussed somewhere how to clean that up, though I can't find it. So what I usually need to do is quit TM and
xattr -d com.macromates.folded FileWithBrokenFolds
So was there a command in TM that does something equivalent?
Thanks
Gerd
Hello Users
This question is bugging me since I started using TM 2 Alpha versions.
When the final version of TM 2 (Mac OS X version with installer) gets
released, do I have to purchase a license key? Will it work for free
(without any ads and pop-up reminders etc)?
Please let me know.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
Sent from the textmate users mailing list archive at Nabble.com.
I wrote this up and tried to send it earlier (via the wrong account… oops, it was rejected). I must say, my thoughts go very much with Ken, in that I like this list, it has been extremely helpful and friendly, and this discussion is starting to sound more like personal attacks than reasonable discourse. With that, here are my thoughts:
Kafi, you are absolutely correct that "just because it's open source does not mean you must pay". At the same time, just because it has an open source license does not mean that the developer is required to give it away for free. Often, open source projects ARE free, and this is a perk for many users… but it should never be assumed that free software is a RIGHT of the user. Additionally, most of the open source projects you mention have MANY contributors who work on the project in their spare time, while TM2 has (essentially) just Mr. Odgaard, so in a way, yes, his time is worth more than many of those others (only because this project workload isn't being split among many developers).
As many others have said, if you find it useful, pay for it. If you are unable to pay for it, find a way to earn the money, or find another tool. Perhaps Mr. Odgaard will offer some sort of academic or non-commercial license, but in no way is he compelled to do so by releasing TextMate2 under an open source license.
With all that said, as a Ph.D. student, I never turn down academic discounts. TM has an academic discount of 15% available for students or staff at academic institutions. I'll purchase a license if I decide to write my thesis in TM2 rather than Scrivener (a decision that will be occurring in the next few weeks…). Thus far, it's one of the more enjoyable text editors I've used, and has piqued my interest away from my former editor of choice, TextWrangler (which IS free and supports LaTeX syntax, if you demand those qualities in your software, Kafi).
Anyway, sorry for the tirade; this is a matter in which I'm slowly maturing beyond my teenage piracy habits, and something which I've given a lot of thought to in the past couple of years.
Dustin Wheeler
mskblackbelt(a)me.com
On Jul 18, 2013, at 3:40 PM, 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. Re: Do I have to pay for the final TM 2 license key?
> (Chris Knight)
> 2. Re: Do I have to pay for the final TM 2 license key?
> (Bob Hartung)
> 3. Re: Do I have to pay for the final TM 2 license key? (kafi)
> 4. Re: Do I have to pay for the final TM 2 license key? (kafi)
> 5. Re: Do I have to pay for the final TM 2 license key? (kafi)
> 6. Re: Do I have to pay for the final TM 2 license key? (Ken Snyder)
> 7. Re: Do I have to pay for the final TM 2 license key?
> (Melton Low (app))
>
> From: Chris Knight <cpk.stealth(a)gmail.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 2:13:32 PM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Take a look at the license agreements for the Qt cross-platform programming library. To use it commercially you must by licensing from Digia (formerly Nokia and before that Trolltech) and non-commecial use can use what is provided by the Qt-Project.
>
> Qt is used by literally hundreds of applications including some pretty big ones such as KDE. Having to pay for a commercial license on open-source software is not new.
>
> Here is a question for you. Why should anyone write software and give it away for you to use for free?
>
>
> On Jul 18, 2013, at 12:03 PM, kafi wrote:
>
>> Just because Im using an open source software does not mean I need to pay for
>> it. I have been using Open Office for personal projects for the last couple
>> of years without paying anything.
>>
>> Android, CHROME, Eclipse, GIMP, TrueCrypt, Open Office, LWJGL, and hundreds
>> of other popular open source projects are simply FREE.
>>
>> Maybe you are implying that you are putting more works in TM than these
>> other projects?!!
>>
>> Here is the question for you, give me one example of a popular open source
>> software, where I need to purchase license key for non-commercial personal
>> use.
>>
>>
>>
>> --
>> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
>> Sent from the textmate users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
>
>
> From: Bob Hartung <rwhart(a)mchsi.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 2:21:22 PM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Wow! So much heat and no light. The cost of TextMate is peanuts compared going out to dinner and the beneficial results are far longer lasting.
>
> Or you could just go out an pay several hundred dollars or more for some other word processor.
>
> My $0.02
>
> Bob
> ----- "Chris Knight" <cpk.stealth(a)gmail.com> wrote:
>
>> Take a look at the license agreements for the Qt cross-platform
>> programming library. To use it commercially you must by licensing
>> from Digia (formerly Nokia and before that Trolltech) and
>> non-commecial use can use what is provided by the Qt-Project.
>>
>> Qt is used by literally hundreds of applications including some pretty
>> big ones such as KDE. Having to pay for a commercial license on
>> open-source software is not new.
>>
>> Here is a question for you. Why should anyone write software and give
>> it away for you to use for free?
>>
>>
>> On Jul 18, 2013, at 12:03 PM, kafi wrote:
>>
>>> Just because Im using an open source software does not mean I need
>> to pay for
>>> it. I have been using Open Office for personal projects for the last
>> couple
>>> of years without paying anything.
>>>
>>> Android, CHROME, Eclipse, GIMP, TrueCrypt, Open Office, LWJGL, and
>> hundreds
>>> of other popular open source projects are simply FREE.
>>>
>>> Maybe you are implying that you are putting more works in TM than
>> these
>>> other projects?!!
>>>
>>> Here is the question for you, give me one example of a popular open
>> source
>>> software, where I need to purchase license key for non-commercial
>> personal
>>> use.
>>>
>>>
>>>
>>> --
>>> View this message in context:
>> http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
>>> Sent from the textmate users mailing list archive at Nabble.com.
>>>
>>> _______________________________________________
>>> textmate mailing list
>>> textmate(a)lists.macromates.com
>>> http://lists.macromates.com/listinfo/textmate
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
>
> From: kafi <kkaaffii(a)gmail.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 2:27:04 PM CDT
> To: textmate(a)lists.macromates.com
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> People here seems not be able to discuss without calling names.
>
> Smith, mind your language. Do not call names. You are calling me parasite,
> but you have no manners.
>
> Ive donated money and participated with code and time (forum) in several
> open source projects. Do not talk supposing stuff that you have no knowledge
> about.
>
> You just picked Open Office? What about Android, Chrome, GIMP? Not
> convenient for your argument?
>
> I have asked a simple question. Do I need to pay for the license of TM 2 for
> non-commercial personal use?
>
> And, give me one example of a popular open source software, where I need to
> purchase license key for non-commercial personal use.
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
> From: kafi <kkaaffii(a)gmail.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 2:29:29 PM CDT
> To: textmate(a)lists.macromates.com
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> I ve specifically said, non-commercial persoanl use, so your example does not
> work.
>
> No open source software requires purchase of license for non-commerical
> personal usage. Try again.
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
> From: kafi <kkaaffii(a)gmail.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 2:35:27 PM CDT
> To: textmate(a)lists.macromates.com
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Chris Knight wrote
>> Why should anyone write software and give it away for you to use for free?
>
>
> Go to the project website of Android, Open Office, GIMP, Chrome, Truecrypt,
> 7Zip, Apache web server, Java, etc. and read why these softwares are free to
> use. Maybe then you will learn about a great philosophy.
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
>
>
> From: Ken Snyder <ken+textmate(a)ken.net>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 3:06:45 PM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> Guys, this is a really nice list please try and be respectful to others on it. I think Kafi has been a unfairly treated ... I won't name names but if you could find it in yourself to drop him an email -- off the list preferably -- to apologise I think that would be very responsible thing to do.
>
> Kafi, I think what you're running into in your comments is a growing concern from parts of the software development community in this rapid "race to zero" where consumers price expectations keep on being lowered and a developers hard work and skills are often undervalued. This is shame and doesn't have to be an outcome of OpenSource movement but its a real sensitivity and when we're wearing our "consumer hat" I think we all should try and support people who are doing great things. The old adage "nothing is truly free" is an important word of warning, especially when you site examples like Chrome, Android, Open Office, and Java you're talking about efforts that are being supported with a lot money from corporate entities who in many cases are intentionally sabotaging competitors margins. This isn't a self-sustaining system but rather a system that is propped up by corporate interests and the costs to consumers are there they are just hidden.
>
> Anyway, I will say I'm sorry by the way you were treated but also that I understand some of the poorly expressed sentiment. I for one think what Allan has produced is outstanding and I will be paying for it even if I don't have to.
>
> Ken
>
>
> On 18 July 2013 20:35, kafi <kkaaffii(a)gmail.com> wrote:
> Chris Knight wrote
> > Why should anyone write software and give it away for you to use for free?
>
>
> Go to the project website of Android, Open Office, GIMP, Chrome, Truecrypt,
> 7Zip, Apache web server, Java, etc. and read why these softwares are free to
> use. Maybe then you will learn about a great philosophy.
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
> Sent from the textmate users mailing list archive at Nabble.com.
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
>
>
>
> From: "Melton Low (app)" <softw.app(a)gmail.com>
> Subject: [TxMt] Re: Do I have to pay for the final TM 2 license key?
> Date: July 18, 2013 3:40:32 PM CDT
> To: TextMate users <textmate(a)lists.macromates.com>
> Reply-To: TextMate users <textmate(a)lists.macromates.com>
>
>
> +1
>
> I share your sentiment.
>
> Ken Snyder wrote:
>>
>> Guys, this is a really nice list please try and be respectful to others on it. I think Kafi has been a unfairly treated ... I won't name names but if you could find it in yourself to drop him an email -- off the list preferably -- to apologise I think that would be very responsible thing to do.
>>
>> Kafi, I think what you're running into in your comments is a growing concern from parts of the software development community in this rapid "race to zero" where consumers price expectations keep on being lowered and a developers hard work and skills are often undervalued. This is shame and doesn't have to be an outcome of OpenSource movement but its a real sensitivity and when we're wearing our "consumer hat" I think we all should try and support people who are doing great things. The old adage "nothing is truly free" is an important word of warning, especially when you site examples like Chrome, Android, Open Office, and Java you're talking about efforts that are being supported with a lot money from corporate entities who in many cases are intentionally sabotaging competitors margins. This isn't a self-sustaining system but rather a system that is propped up by corporate interests and the costs to consumers are there they are just hidden.
>>
>> Anyway, I will say I'm sorry by the way you were treated but also that I understand some of the poorly expressed sentiment. I for one think what Allan has produced is outstanding and I will be paying for it even if I don't have to.
>>
>> Ken
>>
>>
>> On 18 July 2013 20:35, kafi <kkaaffii(a)gmail.com> wrote:
>> Chris Knight wrote
>> > Why should anyone write software and give it away for you to use for free?
>>
>>
>> Go to the project website of Android, Open Office, GIMP, Chrome, Truecrypt,
>> 7Zip, Apache web server, Java, etc. and read why these softwares are free to
>> use. Maybe then you will learn about a great philosophy.
>>
>>
>>
>> --
>> View this message in context: http://textmate.1073791.n5.nabble.com/Do-I-have-to-pay-for-the-final-TM-2-l…
>> Sent from the textmate users mailing list archive at Nabble.com.
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
I would like to understand the difference mentioned here. How about an
explanation.
Note: I paid for TM1 a long time ago and haven't seen a price for TM2.
Please don't conclude I'm a free-loader.
Lewy
On 7/18/13 11:12 AM, textmate-request(a)lists.macromates.com wrote:
> learn the difference between 'free as in beer' and 'free as in speech'.
Hello, I have 2 feature requests for TM 2.
1) [Feature] Vertical tabs/Open Files view
When TextMate is open with a lot of files, say more than 8 - It's
different to identify the tabs with similar filenames. For e.g.
class-somefile.php. class-someotherfile.php are all represented by
"class.s....". It isn't uncommon for a large project to have multiple
files open and with similar names.
I would like this as any one of the following -
A) Vertical tabs.
Tabs with an option to show in Left or right side. A simple
mockup - http://f.cl.ly/items/2A3Q2b3t2t0A0z0O3s0S/vertical-tabs.png
B) List of open Files in sidebar (Filebrowser like view)
List of files open above or in one of the filebrowser's
views. Once again a mockup -
http://f.cl.ly/items/1U0W2Y240T0Z382q1t29/vertical-fbrowser.png
2) [Feature] Autohide Sidebar
It would nice if we can auto hide the sidebar and provide more
space for codeeditor. It could be shown on hover at one of the edges, or
expand on hover/toggle buttons.
It would be great if these are considered. Thanks :)
2010 MacBook Pro Intel Core 2 Duo, 2.4 GHz, with 8GB, OS X 10.8.4, Homebrew
textmate(master) $ git submodule update --init
seemed fine. Then there was:
textmate(master) $ ./configure
make: ***
[/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem]
Error 127
but what the heck, I carried on. So then:
textmate(master) $ ninja
... [various warnings]
[171/987] Run test
'/Users/richarddrake/build/TextMate/Frameworks/scm/test_scm'...
FAILED: /Users/richarddrake/build/TextMate/Frameworks/scm/test_scm && touch
/Users/richarddrake/build/TextMate/Frameworks/scm/test_scm.run
/bin/sh: line 1: 33977 Segmentation fault: 11
/Users/richarddrake/build/TextMate/Frameworks/scm/test_scm
Got another error in trying again so googled and did:
textmate(master) $ ninja scm/coerce
[1/1] Skip test
'/Users/richarddrake/build/TextMate/Frameworks/scm/test_scm'...
textmate(master) $ ninja
...
[174/808] Run test
'/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate'...
FAILED:
/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate
&& touch
/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate.run
test_SoftwareUpdate: 5 of 8 tests failed:
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:64:
Expected (err == "Extracting archive."), found ("The requested URL returned
error: 404" != "Extracting archive.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:73:
Expected (err == "Extracting archive."), found ("The requested URL returned
error: 404" != "Extracting archive.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:82:
Expected (err == "Bad signature."), found ("The requested URL returned
error: 404" != "Bad signature.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:91:
Expected (err == "Bad signature."), found ("The requested URL returned
error: 404" != "Bad signature.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:109:
Expected (err == NULL_STR), found ("The requested URL returned error: 404"
!= " ")
[174/808] Compile 'Frameworks/document/src/document.cc'...
Frameworks/document/src/document.cc:160:24: warning: private field
'tracker' is not used [-Wunused-private-field]
document_tracker_t* tracker;
^
1 warning generated.
ninja: build stopped: subcommand failed.
Tried (without knowing ninja or what this meant) this multiple times:
textmate(master) $ ninja SoftwareUpdate/coerce
[1/1] Skip test
'/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate'...
which got me to:
textmate(master) $ ninja
[8/26] Run test
'/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate'...
FAILED:
/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate
&& touch
/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate.run
test_SoftwareUpdate: 5 of 8 tests failed:
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:64:
Expected (err == "Extracting archive."), found ("The requested URL returned
error: 404" != "Extracting archive.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:73:
Expected (err == "Extracting archive."), found ("The requested URL returned
error: 404" != "Extracting archive.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:82:
Expected (err == "Bad signature."), found ("The requested URL returned
error: 404" != "Bad signature.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:91:
Expected (err == "Bad signature."), found ("The requested URL returned
error: 404" != "Bad signature.")
/Users/richarddrake/puny/big/textmate/Frameworks/SoftwareUpdate/tests/t_sw_update.cc:109:
Expected (err == NULL_STR), found ("The requested URL returned error: 404"
!= " ")
ninja: build stopped: subcommand failed.
At which point googling didn't seem to shed light and I came here. Been a
TextMate user since 2006, decided to download v2 on Wednesday. Great job
Allan and co. I thought I'd take a look at the source because of a niggle
found that I've created a GitHub issue for:
https://github.com/textmate/textmate/issues/1047
But it would be nice to tinker with other things anyway.
Regards
Richard
Hello,
In TM 2, the Build Target... command in the Ant bundle is failing with the following error message:
tm_dialog: [NOTE: this exception originated in the server.]
-[__NSCFDictionary length]: unrecognized selector sent to instance 0x7f86bff03020
/Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:198:in `load': Cannot parse a NULL or zero-length data (OSX::PropertyListError)
from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:198:in `menu'
from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `popen'
from /Users/rob/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared/lib/ui.rb:193:in `menu'
from Build Target…:63
Looking at the Bundles section of Preferences, it appears that I have the latest updates of both the Ant and the Bundle Support bundles. I'm not a Ruby guy, so I'm not entirely sure what's up with this. Line 63 in the bundle command is:
res = TextMate::UI.menu(ant_targets)
Lines 193-198 in ui.rb are:
193 res = ::IO.popen("#{TM_DIALOG} -u", "r+") do |io|
194 Thread.new do
195 plist = { 'menuItems' => options }.to_plist
196 io.write plist; io.close_write
197 end
198 OSX::PropertyList::load(io)
Any ideas how how to solve that problem? I actually hasn't worked since TM 2 came out, but I'm just now getting around to trying to figure it out.
Thanks,
Rob
I have found over the past week+ (it could have been considerably longer
but I suspect it was just the past week or so) I have had annoying problem
occur where I can load a remote file using *rmate* and can edit it and even
save it without complaint but the save operation apparently doesn't work.
This is happening in an environment where I've used rmate successfully for
some time and I don't think I've changed anything other than accepting the
TM 2.0 updates.
Can anyone help?
Ken
I am using the latex bundle with a .tex file. I¹m trying to use auto
completion of citations. I have gone to TextMate > Preferences > Variables
and set TM_LATEX_BIB to /Users/rossahmed/folder/refs.bib. Nothing happens
when I place the caret in between the wiggly brackets in \cite{} and press
option+esc.
How can I get auto completion of citations to work in latex bundle?
Thanks
Ross
UNSUBSCRIBE!
2013/7/15 <textmate-request(a)lists.macromates.com>
> 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. Re: Interpreter not found using TM (Allan Odgaard)
> 2. Re: Build problems. Heard that before? :) (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 15 Jul 2013 01:31:16 +0200
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Interpreter not found using TM
> Message-ID: <E3689AC9-5184-405A-B265-AADBDDCE9B7A(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 13 Jul 2013, at 15:10, Brad Hutchins wrote:
>
> > No the Ruby.framework is missing. I uninstalled the current version
> > of ruby and used Homebrew to put on Ruby 2.0 .
>
> You should re-install ruby 1.8, as it is required by TextMate.
>
> On a general note, don?t remove system files.
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 15 Jul 2013 01:42:53 +0200
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Build problems. Heard that before? :)
> Message-ID: <E62CBFEF-14E6-4BE6-AE33-E35001D3B024(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 13 Jul 2013, at 14:13, Richard Drake wrote:
>
> > textmate(master) $ ./configure
> > make: ***
> >
> [/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem]
> > Error 127
>
> The failing line would be this (which you can try to re-run):
>
> DST=build/Frameworks/SoftwareUpdate/fixtures make -C
> Frameworks/SoftwareUpdate/fixtures
>
> Although it?s invoking a (small) Makefile, so you?d have to dig into
> that, to find the exact thing which is failing.
>
> You can add ?-n? to ?make? to see what it calls.
>
> > [?]
> > /bin/sh: line 1: 33977 Segmentation fault: 11
> > /Users/richarddrake/build/TextMate/Frameworks/scm/test_scm
> >
> > Got another error in trying again so googled and did:
> >
> > textmate(master) $ ninja scm/coerce
>
> Normally it would fail if you lack ?hg? ? but missing SCM commands
> shouldn?t produce segfaults.
>
> > textmate(master) $ ninja SoftwareUpdate/coerce
> > [1/1] Skip test
> >
> '/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate'...
> >
> > which got me to:
> > [8/26] Run test
> >
> '/Users/richarddrake/build/TextMate/Frameworks/SoftwareUpdate/test_SoftwareUpdate'...
>
> The SoftwareUpdate/coerce target should cause the test to be skipped,
> that said, the test is failing because you lack the fixtures, which are
> missing because ./configure failed.
>
> It?s the first time I hear of someone with ./configure failing to
> generate the fixtures, so I don?t know what would cause it, but
> openssl is used in the process, so perhaps you have some non-standard
> version of that.
>
> Adding ?-n? to the make invocation above and then running the
> commands manually should help track down the problem.
>
>
>
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 62, Issue 18
> ****************************************
>
Running into an odd problem. Just recently chanted to Ruby 2.0 P195 (but have not use 'TM' in a while either)
Can run ruby from the CLI
The Path is set to /usr/local/bin/ruby in both .profile and .bash_profile. And in the path in 'TM'.
Overall environment is set to /usr/bin/env
Yet I keep getting this error when trying to do CMD + R
I’m using 2.0-alpha.9443
A while back, converting Markdown to HTML with ⌃⇧H quit working. It just results in a blank document.
I finally got irritated enough to investigate and I tracked it down to SmartyPants. That is, if I set TM_SMARTYPANTS to `/bin/cat`, the Markdown command to convert starts working.
The only copy I seem to have is at `~/Library/Application Support/TextMate/Pristine Copy/Support/bin/SmartyPants.pl`. It doesn’t seem to be included with the Markdown bundle. Is that right? Any ideas why it’s not being found when the command runs?
I think this started with a9423, which says “A bunch of (work in progress) refactoring has caused some changes to executing commands”.
--
Rob McBroom
<http://www.skurfer.com/>
I work primarily in C++, but regardless of the file or language, syntax
coloring has broken in build 9443 for me. I get some (but not all) keyword
highlighting, some (but not all) type highlighting, and perhaps most oddly,
comments are not being detected. See screenshot attached.
[image: Inline image 1]
Anyone else having this problem?
Hi:
I am using Textmate to edit scripts on a remote server. I use FTP (client
is Transmit) to get to them, then open them from Transmit it Textmate.
I noticed something odd recently: With each series of edits to the script
file, after I saved, I went to run the script and the execute permission
was gone (I edited the file, did chmod u+x, ran the script, then went to
edit again, etc. when I saved, I had to chmod u+x again because the execute
was lost).
The only reason (other than server bugs) that I can find that this my have
happened is that I opened the file with Textmate originally before I did
chmod u+x (right after I did touch to create it), and that the permissions
on the file that Textmate opened were -rw-r--r-- so I restored those when
it saved.
Two questions:
1) Is this possible? Does Textmate do this?
2) If yes, how can I get it not to change permissions back on save?
Any help, direction or advice is much appreciated!
Thanks,
Jeff
>
>
> Hi
>
> I've been using
> TextMate version 2.0-alpha.9443
>
>
> for a few weeks now but since yesterday I can't get it to send do files directly to Stata. Well, to be more precise, when I send a do file to Stata using the bundle commands, instead of the do file turning up in the Stata do file editor with the same name, e.g. `environment.do', it turns up with a name like `tm-stata-1200.do' which causes an error message from Stata because it can't locate such a file.
>
> I have re-installed TM but still have the same problem.
>
> Can anyone help me please?
>
> Many thanks
>
> Liz
Hi, it has been long time I didn't typeset any document using the latex
bundle, which actually is not typesetting anymore. From this error message,
it seems that the PATH wasn't configured, does anyone have any clue?
Daniel
Typesetting “!Users!dmarcelino!Documents!My Talks!Alumni!Alumni.tex”…
/Users/dmarcelino/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/tm/process.rb:166: warning: Insecure
world writable dir /Users/dmarcelino/Library/Application Support in PATH,
mode 040706 File "/Users/dmarcelino/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 54 print "Using Tiger Compatibility version of Popen class" ^
SyntaxError: invalid syntax
Theme:
/Users/dmarcelino/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/tm/process.rb:166: warning: Insecure
world writable dir /Users/dmarcelino/Library/Application Support in PATH,
mode 040706 File "/Users/dmarcelino/Library/Application
Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py",
line 54 print "Using Tiger Compatibility version of Popen class" ^
SyntaxError: invalid syntax
--
\begin{signature}
Daniel Marcelino
☁ dm.silva(a)umontreal.ca
☎ (514) 343 6111 #3799
Skype: d.marcelino
✎ 3200 Jean Brillant, Office C5071
Montreal, QC; H3T 1N8
Canada
\end{signature}
"Small steps toward a much better world"
In the first line of my .tex document I write:
%!TEX TS-options = -output-dir='./output'
The effect is that all the output files, like .pdf, .aux, .log, etc goes to
the directory /output .
However, when I use the Latex Watch command, I get a .aux and a .pdf files
on my current directory, and as a consequence, I can't have the features
pdfsync(sync between the caret on .tex and the pdf) and latex watch
(changing the .tex changes the .pdf,a kind of a live preview) on the same
files. In the .pdf inside /output I get the pdf sync, and in the pdf created
by the Latex Watch command, I have the "live preview" feature.
In sum, I would like both features on the same .pdf file inside the /output
directory. How can I manage the Latex Watch to work on the /output directory
instead of creating a new pdf on the current directory?
Best,
S.V.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Latex-Watch-tp26635.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi everyone,
First of all, thank you for the great job done on TextMate (I really enjoy
this software !).
I am facing a problem with citation completion when I am using a .bib that
is not in the same directory as the .tex. Is there a place where I can find
a step by step procedure to enable the auto-completion when the .bib in not
in the same directory as the .tex?
Thank you in advance for your help.
Pierre
--
View this message in context: http://textmate.1073791.n5.nabble.com/citation-completion-with-bib-not-in-t…
Sent from the textmate users mailing list archive at Nabble.com.
> As a long-time TextMate user I've really been enjoying using the new TextMate alpha. There is one feature from 1.5 that I sorely miss -- or at least, can't see how to replicate in v2.
>
> I've checked the FAQ and mailing list but can't see if this was covered before. Apologies if it has been.
>
> I often use quite complex regexes on large files and I want to see what result my replace has had before moving on to the next match.
>
> In v1.5 you did this by clicking "Replace" -- this enabled you to see the result of your substitution (and back out of it if needed). You then clicked "Find" to move to the next match, and so on.
>
> Now however I only see a "Replace and Find" which means I have to remember the line number of the replace then manually scroll back to see if my regex did what I expected (or not).
>
> Is there a new way of doing this? If so, it's not obvious to me.
>
> Many thanks,
>
> Donald
Hey Guys,
I used to use really often the shortcut ctrl-shit-w with some text selected
to wrap it into an HTML, the command is still there in the HTML bundle menu
but it does not work anymore
(whatever the grammar is HTML or HTML Rails)
Thank you very much for your help
Ronan
Montain Lion, last Textmate release
Is it possible to have certain "favourites" when opened via ⌘⇧O, open with
a non-default theme? I'm thinking there's likely something in the
.tm_properties file that might help me do this but I'm a little in the dark
on where to look to figure this out.
Ken
I love navigating classes with the Go To Symbol ⇧⌘T dialog. So much so, in
fact, that I now have started keeping it open all the time so that I have
quicker access but also to just give me context of all the methods
available in the class.
That said, I've noticed that as you modify the file -- while keeping the Go
To Symbol dialog open -- the symbol links become out of sync and the only
way I know of to fix this is to close it and then re-open it. Is this
something that could be automatically kept up-to-date? If not, is there a
hotkey to refresh it?
Finally, as I've started to keep this window open I started thinking of
things I'd love to see added if possible:
- *Docking*. Could this window not be docked into the same location as
the file explorer? If this were done well it could be really nice.
- *Public/Private/Protected*. If there were some subtle but always-on
font distinctions between access modifiers this could be quite useful. I'd
love to also see "static" called out in some way but obviously don't want
to clutter the font palette too much.
- *Signature Balloons*. If you held your cursor over a method it would
be nice to see the signature of that method. This would save a lot of toing
and frowing in a file.
Ken
I often receive lists to publish. When they come in, there are blank
lines between each item. Adding markup is easy. It _should_ be easy to
remove the blank lines, but I'm a klutz with regex. Can someone suggest
an easy way to bet rid of the blank lines.
I often find myself wanting to achieve the "find all" functionality in
Textmate without needing to use the mouse to point to this button. Of
course when you do a ⇧⌘F the "find all" button is highlighted by default
and you can simply type in your search phrase and hit enter. This is
exactly what I would like from ⌘F (aka, scoped to a single document versus
the project). Even if the "find all" button isn't the default it would be
nice if there was some keyboard hotkey that allowed pressing this button
without the hassle of having to move your mouse across and click the
button.
Is there a way to do this? If not, could this be considered as a useful
feature for a future release?
Ken
Seems about time to do this, right?
Question: What is the cleanest way to do this. Issues:
- Is it solid now, I can replace TM1?
- Can the old TM1 co-exit w/ TM2? I saw some posts with trouble but may be
solved.
- If they don't co-exist well, should I AppZap or similar TM1 first?
Instructions for uninstalling?
- Are bundles still fetched via svn? Are they compatible? I'm currently
running 1.5.11
- How do I pay for the upgrade?
Thanks!
--
View this message in context: http://textmate.1073791.n5.nabble.com/Upgrading-to-TM2-tp26604.html
Sent from the textmate users mailing list archive at Nabble.com.
Most of the time I'd want to apply Find and Replace to the entire document,
as opposed to the selection only. TextMate 2 seems to change behavior
depending on whether there is text selected. Is there a way to make it use
"Document" by default at all times? Thanks!
ysw
--
View this message in context: http://textmate.1073791.n5.nabble.com/How-do-I-set-document-as-default-in-F…
Sent from the textmate users mailing list archive at Nabble.com.
Hello,
I'm using the SCSS bundle and I'm tryingrun an action but I get this error :
*/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:777:in
`report_activate_error': Could not find RubyGem sass (>= 0) (Gem::LoadError)
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:211:in
`activate'
from
/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/lib/ruby/1.8/rubygems.rb:1056:in
`gem'
from /usr/bin/sass-convert:18*
I installed the sass gem only for ruby 1.9.3 so I configured TextMate to use
the 1.9.3 version (using TM_RUBY) but the SCSS bundle keeps using the system
version of ruby which does not have the sass gem installed.
I don't know what to do next.
Thanks for your help.
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-has-ruby-version-1-9-3-confi…
Sent from the textmate users mailing list archive at Nabble.com.
I use GIT for version control. When I commit, all is well if I use -m
and type the message in line. If I don't use -m, GIT rejects the commit
for having no message. I suspect I need to tell GIT to wait for
completion of the save, but my efforts to do that have failed. This is
not a problem with TM2, but I don't know how to get TM to tell GIT to
pause. Can someone help me set this up so it works as it should?
--Lewy
Suddenly some commands stopped working, Specifically Label Based on Current Word / Selection… and "Citation (Ref-TeX Style)"
In both cases I get the following error message (off course with different header).
Failure running “Label Based on Current Word / Selection…”.
/Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `initialize': No such file or directory - JUR11-Permission.tex (Errno::ENOENT)
from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `open'
from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:19:in `options'
from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:39:in `master'
from /Users/guido/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/lib/LaTeXUtils.rb:56:in `get_labels'
from Label Based on Current Word / Selection…:8
Also I have noticed a different behaviour when clicking the button in the output window. The commands are executed but no message appears in the output window.
All the best
Guido
Hi,
TeXMate have the following engines predefined:
- pdflatex
- latex
- xelatex
- texexec
However I want to add some new default engines e.g. lualatex, arara,
luatex, pdftex.
I know that I can work with %!TS-program = luatex but this isn't what I
want to achieve.
How can I add a new default engine.
Thanks for your help
Marco Daniel
On Tue, 11 Jun 2013 12:00:15 +0000, Allan Odgaard wrote
>
> On Jun 4, 2013, at 2:53, Dushan Mitrovich <dushanm(a)spinn.net> wrote:
>
>> I just learned from the download page that TM 2 is intended only for
>> Lion and later. Will this remain the case?
>
> Yes, and once 10.9 is officially released, there is a good chance the
> requirements will be 10.8 and newer.
>
> Each OS update introduce new and better API plus bug fixes. Not being
> able to take advantage of the new API or having to provide
> workarounds for older OS versions (and test on these) affects
> productivity negatively.
>
>> That still works well, except for having no decent print options.
>
> I assume you're aware of
> http://wiki.macromates.com/HowTo/PrintWithColors? for now, 2.0
> hasn't improved upon printing (on the contrary), it still remains an
> unchecked item on my to-do list ;)
I hadn't been aware of that URL; thanks. I tried it and it works for
me, but I don't see that it offers any advantages over what I've been
doing up to now, which is opening the saved/edited file in another app,
e.g. Bean or jEdit, and printing from that. The main thing I'm missing
in TextMate is the lack of printing margins.
- Dushan
I rely extensively on the PHP bundles ability to "validate" the syntax and
it works just fine on my home computer but my laptop gives me the following
error:
[image: Inline images 1]
Any ideas on how I can get around this?
Ken
I just learned from the download page that TM 2 is intended only for
Lion and later. Will this remain the case? I'm on a late 2006 Mac Pro
which cannot be upgraded to Mountain Lion, so does that mean I'm stuck
with the 1.5.11 version. That still works well, except for having no
decent print options.
- Dushan
What does it take to add a bundle to the distribution?
There's a decent community that's been writing a Puppet bundle, and I'd love to see it included.
-currently the bundle is managed via forks in github. We're trying to reintegrate the forks to build the One True Bundle. - as a part of that, it'd be nice to distribute it via the official channels.
Questions include:
What license is necessary?
Who manages them?
Thanks!
Matthew Barr
mbarr(a)mbarr.net
c: (646) 727-0535
So on my other Mac my git branch would show up in the title bar and was
pretty useful. I just downloaded
*2.0-alpha.9427*
on my new computer and it no longer shows the git information. What
happened to it?
Thank you,
Kyle Hanson
Dear Textmaters,
I'm a very unsophisticated Textmate-lover who upgraded recently to Textmate 2.
In Textmate 1.X I'd made some macros to jump to the beginning or end of a
sentence while editing text. Basically, they just search backward or
forward for a gerrymandered regex and move the cursor to the position
of the first match.
Now, when I imported these macros into Textmate 2, the jump-forward macro
works fine. But, the jump-backward macro behaves like the jump-forward
macro. I.e., when I run it, it seems to do "find next" rather than the
requested "find previous".
The code is pasted below.
If anybody could suggest an explanation or remedy I'd appreciate it!
Thanks,
Max
(
{ argument = {
action = 'findPrevious';
findInProjectRegularExpression = :false;
findString = '\S';
ignoreCase = :true;
regularExpression = :true;
replaceAllScope = 'selection';
replaceString = '';
wrapAround = :false;
};
command = 'findWithOptions:';
},
{ argument = {
action = 'findPrevious';
findInProjectRegularExpression = :false;
findString = '((\?|\.|\!)(\''|\"|\)|\}|\])*(\n|\t|\r|\s)+)|((\r|\n)\s)';
ignoreCase = :true;
regularExpression = :true;
replaceAllScope = 'selection';
replaceString = '';
wrapAround = :true;
};
command = 'findWithOptions:';
},
{ command = 'moveRight:'; },
)
Usually Perl gives me nice and helpful error messages. On my new Mini it's not. I installed newer Perl than Apple currently provide using perlbrew and have my shebang line:
#!/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
My perl programs report helpful debug messages at the command line, but when I hit Cmd+r to have TM run the program they look like this:
BEGIN not safe after errors--compilation aborted at /Users/justin/perl5/perlbrew/perls/perl-5.16.2/lib/5.16.2/Carp/Heavy.pm line 3.
Compilation failed in require at /Applications/TextMate.app/Contents/SharedSupport/Bundles/Perl.tmbundle/Support/exception_handler.pm line 30.
My TM_PERL variable is also:
/Users/justin/perl5/perlbrew/perls/perl-5.16.2/bin/perl
Reading through the exception_handler.pm file I see that line 30 is 'require Carp::Heavy…'. When I tried to install Carp/Heavy.pm using cpan it said that the module is up to date.
Any suggestions on what's not right here?
--
Justin C, by the sea.
It would also be easy to do using Obj-C, with the NSLinguisticTagger API:
http://developer.apple.com/library/ios/documentation/cocoa/reference/NSLing…
------------------------------
>
> Message: 2
> Date: Thu, 6 Jun 2013 07:31:55 -0500
> From: Phil Schumm <pschumm(a)uchicago.edu>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Find verbs and nouns
> Message-ID: <2F5211E5-CFDB-4621-9273-56BCF48658C5(a)uchicago.edu>
> Content-Type: text/plain; charset=us-ascii
>
> On Jun 6, 2013, at 4:58 AM, Ross Ahmed <rossahmed(a)googlemail.com> wrote:
> > Does TextMate have the ability to locate all verbs, nouns and adjectives
> in a body of text?
>
> On Jun 6, 2013, at 7:10 AM, Ross Ahmed <rossahmed(a)googlemail.com> wrote:
> > Do you know where I might find such a script?
>
>
> If it were me, I would do this with Python's Natural Language Toolkit (
> http://nltk.org). Specifically, the examples on this page show how easy
> it is to extract verbs, nouns and adjectives:
>
> http://nltk.org/book/ch05.html
>
> It would be very straightforward to write a small Python script that would
> use the NLTK to identify each of these types of words from a string, and
> then if you want call this from TextMate (e.g., passing the current window
> content as input).
>
>
> -- Phil
>
>
I'm at a loss here. I just set up my first Git repo.
I was playing around with the bundle and SCM tracking was working earlier today.
I had badges in my file browser and everything. Now, nothing.
Even my $TM_SCM_BRANCH variable is empty
(which is supposed to display in my title bar per my .tm_properties file.)
However, all Git commands work perfectly via the bundle commands.
I can execute commits, pushes, etc perfectly.
Am I missing something? Do I have to tell TM2 to start tracking?
I'm on the latest TM2 alpha.9427
Any direction you could give would be very helpful.
Thanks,
MIke
Hi, Guys.
Today I open my TextMate and I receive this message "TextMate is outdated!
You are using a preview TextMate 2 which is more than a month old. It will
stop working in 29 days.", but I don't know why? I'm using TextMate version
2.0-alpha.9419. Anyone can help me with this problem? I thought that was
TextMate 2 open source. I'm wrong?
--
*Diego Dias
*Analista Desenvolvedor
Microsoft Certified Applications Developer
Microsoft Certified Technology Specialist WCF .Net 4.0 - Charter
Member<http://www.microsoft.com/learning/en/us/certification/cert-program-membersh…>
11-8931.1768
I'm writing a bundle and I would like to add create some submenus.
I understand that the association, and ordering, of commands in bundle menus
is achieved via the `info.plist` property list for the bundle. New commands
are generated with an ID number that can be referenced in the `info.plist`.
Submenus also have ID numbers that appear in the bundle's `info.plist`.
However, these submenu ID numbers don't appear to be generated, or to
feature, elsewhere in the bundle.
My question is: how does one create the ID numbers for submenus in
`info.plist`? Would any random ID that is distinct from the others in the
`info.plist` do? What about collisions with numbers in other bundles? How do
folks usually generate these submenu ID numbers?
Final question: is there any faster way to manage menu structure of a bundle
other than fiddling by hand with `info.plist`?
Hi!
Is there a theme that can distinguish between Python docstrings and
literal string elements?
Ideally, I would like to have
"""docstring"""
look different from 'mystring' in
a= 'mystring'.
Super-ideally, they even would look different to
# these kind of comments
If it doesn't exist, could anybody show me what and how to tweak to
make this possible? I never created a TMx before.
Cheers,
Michael
Whenever I return to TextMate from a different application I am having
to spend minutes watching a beach ball spinning whilst TextMate is frozen.
Various posts have suggested installing something called ReMate and
enabling "Disable refresh on regaining focus" however this has made no
difference and if anything the problem just gets worse.
I am using light text (usually R or SQL) files (two or three opened at a
time) stored locally and am not working with projects, just individual
files.
Is there a solution in TextMate or should I find a better editor?
Thanks
Paul
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
Hi all
I¹m trying to enable auto completion of Pandoc-style citations, see
unresolved question on stack overflow:
http://stackoverflow.com/questions/16406624/auto-completion-of-pandoc-style-
citations-in-markdown-using-textmate/16759930?noredirect=1#comment24154750_1
6759930
How can I enable auto completion of Pandoc-style citations?
Thanks
Ross
I have a .bib file with entries formatted like this:
@Article{Calenge2006, title = {The package adehabitat for the R software:
tool for the analysis of space and habitat use by animals},
journal = {Ecological Modelling}, volume = {197}, pages = {1035}, year
= {2006}, author = {C. Calenge}}
Instead of manually clicking/hitting return, is there a more automated way
to format the code. The result should be:
@Article{Calenge2006,
title = {The package adehabitat for the R software: tool for the analysis of
space and habitat use by animals},
journal = {Ecological Modelling},
volume = {197},
pages = {1035},
year = {2006},
author = {C. Calenge}
}
Thanks
R
Hi
How do I activate completion of code in Textmate?
I have the software as try out, downloaded and installed the EE bundle.
The docs say I can complete tags by using tab.
But tab just moves my text or cursor to the right, no autocompletion.
When using the drop down menu in bundles the function works, so the bundle
in itself works.
Thanks for answering.
--
View this message in context: http://textmate.1073791.n5.nabble.com/one-small-question-from-a-new-user-tp…
Sent from the textmate users mailing list archive at Nabble.com.
Using the same R script, I generally run the code in RStudio and edit the
code in TextMate. I have been using version control in RStudio for quite
some time. I would like to connect TextMate to the same repository.
Therefore, I can can commit changes to the R script in both RStudio and
TextMate. The repository is offline. How can I connect TextMate to the same
repository?
Thanks
I posted this on the tex.stackexchange a few days ago, but figured this might be another path to consider. Here is my issue:
This is a recent development, and I'm not sure what I've changed to make this happen… other than setting `TM_SUPPORT_PATH` to `~/Library/Application Support/TextMate/Managed/Bundles/Bundle Support.tmbundle/Support/shared`.
I had to do that a month ago to get LaTeX files to compile (another mystery, since it previously compiled without issue). They seem to work fine now, but when I try to create italics (or bold, underline, etc.), TextMate spits back the error:
> Failure running “Italic”.
>
> Italic: line 4: toggle_style.rb: command not found
This same error occurs when I try to invoke other scripts contained in the LaTeX bundle (Tidy, anything invoking texMate.py). All of these seem to rely on `TM_SUPPORT_PATH` in the script, and yet none of these scripts resides within the shared directory… They're all in `~/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin`.
I could solve this problem by changing the path in all of the scripts to a `TM_LATEX_SUPPORT` path, or by moving or linking all of the scripts to the shared directory… but this doesn't seem like it should be necessary. Any ideas on what I may have broken?
Dustin Wheeler
mskblackbelt(a)me.com
Hello, I'm interested in sending custom commands to the rmate session in
the server. I think I can manage some ruby, but C is another story.
In particular, I'm interested in sending commands to execute: for example I
would want to be over a class name and with a key combination send
something like "run\r\n"+ "/find/and/send/to/rmate MyClass", so rmate will
run this as an OS command. I can manage getting rmate in the server to
understand and run the command, but I don't know how to make Textmate to
send such a command.
Is this something that can be done today?
Thanks!
Jose
The minimum width of a TextMate window seems quite wide, at over 500 pixels
on my machine. This is over a third of the width of the screen on a MacBook
Air.
Is there a way to support windows narrower than 500 pixels?
I can't see anything in the document or mailing lists or GitHub issues
list, other than a mention that the status bar now has a minimum size:
http://article.gmane.org/gmane.editors.textmate.general/35919/match=status+…
This pull request may also be related:
https://github.com/textmate/textmate/pull/793
Is it possible to hide the status bar, or remove some of its components to
make its minimum size smaller?
If there's not a user configurable setting to support narrow windows, is
there a hard coded setting in the code that I could override for my local
build?
My environment:
TextMate: most recent alpha build from the website -- 2.0-alpha.9419. Same
behaviour when built from the latest source (2.0-alpha.9420+git.e49504a).
Mac OS X: 10.8.3
MacBook Air 13"
Hello,
I have Textmate Version 1.5.11 (1635). How can I configure Textmate that it
Auto-Indents with IF THEN etc..?
So, like this:
IF lVariable=true
Do This
ENDIF
How can I tell Textmate to add 3 spaces before the "Do this" command?
Thanks!
Patrick
My understanding is that soft-wrapped lines can now be indented, but I can't
figure out how to enable that. Is this feature implemented?
--
View this message in context: http://old.nabble.com/Indented-soft-wrap-tp32983136p32983136.html
Sent from the textmate users mailing list archive at Nabble.com.
Years ago I created websites, but I've been away from all forms of coding for several years. I purchased TextMate for because one of the screencasts at http://screencasts.textmate.org/html_text_transformations.mov was so impressive. However the speaker assumes some non-obvious fundamentals.
When he types "html" suddenly <html> </html> appears on the screen nicely formatted. Doesn't for me. Hitting the tab key just jumps the cursor to the right. Hitting return or enter pushes the cursor to a new line. What has he done to effect the transformation? He doesn't say.
I have figured out that when he typed "doctype" he then hits the tab key to present some options. That works.
I'm on a Mac OS X 10.8.3 running TextMate Version 1.5.11 (1635)
What basic assumptions am I missing?
Appreciated.
Morley Chalmers
—
The highest result of education is tolerance. — Helen Adams Keller, lecturer, author, first deaf-blind person to receive a Bachelor of Arts degree (1880–1968)
Hey y'all
For the longest time with the alpha Textmate have jumped to the wrong position when clicking e.g. a search result in the Find in project…, or clicking in my pdf and jump to the corresponding position in my LaTeX code.
The cursor is placed at the right position, but the window is not centered around the cursor. This means that ctrl+l works well but is necessary every time. Is this something there's a known fix for?
Thanks
Andreas
Trying is the first step towards failure.
- Homer Simpson
For example, I have the following text:
one
two
three
I can option-click and then drag across the beginning the these lines to
insert the same characters to all three lines, e.g. a dash
-one
-two
-three
Is it possible to insert a sequence of numbers? Like:
1 one
2 two
3 three
If this is possible, how about multi-digits? Like:
1 one
2 two
...
...
10 ten
11 eleven
Note that there is a space in front of 1 and 2 in the first two lines.
Are these possible? Thanks!
Hi!, i want to know if there's any chance that can work with a Xcode project in TM2. Like TM1 were you can convert the .xcodeproject to a .tmproject and get the same structure (group and stuff) that you have in Xcode. I know that in TM2 .tmproject don't exist. But maybe there's another way.
Thanks!.
--
Alberto Lagos Toro
Sent with Airmail
Hi,
I may be missing something obvious here, but I have a question about code reuse within a language grammar. I have a language (Stata) which permits constructs of this form
<prefix cmd> [options]: <cmd>
Moreover, prefixes can be combined. If we call
<prefix cmd> [options]:
the prefix, then we may have
<prefix> [[<prefix>] ...] <cmd>
I'd like to match the prefix (and scope it as meta.prefix), and then match the <cmd> when it follows the prefix. However, the <cmd> can also appear in other contexts too (where it should also be matched). As I'm thinking about this now, it seems that it would be ideal if I could define the prefix (which itself requires a rather complicated regex) in one place, and then refer to that in other places, such as where a specific command that can follow a prefix is defined. I am familiar with the language repository and have used it for recursive constructs and to embed one grammar within another, but can't figure out how it might be used here (if at all).
Should I be thinking about this a different way?
Thanks,
-- Phil
Hi all,
On my textmate 1.5 installation I changed the definition of start and stop markers for the python language definition.
Now I realized that by replacing the original start and stop markers, I lose the ability to fold function definition, which is more annoying than I anticipated.
My problem now is that I don't know how to redefine the marker definitions and I am not able to revert the language definition.
Can somebody help me by just sending the original foldingStartMarker / foldingStopMarker definition in the python language definition?
That would be really helpful!
Also;
How can I define more than one Start/Stop marker?
My current definition looks like this:
foldingStartMarker = '^[^#]*(\([^\)]*$|\{\s*$)|(#){1}(\s)+[0-9]+';
foldingStopMarker = '(^\s*\)|^\s*\})|(#){1}(\s)+(end)+';
But I would like to have several Start and Stop markers.
Thanks!
Hello, I was wondering if I could get some help with something related to mail.app.
There currently is a Mail bundle in both textmate and textmate 2 which
allows you to send html to the mail application (With Safari), I found this in [1] and
other sites. Since writing emails in html is a [bad idea] I thought, why not use
the awesome textmate preview to view the contents of the email as both
a preview from the current plain text in the compose window and a preview
of the email received.
I'm currently copying the content of the email to a blank document in textmate and previewing
it. So why not just skip this and activate textmate with a keyboard shortcut from the mail application?
This may not be outside textmate capabilities and I think it would be a great addition
to the release version. The mail application would need a plugin, just a button so that
when it is clicked in the composer window or in the view email window it sends the
plain text to text mate and then textmate would call markdown/multimarkdown or
whatever program you want to use to convert the message and display it with
the html previewer.
Anyway, just some thoughts that would make me look forward even more to the
release of textmate 2.
-Manuel
PS.
Thank you for the fix related to the html preview in the last email I sent. I forgot to reply last time
to give my thanks.
[1]: http://www.hawkwings.net/2006/05/11/more-textmate-goodness-html-emails/
[2]: http://www.freeantispam.org/html-email.php
I have a question regarding citation completion in the LaTeX bundle, a mechanism I constantly rely on. I greatly appreciate not having to open my bibfiles via Bibdesk. My preamble normally looks something like below, with citation completion working as expected:
\documentclass{memoir}
\input{../../preambles/custom_style.tex}
\begin{document}
etc...
\end{document}
But it doesn't work if I put my preamble into a custom package (say, custom.sty, which I put into ~/Library/texmf/tex/latex/local and which I call with \usepackage{custom} without having to specify path). The custom package works perfectly in all respects except citation completion.
I'm at a loss trying to figure out what the problem is (a minor one, granted, I can always keep to \input{mypath/to/custom_style.tex}). Is it the custom package? My custom package has the following lines at top and bottom:
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{custom}[2013/04/15 Custom Package]
....
\endinput
Or is it something else regarding the path to my custom.sty package that is not recognized? Any suggestion appreciated,
--Gildas
Hi All,
I'm interested in using TextMate as the front-end for the Monkey compiler
(http://www.monkeycoder.co.nz).
I downloaded and installed textmate. Run it a couple of times, and it ran
fine on my 10.8.3 iMac.
Then I installed the bundle that is meant to be the Monkey support. The
icon bounced as if it were starting, and if I load Activity, I can see the
process taking up ever more memory until the OS kills it.
That's all that happens.
I tried removing the bundle.
No joy.
Is this a known problem with textmate?
Thanks,
-Ken
--
View this message in context: http://textmate.1073791.n5.nabble.com/Hanging-on-startup-tp26466.html
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
sometimes, when using the R bundle and sending lines to the terminal, it happens that the terminal starts "popping" like when it is out of focus , calling for attention.
It happens randomly, and I do not know how to stop it.
If I restart both TextMate and Terminal the problem goes away, only to come back randomly.
Any ideas?
Mic
Hi everybody.
I am trying to switch to TextMate for my R/Latex needs. I ma trying to use Sweave, installing the bundle found in the SVN repository from macromates ( http://svn.textmate.org/trunk/Bundles/SWeave.tmbundle/ )
I can correctly generate pdf files from my source, but I have an issue: I do not know how to use forward and inverse search like I do with tex files and the latex bundle.
Can anybody help me with that?
Thanks,
Michele
rmate is really cool. I want to work with a project directory
though, not opening one file at a time. Is there any way to get rmate
to open a directory or a project file?
All the icons drawn in the gutter (fold markers, bookmarks etc) somehow have adrak-gray background on my (non-retina) system.
If I simply open the icon (for example "Folding Collapsed.png") and re-save it without changes, it then displays fine.
Any ideas why that is?
Thanks
Gerd
Hi,
I work with Changes Version 1.6.2 (582) and I install the bundle for Textmate.
But with TM2 i get a bug when I try to compare files with Compare two front documents .
Textmate blocks and I can't do nothing
Best regards
Alain Matthes
Hi,
I am working on a bundle (Stata) for which we'd like to implement several user-configurable preferences (e.g., like with the LaTeX or TODO bundles). These will certainly include both boolean values (i.e., checkboxes) and strings, but may also include other values as well (e.g., selections from a list or a reference to an installed application). I've looked at the way this is done in the LaTeX and TODO bundles (which are handled a bit differently), but before getting started I was wondering if there was a preferred approach to follow here. Any suggestions or pointers to examples (or documentation) would be most appreciated.
Thanks,
-- Phil
@Jacob Carlborg:
===
> For the autocompletion and language grammar. How about implementing and
> API that can be used by libraries like lib clang and similar.
What do you mean exactly? Offering an API so that Dialog2 can be used from other applications, too?
Btw.: the anchored docs mockup you posted to the GitHub issue[1] looks awesome. Should definitely be the way to go.
Peter
[1] https://github.com/textmate/dialog/issues/12
Hello,
Why has Github issues forum been removed?
It seems I'm now forced to subscribe to a mailing list just for the ability
to give feedback.
Is there any archive of the discussions in the github issues forum?
Currently, all urls currently resolve to 404. :(
Meryn
Hello all,
I am new to Textmate and looking for a way to filter lines as I did with the
old editor "kedit". It had commands like "all /blabla" to display only lines
containing "blabla", "more /yesyes" to add the lines containing "yesyes" to
the current line view, and "less /blabla" to hide again the lines containing
"blabla" from the current view.
I will be happy to get just the "all /blabla" functionality in Textmate,
i.e. I'd like to filter out all lines containing (for example)
"<onetwothree>" and either hide all the others or export all the
"<onetwothree>" lines to another file.
Is there a way to achieve that???
Thanks
Visconti
--
View this message in context: http://textmate.1073791.n5.nabble.com/Filtering-out-specific-lines-tp26423.…
Sent from the textmate users mailing list archive at Nabble.com.
Remember how Ruby 1.9.3 caused a segfault in RubyMate's
catch_exception.rb? Now Ruby 2.0.0 is causing further trouble, on this
line:
io = IO.for_fd(ENV['TM_ERROR_FD'].to_i)
This generates "Bad file descriptor". So this means that once again
there's bad output whenever an exception is to be displayed.
I realize that TextMate 1 is not quite the thing these days, but I'm
still using it and perhaps someone has some thoughts on how I might fix
this? I don't know how TM_ERROR_FD is set or what might be wrong with it
as a file descriptor (it's just a number).
Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
Programming iOS 5! http://shop.oreilly.com/product/0636920023562.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hello everybody,
I want to become a contributor to the TextMate 2 open-source project and therefore started a crowdfunding campaign together with some concrete features that I want to implement and contribute first.
If you also see the potential and would like to make use of them asap, please help funding my 2-month code sprint athttp://www.indiegogo.com/projects/textmate-dialog2-sprint and/or spread this news to your friends/colleagues.
Best wishes,
Peter
---
Twitter: @pbyte
github.com/peta
This is an interesting dilemma.
What I'm hearing is there are two valid and important use-cases.
TM needs to link against a stable version of something for much of its own functionality to be reliable and predictable.
Meanwhile, clearly a lot of devs need the ability to write code against whatever Ruby version their project requires. (Same goes for other languages really)
It sounds like a reasonable feature that TM should be able to do both.
Users should be unaware of what versions of what TM itself relies on under the hood, but want to be able to write code with whatever language version they need.
This kind of separation and feature makes a lot of sense for long term adoption of TM.
Sent from my iPhone
On 2013/03/24, at 21:00, textmate-request(a)lists.macromates.com wrote:
>> I have modified TextMate's PATH so that it starts like this:
>>
>> /Users/mattleopard/.rbenv/bin:/Users/mattleopard/.rbenv/shims: ...
>>
>> The first is so that the "rbenv" command itself is visible. The second
>> is so that rbenv's "ruby", "rdoc", "gem" and other shims are visible.
>
> OK, so it sounds like this might work (be aware that only 2.0 will
> expand $HOME and $PATH in your variable settings):
>
> TM_RUBY = "$HOME/.rbenv/shims/ruby"
> TM_RI = "$HOME/.rbenv/shims/ri"
> PATH = "$PATH:$HOME/.rbenv/bin"
>
> I don?t know if the last line is required (for the shims to function),
> but by appending to PATH we don?t eclipse any of the standard tools,
> so it does no harm for TextMate.
>
>> So, I'm not sure where TextMate is headed with this, but I hope it's
>> in
>> the direction of playing even *more* nicely with rbenv and my choice
>> of
>> global ruby version - not less nicely. I have a lot of functionality
>> built upon this; obviously I don't want it to break. m.
>
> As mentioned in my previous reply, we?ll (hopefully soon) start to
> hardcode the /path/to/ruby to make it robust against user alterations.
Hello,
I experience the following problem with latest Textmate build:
When I open a large js file (400KB minified, so extremely dense syntax),
Textmate starts using lots of CPU. I assume this is the syntax highlighting
at work. Understandable.
Problem is, when I close the tab with cmd-w, the processing doesn't stop.
In fact, while I'm able to interact with textmate (say - cmd-w to close a
tab), Textmate won't quit normally when I choose quit. I need to force quit.
Meryn
I have a set of HTML template directories under my working directory and
one subdirectory is full of "compiled" templates ... I never want to edit
these and would like to have this directories contents NOT to show up in
the *Go to File* menu (CMD-T).
Here's an example where I'm typing the word *dictionary *and the vast
majority of the results are compiled templates.
[image: Inline images 1]
I'm sure there's an easy answer to this but I'd like to be able to specify
a particular directory under one of my favourites to be *ignored *by
textmate. The reason for this is that this directory has a bunch of
compiled template files and shows up as "noise" when I use the CMD-T/Goto
File operation.
Is there a command I can put in a .tm_properties files, etc.?
Hello,
CoffeeScript bundle has broken syntax highlighting when using division
operator ("/") - badly interprets it as start of regexp (screen -
http://i.imgur.com/MKDnLiT.png).
Also, will it be possible to compile only selected part of a CoffeeScript
code?
Ps. I'm not sure if the list is proper for bundle related issues.
--
Regards,
Bartek Kubiak
I'm not sure if this is only in my system but these are the steps I take to do it:
1. Open a new document
2. Change the language to HTML
3. Write something simple: "<p>Hello world.</p>"
4. Press Control+Alt+Command+P (This should open the web preview)
5. Now close the web preview with command+w
6. Repeat steps 4 and 5 till it the hang happens.
I went to the Activity monitor to sample the process and this is what I obtained:
<https://gist.github.com/jmlopez-rod/5210715>
Side Note: I found this weird behavior by trying out the preview on other
html documents. It started by not loading anything. I would close it, try again,
and then TM would stop working.
-Manuel
Hello
I'm very happy with the new possibilities of TM2. It's a pleasure to work with the project folder, the favorites etc.
With TM1 I used a folder tm_proj. Inside this folder, I placed all the files like tkz-euclide.proj, tkz-tab.proj etc.
Then I used a soft You Control to add a folder in the menu bar with all xxx.proj files. I can with this process
access directly the projects without open TM1
I tried to use the same process with TM2. I found only the new way :
I created a script
#!/bin/bash
mate /Users/matt/works/tkz-euclide
tkz-euclide is a folder with all the files of my project.
I saved these lines in a file euclide.sh and then I created a little application tkz-euclide.proj with the help of
a little soft Platypus (http://sveinbjorn.org/platypus) . A click on tkz-euclide.proj open the folder tkz-euclide in TM2.
Finally I can make this for all my projects and I can access them directly from the menu bar.
I would like to know if there is a better and simpler way to get the same result ?
Best regards
Alain Matthes
The Typo3 bundle (installed via Preferenes → Bundles) binds Cmd-T to
“Get TypoScript Setup”.
I have long ago removed this keybindig, resulting in a delta bundle in
~/Application Support/Avian/Bundles/TYPO3.tmbundle (see
https://gist.github.com/noniq/5186969 – these are the only 2 files in
this bundle).
Since a9397, this does not work anymore: Cmd-T again calls „Get
TypoScript Setup“, even though the bundle editor shows “Key Equivalent:”
shown as empty.
Binding the action to any other key works as expected. If I then delete
the keybinding, again Cmd-T seems bound to this action (without being
shown in the bundle editor).
Apart from this bug, I wonder why the Typo3 bundle binds Cmd-T at all.
Should I prepare a pull request removing/changing this binding?
Regards,
stefan
A change in a9397 released on 17th March is interacting badly with the Ctags bundle. When this bundle is enabled any mouse click in the edit window runs a ctags command that usually throws an error or pops up its history window. Disabling Ctags bundle removes this interaction.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Hello
Choosing :
I use a European keyboard (french) and I can't use ⌘1, ⌘2 etc. to access a specific tab with TM2.
These shorcuts are used by the Finder to choose a Desktop (Space).
In the Preferences System, I use the default keys : ^& , ^é . These shortcuts works perfectly but ⌘1, ⌘2 works also perfectly in the Finder and I can't use them in TM2. So I have two possibilities to switch between Desktops in the Finder and none in TM2 to switch between Tabs !!
My question is how to modify the shortcuts in TM2 or in Finder ?
Switching :
A) Remarks about switching tabs in TM2
I can switch between tabs with ⌘} and ⌘{ but I can also make a switch with ⌘⌥-> and ⌘⌥<-.
I think it's strange to have two different shortcuts to make the same action
B) Remarks about switching Desktops (spaces) in the Finder
I can use ^-> and ^<-
Best regards
Alain Matthes
Thanks, Allan. Deleting "Avian" solved the problem. It had to be
something like that (meaning something I did). On the off chance that
another person has a similar problem, this confirms your solution.
--Lewy
---------------------------------------------
From: "Allan Odgaard" <mailinglist(a)textmate.org>
Subject: [TxMt] Re: bizarre action on save
Date: 14 March 2013 3:51:12 PM AKDT
To: "TextMate users" <textmate(a)lists.macromates.com>
Reply-To: TextMate users <textmate(a)lists.macromates.com>
To revert custom/customized bundles delete ~/Library/Application
Support/Avian
It sounds like you created/installed something that runs as a save
callback.
On 14 Mar 2013, at 17:46, Lewis Overton wrote:
When I save any file from TM2, it writes "Hello World" over the file I'm
trying to edit. After the save, the edited file is still displayed in
TM. I
deleted and reinstalled TM2 (but not the supporting files), but that had
no
effect on the problem. At the moment, TM is unusable. I have auto update
running in TM.
Re:
> 1. Cite key completion in LaTeX (dAlembert)
Have you set the variable
TM_LATEX_MASTER
You can do this either in a .tm_properties file or in the preferences under variables.
At least this is how I fixed this for me.
Cheers,
Claus
On Mar 16, 2013, at 1:00 PM, 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. Cite key completion in LaTeX (dAlembert)
> 2. Navigate between tabs with keyboard shortcuts (Alain Matthes)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 15 Mar 2013 06:37:09 -0700 (PDT)
> From: dAlembert <nablamalnabla(a)yahoo.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] Cite key completion in LaTeX
> Message-ID: <1363354629927-26370.post(a)n5.nabble.com>
> Content-Type: text/plain; charset=us-ascii
>
> Hello everybody,
>
> since a while I am experiencing problems with completion of BibTeX keys when
> writing \cite{} commands. In short, nothing happens when I write the first
> letters and then press the usual alt-escape for completion of the BibTeX
> label. This happens at least since TM 2.0-alpha.9389 though it might also be
> related to changes of the latex.tmbundle itself (I remember completion
> working some months ago). You will find a complete issue description plus
> screenshot at the latex.tmbundle
> https://github.com/textmate/latex.tmbundle/issues/48 and I wonder if anybody
> can reproduce this or give hints as to make it work again. I have tried to
> set up a new user with default TM configurations, but the problem occurs
> with fresh settings as well.
>
> Thanks,
> d'Alembert
>
>
>
> --
> View this message in context: http://textmate.1073791.n5.nabble.com/Cite-key-completion-in-LaTeX-tp26370.…
> Sent from the textmate users mailing list archive at Nabble.com.
>
>
> ------------------------------
>
> Message: 2
> Date: Sat, 16 Mar 2013 12:03:56 +0100
> From: Alain Matthes <alain.matthes(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Navigate between tabs with keyboard shortcuts
> Message-ID: <FA6AE5AC-4542-4297-9EFB-BFE66637F85A(a)mac.com>
> Content-Type: text/plain; charset=utf-8
>
> Hello
>
> Choosing :
>
> I use a European keyboard (french) and I can't use ?1, ?2 etc. to access a specific tab with TM2.
>
> These shorcuts are used by the Finder to choose a Desktop (Space).
> In the Preferences System, I use the default keys : ^& , ^? . These shortcuts works perfectly but ?1, ?2 works also perfectly in the Finder and I can't use them in TM2. So I have two possibilities to switch between Desktops in the Finder and none in TM2 to switch between Tabs !!
> My question is how to modify the shortcuts in TM2 or in Finder ?
>
>
> Switching :
>
> A) Remarks about switching tabs in TM2
> I can switch between tabs with ?} and ?{ but I can also make a switch with ??-> and ??<-.
> I think it's strange to have two different shortcuts to make the same action
>
> B) Remarks about switching Desktops (spaces) in the Finder
> I can use ^-> and ^<-
>
>
> Best regards
>
> Alain Matthes
>
> ------------------------------
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
>
> End of textmate Digest, Vol 58, Issue 16
> ****************************************
Hello everybody,
since a while I am experiencing problems with completion of BibTeX keys when
writing \cite{} commands. In short, nothing happens when I write the first
letters and then press the usual alt-escape for completion of the BibTeX
label. This happens at least since TM 2.0-alpha.9389 though it might also be
related to changes of the latex.tmbundle itself (I remember completion
working some months ago). You will find a complete issue description plus
screenshot at the latex.tmbundle
https://github.com/textmate/latex.tmbundle/issues/48 and I wonder if anybody
can reproduce this or give hints as to make it work again. I have tried to
set up a new user with default TM configurations, but the problem occurs
with fresh settings as well.
Thanks,
d'Alembert
--
View this message in context: http://textmate.1073791.n5.nabble.com/Cite-key-completion-in-LaTeX-tp26370.…
Sent from the textmate users mailing list archive at Nabble.com.
Hi,
Bundle actions can be accessed through the gear pop-up in the status bar in TM1 with ⌃⎋ but
the shortcut does not work for me in TM2.
Is there a new shortcut?
Best regards
Alain Matthes
When I save any file from TM2, it writes "Hello World" over the file I'm
trying to edit. After the save, the edited file is still displayed in TM. I
deleted and reinstalled TM2 (but not the supporting files), but that had no
effect on the problem. At the moment, TM is unusable. I have auto update
running in TM.
--Lewy
I am trying to install the new Gist bundle and although I click on install
and never get any error message directly, if I go to the log file I see
that the bundle editor has cancelled the request.
What do I need to do?
Ken
Hi,
I have a grammar where a definition starts with a certain sequence, and the definition is ended with an empty line (optionally containing whitespace):
{
begin = 'PATTERN';
end = '^\s*$';
patterns = ( { include = '#some-stuff'; } );
},
My problem is that some of the repository rules in '#some-stuff' define blocks (eg { ... } ), and these blocks seem to 'escape' the frame set by the rule above and eat up empty lines. Example:
PATTERN my first rule
PATTERN my second rule
PATTERN { not actually starting a block because followed by empty line
PATTERN } not actually the end of the block because preceded by empty line
So here the problem is that TM interprets the { } as block, even though the 'outer' rule should limit the part parsed by the repository rules to the empty lines between the last two definitions.
Any way to fix this?
Thanks
Gerd
Hi all,
when using TextMate2 with (modern) Fortran I found that the implementation of derived types does not support the access attributes. For example,
type node
integer :: i
end type node
looks nice, while inserting the "public" or "private" attributes as in
type, public :: node
integer :: i
end type node
does not produce a consistent coloring (see also the attached screenshot1.png).
In an first attempt to resolve the problem, I changed the the corresponding entry in the Fortran-Modern Grammar from
{ name = 'meta.type-definition.fortran.modern';
comment = 'Type definition';
begin = '(?x: # extended mode
^\s* # begining of line and some space
(?i:(type)) # 1: word type
\s+ # some space
([a-zA-Z_][a-zA-Z0-9_]*) # 2: type name
)';
end = '(?x:
((?i:end)) # 1: the word end
\s* # possibly some space
(?i:(type))? # 2: possibly the word type
(\s+[A-Za-z_][A-Za-z0-9_]*)? # 3: possibly the name
)';
beginCaptures = {
1 = { name = 'storage.type.fortran.modern'; };
2 = { name = 'entity.name.type.fortran.modern'; };
};
endCaptures = {
1 = { name = 'keyword.other.fortran'; };
2 = { name = 'storage.type.fortran.modern'; };
3 = { name = 'entity.name.type.end.fortran.modern'; };
};
to
{ name = 'meta.type-definition.fortran.modern';
comment = 'Type definition';
begin = '(?x: # extended mode
^\s* # begining of line and some space
(?i:(type)) # 1: word type
(,\*(?i:(public|private)?)) # 2: optional access attribute
\s+ # some space
([a-zA-Z_][a-zA-Z0-9_]*) # 3: type name
)';
end = '(?x:
((?i:end)) # 1: the word end
\s* # possibly some space
(?i:(type))? # 2: possibly the word type
(\s+[A-Za-z_][A-Za-z0-9_]*)? # 3: possibly the name
)';
beginCaptures = {
1 = { name = 'storage.type.fortran.modern'; };
2 = { name = 'storage.modifier.fortran.modern'; };
3 = { name = 'entity.name.type.fortran.modern'; };
};
endCaptures = {
1 = { name = 'keyword.other.fortran'; };
2 = { name = 'storage.type.fortran.modern'; };
3 = { name = 'entity.name.type.end.fortran.modern'; };
};
which made things even worse (screenshot2.png). I tried several other versions, with no essential improvement.
Can anybody give me a hint how to resolve the problem?
Regards,
Joerg
True,
but in TM2 You have to download the bundle Rails to turn on the "HTML (Rails)" feature witch is included into the HTML scope in TM1
Didn't know that
Cheers,
--
Ronan
Hello,
I tried to use a different font and theme when I write latex, however it does not work and I can not figure out why.
~/Library/Application\ Support/TextMate/Global.tmProperties:
# Version 1.0 -- Generated content!
encoding = UTF-8
fontName = SourceCodePro-Regular
fontSize = 13
[ attr.file.unknown-type ]
fileType = text.plain
###################################################
~/path/to/latex/.tm_properties:
excludeFilesInBrowser = "!*.tex"
[ text.tex ]
spellChecking = true
spellingLanguage = 'de'
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
fontName = GaramondPremrPro-Capt
fontSize = 18
###################################################
I tried some alternatives but did not find a solution.
I read about some kind of textmate2 console. Were do I find it?
Christian
For anyone like me who is searching how to actually install 3rd party
bundles into TM2, getting confused by the older posts here mentioning
Avian folders and what not, here's my micro-summary how it currently
worked for me, pretty easy, using Gerd's MultiMarkdown as an example:
1. Go to
~/Library/Application\ Support/TextMate/Managed/Bundles
2. git clone git://github.com/gknops/MultiMarkdown.tmbundle.git
This creates the MultiMarkdown.tmbundle folder
3. Restart TM2
That's right, no cache deleting required, the MultiMarkdown bundle
appeared both in the Bundle manager and in the list of installed
bundles under Menu->Bundles.
Also, the multimarkdown command (that I installed with homebrew) was
automatically found and used by the bundle.
As often, this turned out to be easier than I thought. ;)
Thx everybody,
Michael
PS.: Using TM2.0-alpha.9387 on 10.8.2
Let's say I work in a few different web frameworks, and I need to
reference the js directories for a couple of these. I can't rename the
folders because the framework references them as js.
I can't make them a favorite because textmate requires unique names for
favorites, and I can't rename the source directory of the frameworks
without breaking the framework.
I could go to the first unique root and then drill down everytime I open
the favorite which is 3-4 dirs deep, I really don't want to do that
especially when I'm comparing source to compiled versions and might have
different levels above.
What is the better workaround?
Fred
If you are working with JavaScript, the last update to that bundle is causing TextMate to hang, if you have this issue, you can temporarily install the previous version using these steps:
cd ~/Library/Application\ Support/TextMate/Managed/Bundles
rm -rf JavaScript.tmbundle
git clone https://github.com/textmate/javascript.tmbundle.git JavaScript.tmbundle
cd JavaScript.tmbundle
git reset --hard 6046ce52330544d97ba9493c8dc56c7dcfcc6692
Sorry about the inconvenience.
Hi,
I'd like to disable soft wrapping for URLs when writing in markdown (I find it distracting when a long URL wraps, especially when it's forced to start on the next line).
I tried adding this settings item, scoped to 'text.html.markdown markup.underline.link':
{ softWrap = :false; }
...but the URLs still wrap. Is this a problem with my scope selector, or is there an errant settings item somewhere that might be overriding mine?
–Adam
Hi,
I going to be doing a project using lua and think I found the correct
tmbundle at github.com/textmate/lua.tmbundle.
The line folding is not working even though a folding section in the bundle.
Is this the latest and/or best bundle for the lua language?
tks, louie
--
View this message in context: http://textmate.1073791.n5.nabble.com/Lua-bundle-help-tp26283.html
Sent from the textmate users mailing list archive at Nabble.com.
Hello TextMate community,
I'm having some troubles with the prebuilt binary version I downloaded from
the github page of textmate (https://github.com/textmate/textmate). The
problem is I cannot seem to find the way to enabled the check spelling
function.
If I activate "Check spelling as you type", in spanish (the language I'm
writing in), it works perfectly, for a .txt file or for a .tex file (I'm
actually trying to use this function for spell checking a latex file). But,
the function "Check spelling" (Edit -> Spelling -> Check Spelling), is
disabled (it is shown in the menu in a gray color and I can't activate it,
by menu nor by shortcut), and the function "Show Spelling & Grammar" is not
useful either as it doesn't go trough the whole text.
I really have no idea what to do to activate the spell checker. Any help is
greatly appreciated.
Thanks in advance for your attention.
Cristian.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Check-Spelling-Disabled-tp26281.html
Sent from the textmate users mailing list archive at Nabble.com.
I prefer to keep narrow editing windows (mostly for LaTeX) especially on my portable machine. At the user's level, I've set WrapColumn = 67 and showWrapColumn = true. Up to and including r9377, I could still have a file browser window with flexible width.
With 2-alpha-9383, this admittedly narrow document window---with 67 characters + a few more to the right of the wrap column---is broadened by the file browser to something like 80 characters or so. When toggling the file browser, the window stays at that new width. I can see the file browser's width flexibility is all there when I have a broader window. I would like to get back this flexibility even with narrower windows. Possible?
--Gildas
Hi everyone,
since one of the earliest versions of TextMate 2, I lost the ability to automatically download a new version, getting the error message:
SSL Certificate problem: verify that the CA...
which I assume comes from the similar curl-error: SSL Certificate problem: verify that the CA cert is OK.
I have deactivated the macports curl, and added CAs to the system curl, to no avail. My workaround is to download the versions from the github page, but I'd very much prefer to get automatic download working again.
Any ideas?
Thanks in advance!
--
Juande Santander Vela
VIA-SKA Project Manager
Instituto de Astrofísica de Andalucía (IAA-CSIC)
Glorieta de la Astronomía s/n, E-18008, Granada, Spain
Hi,
I checked the tickets system and tried to raise a ticket, but it
wouldn't let me.
I am a fast clicker, and often try and open a series of folders quite
quickly.
I have noticed that if I am too quick, the entire project folder
structure collapses, which is really annoying.
I wonder what the appropriate action to raise a ticket is?
Textmate: 1.5.11 (1635)
Mac OS X 10.8.2 Build 12C3103
Thanks
Geoff
--
Geoff Meakin
geoffm(a)fastmail.fm