Here's a solution:
. "${TM_SUPPORT_PATH}/lib/bash_init.sh"
"$TM_LILYPOND" "$TM_FILENAME" 2>&1 | pre
1) In TM2, bash_init.sh needs to be loaded?
2) In TM2, stdout and stderr are differentiated? (Lilypond writes to
stderr, so combining it before the pipe to pre works. Wasn't needed,
apparently, on TM1.5)
If anyone has better information or fix, please share.
Thanks! Charles
On 15 Dec 2011, at 11:00, Allan Odgaard wrote:
>> […] not gluing yourself to the file system layout also give you the opportunity to do things that go beyond what you can think of when relying on the filesystem alone.
> Given TextMate’s philosophy it’s the opposite.
I don't understand that comment: I reckon you mean to say that TextMate's philosophy is to rely solely on the filesystem?
> When you use the file system for your project then SCM works fine because it is told that “this folder is a project”, TextMate commands work fine with the project, because they have a single root project folder, backing up the project works fine because tar can be told about a single project folder, etc.
Still, me and many others prefer to use a different method to organizing work. And not every workflow can be like yours. After all, I do use the »filesystem view« for some things because that is easier when you add a lot of files on a regular basis.
Furthermore, as said before, many apps are moving away from merely »viewing files« (and this is encouraged by Apple!), including professional apps (such as Aperture) and apps aimed at developers. Gitbox, for instance, is a nice example: there you browse repositories and commits. Integrating some of that into TextMate would make a lot of sense to me. (Or at least keep the TextMate flexible enough so that someone else can program something like that as a bundle.)
Lastly, the focus on the file system would also make it harder for you to implement access to some of Apple's future technologies (e. g. Versions; while I use git professionally, I wouldn't mind having versions when writing letters and such, stuff where git is overkill).
So I think you exclude TextMate from a lot of innovation if you don't allow a project view that is independent from the file system.
> Anyway, I think enough have been said about projects. My initial letter may have come off too strong: I was listing what can be used now in the “project context”, I was not saying everything is frozen and nothing will change:
I'm not so sure whether you got it across the wrong way, everything you have written reinforces my impression that Projects (the way we have them in TextMate 1.5) will be axed as a feature and that you dislike working with them. (I remember posts of yours to this effect on this mailing in the past.)
It's quite natural that people who like Projects would object.
> But definitely I am of the opinion that one should work with the file system because that is the “portable” way to represent a project.
I think this view of this aspect is a bit outdated and narrow-minded: Portability can mean a lot of things, but in my experience the problems rarely lie with transferring files. Quite the contrary, that's typically the easiest part (I use Dropbox to collaborate with others). In my case it's mostly making sure LaTeX code compiles on my coworker's machines. Which usually means they have to install additional packages or alter the code a little.
Max
It seems that many many people have jumped on the TM2 alpha. The
consequence of this is that there has been a rush of TM2 questions,
some of which ignore Allan's request not to post general feedback,
some of which would be answered if the poster would read the message
on textmate-dev Allan linked in a post yesterday, some of which would
be answered in the blog or release notes.
I don't think I've seen a question yet that, bearing in mind this is
*alpha* software, is sensible to post or meets the criteria of being
what the devs want to know about.
Would the powers that be consider a new mailing list? "TM2
testers" (or similar) so that the "TM users" list can concentrate on
issues, or queries users have with only the current release of TM.
This would naturally migrate once TM2 is released to the world.
I'm not going to upgrade to alpha software, I'll also avoid early beta
releases too, as I'm sure many others, like myself, who do not have
time to deal with the inevitable problems of using such 'new',
software will do. Allan and the dev team have my full support, and
I'll be glad to test release candidates when they say it's almost
ready for public consumption. But in the mean time, this list is going
to become, at best distracting, at worst very difficult to use for
those trying to get help with TM1 issues if so many posts are related
to an unreleased version.
--
Justin C, by the sea.
Wow, just wow. Lots of awesome stuff going on. Every corner is packed
with new, exciting features. A couple of ideas:
I agree with keeping the file browser window (or formerly-known-as-project
window) open after the last tab is closed. I keep frustrating myself
by accidentally closing it, then I have to hit command+n, then rebrowse to
my folder.
Here's my suggestions for improving this behavior:
- Allow command+t to work without a window open. The list could be
populated with the files under File->Open Recent.
- Open the file browser to the last folder I was using, rather than home.
If anyone knows how to navigate the file browser / favorites using only the
keyboard, I would be eternally grateful for that information.
###
I'm also having some issues with the .tm_properties files. They only seem
to be working intermittently for excluding files/directories from my
project. Sometimes the files will disappear as soon as I save my edits,
somes times not. Sometimes they will come back later. I am not under my
home directory (I'm in /Library/WebServer/Documents/...) which I have a
hunch might be causing the problems. Anyone experienced anything similar
or have any info on that?
###
About Projects: I can understand not reintroducing projects if a few other
features are stepped up. One small feature I find improves the experience
quite a bit is when you open a project, it restores the tab state and puts
you in the file you left off in. If that could be replicated with the
existing features (on a per folder or per favorite basis) I think it would
go a long way towards reducing the desire to return to .tm_proj files.
Is it possible to only keep the file browser open when closing files?
If I close the last open file it automatic close the window with the file browser.
Also I would love to see an option to keep the Tab-bar visible even if I only have one file open in file browser view.
I just downloaded TM2 build 8930, but it seems that the projects are gone?
I can open old projects (.tmproject files), but it's just showing an XML and
also it's not possible anymore to create new projects..
Are they gone in TM2? If so, that would be a real bummer...
--
View this message in context: http://old.nabble.com/Projects-are-gone-in-TM2--tp32970824p32970824.html
Sent from the textmate users mailing list archive at Nabble.com.
For several of the bundles in TextMate 2, I am getting duplicate items
in the select dialog. For example, in the following screenshot, you
can see the Git bundle with double entries:
http://cl.ly/2B0E2i3E0D0e2g1L1T2N
Any idea as to the cause of this?
I've never much cared for the way TM populates the tab bar by creating a tab for every open folder. After only a few windows are open (over any interval of time, even days or weeks), the available space is used up and one must click on the "overflow" menu to see more tabs which partially reduces the effectiveness of the tab concept. It's even worse when a tab that you want has disappeared into the the menu. I am constantly closing many tabs at once just to clean up.
Also, the Command-1, Command-2 is really great, but once a window appears in another-numbered tab, suddenly you have to re-learn the new key combination.
Maybe a better organizer is a kind of favorites bar that can be populated manually (but keeping the Command-N concept) while keeping a file history list as a separate entity. In my view, merging the tab concept with a file history, which is pretty much the present situation, is awkward.
Lastly, it would be cool to be able to drag a window's proxy icon (I think that's the right name) to the project window's tab bar to cause that window to close but to then be accessible by a tab. (Merge All Windows is usually too aggressive.) OK too would be just a menu command, Merge Front Window, but this would assume that the program knows where in the tab bar to make the new tab, but it won't know, necessitating a separate drag operation within the tab bar.
Jerry
I am a new user (purchased yesterday) of TextMate. In the past, I used
a great program on Windows called Advanced Find and Replace. It
allowed me to search through multiple files within a folder (I see
that I can do that by a project in TextMate too). But, what I cannot
figure out is if it will allow me to replace things like:
1. Ignoring white space in HTML so that it will find all text to
replace even if it is on a separate line and with tabs.
Example:
<p>This is a paragraph</p>
vs.
<p>
This is a paragraph
</p>
If it cannot search and find both of these then it is not quite as
powerful as I had hoped.
2. Advanced Find and Replace also could find text *between* two
strings and either replace it or delete it. For instance, if I wanted
to search through this:
I want to replace the word that is between these question marks in
multiple documents. ?Delete Me? and ?Delete Me Too?
You would end up with:
I want to replace the word that is between these question marks in
multiple documents. ?? and ??
Sorry, not a great example :-( but it gets the point across.
This function though could allow you to delete all tables in an HTML
document without actually knowing what was in the table....or many
other uses. It can delete text before a string or after a string too.
Can TextMate perform these more complicated Search/Replace functions?
If not, I still love the app but does anyone know of a comparable app
that is similar to Advanced Find and Replace on the Mac since this
program is not available for the Mac OSX?
Thank you,
Linda
Isn't possible to move discussions regarding tm2 to a different list?
It's quite annoying to have lots about an alpha I don't plan to use, let
alone know anything about pop in all the time.
Br
Thor Erik