Andrew Appleton | 9 Feb 18:50
Gravatar

Save and strip whitespace

Are there plans to add an option to strip trailing whitespace on save?

I had this set up in TM1 like this http://blogobaggins.com/2009/03/31/waging-war-on-whitespace.html and it would be great to get ti as a feature of TM2.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Drew Bernat | 9 Feb 17:04
Gravatar

TextMate 2/Latex bundle question

I use TextMate and the Latex bundle extensively. With version 1, when I run Latex (cmd-R) the output of the
latex compiler pops up in a new window. With TextMate 2, the output instead appears as part of the editing
window. I made the mistake of resizing the output window to 0 - dragging it all the way down - and now I can't
get it back. This makes tracking down errors difficult. I can't drag the separator back up because the
entire window resizes instead. 

Is there a way to make the output window either appear separately, as in TextMate 1, or get the drag handle
back? 

Drew

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Andrew Pennebaker | 9 Feb 16:37
Picon
Gravatar

Bundles don't load correctly in TextMate 2

I tried double-clicking the .tmbundle's for several programming languages (e.g. Dart, Rust). When I open them with TextMate 2, the editor doesn't load the bundles but opens them as if they were ordinary code directories.

What do bundle developers have to do differently in TextMate 2? Or is TextMate bundling broken at the moment?

Cheers,
Andrew Pennebaker

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Martin Kühl | 9 Feb 15:31
Picon
Gravatar

[TM2] TM2 hangs when calling `mate` without arguments from inside TM2

To reproduce, enter the following text on a new line, then hit ^r
    "$TM_SUPPORT_PATH/bin/mate"

TextMate will open a new untitled tab, then become
unresponsive. However, the OS won't mark it as unresponsive in the Force
Quit dialog.

Tested with r9015 and r9028.

Cheers,
Martin

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

David Howden | 9 Feb 14:49
Picon
Gravatar

Find All in Selection Issues

Hi All,


Noticed a rather worrying problem in the "Find" dialog of TM2.  If you select "In: Document" in the find box, it all behaves nicely, and only shows you results from the current file.  If you switch this to "In: Selection", then it doesn't.  Hitting "Find All" gives results from the current directory (and actually sometimes this defaults to the current directories of other TM2 windows), which is rather worrying if you are then planning to hit "Replace All" and are just expecting it to replace things in your selection.  The "Sigma" button does however seem to obey the selection directive...

I'm assuming this comes under the "work in progress" label, so I hope this post will serve as a friendly warning for those using TM2 as their permanent editor - it is after all still in alpha!  Hopefully allan will manage to sort this out soon :-).

David.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
Donovan Hide | 8 Feb 16:44
Picon
Gravatar

Go to file counterpart ignores exclude directive

Hi,

just trying out Textmate 2 and have configured .tm_properties for a project as:

excludes = "data,external,fixtures,*.log,*.d"
exclude = "{excludes}"
excludeInFileChooser  = "{$excludes}"
excludeInFolderSearch = "{$excludes}"
excludeFilesInBrowser = "{$excludes}"

but when I select "Go->Go to File Counterpart" from, for instance,
registry.cc I first get registry.d opened and then registry.h. I only
want to view registry.h and have tried to exclude registry.d, but it
doesn't seem to be excluded from this functionality.

Am I doing something wrong?

Cheers,
Donovan.

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Picon

Perforce?

Hi,

I noticed that TM2 is looking for .p4config files, but I can't find any
Perforce commands in the bundles (or in Cmd-Y, which never seemed to
detect my git repositories, either). Is anything beyond looking for the
config files already in place and I'm too blind to find it, or do I just
need to wait?

Christopher

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Andrew Jaffe | 8 Feb 00:56
Picon
Gravatar

[TM2] Subversion command problems?

Dear all,

I am enjoying getting to know TM2.

I've been having trouble getting it to work with svn. When I try a 
command that actually requires remote access, I get a dialog:

     The 'svn' command produced an error

     Permission denied (publickey,keyboard-interactive).
     svn: To better debug SSH connection problems,
     remove the -q option from 'ssh' in the [tunnels]
     section of your Subversion configuration file.
     svn: Network connection closed unexpectedly

This is an svn+ssh connection, with ssh  = $SVN_SSH ssh -Y in
  .subversion/config.

It works fine with TM1 (and from the command line). I've tried 
explicitly setting TM_SVN and SVN_SSH within TM2, to no avail.

Any ideas?

Andrew

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Cameron Wimpy | 7 Feb 19:35
Picon
Gravatar

BibTeX Problem

Hello.

I have used LaTeX in Textmate for years with no problem. Recently I updated my hard drive and did a clean install. Everything works fine, but when I run BibTeX I get this:

Traceback (most recent call last): File "/Users/cwimpy/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 570, in
texStatus, isFatal, numErrs, numWarns = run_bibtex(texfile=fileName) File "/Users/cwimpy/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texMate.py", line 104, in run_bibtex return stat,fatal,err,warn UnboundLocalError: local variable 'stat' referenced before assignment

I am not sure what this means or how to fix my problem. I should also note that BibTeX doesn't even try to run adter executing "Typset & View," and I get the message above when I try it manually. The problem persists in Textmate 2 as well. I can run BibTeX in TeXShop with no problems. Any suggestions?

Thanks,
Cameron


_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate
gom | 7 Feb 05:51
Picon
Gravatar

(textmate2) How to get rmate to open a directory

rmate is really cool. I want to work with a project directory
though, not opening one file at a time. Is there any way to get rmate
to open a directory or a project file?

_______________________________________________
textmate mailing list
textmate@...
http://lists.macromates.com/listinfo/textmate

Gildas Hamel | 7 Feb 03:29
Favicon
Gravatar

Editing (suffixing) multiple lines

I have occasional need in LaTeX to edit several lines of variable length, usually for poems, and add the
suffix "\\" to each of them.

In TM 1.5, I selected all the lines I wanted to suffix and I used Text → Edit Each Line in Selection (⌥⌘A)
and the caret was placed at the end of the first line in the selection. The suffix was added to all lines in the selection.

What's the best way to do that in TM 2? Presently I'm using multiple carets (⌘T) and clicking on each line to
set the multiple carets. I would very much appreciate suggestions how to do this in a more efficient way.
--Gildas Hamel

_______________________________________________
textmate mailing list
textmate <at> lists.macromates.com
http://lists.macromates.com/listinfo/textmate

Gmane