Hello everyone;
Please see the attached tmCommand for a little doodad which reads
a PHP script for private variables and generates getters and setters.
Cheers,
JC.
Hi everybody.
a while ago is followed this article:
http://encytemedia.com/blog/articles/2006/11/3/increasing-
productivity-with-texmate-s-new-tm_dialog
and everything worked well.
but after a while, when inserting an image from the menu generated by
the command it would return that i have a tm_dialog conflict.
at the time i removed the command as i was afraid to do something bad
to my text mate when asked to checkout the dialog.tmplugin
After a while a removed the dialog.tmplugin from my application
support folder.
and i forgot about it.
i just tried to recreate the command but when i use it it return this
/tmp/temp_textmate.n4JLBy:7:in `require': No such file to load -- /
Users/zapata/Library/Application Support/TextMate/Support/lib/plist
(LoadError)
from /tmp/temp_textmate.n4JLBy:7
and i do not have a plist file in my lib folder indeed.
any idea how to fix this or if removing the dialog.tmplugin frommy
application support was a bad idea?
i tried to copy the one from the application content back into the
folder but it doesn't change anything.
cheers people from the world.
other wise i'm as well trying to set up django on my mac osx 10.4.8
but it does/nt do anything when i follow the instruction there :
http://www.djangoproject.com/documentation/install/
tar xzvf Django-0.95.tar.gz
cd Django-0.95
sudo python setup.py install
it keep returning an error message and abort the installation, even
with the firewall off
Downloading http://cheeseshop.python.org/packages/2.5/s/setuptools/
setuptools-0.6c1-py2.5.egg
Traceback (most recent call last):
File "setup.py", line 2, in <module>
ez_setup.use_setuptools()
File "/Users/zapata/Desktop/django/Django-0.95.1/ez_setup.py",
line 72, in use_setuptools
egg = download_setuptools(version, download_base, to_dir,
download_delay)
File "/Users/zapata/Desktop/django/Django-0.95.1/ez_setup.py",
line 126, in download_setuptools
src = urllib2.urlopen(url)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 121, in urlopen
return _opener.open(url, data)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 380, in open
response = meth(req, response)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 491, in http_response
'http', request, response, code, msg, hdrs)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 418, in error
return self._call_chain(*args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 353, in _call_chain
result = func(*args)
File "/Library/Frameworks/Python.framework/Versions/2.5/lib/
python2.5/urllib2.py", line 499, in http_error_default
raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
urllib2.HTTPError: HTTP Error 404: Not Found
Hi,
I rewrote my Command 'Insert File/Path Name + AutoCorrect'.
Key: CTRL+TAB
Scope: none
BTW I use this Command very often to open a file without a mouse or
GUI. Just type:
'mate ' and invoke this Command, and finally press CTRL+R.
To illustrate that Command I did a screencast (without sound because
my mic is out of order, but there are written comments)
http://www.bibiko.de/TM_InsertFilePathNames.mov (ca. 5.7MB)
Comments are welcome!
Best,
Hans
Some features:
- simulates the TAB behaviour on a console with pull down menu,
auto correction by looking backwards for a vaild begin of a path/
file name,
and supports relative path names using TM_DIRECTORY
- it tries to complete that file name according to the file name
before the caret's position
(i.e.: It is possible to use this command not only at the end of
the line but also at the end of a
given path within the line and even inside a given path to
change it.)
- to auto-complete files beginning with a dot type:
e.g.: '~/.p' to look for dot files beginning with p
'~/.+' to list all dot files in the home directory
- if TM_BUNDLE_SUPPORT, TM_SUPPORT_PATH, etc. occures in a line it
will use this directory as start point
Hints:
The path ./ will be substitue with $TM_DIRECTORY!
../ is also supported for relative paths using $TM_DIRECTORY as root!
You can use wildcards. e.g. ~/Pictures/.*jpg (for all jpg files)
[case sensitive!]
Symlinks are supported but not for changing a given path name.
You can use TAB to jump to the end of the line, or if there is a
space in front of the
inserted path name you can jump to that space to delete or to
insert a /.
(Because this command inserts the text as snippet)
Am I missing something or does the 'Revert' option from the subversion
bundle menu (ctrl-shift-A) doesn't display a confirmation dialog? I
managed to crash TextMate as soon as I accidentally pressed that (it's
right next to Update!!!) so I only lost my local changes in 2 of the 15
files I was working on... But honestly... no confirmation dialog? What's
up with that?
(btw, I still think TextMate kicks *ss, don't get me wrong :)
Wow...can't believe I missed that one. I knew about Cmd + T I hadn't
really used it yet because I am just starting work in TextMate and am
working in a project called test and haven't really named my files
something super great yet (and can't remember their names) so clicking
was more efficient for this project but thank you for pointing out the
obvious! So many of the great features are so subtle :-)
Thanks,
-Jon
A little command that's especially useful for writing emails.
It takes a highlighted URI and uses murl.info to shorten it to
something more like:
http://murl.info/14511
Very tinyurl but a little more underground ;-). Plus I couldn't get
tinyurl to do this...
It will accept a uri with or without a protocol (http(s)) and will
accept just about any amount of garbage on the end. It does a pretty
decent job of recognizing if what you have selected is actually a uri
or not.
Brett

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
877.858.4332
f: 1.866.540.3063
e: brett(a)circlesixdesign.com
http://www.circlesixdesign.com
..................................................
Hi list,
generally, I use textmate to write source code for various languages
and systems. Everything works nicely.
Textmate is set to use ISO-Latin1.
From time to time, I need to copy text fragments from Word oder PDF
documents
to PHP scripts. As soon save the file with the copied text, the
encoding of textmate
document suddenly changes. All diacritical characters get converted
to funny
chars. All in all, the resulting PHP isn't any longer useable.
It took me some time to exactly figure out the reasons. But, I failed
to solve it.
Does someone has an idea regarding this?
BTW: If I try this using Eclipse, the IDE reports a problem saving
the file, since
the encoding changed. I have to start windows and copy the Word text
fragments -
since Eclipse on Windows works just fine.
An ideas?
Kind regards,
Stefan
TextMate list,
how can I command TextMate to create a new untitled document from a
separate process? Basically, I want textmate to create a new window
(titled 'untitled n', that does not have a file path associated with
it yet.
Can you do this somehow thru the mate command line command? typing
just 'mate' seems to activate textmate.app, but it doesn't guarantee
that a new window will be opened (which is good). typing 'mate
new' (replace new with whatever title you want for your doc) creates
a new file with a path of /new. I would like to create a new file
that does not have any path info yet. any ideas?
Todd Ditchendorf
Scandalous Software - Mac XML Developer Tools
http://scan.dalo.us
Howdy folks!
Is it possible to tell TextMate not to search specific folders or files
when searching a project for a particular string? In BBEdit, I could
establish a list of file extensions or folders to skip when performing a
multi-file search. Something similar in TextMate?
Charley
I know ctl+tab right now switches focus between the text and the
sidebar, which I think is very useful and I don't think that feature
should go away, I just really would like a way to switch between the
most recently edited file and the one I'm currently working on...
I realize that I could order my tabs so that I could use apple +
option and left or right, but I would love not to have to care what
order my tabs are in to be able to switch between the 2 most recently
edited files. Visual Studio has this feature as I mentioned in the
subject through the ctl+tab feature. I use quite frequently.
Any possibility we could see this implemented?
Thanks,
-Jon
On 3/11/07, textmate-request(a)lists.macromates.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. Re: Insert File/Path names + open a file without using a GUI
> (Charilaos Skiadas)
> 2. How to create new untitled doc from another process.
> (Todd Ditchendorf)
> 3. Question about searching a project (Charley Tiggs)
> 4. Re: Textencoding problems renders scripts useless (Stefan)
> 5. Re: Textencoding problems renders scripts useless (Charley Tiggs)
> 6. Re: Textencoding problems renders scripts useless (Xavier Noria)
> 7. Re: Textencoding problems renders scripts useless (Stefan)
> 8. Re: Textencoding problems renders scripts useless (Stefan)
> 9. Re: Textencoding problems renders scripts useless (Xavier Noria)
> 10. Re: How to create new untitled doc from another process.
> (Peter Jaros)
> 11. Re: Go Murl Yourself (xolela(a)mac.com)
>
>
> ---------- Forwarded message ----------
> From: Charilaos Skiadas <skiadas(a)hanover.edu>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 15:03:03 -0400
> Subject: Re: [TxMt] Insert File/Path names + open a file without using a GUI
> On Mar 11, 2007, at 1:57 PM, Hans-Jörg Bibiko wrote:
>
> > well, in principal it is possible to implement this. The question
> > is how?
> >
> > Suggestion:
> > Supposing I use the character '='. '=' will be replaced by
> > TM_PROJECT_DIRECTORY if it is defined.
>
> Why not simply have the command also expand environment variable
> names, e.g. if I type:
>
> $TM_P
>
> and then ctrl+tab I would get
>
> $TM_PROJECT_DIRECTORY
>
> Btw, ctrl+tab is the key combo that takes you to the drawer and back,
> so it is a bit of an unfortunate choice.
>
> Haris Skiadas
> Department of Mathematics and Computer Science
> Hanover College
>
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Todd Ditchendorf <itod(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 12:07:44 -0700
> Subject: [TxMt] How to create new untitled doc from another process.
> TextMate list,
>
> how can I command TextMate to create a new untitled document from a
> separate process? Basically, I want textmate to create a new window
> (titled 'untitled n', that does not have a file path associated with
> it yet.
>
> Can you do this somehow thru the mate command line command? typing
> just 'mate' seems to activate textmate.app, but it doesn't guarantee
> that a new window will be opened (which is good). typing 'mate
> new' (replace new with whatever title you want for your doc) creates
> a new file with a path of /new. I would like to create a new file
> that does not have any path info yet. any ideas?
>
>
> Todd Ditchendorf
>
> Scandalous Software - Mac XML Developer Tools
> http://scan.dalo.us
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Charley Tiggs <lists(a)tiggs.net>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 15:26:41 -0400
> Subject: [TxMt] Question about searching a project
> Howdy folks!
>
> Is it possible to tell TextMate not to search specific folders or files
> when searching a project for a particular string? In BBEdit, I could
> establish a list of file extensions or folders to skip when performing a
> multi-file search. Something similar in TextMate?
>
> Charley
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:01:53 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> no one?
>
> Am 11.03.2007 um 18:34 schrieb Stefan:
>
> > Hi list,
> >
> > generally, I use textmate to write source code for various languages
> > and systems. Everything works nicely.
> >
> > Textmate is set to use ISO-Latin1.
> >
> > From time to time, I need to copy text fragments from Word oder PDF
> > documents
> > to PHP scripts. As soon save the file with the copied text, the
> > encoding of textmate
> > document suddenly changes. All diacritical characters get converted
> > to funny
> > chars. All in all, the resulting PHP isn't any longer useable.
> >
> > It took me some time to exactly figure out the reasons. But, I
> > failed to solve it.
> >
> > Does someone has an idea regarding this?
> >
> > BTW: If I try this using Eclipse, the IDE reports a problem saving
> > the file, since
> > the encoding changed. I have to start windows and copy the Word
> > text fragments -
> > since Eclipse on Windows works just fine.
> >
> > An ideas?
> >
> > Kind regards,
> >
> > Stefan
> >
> >
> >
> >
> > ______________________________________________________________________
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Charley Tiggs <lists(a)tiggs.net>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 16:23:45 -0400
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> Would the "Transliterate Word to ASCII" command in the Text bundle be
> what you're looking for? I think it takes text that comes from word and
> converts the necessary chars to the ASCII equivalents (curly quotes to
> straight, etc).
>
> Charley
>
> Stefan wrote:
> > no one?
> >
> > Am 11.03.2007 um 18:34 schrieb Stefan:
> >
> >> Hi list,
> >>
> >> generally, I use textmate to write source code for various languages
> >> and systems. Everything works nicely.
> >>
> >> Textmate is set to use ISO-Latin1.
> >>
> >> From time to time, I need to copy text fragments from Word oder PDF
> >> documents
> >> to PHP scripts. As soon save the file with the copied text, the
> >> encoding of textmate
> >> document suddenly changes. All diacritical characters get converted to
> >> funny
> >> chars. All in all, the resulting PHP isn't any longer useable.
> >>
> >> It took me some time to exactly figure out the reasons. But, I failed
> >> to solve it.
> >>
> >> Does someone has an idea regarding this?
> >>
> >> BTW: If I try this using Eclipse, the IDE reports a problem saving the
> >> file, since
> >> the encoding changed. I have to start windows and copy the Word text
> >> fragments -
> >> since Eclipse on Windows works just fine.
> >>
> >> An ideas?
> >>
> >> Kind regards,
> >>
> >> Stefan
>
>
>
>
> ---------- Forwarded message ----------
> From: Xavier Noria <fxn(a)hashref.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:40:58 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> On Mar 11, 2007, at 9:01 PM, Stefan wrote:
>
> > no one?
>
> Why do you think pasting from Word non-ASCII should work out of the box?
>
> -- fxn
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:45:24 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
>
> Am 11.03.2007 um 21:40 schrieb Xavier Noria:
>
> > On Mar 11, 2007, at 9:01 PM, Stefan wrote:
> >
> >> no one?
> >
> > Why do you think pasting from Word non-ASCII should work out of the
> > box?
>
> Because if I type the same non-ASCII using the keyboard, everything
> works
> fine.
>
>
>
> ---------- Forwarded message ----------
> From: Stefan <seaside.ki(a)mac.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 21:45:54 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
>
> Thx, Charley! I'll try it soon.
>
> Am 11.03.2007 um 21:23 schrieb Charley Tiggs:
>
> > Would the "Transliterate Word to ASCII" command in the Text bundle
> > be what you're looking for? I think it takes text that comes from
> > word and converts the necessary chars to the ASCII equivalents
> > (curly quotes to straight, etc).
> >
> > Charley
> >
> > Stefan wrote:
> >> no one?
> >> Am 11.03.2007 um 18:34 schrieb Stefan:
> >>> Hi list,
> >>>
> >>> generally, I use textmate to write source code for various languages
> >>> and systems. Everything works nicely.
> >>>
> >>> Textmate is set to use ISO-Latin1.
> >>>
> >>> From time to time, I need to copy text fragments from Word oder
> >>> PDF documents
> >>> to PHP scripts. As soon save the file with the copied text, the
> >>> encoding of textmate
> >>> document suddenly changes. All diacritical characters get
> >>> converted to funny
> >>> chars. All in all, the resulting PHP isn't any longer useable.
> >>>
> >>> It took me some time to exactly figure out the reasons. But, I
> >>> failed to solve it.
> >>>
> >>> Does someone has an idea regarding this?
> >>>
> >>> BTW: If I try this using Eclipse, the IDE reports a problem
> >>> saving the file, since
> >>> the encoding changed. I have to start windows and copy the Word
> >>> text fragments -
> >>> since Eclipse on Windows works just fine.
> >>>
> >>> An ideas?
> >>>
> >>> Kind regards,
> >>>
> >>> Stefan
> >
> >
> > ______________________________________________________________________
> > 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
>
>
>
>
> ---------- Forwarded message ----------
> From: Xavier Noria <fxn(a)hashref.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 22:03:31 +0100
> Subject: Re: [TxMt] Textencoding problems renders scripts useless
> On Mar 11, 2007, at 9:45 PM, Stefan wrote:
>
> > Am 11.03.2007 um 21:40 schrieb Xavier Noria:
> >
> >> On Mar 11, 2007, at 9:01 PM, Stefan wrote:
> >>
> >>> no one?
> >>
> >> Why do you think pasting from Word non-ASCII should work out of
> >> the box?
> >
> > Because if I type the same non-ASCII using the keyboard, everything
> > works
> > fine.
>
> Sure, but their flow is different.
>
> When you type the computer maps keystrokes to glyphs. That
> interpretation is the one you configure via the Input Menu. Then,
> when text is saved the encoding configured in the editor is used to
> map again from glyphs to bytes. So the chain is well-defined.
>
> On the other hand, the clipboard is a different story. I am not a
> Cocoa programmer but reading pages like this one:
>
> http://www.bekkoame.ne.jp/~n-iyanag/researchTools/clip_utils_osx.html
>
> looks like the flow is not so clear as to be able to robustly handle
> pastes from any source, as Word. Can anyone elaborate this point if
> it is correct?
>
> -- fxn
>
>
>
>
>
>
> ---------- Forwarded message ----------
> From: "Peter Jaros" <peter.a.jaros(a)gmail.com>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 17:14:46 -0400
> Subject: Re: [TxMt] How to create new untitled doc from another process.
> I would say
>
> $ osascript -e 'tell application "TextMate" to make new document'
>
> but that doesn't seem to work properly. However,
>
> $ osascript -e 'tell application "TextEdit" to make new document'
>
> works for TextEdit. Methinks this is a TextMate bug. Allan?
>
> Peter
>
>
> On 3/11/07, Todd Ditchendorf <itod(a)mac.com> wrote:
> > TextMate list,
> >
> > how can I command TextMate to create a new untitled document from a
> > separate process? Basically, I want textmate to create a new window
> > (titled 'untitled n', that does not have a file path associated with
> > it yet.
> >
> > Can you do this somehow thru the mate command line command? typing
> > just 'mate' seems to activate textmate.app, but it doesn't guarantee
> > that a new window will be opened (which is good). typing 'mate
> > new' (replace new with whatever title you want for your doc) creates
> > a new file with a path of /new. I would like to create a new file
> > that does not have any path info yet. any ideas?
> >
> >
> > Todd Ditchendorf
> >
> > Scandalous Software - Mac XML Developer Tools
> > http://scan.dalo.us
> >
> >
> >
> >
> > ______________________________________________________________________
> > 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
> >
>
>
>
> ---------- Forwarded message ----------
> From: xolela(a)mac.com
> To: TextMate users <textmate(a)lists.macromates.com>
> Date: Sun, 11 Mar 2007 17:37:39 -0400
> Subject: Re: [TxMt] Go Murl Yourself
> Thanks Brett,
>
> I agree that for the most part, its not agreeable, but there are
> cases when it is unavoidable, in which case "your tool" becomes
> handy...
>
>
> While I would like to keep the original I for instance had to send
> the following link [1] to colleagues - some not that web/mailer
> savy for whom their mailer breaks the link in which case I spend
> most of the time addressing the failure to get to the link...
>
> If there is another way to do this a make it easier for people that
> I work with while keeping to the intended usability as suggested by
> Alan I will take that way any day - I have no intention of cheating
> anyone of their google rank etc...
>
> danstan
>
> [1] http://docstore.ingenta.com/cgi-bin/ds_deliver/1/u/d/ISIS/
> 36029671.1/cabi/pns/2000/00000059/00000001/
> art00018/39ECAA2F26C5A0E511736294004DBC666BB0601AA9.html?link=http://
> www.ingentaconnect.com/error/delivery&format=html
>
>
>
>
>
> On Mar 11, 2007, at 2:40 PM, Brett Terpstra wrote:
>
> > <XRL URL.tmCommand.zip>
>
>
>
> --===============1331305142==--
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/mailman/listinfo/textmate
>