the HTML bundle contains a tidy command that attempts to run ~/bin/
tidy (which doesn't exist)
could this be added to the `Scripts` or `Tools` directory? or if not,
which binary is recommended?
best regards,
tom
--
Tom Lazar
http://tomster.org
Allan Odgaard wrote ..
> I know this isn't optimal, but I have no idea on how I can handle this
> problem gracefully.
How about implementing:
TM_BUNDLE_USER_PATH
TM_BUNDLE_SYSTEM_PATH
TM_BUNDLE_NETWORK_PATH
to point to their obvious locations. Then, at least scripts can access each of the bundles easily and by using TextMate's search order, can allow users to override items the normal way. Obviously, TextMate should only set a variable if the relevant bundle is actually at the location.
Best, Erich
I ran into the following problem. I am running the "LaTeX and
TeXniscope" command, and one of its lines is:
"$TM_BUNDLE_PATH"/latexErrWarn.py
When I run the command, I get the following error:
/bin/bash: line 6: /Users/haris/Library/Application
Support/TextMate/Bundles/Latex.tmbundle/latexErrWarn.py: No such file
or directory
In other words, TM_BUNDLE_PATH seems to be set to point to the bundles
in my home directory, and of course does not see the Latex bundle all
the way in the root directory.
On the other hand, I ran the "Show Variables" command from the Defaults
bundle, and it shows that TM_BUNDLE_PATH is equal to:
/Library/Application Support/TextMate/Bundles/Defaults.tmbundle.
So in that case, it points to the bundles in the root directory.
So, why this difference? Is there a nice way to fix it?
Thanks,
Haris
I don't know if this is the right place to say,
but i have two suggestions.
1. Have the command output window docked to the project/document
window, an option of course?
2. Have Output option in the Command Editor, that lets me jump to a
specific file/line/col of a file.
Best Editor, Already a Convert (after 3 days)
Julian Tyler
+-----------------------------------------------------------------------
----+
+ A debugged program is one for which you have not yet found the
conditions +
+ that make it fail.
+
+ -- Jerry Ogdin
(ASK)+
+-----------------------------------------------------------------------
----+
On May 6, 2005, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
>
>> I already know that i can use the separate window with a regex
>> pattern
>> but
>> what i want is to jump straight to a file/linenumber/col, without
>> opening
>> a new window, which i need to click in.
>>
>
> So what you want is a way to control the caret from a command? And
> additionally open new files in the existing document window!?!
Oh nice sorta like the vim tag feature. I would say open into a new
tab thats auto selected as the active tab. would be the closest to
the tag stack like vim.
It is quite nice. It was done just like opening a file [relative
fast] but was super fast :e filename or i think :tag file tag or :e
file [line num] can work haven't tried that one in a while though so
probably rusty or pulling it outta somewhere.
After a quick search I can't seem to figure out how to do column
typing? How do I do it like in the video on macromates.com?
Sorry for the stupid question! :-)
Can someone confirm the following behavior (beta5)?
1) Open a project in Textmate
2) Open a couple of files from the project in separate windows. (Not
sure if it matters whether they are actually from the file).
3) Go back to the project window, and make a change in one of the
documents.
4) Press Shift-Command-W to close the window, and when asked to save
the changes, do so.
5) Now, pressing Command-` does not cycle through the remaining
windows, as it should.
Note: This will not happen if there are no changes to be saved.
If other people are seeing this behavior, then it looks to me like a
bug.
Thanks,
Charilaos Skiadas
Department of Mathematics
University of Chicago
Hi all,
I just erased half of my macros after editing the Snippets panel and
removing a bunch of bundles that seemed empty as they had no snippets.
Alan, can you make it clear to the user that deleting a bundle in one
panel deletes all of the macros, commands, etc for that bundle and not
just the items in the currently selected display mode? Maybe provide
some kind of confirmation dialog as well :)
Hi All,
Is there (or will there be) in TM a way to unlock locked files? For
instance, if I want to edit httpd.conf, I must either use Terminal or
use TM through Pseudo. Could it be done directly in TM?
Thanks,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
I currently have a project running, which has a master file that is the
one to be LaTeXed etc. Currently, I have just set the TM_LATEX_MASTER
variable, through the preferences menu, to point to that file, and it
all works nice and dandy. I was wondering though if there is a way to
set it so that each project has a corresponding TM_LATEX_MASTER
variable of its own, and the variable only works when the project
window is main, or will I need to disable the variable each time I have
to work with a separate single tex file?
Thanks,
Haris
Name: Bob Moisan
Email: bob(a)intelligentlighting.com
Company: Intelligent Lighting Creations
Phone: 847.982.2070
Comments: I was wondering if you can create a website using the
Sprite graphics on my Commodore 64?
I've seen on the list these last couple of days mention of problems
with Tiger. I have it now and was planning to upgrade today. I'm
using beta 5.
It TextMate functional under Tiger? What problems can I expect?
Thanks.
James Edward Gray II
Trying a checkout of the bundles raises here
A Bundles/Subversion.tmbundle/Commands/Add to Repository.plist
subversion/libsvn_subr/utf.c:363: (apr_err=22)
svn: Can't recode string
having LC_TYPE set to "en_US.UTF-8" as the wiki says. Looks like the
checkout is interrupted because XML and Perl are missing for example.
I did a search in Google and found a message from Eric Hsu with a
similar problem. Any ideas?
-- fxn
Hi Allan,
is there any chance that future betas (b8?) will include the bundles
again? I'm ›finkless‹ since the Tiger upgrade and don't like the
thought of installing unixoid command line tools (ie. the svn client
in this case) ›outside‹ of Fink. Thanks!
Christian
I've always modified the default keybindings in TextMate to change ^f
to moveForward rather than reformat paragraph. Since converting to
Tiger this hasn't worked very well.
The binding seems to work as moveForward in files that I open in
standalone windows. Not part of a project. But if a file is part of
a project the old reformat paragraph behavior comes back.
For example I have:
dijkstra.tex as part of a project
when I try navigate using ^f in the file dijkstra.tex file opened
inside the project all I get is reformat paragraph.
If I open dijkstra.tex all by itself ^f works as desired.
Is anyone else seeing anything like this?
Brad
Brad Miller, PhD
Assistant Professor
Luther College
http://www.cs.luther.edu/~bmiller
jabber: bnmnetp(a)jabber.org
Before I re-installed Tiger and installed Textmate I was able to call
'tm' from command line and it worked perfectly... now it does not
open tm unless I pass something to it... is that the way it is
suppose to work?
I don't know if TextMate supports read-only documents or not, but I
would like to be able to specify a custom view filter for a given
document in my project that produced a read-only text or html file in
place of the document's content that automatically displayed as a
normal project tab. The document in the tab view should have all of the
TextMate-specific features of a normal Commmand output window (e.g. go
to line, etc.)
Use Cases
---------
TextMate doesn't allow you to view jpegs, which is fine. But if I could
define a filter to run on selection that produced HTML output, I could
not only view the jpeg in the tab, but I could list statistics about
the file (size, dimensions, etc.) that I could either just read or
select and copy-and-past somewhere else in my project.
Viewing object files using the output from otool would also be handy,
particularly with the go-to feature and the ability to convert to (more
attractive) html output.
Man pages are another option. Define a blank file "xcodebuild.man" and
include it in your project hierarchy, setting a project-wide .man
filter to the output from Bwana (which does html man pgae output). Now
you can just click on (or tab to) the man page to read it, without
having an extra window pop-up or having to execute a command.
Custom UIs embedded in TextMate are another huge opportunity. Define a
Project.build_ui file and filter through something that generates an
HTML page that nicely renders all of your build options, along with
some handy buttons to initiate a build, view the last build results (in
an embedded HTML scroll view, whose lines have standard Command go-to
line behavior), etc. The customization possibilities for TextMate are
endless.
An embedded Subversion UI is another option.
An embedded Trac page is another. The possibilities are endless.
The key thing is that the filter is *automatic*. This makes it appear
in a tab just like any other built-in TextMate feature as far as the
user is concerned. This builds on the existing Command...
infrastructure Allan's already built.
UI Implementation
-----------------
Select file in Project browser and choose "Filter through Script...".
Up pops a dialog similar to the Command editor dialog. Extra options
include: update when source changes, update on view, and update first
time only.
Project-wide options would allow you to assign filters to extensions
automatically (e.g. .jpg).
Any comments or suggestions are welcome.
Best, Erich
On 02-05-2005, at 19:43, Erich Ocean wrote:
> Saw this over at daringfireball.net[1]:
>> NSTextView — the default text editing control in Cocoa apps — has
>> been significantly upgraded [in Tiger]. You can do discontinuous
>> selections with Command-drag, and column selections with Option-
>> drag. You can use these new selection gestures in most Cocoa apps —
>> including in textarea fields in Safari and any other app that uses
>> Web Kit. (Thanks to Quentin Carnicelli.)
> It's nice to see Cocoa's text support improving, even though it's not
> up to the level of Allan's work.
Actually, it [column mode selection] seems useless in NSTextView since
it doesn't paste back in column mode. Kinda like BBEdit did theirs I
think.
--
Sune.
On 02-05-2005 13:52, Ollivier Robert wrote:
> According to Brian Lalor:
>
>>take this time, however, to make sure everyone's aware of DarwinPorts.
>>For reasons I completely forget, now, I've preferred DarwinPorts to
>>Fink since I started using OS X.
>
>
> You have the same differences as between Debian and FreeBSD (no flame
> intended): more reactivity, more up-to-date packages and preference for
> source-to-be-compiled packages.
Also big plus for me is making *really* sure that it will not tamper with
other files than the one it installs itself.
I found this great guide [1] to install DarwinPorts under a special ports
user, which only has rights to the directory where it is supposed to
install stuff and nowhere else.
I was always doubting about Fink or DP and chose Fink for it's point and
click interface, that turned out to be horrible, but worked most of the
time. Now that I'm on Tiger, I'll switch to DP if I have time..
Jeroen.
[1] http://www.phil.uu.nl/~js/blog/2004/02/17#darwinports
--
<http://www.je-ju.net/~jeroen/blog/>
On May 2, 2005, at 11:33, Hannu Rajaniemi wrote:
> Ah. I thought I already sent this to the list, but maybe it didn't go
> through. What I seem to get is
>
> 2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named
> text.html.basic
It did, and also a reply from Brad! ;)
The problem is that you do not have the (sourced) HTML syntax. At least
not an up-to-date version which has the scopeName set to
text.html.basic.
I'm on beta 7.
When I open the Get Info window on a file, and deselect the "Save as
absolute path" checkbox, then close the Get Info window and re-open it,
the checkbox is checked again. Is this a known bug/feature? I'm trying
to convert all my project references to relative so that I can move the
project between different users on my machine.
Best, Erich
Hi,
Today, I updated to Tiger and downloaded the b7: then I did a SVN
checkout of the bundles. Everything appeared to be working fine, until
I tried the Markdown bundle (I write my blog in Markdown). The bundle
seems to work, but I get an immensely annoying system bell sound with
every keystroke! The problem seems to be restricted to the Markdown
bundle, as far as I can tell.
Anyway, thanks again for TextMate: it's really becoming a brain
extension for me. Any chance of seeing any Automator/TM interplay in
the future?
- Hannu Rajaniemi
On 4/30/05, Brad Miller <bmiller(a)luther.edu> wrote:
> Also if you would take a look at your console and let us know what messages
> are coming out in the console when the beeps are happinging.
>
Good point. What I seem to get is
2005-04-30 00:21:00.022 TextMate[17407] didn't find rule named text.html.basic
with every keystroke, so it probably does have something to do with
the HTML language definition.
- Hannu
Traditionally, changing a menu item from Close <Something> to Close All
<Somethings> is done by holding down the Option key, not the Control
key. I had been wishing for a Close All Tabs command, and it finally
dawned on me that you might be using some other modifier so I began
trying them all...
Best, Erich
> I have this in my .bashrc:
> tm () { open -a TextMate.app "$*"; }
Which is a nifty trick, but it can't act as your EDITOR for things like
svn. I love not having to write my commit messages on the command line
anymore :)
I place the tm program in /Users/yourname/bin which means make a new folder named bin. You will have to then create .bashrc on /Users/yourname and add PATH="~/bin"
EXPORT PATH
to the .bachrc file. You can make the file in TextMate.
Ott over at the codingmonkey's site (Subethaedit) has a subversion binary to install.
John Kopanas <john.kopanas(a)protoseinc.com> wrote:
__________
>I just installed 10.4 from scratch and I forgot how I installed 'tm'
>the first time... can someone please remind me? :-)
>
>While I am at it anyone know where I can get Subversion from 10.4?
>
>Thanks guys and gals!!! :-)
>______________________________________________________________________
>For new threads USE THIS: textmate(a)lists.macromates.com
>(threading gets destroyed and the universe will collapse if you don't)
>http://lists.macromates.com/mailman/listinfo/textmate
yeah, I know, it's me again ;-)
I'd like to point out, that it is exactly a tribute to how great and
useful TextMate is (for me) that all I'm requesting are such tiny
little nitpicky features, so I hope I don't come across as
unappreciative!
anyway: I'd really like to have a quick, no-brains-involved method to
toggle between the textfield and the project drawer via the keyboard
- I do it a million times a day and I don't want to use the mouse for
it (RSI, anyone?)
currently i can use ctrl-tab to tab *out* of the text area (great!)
further ctrl-tabs cycle through the action widgets at the bottom
until it finally drops me off in the text area again.
while i can use shift-tab to get back immediately, this isn't very
economical IMHO to move back and forth quickly.
so, my proposition: ctrl-tab to toggle between textarea and project
drawer, shift-tab to cycle forward through textarea, projectdrawer
and widgets, and ctrl-shift-tab to cycle backwards
or any other alternative that allows me to toggle with one key-combo ;-)
best regards,
tom
--
Tom Lazar
http://tomster.org
I am running TextMate 1.1b5
I downloaded the Rails bundle from here:
http://wiki.rubyonrails.com/rails/show/TextMate
I double clicked. It installed. I restarted TextMate. When I looked
in snippet there was no category for Rails. How can I get it to
install properly?
Thanks for your help my friends.
John
hi,
I'd like to request, that the language display in the statusbar could
also act as a widget to change the current language, because often
the automatic detection can't come up with the correct language and
it would make an often-used feature more accessible without wasting
screen real-estate or otherwise cluttering things up.
any comments?
best regards,
--
Tom Lazar, http://tomster.org
ok, I just don't get it: *sometimes* when pressing the ctrl-shift-a
key I get the neato little popup with all the svn-related commands
(which is what I want) and *sometimes* I get the status popup (which
is usually *not* what I want).
I just can't seem to figure out the system behind it - or more
importantly how to make it *always* present the popup.
any ideas?
best regards,
tom
--
Tom Lazar
http://tomster.org
Ok,
I just have to say, WOW. I get it, I have drunk the cool aid and I am in
heaven. I started using TextMate for a new project, I have been a faithful
beliver in the 'it doesn't suck' BBEdit for as long as I can remember (I
have CD's back to at least 3.0), but I think that app may begin to get more
and more idle time...
The power of this app, tied into the command line and other goodies is only
hurting my productivity in that I keep streamlining my work process, and
tuning it, and tweeking it, oh who knew a text editor could be FUN! Thank
you to every one who has contributed to the commands and snipits, and the
syntax files.
One question though, is there a way to print out a pretty (enough) list of
the snipit triggers for a particular syntax?
this is one app that is so worth registering. Wicked!
Sam D
hi
I hate whitespace at the end of lines or files, so I wondered if
there's a way to automatically remove those. I could probably define a
command to do this, but I still would have to start it manually.
IMO it would be nice if TextMate allowed running commands on certain
events, especially on saving the current document. This would not only
solve my problem, but would also allow other maybe useful automatisms
like automatically re-building a project on saving or something like
that.
What do you think about this idea?
--
bye, Frank!
hello,
first: I know, I can adjust this locally myself - but then I'd have
to re-do that, everytime the XMLBundle gets updated (or - from my
understanding - my modifications would overrride any future updates
to the XML Bundle in which case I'd have to forego them...)
my request: pls include the following suffixes for the XML-Language:
.pt
.cpt
.dtml
.xsl
the first three come from Zope development and AFAIK don't conflict
with any other suffixes.
I'm sending this to the list, because I couldn't figure out, who
'duff' is, the user committing the most recent changes to the bundle
(Brad Miller?!)
best regards and thanks,
tom
Hey all,
i am new to the list and have some problem with TextMate using version
1.1b5.
Sometimes the project drawer collapses the view i.e. when i update my
local repository from a subversion module which i added to the drawer.
Is this a known bug and will this be fixed in the future? Or is there
already any hidden setting addressing this behaviour?
Thanks a lot for this great editor.
.bjoern
Seeing that b6 was out although unofficially, I've downloaded it, moved
away my ~/Library/Application Support/TextMate, put the svn checkout of the
latest bundles in /Library/Application Support/TextMate/ and...
nothing.
Lotsa beeps going on on startup and all files are showed using the language
called 'Ruby on Rails' even though it is not a Rails project at all.
Nothing is highlighted of course.
Any idea? I did re-checkout from svn as the path has changed.
--
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto(a)keltia.freenix.fr
Darwin snuadh.freenix.org Kernel Version 7.9.0: Wed Mar 30 20:11:17 PST 2005
I'm obviously just not looking in the right place but can anyone tell me how
to type this character:
^
I've looked in the keyboard viewer and thought it was command+option+i but
that only shows the invisibles in TM. I've seen it in the Character palette
but would rather be able to type it instead of opening that palette each
time.
Feel free to answer off list.
Thanks,
Mike Stickel
Screenflicker Developments
www.screenflicker.com
p: 403-271-9118
e: mike(a)screenflicker.com
Hi,
Would it be possible to have scope show up for the current position in
the status bar, along with line, column and language? IMO it would
probably make theming etc a lot easier.
Max
hello, is it just me, or is the Python bundle broken?
- I deleted ~/Library/Application\ Support/TextMate
- I deleted the Bundles directory inside TextMate.app
- I checked out svn/Bundles/trunk at /Library/Application\ Support/ and
created a symbolic link 'TextMate' to 'trunk' (it was the only way to
get the bundles recognize)
now, python source files are uncolored, eventhough the files are
correctyl recognized as Python code.
any ideas?
tom
p.s. thanks for the ^m command for markdown, whoever that was!
--
Tom Lazar, http://tomster.org
I like the new changes to the pdflatex command. However, for it to work
on my system I had to go back to Apple's apache rather then the apache
2 WebServerXKit I installed. So I made a nominal change to the html
path and include it here if anyone is interested:
# If PDF file is non-empty and apache is running, redirect.
if [ -s ${tmp}.pdf ] && [[ $(ps -xca|grep httpd) ]]; then
cp "$tmp.pdf" /usr/local/apache2/htdocs/web_kit_workaround.pdf
chmod 666 /usr/local/apache2/htdocs/web_kit_workaround.pdf
echo
"<script>window.location='http://localhost/web_kit_workaround.pdf'</
script>"
elif [ -s ${tmp}.pdf ]; then
echo "<strong>Error: Apache not running (we can no longer redirect
to file://localhost/...)</strong>"
else
echo "<strong>Error: PDF file not written to disk</strong>"
fi
Otherwise, beta6 is working great in LaTeX
Robert
My textmate freezes on startup! No idea why... except I was using it
last night when it started behaving strangely... clicking on the buffer
tabs wouldn't do anything unless I clicked on the topmost 2 or 3 pixels
of the tabs.
Things started getting generally screwy, so I saved the project and
restarted textmate... and she hasn't launched successfully since.
Any ideas?
Cheers,
jL
Certainly, this might an odd request, but is there some way to delete
line breaks (\n) in a text document? Or, only when there are two in a
row (double spacing)? I'm trying to clean up some large files and it
would be easy if I could plunk our large sections and take out the
double returns.
Thanks, v
I posted this to the wiki, I think it was missed, and I thought it
might be good to bring up here anyway for fuller discussion.
It would be great to have the option of buying a noncommercial or
student license for TextMate. I bring this up because I would benefit
(qualifying for both myself), but also I think that this is something
you should consider because it might bring in more total revenue via
added registrations you would otherwise not get.
Hi,
I recently played around with The Remembrance Agent
(http://www.remem.org/) and Carbon Emacs. Remem (as it's commonly
called) is a pretty nifty associative memory prompter originally
designed to work with wearable computing devices, with an Emacs
frontend. The idea is that it scans the text you type continuously and
suggests related files from a database you've specified. As the core
of the system consists of two non-Emacs-related binaries, I was
wondering if it would be possible to duplicate the Emacs frontend in
TextMate? Given TextMate's HTML display capabilities, it would be nice
to have a little window at the bottom of the screen with clickable
links to files that are related to whatever I'm working on at the
moment.
This is the kind of thing you're unlikely to see in a word processor,
and would effectively duplicate a lot of the functionality of
DevonThink (http://www.devon-technologies.com/products/devonthink.php).
People have been raving about associative memory apps for years, but
they haven't really come into their own yet. TextMate might be a fun
playground to try it out.
Speaking of things which Emacs has but TextMate doesn't at the moment,
how about abbrevs? I'd like to be able to replace common misspelled
words (the for teh and so on) automatically, and under Emacs I have a
big abbrev file that does this. Could one do this e.g. with input
patterns?
Just brainstorming here, thanks for your patience...
- Hannu Rajaniemi
Working with Mark Smith an a context bundle I am trying to get the same
html output as generated with the latex bundle but I am having troubles
calling the PDF into the browser.
Here is what I have, a hack of the LaTeX bundle:
# PDF ConTeXt
# Save Current File
# Input=Entire Document
# Output=Show as HTML
# this requires pdflatex Web2C 7.5.3
# Below are the instructions for the html output of the texexec run
command
cat <<EOF
<html><head><style>
* { color: #998; }
a { color: #000; text-decoration: none; }
a:hover { color: #000; text-decoration: underline; }
</style></head><body><pre>
EOF
# below is the name for the temp file called by texexec
tmp=`mktemp /tmp/texexecpdf_XXXXXXXX`
# If TM_LATEX_MASTER not set use TM_FILEPATH
[ -z "$TM_LATEX_MASTER" ] &&
export TM_LATEX_MASTER="$TM_FILEPATH"
# Here is the actual command followed by the perl script to find the
output.
cd `dirname "$TM_LATEX_MASTER"`
texexec --pdf --nonstop /tmp\ `basename ${tmp}` `basename
"$TM_LATEX_MASTER"` \
| perl -pe '$| = 1; s/^(\/.*?):(\d+):\s*(.*)$/<a
href="txmt:\/\/open?url=file:\/\/$1&line=$2">$3<\/a>/'
# If PDF file exists and not empty, display it. This is were I loose it!
[ -s ${tmp}.pdf ] && echo '</pre><meta http-equiv="Refresh"
content="0;URL=file:///'${tmp}'.pdf">'
{ sleep 30; rm ${tmp} ${tmp}.*; } </dev/null >/dev/null 2>&1 &
The command runs fine and displays the log file as it should, but does
not load the PDF. At the end of the context log, the output that
texexec registers is:
Output written on c_position_authority.pdf (1 page, 7354 bytes).
This is the name I gave to the original file, not texexecpdf.xxxxxxxx.
Should it be?
Transcript written on c_position_authority.log.
return code : 0
run time : 2 seconds
sorting and checking : running texutil
TeXUtil 9.0.0 - ConTeXt / PRAGMA ADE 1992-2004
action : processing commands, lists and registers
option : sorting IJ under Y
option : converting high ASCII values
input file : c_position_authority.tui
output file : c_position_authority.tuo
I am using Web2c 7.5.4
Any suggestions?
Thanks
Robert
I believe I've found a bug with the column typing environment in TM.
Take a set of lines, e.g.
Example one.
Example two.
Example three.
Now, say you want to change that to
Text example one.
Text example two.
Text example three.
So you select the first two lines and hit option to go into column
typing for prepending to all of the lines, and you type "Text ", this
gives you:
Text Example one.
Text Example two.
Text Example three.
Now you want to change the capitalization on "Example", so you hit
forward delete[1], and type in an "e". But instead of getting what you
want, you get:
Text example one.
Text eExample two.
Text eExample three.
That is, forward delete (unlike backspace) only affects the line with
the cursor in it, and not all of the lines in the column. I assume
this is a bug, and not some logical behavior that I just don't
understand, right?
[1] Note, I'm working on an old PowerBook, so I'm using fn-delete for
forward delete.
William D. Neumann
"You've got Rita Marlowe in the palm of your hand."
"Palm of my hand? You haven't seen Rita Marlowe..."
-- Will Success Spoil Rock Hunter?
So, I'm finally getting to the point that I'm really starting to play
around a bit with the automation aspects of TextMate. I think that I
found a bug, but I want to confirm.
I created a macro, which through the course of its steps utilizes a
snippet. The snippet has default values, which I'm also using, because
it's a very repetitive task. The idea behind this, is that when I got
to a different spot in the code that I'm working on, I would change the
snippet defaults and keep using the macro.
What appears to be happening instead, is the old default values are
used instead of the new ones. When I use the snippet manually, the new
values I put in are still used. Is this a bug, or is my expectation
wrong?
(this is on b5 btw)
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I'm new to TextMate, so please point me to the fine manual if I'm
missing something obvious. I've poked around the mailing list and
documentation but couldn't find anything related. I'm using 1.1b5
currently, but would switch back to 1.0.x if that helps.
As part of switching over to TextMate I'm trying to set up a TextMate
command to do some text processing. I have a project defined that has
multiple text files and a TextMate command that may modify some or all
of the text files in that project when it executes. The command first
saves all of the files in the project. It then runs a Python script
with no input and discarding any output.
TextMate, unfortunately, doesn't seem to check to see if the current
file was changed after the command executes. If I switch to another
file in the project and then back to the original file it will notice
that the underlying file has been changed. But if I forget to switch
back and forth it will end up causing a conflict between the file in
memory and the file on disk.
In short, is there anyway to force TextMate to check the "freshness" of
a current file after executing a command?
I made a modification to the 'Strip trailing spaces' command. My
option allows it to work on the whole document. The only annoyance
that I have is when it is done, all of the text in the document is
selected. Is there a way to turn this selection off so that I could
just use my hotkey for the command and then keep typing? It's not a
huge issue, but it is a minor annoyance.
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
Working with a new special bundle for context I have run into the
following error when using any of the special item lists in the default
bundle.
ERROR: no handler for extension/mode 'ConTeXt' Entitynav: Outputs a
parsable list of functional entities for the given code file Usage:
entitynav -f [ -m $TM_MODE ] entitynav -f - -m $TM_MODE entitynav -f
- -e entitynav -f - -E -f, --file |- : parse or stdin if `-' -m,
--mode : set mode to -e, --ext : set mode to -E, --ext-from-file :
set mode to extension of -s, --sort : sort output by
function/method/class name -S, --sort-silently : sort only if the mode
supports it, otherwise output unsorted -h, --help
Any thoughts on how to get EntityNav to recognize the context mode. It
is essentially the same as the Latex mode.
Thanks
Robert
Greetings all,
thanks to those who posted the pdfsync details for TeXniscope and
TextMate: it's now working really well for me. If anyone's having
difficulties getting the TM->PDF direction working it might be worth
noting that teh command posted above by Thomas should be only 3 lines
long. That is, there is a comment, then a single line (containing the
"&&"), and the rest is a single command on a single line. Just be
careful to delete any line breaks when you paste the script into the
command window.
For what it's worth, the synchronisation behaviour here isn't the same
as Flashmode (a la Claus Gerhardt's work): the latter provides "real
time processing" of the input file, so that you see what you're
producing as you type. That is, the file is being processed behind the
scenes, and changes to the pdf file are produced on the fly.
Cheers,
Paul
Hi,
I know that you can use TextMate to cite from a BibTeX file but as of
now this only works for one BibTeX file. I have several BibTeX files
which I maintain seperately and since this works much better for me I
thought I'd give BibDesk a try with which you can have several BibTeX
files open at the same time and cite from them with BibDesk's system
wide citing service. I get this to work in TextEdit and TeXShop but not
TextMate :-(
To use the service you type \cite{H}, leave the cursor at H and type
Alt-Escape; this will give you a list of all references that contain H,
but in TextMate this only cylcles through several words containing H.
In TextMate the Escape key is set to "Next Completion", so I guess that
this either clashes with BibDesk's hot key or TextMate doesn't support
BibDesk at all.
If anybody has any hint how to overcome this either with TextMate
supporting several BibTeX files or how to get BibDesk to work with
TextMate I'd be very grateful!
Best wishes, Thomas
Ciao, Thomas
--
Thomas Schröder +++ hydrochlorix(a)gmx.net
Hello
I'm a total beginner with Textmate and i 've a little problem when i
use it with latex command.
I've no problem to get a pdf with preview, texniscope or Acrobat but if
i made a modification in the source, i need to close the old pdf to get
a new one. Is it possible to refresh the view ?
Thanks Alain Matthes
Dear Sir/Madam
Permit me to solicit your assistance on this
transaction with you.My name is Chief Obina, I am a
staff of STANDARD BANK PLC
As one of the auditors of the bank, I found out that
there is an unclaimed fund of $19.4M. in one of our
customer's account for more than ten years and our
banking law stipulates that any unclaimed fund for
more than 12years will go to the bank revenue as an
unclaimed fund.
My colleagues and i have made our own personal
inquiries about the depositor and the next of kin but
sadly,the depositor and his entire family died in a
plane crash.
We solicit that you stand as the next of kin so that
the money will be transfered to your account or any
other account you may provide for us.
We propose that the money be shared as follows 30% for
you,
65% for my colleagues and I while 5% will be for any
expences we may incure.
I awaits your urgent reply while believing you do
understand the confidential nature of this
transaction.
Thanks,
Chief Obina
Allan Odgaard wrote:
[snip]
> so what you can do is go to menu Automation / Run Command / Edit
> Commands...
[snip]
I need to say this, so sorry if this seems out of place on the list...
The reason that I love TM so much is exemplified by the response to Mr.
Schröder's question about BibDesk. Allan, who I am sure has much better
things to do with his time than worry about single requests for help and
the like, instead of assuming someone else would tackle the question (it
was posted to the list, so it would have been a perfectly valid
assumption,) not only answered the question, but implemented the command
and updated the Latex bundle. And anywhere that Allan doesn't have time
to do that, someone else ( Sune and Eric immediately jumps to mind, but
there are _tons_ of others, so if you feel short shrifted, feel free to
burn my effigy ;) immediately brilliantly answers the question, usually
at what seems like great effort (at least great effort to expend helping
other people solve their problems instead of your own.)
Ok, so this mail is mostly me wanting to say thank you to those people
that put so much effort into not only making TM the best editor that
ever existed or will ever exist, but also in making sure that the
community around the editor is and stays as great as it is. I've been
lurking on the list since last November and there is no other list I
have ever been subscribed to ( except maybe ruby-lang ) where the
atmosphere was so radically *nice*.
Thank you Allan, and everyone on the list, for being genuinely interested
and actively involved in the community of people who use TM every day.
Jon Raphaelson
PS. Allan, when are getting b6? (lol ;)
Mac OS X 10.4 Tiger will be released on April 29.
http://www.apple.com/macosx/
I assume TextMate has been tested and is working fine under 10.4. Will
it be able to leverage any of the new system architecture? In
particular, I'm wondering if I'll be able to have a Smart Folder as
part of a TextMate project.
--
Jonathan Chaffer
Applications Developer, structure:interactive
(616) 364-7423 http://www.structureinteractive.com/
Hi!
I was wondering if it's possible to define a "foldingStopMarker" that
marks the line _above_ some pattern to end a folding. The issue here is
that I have a markup (so called structured text) that does not use any
explicit "end" marker, as the next "start" marker implicitly stops the
previous.
Example markup:
= MAIN
! First Chapter
...
! Second Chapter
...
= APPENDIX
! Appendix 1
...
As you see, parts of the text are marked with "= PART", chapters with
"! chapter", sections with "!! section" etc. Hence, "! Second Chapter"
in this example concludes "! First Chapter", and the
"foldingStopMarker" should point to the line above "! Second Chapter".
Any help is greatly appreciated.
Thanks and regards
- Stefan
--
Stefan Brantschen
sbr(a)acm.org
Is there anyway for TextMate to reformat HTML - in a similar fashion to
Dreamweaver's "Apply Source Formatting" command, or Omniweb's
"Reformat" command, so that you go from:
<html>
<head>
<title>Empty Document</title>
</head>
<body>
</body>
</html>
to:
<html>
<head>
<title>
Empty Document
</title>
</head>
<body>
</body>
</html>
Mike
unsubscribe
* * * * * * * *
*BILL EVANS*
developer
*JUICY TEMPLES*
2424 E. Robinson St.
Orlando, Florida 32803
407 895 5015 phone
407 895 1883 fax
www.juicytemples.com
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/mailman/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. Xetex (Alain Matthes)
> 2. Re: Xetex (Robert Ullrey)
> 3. Folding Question (Stefan Brantschen)
> 4. RE: Column selection navigation (David Lee)
> 5. Re: Column selection navigation (Sune Foldager)
> 6. BibDesk (Thomas Schr?der)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 11 Apr 2005 17:34:13 +0200
>From: Alain Matthes <alain.matthes(a)free.fr>
>Subject: [TxMt] Xetex
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID:
> <r02010500-1038-28B43C4AAA9F11D9856C000A95B069FE(a)[192.168.0.2]>
>Content-Type: text/plain; charset=US-ASCII
>
>Hello
>
>Can I use Textmate as a front end for XeTeX ?
>
>Did somebody already make the experiment ?
>
>
>Actually i use TM with pdfLateX and Acrobat Reader :
>
>/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex
>--shell-escape -interaction=nonstopmode -file-line-error-style
>"$TM_FILEPATH" | perl -e
>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>echo
>echo "Previewing..."
>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>open -a Reader
>
>I need the -sheel-escape option because i work with pstricks and
>postscript . It's fine and i've no problem to get the PDF files.
>
>
>
>Thanks
>
>Alain Matthes
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 11 Apr 2005 09:20:03 -0700
>From: Robert Ullrey <robert_ullrey(a)mac.com>
>Subject: Re: [TxMt] Xetex
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID: <7b2057ae0247d9f1a41998d75107b28d(a)mac.com>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hello Alain,
>It is simple, just replace pdflatex with Xelatex.
>
>cd `dirname "$TM_LATEX_MASTER"`
>$xelatex --shell-escape -interaction=nonstopmode -file-line-error \
>"$TM_FILEPATH" | perl -e
>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>echo
>echo "Previewing..."
>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>open -a Reader
>
>If you want the file to show in Textmate's htmlbrowser rather then
>opening Reader, just use the existing Latex bundle command and replace
>pdflatex with Xelatex.
>
>Cheers
>Robert
>
>
>
>On Apr 11, 2005, at 8:34 AM, Alain Matthes wrote:
>
>
>
>>Hello
>>
>>Can I use Textmate as a front end for XeTeX ?
>>
>>Did somebody already make the experiment ?
>>
>>
>>Actually i use TM with pdfLateX and Acrobat Reader :
>>
>>/usr/local/teTeX/bin/powerpc-apple-darwin-current/pdflatex
>>--shell-escape -interaction=nonstopmode -file-line-error-style
>>"$TM_FILEPATH" | perl -e
>>'while(<>){$f.=$_}$_=$f;s/([^\n])\n([^\n])/$1$2/g;print;'
>>echo
>>echo "Previewing..."
>>echo $TM_FILEPATH | perl -e 'while(<>){s/\.tex$/.pdf/;print;}' | xargs
>>open -a Reader
>>
>>I need the -sheel-escape option because i work with pstricks and
>>postscript . It's fine and i've no problem to get the PDF files.
>>
>>
>>
>>Thanks
>>
>>Alain Matthes
>>______________________________________________________________________
>>For new threads USE THIS: textmate(a)lists.macromates.com
>>(threading gets destroyed and the universe will collapse if you don't)
>>http://lists.macromates.com/mailman/listinfo/textmate
>>
>>
>>
>
>
>
>------------------------------
>
>Message: 3
>Date: Mon, 11 Apr 2005 22:23:48 +0200
>From: Stefan Brantschen <sbr(a)acm.org>
>Subject: [TxMt] Folding Question
>To: textmate(a)lists.macromates.com
>Message-ID: <366513925a7794c7d63a4a5ab3bc40b5(a)acm.org>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>Hi!
>
>I was wondering if it's possible to define a "foldingStopMarker" that
>marks the line _above_ some pattern to end a folding. The issue here is
>that I have a markup (so called structured text) that does not use any
>explicit "end" marker, as the next "start" marker implicitly stops the
>previous.
>
>Example markup:
>
>= MAIN
>
>! First Chapter
>
>...
>
>! Second Chapter
>
>...
>
>
>= APPENDIX
>
>! Appendix 1
>
>...
>
>As you see, parts of the text are marked with "= PART", chapters with
>"! chapter", sections with "!! section" etc. Hence, "! Second Chapter"
>in this example concludes "! First Chapter", and the
>"foldingStopMarker" should point to the line above "! Second Chapter".
>
>Any help is greatly appreciated.
>
>Thanks and regards
>- Stefan
>
>
>--
>Stefan Brantschen
>sbr(a)acm.org
>
>
>
>------------------------------
>
>Message: 4
>Date: Tue, 12 Apr 2005 10:23:48 +1000
>From: "David Lee" <david(a)davelee.com.au>
>Subject: RE: [TxMt] Column selection navigation
>To: "'TM Users'" <textmate(a)lists.macromates.com>
>Message-ID: <20050412002246.8CEA8CA1(a)one.textdrive.com>
>Content-Type: text/plain; charset="US-ASCII"
>
>Just something I'm curious about -
>
>When you select 4 full lines (for sake of argument) and enter column mode,
>the caret spans 5 lines (one below the previous selection).
>
>Is this intentional?
>
>D
>
>-----Original Message-----
>From: Allan Odgaard [mailto:allan@macromates.com]
>Sent: Monday, 11 April 2005 7:36 PM
>To: TM Users
>Subject: Re: [TxMt] Column selection navigation
>
>On Apr 10, 2005, at 19:13, Charilaos Skiadas wrote:
>
>
>
>>>But to "enter" the selection you can press cmd-option-A (works for
>>>normal selections only). This places the caret on the end of the
>>>first line, you can move it backwards and make changes.
>>>
>>>
>>Cool, I hadn't realized you could move backward and preserve the
>>selection. One question then:
>>Why can't the same be done when the columnar selection is enabled
>>through the option key?
>>
>>
>
>It will eventually be possible. Initially I wasn't sure exactly how to
>handle the case for a column-selection. If we have (selection of left
>column):
>
> +--------------+
> |@"declaration"| [NSDictionary ...]
> |@"keywords" | [NSDictionary ...]
> |@"strings" | [NSDictionary ...]
> +--------------+
>
>I think using cmd-option-A should place carets like this:
>
> @"declaration"| [NSDictionary ...]
> @"keywords"| [NSDictionary ...]
> @"strings"| [NSDictionary ...]
>
>I.e. placing the caret before the last white-space sequence of each selected
>sub-line.
>
>______________________________________________________________________
>For new threads USE THIS: textmate(a)lists.macromates.com (threading gets
>destroyed and the universe will collapse if you don't)
>http://lists.macromates.com/mailman/listinfo/textmate
>
>
>
>
>------------------------------
>
>Message: 5
>Date: Tue, 12 Apr 2005 10:40:26 +0200
>From: Sune Foldager <cryo(a)cyanite.org>
>Subject: Re: [TxMt] Column selection navigation
>To: TM Users <textmate(a)lists.macromates.com>
>Message-ID: <88C05347-1254-4219-9976-19DFE9F47291(a)cyanite.org>
>Content-Type: text/plain; charset=US-ASCII; format=flowed
>
>On 12-04-2005, at 02:23, David Lee wrote:
>
>
>
>>Just something I'm curious about -
>>When you select 4 full lines (for sake of argument) and enter column
>>mode,
>>the caret spans 5 lines (one below the previous selection).
>>Is this intentional?
>>
>>
>
>I already bugged Allan about this.. ;-). It is due to the fact that
>when you've selected four full lines, the cursor is internally placed
>at the start of the 5. even though it's not visible.... But I think
>maybe it should only select 4 lines in column mode in that case.
>
>
>
OK, for way too many hours I have been trying to get this seemingly
simple Perl compatible regex to work out, but I just can't seem to do
it. I'm about to give up, move to a dark cave and shun computers for
life. :(
The problem:
I have a string that is looking something like this: /a/b/c/d/
the string can be just /a/ or it can be /a/b/..../z/
very long.
I would like to catch all the various bits in this string [ /a/b/c/d/
] as follows:
$1 = /a/
$2 = b/
$3 = c/
$4 = d/
and so on for each added bit. The bits in between the "/" contains
mainly [alphnums].
I've tried every regex version of this that I can think of and most
don't return a damn thing, and others return the wrong things. A few
days ago I thought I got this regex stuff, but now I'm in serious
doubt.
I know that I can workaround the problem by doing other things, but
it's become a bit of a burden on my mind. I'd like to know where I'm
going wrong 'cause I can't see it at the moment and that drives me mad.
Extremely over the top grateful for any help. :)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
You have a text doc that would run over 4 pages when printed.
You only want to print the first page, so in the print dialog set it to
print 1 of 1.
On the printout, the page is labeled 1 of 4, when this should be a count
of the number of items coming out of the printer.
drew.
Hello fellow TextMaters. I'm a Ruby programmer currently writing a web
app with Ruby on Rails.
Is there a way to set the font size for printing?
I can't find anything, so I made this command that works well for me:
cd $TM_PROJECT_DIRECTORY
enscript -G -p /tmp/`basename ${TM_FILEPATH}`.ps --margins=36:36:36:36
--mark-wrapped-lines=arrow $TM_FILEPATH
cd /tmp #`dirname $TM_FILEPATH`
open `basename $TM_FILEPATH`.ps
I have it bound to Shift+Splat+P.
It requires Enscript (port install enscript)
The enscript command line above adds a nice heading ( -G ), and sets
the margins to 1/2" all around. This allows me to print on drilled
paper two-sided. After enscript creates the PostScript, the open
command opens it in Preview, where you can print it.
Regards,
JJ
I'm not sure if there is really a way to fix this or not, given the way
that the snippets work. But the tag snippet (activated by default with
<-tab) appears to have a bug.
Actually it may be just a misconception on my part, but the problem is,
when I activate the snippet with <-tab, the general flow for me is to
type in the snippet name, and then the attributes, then tab to get at
the Text Node portion of the tag. The problem is that the attributes
show up in the closing tag too. I'm not sure if this is fixable or not
based upon the way that snippets work. But it sure would be convenient
if the attributes didn't show up in the closing tag too.
Regards,
Robert M. Zigweid
--
Robert M. Zigweid rzigweid(a)zigweid.net
http://rzigweid.zigweid.net
I've searched the list and the help file, as well as checking pretty
much all available existing commands, but I couldn't find any
information or examples of how to use this field.
can anyone point me to some resource? or is this feature still dormant
and will only come to life in b6 or later?
I miss its functionality terribly ;-) I'm sure our lives will work out
much better, once it works and is adopted by the bundle maintainers to
restrict their keybindings (i.e. no more 'building xcode project' when
actually all I want to do is use a svn command).
best regards,
tom
--
Tom Lazar, http://tomster.org
I know I'm not supposed to ask this, but it's a Friday. Any vague hints
on when the next beta might be available? Like days, weeks, months?
Maybe a riddle containing the answer?
--
______________________________
toddgrimason*todd-AT-slack.net
Hi All,
In order to sort very big log files, I want to add leading
characters to every line.
For instance, if I want to have lines that contain "you" and/or "me"
sorted first, I used this find/replace template :
find : ^.*(you)?.*(me)?.*$
replace : ?1(?2(00_$0):(01_$0)):(?2(02_$0):(99_$0))
Is there a more simple way to achive this?
Have a nice day,
--
Jo <W:00°04'37" ; N:47°15'36">
1....'....12.....'....24.....'....36.....'....48.....'....60.....'....72
Don't know why I hadn't considered this before... my partner looked at
my screen today while I was coding some JS and said "Are you crazy?
You're going to ruin your eyes with that!" I did some cursory research
(read: Google) and found conflicting opinions on the subject... but most
seem to agree that black ground/light text is VERY bad for eyestrain.
Taking this under consideration, I'd like to change the defaults for the
JS bundle, but the prefs only allow for changing the defaults. How can I
do this, and does anyone have any *real* data about the above
considerations?
--
Ben Jackson
Diretor de Desenvolvimento
INCOMUM Design & Conceito
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
Just a quick note to mention that I have updated the HTML bundle on the
SVN repos, so anyone using HTML might want to check it out, and comment
on what's missing, wrong etc. It's still work in progress.
Known issues, missing or under work items:
HTML:
-- Better Syntax highlighting (along the lines of the stuff in the PHP
bundle) is 'ready' and waiting for b6 to check that everything is
working OK.
-- <!-- Toggle Comments --> Command is being refined to work in almost
any scenario.
-- more snippets
-- No ReadMe doc finished yet (in progress)
CSS:
-- Syntax file as HTML above
-- /* Toggle Comments */ Command as HTML above
-- Loads of useful snippets is still to be done. PLEASE HELP if you
have any ready
JavaScript:
-- Syntax file as HTML above (vastly improved if I may say so myself
;-) )
-- // Toggle Comments Command
-- Loads of useful snippets is still to be done. PLEASE HELP if you
have any ready
If you are working with web development please help me make TM the
kick-ass app for web work flow. I am looking for help with basic
generic HTML/CSS/JS snippets, commands, macros etc, but I'm also hoping
to create a better XHTML bundle with Web Standards as the key aim and
ready snippets with chunks of code in them and so on. All of this
takes time, so I sure could do with the help ;-)
Now onto something that made me smile & LOL.
On 5 Apr 2005, at 09:23, Jeroen van der Ham wrote:
> On 05-04-2005 09:22, Steve Lianoglou wrote:
>> On Apr 4, 2005, at 11:56 PM, Jeroen van der Ham wrote:
>>> Why would you want to setup a snippet for <br /> ?
>>> If you're using too many br-tags in your HTML document, you're not
>>> doing it right...
>> Thanks for the lesson in semantic web development, Jeroen .. but it
>> was just meant to be a trivial example to get the question across.
> Sorry, just couldn't resist and there are still so many people out
> there doing it wrong...
Steve, just in case you need it there's a <br /> snippet in the HTML
bundle that triggers on Cmd + Return, which I think is quite handy.
There's even a [Non-breaking-space] snippet that triggers on Cmd
+ Space. Just in case you need to go back to the good old days of bad
HTML ;-)
>> <img src="/images/clear.gif" width="${1:width}" height="{2:height}"
>> alt="Make some Room" />$3
> Aaargh! Use XHTML and CSS !
> <div class="makeSpace"/>
> css:
> .makeSpace { width=x; height=y; }
>
> ;-)
Classy, absolutely classy, Jeroen !! No offence intended Steve, yours
was good too, but a bit too subtle (You did it as a joke, right ?)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
I hope this is not a very stupid question, but can someone explain to
me how input patterns are supposed to work? i.e. if i have bound a
snippet to an input pattern, how do I activate it? (An example of an
input pattern would be much appreciated). Or are they not implemented
yet?
Haris
Hi All,
My apologies if this request has been posted before.
I was wondering if it would be possible to have the multiple clipboards
displayed as a "virtual" text document in the editor, so you can use the
editor's full power on it. The clips could be separated by some
character-sequence. If the scripting/macro stuff can access this document too,
it could be quite powerful (add stuff, remove stuff, change stuff).
Thanks for a great app!
-Tao.
On Apr 5, 2005, at 9:16 AM, kumar mcmillan wrote:
> find typing <h1> A HEADER and then hitting opt+cmd+"." to close the
> tag much easier than inserting a snippet called "<h1>" .
or you could just type "h1" and hit Ctrl + Space to get <h1>|</h1>.
Thank you Justin.
> I would suggest focusing on bigger time-savers ... like the
> Colorpicker command. that thing is awesome!! Anyway, I don't want to
> dampen your progress but I think you are asking for help in an area
> where other users may not share your vision.
I disagree, and hope others do as well. I think there a huge need for
better web development workflow support in TM.
-t
observe my penitent respect for threading!
While we're on the topic of drawers & fullscreeniness ...
Any chance the editor could have a 'full screen' mode (ie, completely
fullscreen like Firefox [F11 IIRC])?
keybound to something accessible, this would be really swanky. Not sure what
would be done about the drawer in this case, but if you think fullscreen
mode would be a good feature (Allan), it might have some impact on what you
intend to do with the drawer.
Combined with splits and some way to preview server-side html output from
within TextMate (am i missing something that exists?) I'd only have to leave
TextMate to procrastinate and bathe.
cheers
D
-----Original Message-----
From: John Lianogou [ <mailto:lists@arachnedesign.net>
mailto:lists@arachnedesign.net]
Sent: Wednesday, 6 April 2005 11:52 AM
To: TM Users
Subject: Re: [TxMt] Replace the drawer
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I dunno... I sorta favor ditching the drawer. :-) More often than not, I
like my text editor to be somewhat full-screen... drawers have a way of
making that really not work... I feel like a sidebar approach would be more
practical. In fact, if the world were ideal and bloat wasn't a factor, I
rather like the way jEdit docks stuff to the left, right, and bottom... it's
rather handy for keeping tools like an XPath tester, Ant task manager, and
other tools easily accessible, yet unobtrusively minimized when not in use.
Best, jL On Apr 5, 2005, at 8:27 PM, Steve Lianoglou wrote: > Allan Odgaard
wrote: >>> I don't hate the drawer, I'm just saying, that's the one thing I
>>> find to be annoying. >> When I revisit the project window I'll allow for
double-clicking >> groups to "descend" into these. That should cut down on
leading >> indent. > > Ohh .. a little 'hoisting' action like what you're
talking about would > be pretty sweet. > > > cheers, > -steve -----BEGIN PGP
SIGNATURE
I vaguely recall this question coming up but I wanted to re-emphasize
it.
There is currently no way for a command to operate on all files
contained in a project [or is there?]. there is TM_PROJECT_DIRECTORY
but this is only a path to where <project>.tmbundle lives. Allan do
you have plans for adding this soon?
Some motivations for such a request :
Another developer and I would like to work on some eclipse-style
refactoring tools [
http://www-128.ibm.com/developerworks/library/os-ecref/ ] but there
would have to be a way to access all files in a project. Also, the one
reason holding me back from using the Subversion bundle [almost]
exclusively is its inability to commit all files in a project.
K
Hi. Please correct me if i'm wrong, or excuse me if this has been covered.
When i select a block of text *then* convert it to full line selection
(cmd-shift-l) & enter column mode (option), it seems not to work most of the
time ... if i make the selection full line first and THEN expand it to
multiple lines, then column mode, it's fine.
I noticed this specifically when trying to prepend '#' to all lines in a
selection, FWIW
(I'm not in front of TM at the moment so i hope that's accurate)
cheers
D
I am not a big fan of the drawer widget. I was excited to hear that
apple mail is dropping the drawer come 10.4. I would like to request
comments about converting the drawer to a mini panel (the type that
disappears when focus is lost). near the top of the panel, there would
be a drop down which would list all open projects and files (if an
open file has it's own window). as you focus a new window, the mini
panel will update to reflect the currently focused window's project or
file. in the case of a file, the mini panel would be blank.
what does everyone else think?
also, OT from the previous post .. <ducks>and I know how much we like to maintain the sanctity of threads</ducks>
Is there a small bug in the cmd-t window that is known? I feel like on a few ocassions:
1) I brought up the window,
2) started to type out a word,
3) textmate narrowed the list of files
4) i then saw the file i wanted
5) ... scrolled down to the file to have it selected,
6) hit enter to open it up
7), but textmate opened up the first file in the list and not the one i selected.
Just checking to see if anybody else has noticed.
-steve
I edit a lot of files via ftp on a web server running on XServe with
Mac OS X Server.
It would be extremely useful to save on the XServe a .tmproj project
of TM containing all files of my web site and access only this project
file in remote via ftp with Transmit or Fugu (or maybe via TM
directly?) instead open every single file.
Not sure who maintains the sql syntax bundle, and I would do it myself
if I had time right now, but the syntax highlighting breaks if a
comment that begins with '--' has a forward slash somewhere after that
on the same line. Very nice bundle otherwise.
--
Best regards,
Lang Riley
The Special Items list is awesome. Great example of what can be done
with TextMate, but I've noticed that the HTML Output can become really
slow with larger files. I'm not really sure why it is so slow, is this
a bug?
- Juan Carlos
p.s. my apologies if this has already been discussed.
Hi all
I've written a short ruby script for the purposes of checking regular
expressions within TextMate.
http://dml.homedns.org/rx_helper.rb
It expects to be fed a regular expression on a line of its own,
followed by any number of lines to test against. The RX can be either a
straight match (eg ^([a-z]+):([0-9]+ ) or a substitution (eg,
/old/new/). Cuddling /slashes/ are only required for
/pattern/replacement/ expressions.
If you create the following action in TextMate:
echo "$TM_SELECTED_TEXT" | /path_to_script/rx_helper.rb
with input='selected text' & output='show as tooltip', you can open a
new window, write a regexp, write some test cases for your regexp, then
select-all and see the results in a tooltip whenever you need it (I
have it bound to ctrl-alt-option-X).
I hope someone finds it useful. If you find any bugs / have any
suggestions on how to improve it, please do let me know.
cheers
D
P.S here's some sample input and output:
------------------------------------
IN (TextMate scratch file)
==
(http|https|ftp):\/\/(([-_a-zA-Z1-9]+)\.)+([-_a-zA-Z1-9]{2,3})
http://www.google.comhttps://www.netbank.com.au
ftp://mafia.ru
www.clickstart.com
boozehound
gary sweeney
http://www.amazon.com/http://www.amazon.com/exec/obidos/subst/home/home.html/002-0270779
-6984007
~
OUT (tooltip)
==
(http|https|ftp):\/\/(([-_a-zA-Z1-9]+)\.)+([-_a-zA-Z1-9]{2,3})
Successful Matches:
===================
http://www.google.com : matched expression
match number [1] : http
match number [2] : google.
match number [3] : google
match number [4] : com
https://www.netbank.com.au : matched expression
match number [1] : https
match number [2] : com.
match number [3] : com
match number [4] : au
ftp://mafia.ru : matched expression
match number [1] : ftp
match number [2] : mafia.
match number [3] : mafia
match number [4] : ru
http://www.amazon.com/ : matched expression
match number [1] : http
match number [2] : amazon.
match number [3] : amazon
match number [4] : com
http://www.amazon.com/exec/obidos/subst/home/home.html/002-0270779
-6984007 : matched expression
match number [1] : http
match number [2] : amazon.
match number [3] : amazon
match number [4] : com
Failed Matches:
===============
www.clickstart.com : failed
boozehound : failed
gary sweeney : failed
Would it be possible to have TM center the display vertically according
to the location of a bookmark when the F2 'jump to bookmark
functionality' is invoked? Currently, pressing F2 only affects the
location of the cursor, but not necessarily the orientation of the
document view in TM. For example, if you are fond of using a mouse
scroll wheel as I am to look around (in a quicker fashion than the
arrow keys will allow), then you will find that since your cursor has
not actually moved, subsequently hitting F2 will not change the
orientation of the document thereby effectively negating the functional
purpose of the F2 functionality.
--
Best regards,
Lang Riley
Incremental searching is great. It would be even greater if it allowed
repeats forward and/or backward of the same search. And even greater
still if it allowed regexps. As you might have imagined, I am missing
this from vim.
--
Best regards,
Lang Riley
Hi
now this should start a new thread.
I'm wondering if there's
a) a bug in 'select paragraph' , or
b) plans for a version of it that will select the 'code block' you're
working on
the reason being that (in ruby at least) the selection made bears
little relation to the structure of the code AFAICT. In perl it seems
just to select the current line.
I don't know if this is a bundle- or lower-level thing, but perhaps the
best way for it to work would be for each press of alt-P (or whatever)
to move the selection to the next outmost code folding boundary
eg one press selects the loop you're in, another the method, and
another the entire class.
am i missing something really obvious to Allan as usual, or is this
feature missing?
I know Allan's working on the entire syntax engine so I'll make no
mention of parentheses bouncing or matching :)
D
Hi there!
I'm on a tear....
When I have several non-project windows open, and I drag another
file on TM's icon, the new file window appears as it should; The
previous top window moves, while staying underneath, to just above and
left of the new window.
I didn't find anything related to this on the wiki or the list....
Cheers,
Dameron
Hi folks,
I don't know if this makes much sense, so I'm wondering if anyone else has noticed this problem.
I use Desktop Manager (http://wsmanager.sourceforge.net/) for virtual desktops .. so I have TextMate on its own desktop ... let's say I'm in my 'browser' desktop poking around somehwere (or email, or whatever) sometimes TextMate jumps to the foreground and steals the focus away from the current program I'm looking at (The TextMate window is still stuck in its own desktop, but the pain is that if I'm in the middle of typing something, It will litter my textmate document)
I tried quitting Desktop Manager and just poke around as normal, and I don't *think* it happened any more ... though I haven't really done any long extensive testing.
Is anyone else using these two programs together and having/not-having these problems?
Cheers,
-steve
Just a few posts ago there was some talk about having TextMate do interactive regex testing as part of its features ... I was itching for something similar because I'm coming over from jEdit which has a RegextTester plugin of sorts ...
Anyway .. we came across this:
http://macupdate.com/info.php/id/13271
Might be helpful.
-steve
I just registered TextMate, and I was told that I would receive an
email with my serial number included immediately. Unfortunately, I
haven't received it, and it's been a few hours. I'm just wondering is
there anyone in particular to contact with these issues? I have the
paypal receipt if necessary.
Thanks.
Dan
Could do with a Previous Tab command that just bounces me back to the
last tab I was looking at.
should be easier to implement than, say, split window... :-)
jL
I've had a lot of time to get use to TextMate now and we're getting
along quite well. However, I have a couple of things I haven't managed
to get use to, so I thought I would ask for some help.
1. Is there an easy way to PREpend something to each line in a
selection, using just the keyboard? Let's say I have the following:
Line one.
Line two.
Longer line three.
I know I can select them using shift and the up arrow, strike
option-apple-A to edit each line, strike control-left-arrow to get to
the beginning of the first line and then type, but in this case that
yields:
This is Line one.
This is Line two.
Longer liThis is ne three.
Not good. Am I missing a trick here?
2. Semi-related: Can you make a column selection without the mouse?
3. I've managed to shake most of my BBEdit habits, but I can't seem to
conquer one. Option-down/up-arrow to scroll a page. That's really
handy when I'm hunting through code for something. That key
combination has a different purpose in TextMate and to be honest, I can
never make it go where I want. :( Does TextMate have any scroll
up/down key-bindings?
Thanks in advance for any tips shared.
James Edward Gray II
On 1 Apr 2005, at 04:06, David Lee wrote:
> I think it's twice I've been chewed out for threading before...
Apologies David didn't mean to "chew you out", but Sune - the list's
thread-keeper extraordinarie - has gone awol lately, so I'm just trying
to fill his very big boots for a short while until I too give up ;-)
> My apologies to Allan for misspelling his name too - It was 3.30 am or
> so when i wrote this and I was well overdue for a nap.
I didn't mean to attack you personally, but being a Swede with an
'unusual' name and having lived in the UK for the past 15 years I have
found that unfortunately the vast majority of English speaking
clients/'friends' just cannot accept learning a new name. Most insist
on calling me Mark (WTF!!!!). I personally had two separate instances
of that yesterday, and your 'mistake' made my cup overflow, I guess.
> Still i think they're good ideas, and some of them worth discussion.
> Bad moods and basic table manners aside, do you have any reactions to
> the content?
Yes, and here they come.
On 31 Mar 2005, at 17:44, David Lee wrote:
> 1) < and > arrows appear when more tabs are open than fit. You scroll
> all the tabs left or right to see tabs offscreen. It scrolls one tab
> at a time.
>
> 2) When you use the keyboard to move through open files, the
> arrangement of tabs move to keep the currently open file's tab visible
> at all times.
>
> 3) The drop-down list of offscreen tabs should stay.
I think Allan's reply to you earlier identified what is in the works
and how the general consensus was regarding handling many open doc's in
tabs and so on. Perhaps I don't fully understand your points above, but
I don't see them as any better than Allan's existing proposals.
> 4) Make people aware that you can hit ctrl-cmd-n to get a new project
> window, drag the files you're currently working on in there and use
> the project drawer to flip between them. I just extrapolated this from
> one of Allen's other posts and it feels very promising.
> Can we be able to 'open these tabs in new project' with a menu command
> / shortcut? It's not the perfect long term solution but will always be
> useful whatever is.
Not sure I get your point there either. The way I (and others ?) work
is I create a TM project window for each project that I'm working on
and save the <ProjectName>.tmproj file into the root of that project
folder. As for flipping through files in the project drawer via
shortcuts much of that exist today, and the missing parts will be
improved in a future revision of the project drawer already planned.
> Oh yeah. I'm a split view junkie. Up-down, left-right, any
> combination. Just the way nature intended.
Discussed till boredom almost, and is planned.
> I'd love to see a good regular expression composer (Komodo does this
> superbly, Kdevelop well too).
Never used either of those, so don't grep what's so special about them.
But what would be nice to have is a simple Command (can be a bundle)
that takes the selected text - with some kind of identifiers in there
and then returns the regex for it. Sort of like this:
input:
<key>:[capture1]:</key>
<string>:[capture2]:</string>
output (on clipboard): (<key>(.+)</key>(?s:.*?)<string>(.+)</string>)
Slightly crude idea I know, but still lovely to have and would spare my
single 'brain'cell for other things ;-)
> And a well considered 'intellisense' implementation which can include
> your own completion items (and later, those in included files) in
> heaps of languages.
In what way does not snippets take care of this at the moment ?
> Multiple 'paste previous' / 'paste next' commands rewrite the last
> ones' output (which can probably be hacked by leaving it selected
> after each paste, but thats not ideal).
Not getting your point there, sorry. Have a look at Windows->Show
Clipboard History and explain what's missing in there ?
> A function / class browser.
Have you seen Kumar McMillan's excellent "Special Items..." in the
Default.tmbundle up on the SVN repos ?? It gives you most of what you
need, but can still be improved further by Allan inside TM rather than
as a bundle. (which I think is planned anyway)
> Better print output (allow choice of different font for printing;
> programmer fonts look terrible) & optionally include syntax
> highlighting & line numbers.
This printing business was a big thing back in Oct/Nov last year, and
Allan asked for the basic requirements from us users then. As a fairly
vocal supporter of printing then I have since only used the printing
features of TM twice. When I was working with <other leading Mac
editor> I used to print my code almost daily. Now I don't mainly due to
a change in workstyle/workflow, but also because of some of TM's
features. Try open document in new window, make fullscreen and then
increase the font size to suit, now lean back in your comfy chair
(reclining armchair that is ;-) ) and peruse your code screen by
screen. It's what I used to do on paper before, but now does on
screen. Much faster as well.
But yes, all of those printing features could/would be good to have as
well someday, and I'm 100% certain we will get them, but there's more
important things for Allan to address before then.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hi there!
Using 1.1b5 on PBG4/867, 10.3.8, 512M RAM
searching this one line:
Sue Xxxxxxx 1244 Xxxx Street Bath ME 04530 USA
(it's wrapping-8 tabs between last name and street)
for this pattern:
^(*[^\t])\t(*[^\t]){8}\t
replacing with this:
$1\t$2\t
searching selection only, regex on, hit replace and find
1)spinning pizza wheel of death
2)swapping hard drive of death
3)watch swap go from 1 to 2 gig in less than a minute...
4)page faults between 2,000 and 20,000 every 2 seconds, cpu about
50-60% textmate
5)get scared, force quit
6)repeat....
Any thoughts? I'm guessing it's a stupid regex mistake on my part, but
I can't find it. Thanks for your help.
Cheers,
Dameron
Hi there!
I'm working with a bunch of addresses in tab-separated format. I
can find and replace to work with the columns, but I'd also like to be
able to do it manually, (columnar typing?). I vaguely remember some
example videos of columns of text floating around, and I searched the
list, but I'm not clear if it will suit my needs.
Problem: I can't select columns easily, because the tabs don't
align the data. Option, then Shift-Option-Right Arrow to select,
creates a rectangular selection based on the selection at the line of
origin (highlighted). I can't seem to find the way to have the text
actually line up in columns (if there is one..)
Is there a solution to this?
I hope this is clear enough, thanks for your time.
Cheers,
Dameron
Hi,
I saw a blip from the old wiki about a smart typing question.
Often when I'm writing something, I'll enter something like:
blah(
At this point it completes the )
I hit ", it completes it, so I'm left with:
blah("_")
Where _ is the cursor point.
Obviously, this is great and how smart typing is intended to be used
(btw, the smart typing upgrade in b5 works great). However, when I'm
done typing:
blah("blahblah_")
I wish there was a quick way to jump to the end of the snippet. Right
now I'm using the right arrow key, but it's inefficient because I have
to take my hand of the keyboard.
Is there a way to make it go to:
blah("blahblah")_
More efficiently than using the right arrow key? Like when you're
hitting the tab key for a snippet?
--
Thanks,
Jeremy Brown
InfoSend, Inc.
Systems Administrator
(714) 525-8600 x304
(714) 446-1482 Fax
CONFIDENTIALITY NOTICE: This email, including any attachments,
contains information from InfoSend, Inc., which may be confidential or
privileged. The information is intended to be for the use of the
individual or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use
of the contents of this information is prohibited. If you have received
this email in error, please notify the sender immediately by "reply to
sender only" message and destroy all electronic and hard copies of the
communication, including attachments.
On Mar 31, 2005, at 7:57 AM, Robert Ullrey wrote:
> This reminds me that there was going to be a fix for xcode
> integration. Specifically changing an xcode project into a TM
> project. I see something like this in the Tools folder, but is it
> working yet? And if so, how.
svn co http://anon:anon@macromates.com/svn/Bundles/trunk/Tools/
XCProject/
cd XCProject
cc -ObjC -lobjc -Os -framework Foundation -std=c99
ConvertXcodeToTMProj.m XCProject.m -o testconvert
./testconvert <YourProjectName.xcode>/project.pbxproj
<YourProjectName,tmproj>
It works on several all of my projects, several of which are large
and complicated. If you get any errors, do send me a note. I can't
guarantee that it reads all Xcode projects in the universe yet, but
it will once I'm done with it. >:)
In the short term, I want to add a dropshell so that you can drag an
Xcode project and it will open a temporary tmproj representation in
TextMate.
In the long term, this will form the basis for a project source
plugin, when Allan implements that feature.
Enjoy,
Chris
It would be nice to be able to have multiple rows of document tabs
instead of just one row and the arrows on the right you have to click
on to get a menu list of the rest of your open documents.
Is there a way to get the full path of a file to display in the editor
window title?
Hi there!
Find and replace in 1.1b5-- search for \t, replace with \s, regex
box checked, looking in selected text. I got "s" instead of space:
3 Union Street
3sUnionsStreet
Thanks for your patience!
P.S. How do I type 3<tab> without having it become <h3></h3>? The
bundle editor didn't reveal any clues.
Cheers,
Dameron