by SystemMailbox{3CC00CFB-F2D0-40E7-A97E-9CCFC54BF4ED}
----- Original Message Header -----
Subject: Re: [TxMt] Ditch the drawer
From: ed(a)westernfreight.com;
To: textmate(a)lists.macromates.com;
Cc:
-----------------------------------
Warning: Attachment contains virus code or meets the filtering/blocking rules. Use caution when accessing the contents.
Hi.
wondering if I'm missing something, or else how I'd go about this.
in vim / emacs one can specify a 'repeat count' for input, so i could
easily insert 80 '-'s by typing (in vim) 80i-<esc>
which is far less boring than holding the key down, and maps well to
instances where a more complex repeated sequence is needed.
can we do something like this in TM, as a built-in ? I mean in the
general sense, though if there are commands to 'underline words' etc
I'm still interested in those.
cheers,
David
> I can add it to the default bundle, if this is of
> general use.
Please do :)
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
Hi.
When using a construct:
x = case x
when expr1
...
when expr2
...
else
...
end
I find that TxMt does not correctly indent after the CR after "case x"
and then de-dents after the first "when" so that:
x = case x
when...
becomes:
x = case x
when expr1
However it correctly indents when not assigning from case so that:
case x
when...
becomes:
case x
when expr1
Which seems like a bug.
M
--
Matt Mower :: http://matt.blogs.it/
I think the draw is okay. Saying that Edmundo's mock looks nice but
it's just fussing if you ask me (which you didn't :D).
I didn't make the switch to SubEthaEdit from BBEdit because it didn't
have a project draw. BBEdit v8 had a project draw that cost me more
to upgrade than Textmate cost me to buy outright.
Go Textmate and it's Draw! Infact BBEdit from memory didn't have
heriachical listings either. But that part of my memory is a bit
vauge. The pain! The pain (of developing in 3 colour syntax
highlighting).
Howdy,
I'm evaluating build r790 and chose to create the "mate" link in
~/Applications, which is already in my path when I open Terminal.app.
However, TextMate somehow requested admin privileges; I _cancelled_ and
I got back an error message: "Creating the link “/bin/mate” failed with
the following reason: Permission denied".
Am I expecting the wrong thing?
Thanks,
--
Luís Bruno
I've got PC USB keyboard connected to Mac Mini.
Using Ukelele I've remapped Context-Menu key to act as Delete (&x7f;). It
works in all applications except TextMate, which keeps opening context
menu (offering various web searches) when I press that key. Other remapped
keys work in TextMate fine.
Is that a bug/feature? Can it be fixed/disabled?
--
regards, porneL
Hi,
I noticed that the mate CL tool has a -r --recent option to add the
file to the Open Recent menu but this doesn't seem to work for me.
Am I doing something wrong? Also I would say that this should be the
default but it isn't a big deal since I can just alias mate as mate -r.
Thanks,
Jason
> Heh, I suppose I'm somewhat demanding then, even coming close to
> the mouse would be a showstopper for me.
> I used triggers though and got it all working nicely with that,
> however, it does not paste after being selected. Not even if I
> double-click the mouse. What happens is that the item gets pushed
> up to first place in the clipboard, you then manually have to paste
> it in.
> And now I have probably spent more time talking about this than
> I'll ever gain even by having the behaviour I want :)
>
> anyways, despite it's "shortcomings", this is the best clipboard
> manager I've seen (or rather, best to my tastes)
>
> Andreas
Butler <http://www.petermaurer.de/butler/> is an excellent launcher
similar to Quicksilver, and has a clipboard manager mapped to ctrl-
alt-v which shows the last 7 clipboard entries, any of which can be
pasted by pressing the corresponding number. This seems to be more
kind to the keyboard-fanatical.
(& I highly recommend Butler overall: extremely customizable, fast
and unobtrusive. Beats the hell out of using Spotlight for opening
apps, preferences, a terminal window, etc.)
Nate.
---------------------
CLIXEL Design & Coding -- http://clixel.com/
BRAINFAG Comics -- http://brainfag.com/
Hi,
I'm not sure there's anything to be done about this but I figured I
would ask anyway.
I'm using Fugu to manage a remote site via SFTP and have configured it
to invoke TextMate as my editor. This makes it quite easy to edit
files on the remote site.
However the unintended consequence is that, every time I switch away
from TxMt, it saves the remote file which is, quite often, a work in
progress.
I'm not sure there is any sense in which TxMt is aware that it is
editing a file that is being edited from a remote site but, in case
there is, would it be possible to control whether auto-save is
activated for such files?
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
Are there any plans to ditch the drawer? I wouldn't mind the file
list working like Mail, iTunes, iPhoto or most of the newer apps
coming out lately. I don't think the Drawer works, especially for
large hierarchies and 12-inch screens - both of which I am plagued with.
Thanks,
Colin D. Devroe
I'm trying to get the Template functionality working. I have authored
a template, but when I use the New from Template... menu item, I get
the file name 'untitled', which is not what I want to use in my file.
I see that if I have a project, I can choose a template to use, but
the list is different to the one in New from Template..., and I
cannot choose my newly created template.
Is this functionality useable, or is it still in a state of flux? Am
I missing something?
Drew
---------------------------------------------------------
Drew McCormack
www.maniacalextent.com
Can anyone out there with superpowers in writing shell script help with the
following? Id like to write a command that can locate the currently selected
word as a file within the project (assuming the word is the name of a class
or some such thing) and open that file. Now I know what you¹re all saying,
just copy the selection and paste it into the ³Go To file...² window, I just
thought this might be, you know, fractionally quicker, add up all those
extra clicks and key presses and over the course of a day I might save, oh,
10 seconds or so. ;-)
I just know someone out there can do this, but the more I stare at
combinations of locate, grep, perl and whatnot the more I can feel my sanity
ebb away.
Go on, you know you want to.
Chris
______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Hi,
I just noticed that my syntax highlighting seems a bit messed up.
I've attached a screenshot, you can see that the "def" isn't getting
the keyword style but, by a process of switching themes about,
appears to be getting the entity style.
I also attached screenshots of the ctrl+shift+p output for the def &
end statement to show what TxMt thinks they are.
I updated to 790 this morning, don't remember seeing this before then.
Regards,
Matt
--
Matt Mower :: http://matt.blogs.it/
>> [...] Also a command to take the selected text, add ".inspect # =>"
>> and push it to the clipboard.
>
> Have a look at Ruby -> Execute Line as Ruby (ctrl-shift E, which is
> unscoped, so it works in all contexts).
>
> It will execute the current line or selection via Ruby and insert the
> result (either using .to_s or .inspect, depending on the result type).
Yeah, but the script I linked to actually runs the program and gives
you (almost) real-time debugging while you're editing the file. Do you
have any good ruby one-liners that you use a lot?
___________________
Ben Jackson
Diretor de Desenvolvimento
ben(a)incomumdesign.com
http://www.incomumdesign.com
I like the fact that I can have several folders each representing a
"project" within a TM Project.
However, it becomes quite confusing when editing files in a Project
set up this way.
- TurbogearsProject(group)
- Admin/
-admin/
-controllers.py
-static/
.
.
-Website/
-website/
-controllers.py
-static/
.
.
When editing the file "controllers.py" from folder Admin/admin/ and
Website/website/controllers.py there's no distinction between the two
files in the editor.
The list in cmd-T shows the files as "controllers.py - website" and
"controllers.py - admin". Is there any way I can get the same in the
file tab in the editor?
regards
/rune
---------------------------------------------------------------------
Behind the firewall, nobody can hear you scream...
Hi all,
Have downloaded the demo (1.1b17 (769)) and currently evaluate
TextMate (vs bbedit/textwrangler) against my needs. It looks like the
editor I was missing :)
Indeed I work on the support of the CLAIRE language which have
special construct that are often impossible to describe with other
editor's syntax facilities. The way TM handles languages/scopes and
other language inclusion is the best I've ever seen. I could create a
CLAIRE bundle that, for the first time, handles correctly the syntax
of CLAIRE (and, trust me, I'm not a regex guru...)!
My question is about a language description design. I tried (but
failed) to design the grammar such anything that is a valid CLAIRE
construct is described by a specific pattern and anything else falls
into the scope of 'invalid.illegal.something'. For instance, in
CLAIRE, a variable scope is introduced with a 'let' construct :
let x := 1, y := 2 in (x + y) // valid
let x := 1, y := 2 *BAD* in (x + y) // invalid : *BAD* illegal
The rule that describe the 'let' construct would look like :
let <#var-def-list> in <#any>
Which can't be described with a begin/end pattern, unless I can
reference a repository rule from whitin the begin/end pattern. Can we
do that ?
Is there a way to acheive this ?
Sylvain
I posted a bug report about TextMate basically not handling Japanese
well at all but am wondering if anyone has had problems working with
other double-byte languages or Arabic?
Cheers
Kyle
--
mobile web gear | pukupi.com | 34°40'n 135°30'e
I may simply be confused, but I just had a global find/replace
operation appear to go rather haywire on me and thought I'd ask about
it. The following values were entered in the dialog...
Find: <cfif Session.InAdminGroup IS "Yes">
Replace: <cfif Session.InAdminGroup>
"Ignore case" was checked and "Regular expression" was unchecked.
Here's what I ended up with in each replaced instance...
<cfif NOT Session.In<cfif Session.InAdminGroup>>
That doesn't seem quite right to me.
--
Jack Baty
Fusionary Media - http://www.fusionary.com
Found this util today:
http://eigenclass.org/hiki.rb?
Enhanced+xmp+code+evaluation+and+annotation
You feed it code and it puts the output in comments, i.e.
a = 5
a # =>
would return
a = 5
a # => 5
I set up a command to save and run this filter to replace the document
and bound it to F10. Also a command to take the selected text, add
".inspect # =>" and push it to the clipboard.
Anyone interested?
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
How do I add my precious KID templates to the dropdown menu in the
dialog resulting from cmd-N?
(Yes, they are present and working in the File->New from template
menu item)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"
Like most on this list, I love TextMate.
There are tons of useful features in it, and I keep finding new ones every date.
I just stumbled on the Cmd-T file-find the other day, in fact. I just
learned that my peeve about columnar selection was based on my
ignorance of the fact that you can toggle to columnar by hitting
Option after starting the selection. Every day, I'm pleasantly
surprised by a new feature.
However (and you knew that was coming...), the help files are a bit
sparse, and the discoverability of some features is pretty bad.
(By the way, the documentation wiki[1] seems to be down right now.)
Screencasts are all the rage now, and I was thinking of making little
30 second - 1 minute demo vids of some useful but hidden TextMate
features.
The problem with that idea is that it's not just the screen people
will be interested in, but the keyboard interaction.
I'd like to provide a keyboard overlay on the demo vids, which would
show which keys are being depressed to get the specific features to
activate.
Does anyone know how to do this?
I'm familiar with vnc2swf and wink. I'm also considering buying
Camtasia and/or Snapz Pro.
I guess a "stay-on-top" utility could be used and just be captured
along with the subject app usage.
Any pointers appreciated...
[1]
http://macromates.com:3000/read/book/1
I didn't see this in the list, but that doesn't mean it's not there.
It would be cool to have a back/forward functionality like in a
browser. For example, I often use cmd-T to find a file to look up the
signature of a class method or whatever. Then I want to go back to
the last file I was viewing. If I have more than 8 files open, the
tabs become useless. I could use cmd-W to close the file, but often
times I have three files that I'm working on at one time and it would
be nice to be able to just quickly switch between them in the order
in which i've looked at them.
Browser-ifying the tab system is a pet request of mine that I hope to
someday see realized. TextMate is an amazing editor - thank you
again, Allan.
Ed
> Did you try with tm-file:// ? The following works for me:
>
> echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$
> {HOME}/Sites/index.html'>"
>
> And alternate way to redirect is btw via the html “support library”
> found in the TM_SUPPORT_PATH (first library “includes” (sources) the
> library):
>
> . "${TM_SUPPORT_PATH}/lib/html.sh"
> redirect "tm-file://localhost${HOME}/Sites/index.html"
Neither of these are working for me:
. "${TM_SUPPORT_PATH}/lib/html.sh"
redirect "tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html"
echo "<meta http-equiv='Refresh' content='0;
URL=tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html'>"
___________________
Ben Jackson
Diretor de Desenvolvimento
+55 (21) 9997-0593
ben(a)incomumdesign.com
http://www.incomumdesign.com
I apologize if this has been brought up before.
Cutting and pasting text when in Python mode always pastes the text
four spaces (my indent width) to far to the right .
When pasting inside a <class>, text is pasted 8 spaces to far to the
right measured from the current cursor position.
<cmd>[ shift left does not work on my norwegian key map. (<cmd>]
shift right does.)
As you might imagine these two together is quite annoying ;)
regards
/rune
"Never attribute to malice what can be adequately explained by
incompetence"