>The C bundle contains 3 macros for this:
> cmd-return: go to end of line, make a return
> cmd-shift-return: go to end of line, set a ;, make a return
> cmd-option-return: go to end of line, set a ;
>
>I've grown so fond of these macros that I even have a set for text.*
>that sets a . instead of a ;.
Allan, would it make sense to move these macros to Defaults? I didn't even know they were there --very nice surprise! Semi-colons (unfortunately) seem to be required for many languages ... not to mention stylesheets/plists, etc.
k
When I try to use this from Safari, Safari hangs (expected) but nothing
happens in TextMate. I used to use this feature often, but as another
user on my machine. I've since deleted that user, so I can't comment as
to whether or not it would still work in that account.
Any ideas on how to fix things so they work again?
Best, Eric
Hi,
When a bundle is double-clicked in the finder and there is already one with
that name installed TM displays a dialogue saying:
" The bundle ³<bundle name>² already exists in your Application Support
folder. Do you want to replace it?"
Could there be an option for merging the two bundles? For example, if I
download a bundle that adds extra functionality to an existing bundle, I
don't want to replace or cancel the open action, I want to add the new
stuff. I know I can do it all manually by opening the package but this is
quite time consuming.
The other thing that could be changed in the bundle behaviour is giving an
option of opening it as a scratch project. If I want to do some work on a
bundle's contents, I am not able to drag it onto Textmate's icon because it
tries to install it, rather than making a project.
None of these things are critical, but would be nice to have.
Regards,
Max
Hi all,
I was wondering if anyone might be interested in putting together a
simple textile bundle? I'm completely snowed under myself or else I'd
endeavor to learn this syntax bundling thing myself!
Thanks.
Chris
--
Do the evolution. Get Firefox!
<http://spreadfirefox.com/community/?q=affiliates&id=5&t=4>
Quote of the moment: /"Simplicity is in taking the elegant path. It is
also a conscious choice— to achieve simplicity one must eschew
complexity. Simple things must be simple."/ -- author unknown
I've probably missed something obvious and/or previously discussed here but...
Is there a standard way to get TM to generate a UUID string for a "mySyntax.plist" file ?
Background:
I've embarked upon a bundle for ConTeXt using the LaTeX bundle as inspiration and liftable source.
I want to generate two Syntax.plist files. One for ConTeXt itself (using material I generated for a BBEdit CLM for ConTeXt) and a trivially modified version of the bibtex.plist file from the LaTeX bundle (so that highlighting works with ConTeXt's \cite[citekey] (as opposed to \cite{citekey}) construct).
Writing the plist files is fairly straightforward (albeit tedious), but I'm wondering about this apparent UUID catch 22:
AFAICT, the syntax.plist file can't be included in the bundle's info.plist file w/o a UUID and if its not included in the info.plist file, it is not recognized as a bundle component. Since the bundle editor does not (yet ?) have a "language editor", I don't see how to get past this w/o manually "guessing" a UUID ?
I'm prepared for a
/slaps head
upon receiving (an) answer(s)
wtia,
mark.
I would totally be into looking at others XHTML bundles, and maybe
collaborate with other standard loving web designers out there to come
up with a usable bundle. The one available by default is really just
an example of what you can do... Not practical to get work done...
Or, I'd be willing to start from scratch, go through the entire W3C
XHTML dictionary and create the best bundle that I can on my own and
share it. But it would take me a few days/headaches and I want my free
copy of TM afterwards if I have to go through all that :P
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
> I think this is your intention but it would be great if any work you
> did ended up online and easily downloadable for two reasons:
>
> 1. New people to TM will often be in the same position
>
> 2. I would really like to see how others have configured there program
> : P
>
> Eric
>
> PS. I am not really pushing the boundaries of TM yet so I have nothing
> to share put I will if/when I can contribute to the group.
>
>> I will post you some of my bundles off-list and then you could have a
>> look at them. Perhaps you could also tell me (us) what bits are still
>> missing after that to make a killer XHTML bundle in your mind ??
Hi, I'm new here so be gentle ;) I own BBEdit, I'm trying out TM for
the first day and I'm super impressed by everything I've tested so
far...
So I go on the WIKI to look for a killer XHTML bundle with all the
macros, snippets, and what not that would be useful for basic XHTML web
design but I can't seem to find anything else besides the bundled
bundle ;) I mean... it's enough to understand how it works and get me
started in creating my own, but it's going to take me forever to add
every tag snippets, etc...
I'm not too big on reinventing the wheel and, although I understand
that TM is not specifically geared towards web developers, I'm pretty
sure some other web designers out there must be using TM as their
editor no?
I guess my question is: did I miss something? Or there's no other HTML
bundle besides the one that includes only href, mailto, meta, and p??
thanks for any help :)
.........................................
m i n i m a l d e s i g n
244 Fifth Avenue - Suite P233
New York, NY 10001-7604
USA
tel / fax: 212.931.8525
email: work(a)minimaldesign.net
site: http://minimaldesign.net/
Hi,
I'm trying to user the tm spellchecking feature while editing latex
files. Is there any way to avoid checking of the latex macros included
in the text?
Ralf
Just checking that the list is working as there has been, as far as I
can tell, no activity since two days ago...
S
Stephen F. Steiner
IDC
ssteiner at integrateddevcorp.comwww.integrateddevcorp.com
(603)433-1232
On Friday, March 25, 2005, at 12:45PM, Allan Odgaard <allan(a)macromates.com> wrote:
>On Mar 24, 2005, at 16:05, Gregg Thomason wrote:
>
>> [...] If it's replacing an existing app, it has to replicate workflow
>> /exactly/.
>
>ehm... I'm pretty sure that all TextMate users did use a text editor
>previous to october 2004, and I doubt it replicate the workflow from
>any of these editors /exactly/! :)
Well, to be fair, you had the good sense to allow me to port BBEdit-style filter scripts with little to no effort (to pick but one of several examples). You *did* replicate everything I needed to get working: emacs keybindings (years of muscle memory), plus mac-ness (same), years of filter scripts and odd bits of code (that are more crucial to me than I let on), etc.
User-level extensibility works.
Just wondering if anyone else has experienced this. When I use the
scroll-line-down feature (Control-Command-DownArrow), it will not
switch the highlighted line with the last line of the text.
I.e. if the text has 10 lines, and line 9 is highlighted,
scroll-line-down has no effect. Can someone confirm this? If so, is it
the expected behavior, or should I file a bug, or is a bug already
filed?
(v1.1b5)
thanks,
Haris
Attached is a bundle to implement kill (^k) and yank (^y) as close to
the Cocoa/Emacs implementation as I've been able to get. I hope others
can get some use out of it as well.
Using TextMate, I've had a terrible time trying to overcome years of
muscle memory in using ^k to kill and ^y to yank. The same
functionality is certainly available in TextMate, but I just can't
make my fingers not expect ^k and ^y to work a certain way. Allan has
mentioned that a Cocoa-like kill buffer is on his todo list, but I
thought I'd attempt something to tide myself over until that arrives.
Some high-level things you should know about the bundle:
* It does map ^k and ^y.
* Like Cocoa/Emacs it uses a kill buffer totally separate from the
standard Cocoa clipboard.
* I couldn't figure a good way to implement the kill buffer without
using the filesystem, so that's what it does.
* In order to get the behavior as close as possible to a real Cocoa
kill buffer, it's a great kluge of multiple commands and macros. That
fact plus the fact that it uses the file system makes it sort of slow
(I think certainly usable, though).
I hope folks find some use in it.
I'm a little perplexed by this because I've searched the list and
can't find anyone else having this problem, so I'm starting to wonder
if it's just happening to me for some reason.
In the default W3C Validation command for HTML, which uses "Show as
HTML" for output, the perl filter leaves off the url part of the txmt
URL, which causes the frontmost TextMate window to be used as the
target rather than finding an explicit file. The problem is that
whenever you use that command (or I assume any command with HTML
output), the HTML output window *is* the frontmost window and so a
txmt URL without the file specified can't work.
Isn't anyone else seeing this?
It seems to me that the only way for this to work would be if the
output window wasn't counted when looking for the frontmost window. Is
that possible?
I've fixed this problem for myself by changing the W3C validation command to:
,-----
curl 2>/dev/null -F uploaded_file=@/dev/stdin\;type=text/html
http://validator.w3.org/check \
| perl -pe 's#(Line (\d+), column (\d+))#<a
href="txmt:\/\/open?url=file://$ENV{TM_FILEPATH}&line=$2&column=@{[$3
+ 1]}">$1<\/a>#'
`-----
...but I'm intrigued that no one else is reporting this problem. Does
this not happen for others?
Thanks much.
I have a project where the .tcl files traditionally uses and
indentation of 4, and the .adp (html) files use indentation of 2.
Is it possible to set TextMate up to set the tab size dependent on the
mode? So far I've either stuck with a tabsize of 2 for everything, and
then hit once more on the TAB key in tcl, or I've been switching back
and forth, both of which are suboptimal.
Thanks,
/Lars
On Wednesday, March 23, 2005, at 04:17PM, H H <hh(a)keensoft.com> wrote:
>I really like TextMate because its is not overly boated with features.
Be careful with the term "bloat", as it inspires religious fervor. Consider: Emacs includes a Tetris game and psychotherapist (albeit a poor one), among other things. Is Emacs "bloated"? Well it certainly increases the size of the download, but deleting eliza.el isn't likely to 1)radically speed that up or 2)make it perform better.
One man's bloat is another man's must-have feature.
>For instance, the discussion on adding an SFTP client to it, is
>baffling -- I don't like TextWrangler because the program is trying to
>do everything for everybody -- even its preferences are too complicated
>for most users.
On the opposite side of the coin, think about the number of people who demand this feature. Just about every professional programmer's editor on Mac, Linux and Windows has it. This has become a bullet-point you *have* to add, no matter how nonsensical.
> For my work I use Fugu to do my SFTP stuff, because it
>does a good job, it supports tunneling, which is something that an SFTP
>program should do. Leave the text editing work for TextMate, and let
>the focus stay there.
The point I'm trying to make here, is *your* work is not *my* work, and yet TextMate may be 100% applicable to *both* our jobs.
Or, phrased another way, "Software development is hard, let's go shopping."
If you're taking votes, though, my vote would be "no" on built-in S/FTP. Although "yes!" to a user-extensible plugin system for such gee-gaws, if you think the editor part is complete. :)
Hi all,
a strange thing: after some ordinary editing activity with TM, the
front window is sticky at the bottom of the monitor, if I try to move
the window with the top bar, when I release the mouse button the
window "fall" at the bottom again and I can't edit this window or
click the close, hide or zoom buttons.
I can open another window and this works fine, but the other is still sticky.
It's funny, but unusable and I have thought to write here because I
really like TM and I would want to collaborate to improve it.
Ok, that's all. I hope this can be useful to the future development.
TM 1.1b5
OS X 10.3.8
Sorry for my bad english, I'm Italian. :-)
I'm really missing a split view ATM with my current project... I
*definitely* want to second that request for split views ;-)
best regards,
tom
--
tom lazar <tom(a)tomster.org>
http://tomster.org
Sorry, I got really irritated with all this replies to replies to
replies to replies stuff, so I started a new clean thread. Please use
new messages for **new** posts rather replies to existing ones. Thank
you! I guess Sune is on holiday, too busy or at the wig maker after
having torn out all of his hair in despair over this issue in the past
week ;-) (Luckily I'm already bald )
A couple of thoughts and issues on my mind:
1. I'm just wondering, since sftp is installed by default in OS X,
could it not be possible to create a bundle version of sftp sort of in
the same way as Chris & Torsten created their superb Subversion bundle
???
Of course this would probably not be as GUI-nice as a real hard coded
FTP solution within TM, but in combination with easy support for/from
other FTP apps like Transmit, that should take care of most
requirements of the "large minority". As and when the drawer is
reworked, perhaps we could have some hooks into it for displaying the
results of Commands etc, sort of like we can output content into the
HTML window. Bit more complicated, I know, but along the same kind of
lines (if possible).
2. I really like the Firefox Extensions system as well as the OS X
InputManagers/PrefsPanes/Contextual Menu Items bits, as they provide a
nice extensibility to the app/system. I'd rather have something like
this type of functionality in TM than FTP support built-in, as that
could be easily added then by others rather than Allan.
3. Kumar McMillan has done some great work on the Function pop-up
bundle. If we could have that result displayed in a pop-up menu inside
the TM main window, rather than in a separate window, it would be even
better. I know, it requires Allan to make it possible.
The single combining thought behind all of this is that I would like to
see a whole variety of widgets and parts of the GUI opened up for
access from Commands/plug-ins etc. inside TM. Then we could create our
own solutions to fit our own unique requirements, as well as cater for
the general needs at the same time.
Allan's comments in his various replies around these subjects is as
usual pretty much spot-on, and he sure does know how to get my
anticipation buzzing with his various ideas and plans. ;-)
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Hello.
Thank you for the great editor. I have never seen an editor with that
unique features provided by the TextMate.
It is very good.
However I think it misses really important ones : International
Lanaguage support.
As well as Unicode, other encoding methods, especially CJK, should be
supported.
However unlike other editors, I suggest one unique feature for selecting
encoding method.
1. The encoding method names should be grouped for same languages and
listed as such.
For example, if it is Korean, It should be listed "EUC-KR",
"ISO-2022KR", "UHC(Windows Korean), and so on.
2. The order of the items should reflect how often you use a specific
encoding method.
Let's say you use the UTF-8 a lot. Then it should move up to the
beginning part of the list,
or it should hide items you don't use usually.
3. Automatic detection of encoding method used for a file should be
supported. Most Mac editors are very weak with this feature.
What do you think about it?
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This might be better for the bundles list, but I am not there, so. Is
anyone up for writing a syntax for GNU m4? I don't know if many using
it anymore, I do as a preprocessor and would love it if Textmate had
the syntax. I know there is one for vim, and this site
<http://math1.unice.fr/laboratoire/help/info/m4/m4_7.html> has the
conventions.
Thanks
Robert
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.0 (Build 1799)
iQA/AwUBQkNhqWO1AQX/YDblEQIcZQCeJ0IB72cRV0x0eXyRnTX+PCIIzu4An2Fa
QethBkY0PXgZ66KEDtgmCAkR
=cQuo
-----END PGP SIGNATURE-----
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Any Perl/TextMate scripters out there? If so, you might want to take
note that Perl Monks is writing a O'Reilly book on perl scripting "Perl
Best Practices" and wants feedback on the use of editors. While he is
really looking for emacs experts, he also will include other editors
like TextMate.
Here's the link <http://www.perlmonks.org/index.pl?node_id=441686>
-----BEGIN PGP SIGNATURE-----
Version: PGP Desktop 9.0.0 (Build 1799)
iQA/AwUBQkMHo2O1AQX/YDblEQIfdgCg+hCWDFNPyVrZr2a5cBuHK6JCwosAoJ4Z
qZeNf5IjdrZrKf2qKsOp8ODj
=UGy6
-----END PGP SIGNATURE-----