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"