Thanks, Allan, for both the replies.
> I?d argue that ?name? is meta data for the ?content? with the agreed
> upon convention that it uses a format like ??title?[.?type?]? ? a
> resource fork is just another piece of content meta data which is very
> fragile since it won?t survive a lot of the mechanisms used to
> transfer content (unlike the name), so there is little reason trying
> to split up the name into ?title? and ?type? and then store the ?type?
> in a new meta data field.
I agree completely about the resource fork. I'm afraid my comment was
confusing and it seemed like I longed for the days of resource forks
getting lost when you transferred files across platforms. (I'd be just
as happy to be rid of the extension.)
And I filed my first bug report with Apple.
> Make a column selection of the desired width (and with desired indent)
> then hit ?Q and TM will reflow the paragraph to be ?in a box?.
Doh! I knew that and had forgotten it. I feel like such a punk now.
(I'd still like to automate the process, but I want to try to do it
myself.)
Hello, how in TM when I have a few windows open can I get them into a
unified window with tabs? These are usually remote files opened over
ssh in Interarchy.
--
Scott * If you contact me off list replace talklists@ with scott@ *
I am starting to use cmd-Shift-R a lot more to run code through TM in
it's window. Very nice. For quick one off shell scripts I am finding
it invaluable.
I have a few issues. There are more times for me where I am working
in php and I want the output to be html'ized. I see a raw <br /> over
a rendered one. I end up putting in a lot of \n's and such to get
somewhat readable.
Is there any way to toggle the mode on how it deals with this?
Second is control-H, which I use a lot to get to docs in php, this is
suer handy, and I bet it uses webkit to do it's secret little deed.
However, One function may lead me to another, as there are links in
the window. But there is no back button. Is there any way to get
more standard browser buttons in this window? Or heck, I would be
happy to have it just use Safari.
The TM pop up seems to always be set to sort of work like
target="_blank" and spawn a new window, which clutters me up some, and
I end up with 20 windows hiding around. I would like control-h to
replace windows.
Thanks
--
Scott * If you contact me off list replace talklists@ with scott@ *
As the subject line begins: git from the Bundle menu works (as does
working from the CLI), but CTRL+SHIFT+G... gives me the following tool
tip pop-up:
/tmp/temp_testmate.AQcVtg:26:in `open': No such file or directory -
pages (Errno::ENOENT)
from /tmp/temp_testmate.AQcVtg:26:in `entries'
from /tmp/temp_testmate.AQcVtg:26
"AQcVtg" above is variable. Everything else remains the same.
The short version of my question is: what's wrong and how do I fix it?
TM has made me a lazy man, reliant upon keyboard shortcuts. Please
save me from using the pull-down menu.
john
#!/usr/bin/ruby -w
require "#{ENV['TM_SUPPORT_PATH']}/lib/setuplibs"
require 'svn_diff_directory'
require 'shellwords'
#require 'exit_codes'
def get_dirs()
dirs = []
if ENV['TM_SELECTED_FILES']
dirs = Shellwords.shellwords(ENV['TM_SELECTED_FILES']).delete_if
{ |file|
(! File.directory?(file)) or (! File.directory?(file+'/.svn'))
}
end
if dirs.empty? and ENV['TM_PROJECT_DIRECTORY']
dirs = [ENV['TM_PROJECT_DIRECTORY']].delete_if { |file|
(! File.directory?(file)) or (! File.directory?(file+'/.svn'))
}
end
if dirs.empty?
TextMate.exit_show_tool_tip "Neither the selected directories nor
the Project directory are versioned"
end
dirs
end
STDOUT.sync = true
dirs = get_dirs()
dirs.each() { |d|
Dir.chdir(d)
svn = ENV['TM_SVN']? ENV['TM_SVN']:'svn'
puts `#{svn} diff -r 1 .`
}
This script is supposed to generate a full svn diff for the currently
selected directory.
However, it generates no output.
I've set input to none, and output to new document
------------------------------------------------------
"Home is not where you are born, but where your heart finds peace" -
Tommy Nordgren, "The dying old crone"
tommy.nordgren(a)comhem.se
Hello all. I'm trying to figure out a way to write a command that will
take a selected block of soft-wrapped text, hard-wrap it to a given
length, and then indent a given number of spaces. I do a lot of
writing using Markdown, and I would like to find a way to make
bulleted lists more clearly marked as such while in plain text mode.
None of the current options under the TEXT menu do what I want. I
don't need the command to ask for the wrap length or the spaces to be
indented, I'm happy to adjust that within the command itself -- once I
get what I want, I won't fool with it for months if not years.
If someone could even point me in the right direction, I'd be happy to
try to hack at something on my own, but I honestly don't know where to
start.
john
--
John Laudun
laudun(a)louisiana.edu
http://johnlaudun.org/
Twitter/Facebook/Flickr: johnlaudun
Sometimes I would like to make a substitution/search or whatever only on a
part of the file, but textmate doens't bother too much if I select
something, neither there are options to do it.
I'm sure there is a way to do it, any help?
--
View this message in context: http://www.nabble.com/Substitute-only-here%21-tp22914227p22914227.html
Sent from the textmate users mailing list archive at Nabble.com.
In Bill's defense, I have long had this problem with the Finder. If I
create a file in Textmate but assign it no extension, a blank document
icon is assigned the file and the default application -- no matter how
hard you try to change it through the Finder -- to open the file is
always TextEdit.
As many people have pointed out, this is indeed a Finder problem, but
it makes it no less frustrating for users who do not wish to have
extensions on text files. (In the old days, wasn't that what the
resource fork was for? And wasn't the promise of the modern OSes to
dispense with the file extension system?)
john
Greetings to everyone,
How is it possible to compile a small program via short-cut. Until now
I've used apple-cmd+R (RUN/Compile via xCode) in my .m files
(objective-c). Via command usually I do something like this:
Angel:Fraction atma$ ls
Fraction.h Fraction.m main.m
Angel:Fraction atma$ gcc Fraction.m main.m -o Fraction -l objc
Angel:Fraction atma$ ./Fraction
5 / 10 = 0.5
0 / 0 = 0
Angel:Fraction atma$
Best regards & thanks in advance
Panagiotis (atma) Atmatzidis
email: atma(a)convalesco.org
URL: http://www.convalesco.org
--
The wise man said: "Never argue with an idiot. They bring you down to
their level and beat you with experience."
Guys,
Which screen recording software do you usually use to record TextMate
screen casts?
Best regards,
Mathieu
___________________________________________
Mathieu Godart
Skype: mathieu_godart
MSN: mathieu_godart(a)hotmail.com
ASIC Integration Manager
Coolsand Technologies
___________________________________________