HI all
I may be missing something entirely obvious, but when I have a
document's language set to Mail and hit ^Q I seem to get the
behaviour from Text->Reformat Paragraph, rather than Mail->Reformat
Quoted Text. Can anyone give me a hint as to what I'm missing, or is
this a bug?
Thanks!
Grahame
I am wondering if there are settings that can be adjusted for setting up
printing support in TextMate. I would like to print line numbers and
change the font to a more printer friendly choice. Also (dreaming
here), being able to print landscape on the page in a two col style
would be killer. Any thoughts?
I just added a new feature to the "Show Actions" commands. The html
windows generated now contain a checkbox, using which you can toggle
whether the corresponding action is marked as completed or not. Each
time you click the checkbox it writes on the corresponding file.
It hasn't been checked much, so, you know, make backups and all that.
Any errors encountered will show up in Console.app.
You will need to switch away and back to textmate to see the changes
in the gtd files.
Haris
Hmm, can't seem to find the answer to this question, so here goes.
I want to override certain items in the Textmate.app/Contents/
SharedSupport/Support/ folder into my own local form, so that I don't
loose them each time Allan updates TM. How would I do that ?
Thinking mainly about the items in the css & scripts folders within
there, but even other items. I've tried my own local copy inside ~/
Library/Application Support/TextMate/Support/ and every permutation
of that, but no success.
Kind regards,
Mats
----
"TextMate, coding with an incredible sense of joy and ease"
- www.macromates.com -
Haven't seen this on the list:
<http://nickgravgaard.com/elastictabstops/>
The idea sounds quite interesting IMHO. Any chances to see something
like this in a future TextMate release? :)
Christian
Hi Andreas,
> From: Andreas Wahlin <andreaswahlin(a)bredband.net>
> It would be nice to get other symbols rather than just =, I smell a
> good JSON cleanup :)
> I suppose you change these two lines?
> relevant_line_pattern = /^[^=]+=/
> column_search_pattern = / *=/
>
> into something .. :/
> How'd you change hat to include at least : (semicolon) into the
> pattern matching?
I don't think just changing the patterns will solve the problem. The
reason I haven't gotten to the align-statements version is I'm going
to need to break the statements on language elements and then compare
those structures across lines to decide where to add spaces. It's
non-trivial. To be honest, I haven't had time to figure out the data
structures, yet. As I said, it's on my shortlist, but it's been a
busy couple of months.
Anyway, the code is AFL, so feel free to make whatever modifications you'd like.
Regards,
Chris.
Hi folks,
Methods w/ Generic return types aren't being noticed as symbols and
so aren't appearing in the symbol list and can neither be jumped-to
with Command-Shift-T
So .. a method like this:
public ArrayList<String> getNames() {
}
won't be recognized as a symbol .. I guess the "<Something>" is
tripping it up.
I've been trying to change the "type" part of the
meta.definition.method.java rule from this:
(\b(void|boolean|byte|char|short|int|float|long|double|(\w+\.)*[A-Z]\w
+)\b(\[\s*\])?)\s* # type
to:
(\b(void|boolean|byte|char|short|int|float|long|double|(\w+\.)*[A-Z]\w
+(<(\w+\.)*[A-Z]\w+>)?)\b(\[\s*\])?)\s* # type
but it's not cutting the mustard.
That definition, btw, is found on line 69 of the java language bundle
by way of copying the Java language definition straight from the
bundle editor, into a normal textmate window.
I tried escaping the "\<" ... but I don't think that's necessary (and
it didn't work)
Any language/regex gurus willing to offer some advice?
Thanks,
-steve
Hi,
I just start using Textmate and find the Reformat Paragraph command a
little bit confusing. When editing a text file, I usually leave two
spaces at the end of a sentence, but after "Reformat Paragraph" it
will leave only one space.
Since I've used emacs for quite a long time, it's natural to compare
with the fill-paragraph command in emacs. The behavior in emacs is
(1) if there is one space after a sentence, fill-paragraph will do
nothing; (2) if there is more than one space, fill-paragraph will
change it to two spaces.
Is there a way to change the behavior of "Reformat Paragraph" to match
fill-paragraph in emacs?
I searched the mail archive and find there was a discussion on
Reformat Paragraph in LaTeX mode. I agree that the current
implementation of Reformat Paragraph is completely useless when math
mode or other enviroment is inside a paragraph. Is anything going to
change for that?
Thanks,
Di
getting this error this morning in the commit window, with I think the
latest checkout of bundles
2006-07-07 10:25:25.826 CommitWindow[943] *** -[NSBundle load]: Error
loading code /Library/InputManagers/SIMBL/SIMBL.bundle/Contents/MacOS/SIMBL
for bundle /Library/InputManagers/SIMBL/SIMBL.bundle, error code 2 (link
edit error code 0, error number 0 ())
Sam D
I am doing this:
grep $TM_CURRENT_WORD references.bib | cut -d{ -f2 | cut -d, -f1
and displaying output as a tool tip to remind me of my BibTeX keys
when entering citations in a document.
It would be fun if there were an Output option "Insert as Drop Down
List" so I could choose from the options that come up and choose to
have one inserted.
Textmate feature request:
Something I've noticed missing, which may or may not be intentional,
is that when using the EDIT > FIND > Find in Project... command -
there is no "status" nor "result message" given.
If I search my project for a string, and my project is fairly large,
Textmate does not show any type of "searching" status message to let
me know that it is still working on fetching the results.
Once my search is complete, and no results are returned, I have no
idea that my search returned nothing, because there is no "There were
no results for this search." type of message.
Perhaps including just the status of the search itself would be
sufficient to solving the second problem.
Version 1.5.1 (1100)
Thank you,
Colin D. Devroe
# http://cdevroe.com/
# http://9rules.com/
# http://chancecube.com/
A new site (version beta for the site and the files latex)
http://altermundus.com/ .html, .tex, .sty .cls only with textmate
Allan thanks !
Alain Matthes
Just to let everyone know,
I just updated the subversion Status window with some crazy new stuff.
If anyone has any errors or problems, let me know.
thomas Aylott—subtleGradient
Howdy
Does anyone other than me find it strange that the Ruby syntax
doesn't even handle basic stuff like keyword operators?
Don't get me wrong, it's one of the most touched language syntaxes
out there.
It finally just got folding the other day :-/
Anyway. I added a few things to Mats Experimental Ruby & Rails Ruby
language syntax[1] and made my own version of it[2]
Mostly just cosmetic stuff.
I also updated my Brilliance Black theme[3] to color the new stuff i
added.
I had been waiting for language injection, but i just couldn't stand
all the gray anymore.
Eventually i'm going to add a Ruby.bracketed language to add nested
group coloring and junk ala javascript bracketed[4]
To actually use this new Ruby Experimental Extra syntax[2] you'll
need to already have Mats Experimental Ruby & Rails Ruby language
syntax[1] installed.
Well anyway, enjoy.
If anyone has any objections with my adding this stuff to the
official ruby syntax, speak now.
[1] http://comox.textdrive.com/pipermail/textmate/2006-May/010382.html
[2] http://textmate.svn.subtlegradient.com/Bundles/Rails%20Extras%
20subtleGradient.tmbundle/Syntaxes/Ruby%20Experimental%
20Extra.tmLanguage
[3] In the official TextMate repo
[4] http://textmate.svn.subtlegradient.com/Bundles/
thomas Aylott—subtleGradient
I'm trying to use Filter Through Command, but it doesn't seem to be
working right. For example:
1. Create a new document and add the characters "ABCXYZ"
2. Select all text
3. Go to the Text > Filter Through Command dialog
4. For the command, enter "tr -d X"
5. For the input, choose Selection
6. For the output, choose Replace Selection
7. Click Execute
Expected result: The selection changes to "ABCYZ"
Observed result: Nothing changes
Is this a bug, or am I doing something wrong?
Note that the command appears to work for other output choices (e.g.,
Show as Tool Tip). It's only the Replace Selection option that's
giving me trouble.
Trevor
I am not sure if this is the correct place to post this request
I am using the combination of the Latex, Sweave & R Textmate bundles
for my project.
My main project fie is a latex file which calls include files that
are tex files created by Sweave.
Essentially, I do almost all the work in the Sweave mode which
compiles my main tex file when I CMB-B it. My problem is that when
I CMD-click my synched TeXniscope file I end up being taken to the
intermediate (tex) file that Sweave created. Since this looks so
similar to my sweave file I at times end up editing that tex file
rather than the sweave equivalent (snw) when in reality I should be
in the Sweave as the true source to edit.
Is it possible for the TeXniscope sync to go to the Sweave (snw)
source file rather than the tex equivalent in this case?
Thanks in advance.
Danstan
Haris -
Sometimes it would be handy to put some note or comment in a gtd
file, such as short project description, or whatever. Is there
already a way of doing this, eg.
project foo
-- Goals and results/deliverables of the project
-- Other info
-- ...
@email ...
@errand ...
end
Thanks and regards
- Stefan
Hello all,
I haven't been following much the excellent work that Mike Mellor
has been doing with the GTD bundle, but I've had my own ideas of how
GTD should be done in TextMate, so I've created another GTD bundle
that's closer to my philosophy. You can find more about it, and
download it, here:
http://skiadas.dcostanet.net/afterthought/2006/06/20/yet-another-gtd-
bundle/
Enjoy, let me know in what ways it is lacking.
Haris
Hello :)
With the last version of TextMate 1.5.2 1128, now when when I go from
a file to another in a project, i've the multicolor wheel...some seconds
Perhaps it's the time to put the caret at the good position ??? i
don't know but is it possible to stop this new feature ???
How ?? thanks
Alain Matthes
Hi all,
I am new to TextMate. Just downloaded TextMate 1.5.2, dragged it to
my Application folder on Mac OS X 10.4.7, and I wanted to start
experimenting with Rails bundles.
Should I be able to do Command+Option+Shift+Down from an
ActiveController action and receive a Go To context menu? Well, it
just doesn't happen as expected on my MacBook Pro.
I don't have any fancy setting and I haven't change TextMate default
config. I haven't buy a license. I thought I'll give myself 30 days
evaluation to see whether my productivity improves with TextMate. Is
this the culprit, it doesn't work because I haven't register my
TextMate copy?
FYI, I can invoke the context menu using my mouse by going to Bundles-
>Rails->Go To. For example I can go to my view, and it works
flawlessly.
Does 10.4.7 broken the ability? Can anyone please verify the
behaviour I'm experiencing?
More weird facts:
1. From my RHTML file, Command+Option+Shift+Down work as expected. I
see the Go To context menu.
2. From my model file, I should be able to type vuif and press Tab so
TextMate can expand it to validates_uniqueness_of right? Well, sadly
that didn't work too :(
Am I alone? What should I do to get the right behaviour?
Thanks a lot!
John
Is it possible to control font-size via a command or applescript or
something?
----------------------------------------
I guess this is just a work-around so that I can write a command that
switches:
1. Language
2. Theme
3. Font size
in one step.
I use mutt as a mailer, and mail are edited with names like
/tmp/mutt-ratagaz-501-4904-5. Is there a way to teach textmate that all file
whose name matches the pattern /tmp/mutt-* must be openend with Mail bundle ?
--
Erwan
In many Mac apps, you can use the first letter of a messagebox button
to invoke the action and dismiss the messagebox. This would be really
cool in TM, as it is so keyboard oriented. Example:
I open httpd.conf to look at how things are set up on my local server.
Inadvertently I hit a key, marking the file as dirty (edited). Cmd+W
gives me the "Do you want to save the changes you made..." modal
messagebox. The behavior I'd love to see is for D or Cmd+D to mean
"Don't Save Changes".
Is there any way to accomplish this?
Thanks,
--s.ross
Allan,
do you think you could change the filter list in the bundle editor so
there is a chance for bundle developers to provide a short
description of each bundle? Either via ToolTip or an extra column in
that listing?
And speaking of cool stuff for bundle developers: is there any chance
of having bundle developers create custom file icons? ;)
Dan
When I write LaTeX files I run "Typeset & Preview" quite alot, and
therefore was annoyed by the fact that I manually have to scroll the
preview window to the current line in my TextMate.
Hence I customized the "Typeset & Preview" command using TeXniscope's
quite useful AppleScript interface. I replaced the line
--- start ---
open -a "$V" "$PDF"
--- end ---
with
--- start ---
open -a "$V" "$PDF"
osascript << EOF
tell application "TeXniscope"
refresh the front document
the front document goto line $TM_LINE_NUMBER of source "$TM_FILEPATH"
end tell
EOF
---- end -----
Perhaps you find that useful.
Michael,
i saw in the change logs that you added these patterns to the Rails
bundle. But your changes did not come through for some reason...
Could you pls resubmit? Thank you.
Sebastian
On Jul 2, 2006, at 5:47 PM, Sebastian Friedrich wrote:
> the new Ruby folding patterns Allan added are really useful, but
> why are they not inherited by the ruby.rails scope? could anybody
> with commit rights fix that? Thanks. Sebastian
>
> ______________________________________________________________________
> 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
>
I haven't seen this reported before, but when I fetch a post in the
blogging bundle (from wordpress 1.5), the top of the file has this:
> 2006-07-01 20:23:44.729 CocoaDialog[17281] InputManagersManager
> startup
> 2006-07-01 20:23:49.061 CocoaDialog[17282] InputManagersManager
> startup
> Type: Blog Post (HTML)
which is gonna break things, no?
-ryan
Hi,
I have the unfortunate job of writing a bunch of Windows Script
Components (psuedo COM objects written in scripting languages). In my
case, it is just some VBScript wrapped in some XML.
I hacked up a really lame VBScript bundle by basically ripping off
the ASP bundle. What I would like to do is have the VBScript portion
of the XML file be treated by TextMate as VBScript.
The script portion of the document looks like this...
<script language="VBScript">
<![CDATA[
' VBScript here.
]]>
</script>
Can I get some help from the bundle gurus please :)
Thanks,
LD.
I often need to import data into R using the read.table command, but
my data files have header and footer information which shouldn't be
parsed by read.table. Here is a script which takes selected lines
from the active document and imports them to R using read.table:
-----
header_row_grep_text="run"
ignore_lines_at_end=2
# Find the header row, which always (and uniquely) contains the text
specified above.
X=`grep -n $header_row_grep_text $TM_FILEPATH | cut -f1 -d:`
# Determine the number of lines in file.
Y=`wc -l $TM_FILEPATH | cut -c 1-8`
# Tell R to read the data in this file, starting with line X which
has the variable names.
osascript -e 'tell application "R" to activate' -e "tell application
\"R\" to cmd \"data <- read.table(\\\"$TM_FILEPATH\\\", header=TRUE,
sep=\\\",\\\", skip=`expr $X - 1`, nrows=`expr $Y - $X -
$ignore_lines_at_end`)\""
-----
I have a more detailed explanation here: http://love.agent.ie/
articles/2006/07/02/sending-simulation-output-to-r
-Ana
Here is a slight modification of one of the R Bundle commands which
lets you send a file to be processed the R GUI. I started with the
built-in “Send selection to R” which looks like this:
osascript -e 'tell application "R" to activate' -e "tell application
\"R\" to cmd \"${TM_SELECTED_TEXT//\"/\\\"}\""
I replaced $TM_SELECTED_TEXT with source("$TM_FILEPATH"):
osascript -e 'tell application "R" to activate' -e "tell application
\"R\" to cmd \"source(\\\"$TM_FILEPATH\\\")\""
I have a more detailed explanation here: http://love.agent.ie/
articles/2006/07/02/passing-scripts-to-the-r-gui
-Ana
Hi all,
How are you guys managing svn properties while using TextMate?
Currently I drop back to the command line which is a tad
inconvenient. I haven't seen any way to modify properties from within
textmate, is there a way?
If not, what have you found to be an efficient way of modifying SVN
properties on version controlled files?
Thanks,
Luke.
The help file says ...
it is imperative that you set up the variable TM_GTD_CONTEXT to hold a
space-separated list of all the context you want to be using.
I'm sure how one does this must be obvious, since so many people are using
the (nice looking) bundle. Unfortunately, I'm one of those for whom the
obvious is sometimes obscure. How and where does one set up the variable?
Please?
Lewy
Hi Haris,
Thanks for your reply. For the heck of it I changed the output for
"Show All Next For Context" to New Document so I could see the HTML
it's generating, and noticed that the table does not specify a
class=grayscale (or any other).
Not sure if it's related but I'm also getting these error messages:
1) "Review" displays
"/tmp/temp_textmate.pg8Yyt:7: undefined method `process_directory' for
GTD:Module (NoMethodError)"
2) "Project Statistics" displays
"/tmp/temp_textmate.P7UfrN:4:in `require': No such file to load --
lib/dialog (LoadError) from /tmp/temp_textmate.P7UfrN:4"
FWIW, here's what "Show All for Context" looks for me:
http://nkvt.com/images/GTDAlt_screenshot.jpg
Many thanks for any help you can offer,
- Dave
> On Jul 1, 2006, at 9:27 AM, Charilaos Skiadas wrote:
>
> The GTDAlt bundle indeed uses the default.css file that lives in
> $TM_SUPPORT_PATH/css/default.css
> More particularly, the table has class="grayscale". Not sure why
> your changes were not visible.
> I've thought of allowing custom css files, but it hasn't happened yet.
>
> Haris
For those of you using the GTDAlt bundle, I want to apologize for all
the problems you may have had if you updated it since last night. I
rewrote the main engine and as a consequence broke pretty much every
command. The latest update is more or less fine. Let me know if there
are still any problems.
Also please make sure you don't have any local modifications that
might be affecting the behavior of the commands.
Haris
I've been using and really liking the new GTDAlt bundle. I'd really
like to change its output to give it a little more whitespace between
the columns. I tried styling the td tag in the default.css file, but
it did nothing.
Does the GTDAlt bundle (or the standard HTML output window) use
default.css or some other CSS file? If not, is there a way to
persuade it to use one?
Many thanks,
- Dave Winzler
love textmate, it's always lacked in CVS support, you add features
that are the easiest to add like subversion or other weird libraries.
But not the ONE thing that is a show stopper for almost everyone.
Every office USES CVS? Why can't this be the #1 priority of textmate?
Textmate as an editor is nothing without CVS support. I hate having
to use BBedit, to browse CVS, or textwrangler, then switching back to
textmate.
The one and only thing the developers should focus on right now is.
CONNECTIVITY.
who agrees with me? we your customers want CVS support, and SFTP,
FTP, and networked support, and not through some third party client.
You want to make textmate the worlds best editor? Add in features
that crappy clients like eclipse or zend developer environment have,
that let you browse and commit to the CVS trunk, and roll back.
Anyone who wants, and thinks this is the most important feature of
textmate (aside from being a text editor) please comment and show
your support. I'm personally willing to donate an extra $500 for
seemless CVS intergration, not that crappy bundle that's going around.
As a user interface designer, I could even help you design the
sidebar for browsing CVS, subversion, and feature sets. But everyone
is EDITING files online, it shouldn't be hard to intergrate, there
are SO many free libraries for unix that you can use!!! especially
for the sftp, and so forth, you don't have to re-invent the wheel.
Pleeeeeeease..
Best Regards your loyal customer,
court kizer
Tabs to Spaces and Spaces to Tabs are without keyboard shortcuts.
Allan Odgaard said he would consider giving them shortcuts if he knew
what shortcuts to use. [1]
I'm thinking Command+Option+Shift+S for Tabs to Spaces and Command
+Option+Shift+T for Spaces to Tabs. These seem to be available (but I
have no idea how to be sure).
Does anyone have a better suggestion?
Trevor
[1] http://macromates.com/ticket/show?ticket_id=48DA378E
Ok, this is off topic, but since most of you are coders, and some
probably have done this already (and kept their scripts), I was
wondering if someone of you have a script that does the following
(perl og php preferably):
1. Reads stringparts to be replaced from one file, one string is one
line
2. Traverses a file hierarchy and does a regexp with the stringpart
as the search argument
3. Writes changes back to the files, preferably with a log for
changed files
If you have anything similar, please drop me a line or reply so I
don't have to reinvent the wheel here :)
Cheers,
Egil
--
egil helland / it consultant (mcse, web technology)
web: ikon.as / egil.net mob: +47-91315555
Here's a quick patch to add a New Note snippet:
${1:note comment }<${2:http://}>$0
I was confused at first that Ctrl-L wasn't working on links, but
after reading the code a bit, I realized that you have to enclose the
link in angle brackets. This snippet makes it a bit more convenient
(and obvious). Bound to Ctrl-N on a note line.
Thanks for the nice bundle! Just started using it. One small note,
however: I can't get the @ snippet to fire. I can do '!' then Tab to
create a project, then '@' to start an action, but the '@' doesn't
fire. Possibly a scope problem, or am I misusing it? The Enter
trigger works fine though (as does the gear menu).
John
--
John R. Sheets
http://bark.metacasa.net
http://homepage.mac.com/donbriggs/
> Suite Modeler is an application for Mac OS X Cocoa developers who
> wish to implement AppleScript support in their applications and
> frameworks. Using Suite Modeler, a developer can focus on the
> concepts and rely on Suite Modeler to get all the details right.
This sounds like a Good Thing, but I am quite new to Cocoa programming.
I believe that TextMate would benefit from some kind of general
script-ability, and if it can get AppleScript relatively easily via
Cocoa framework foo then so much the better...
Regards,
- boyd
Boyd Waters
Socorro, New Mexico
Hi,
This is the first time ever I post something in the mailing list, and
I have to say that Texmate is an awesome tool, I have a crappy
English and stuff; anway, I have a problem with the blogging bundle
and I'm not really sure if this is the right place to discuss about
it, by the way I really love it and I've been using to replace ecto,
so the thing is... I can't tell if this is a bug or is not even
included in the features of the bundle but, when I try to set a date
different than the current one, and publish the post, the bundle just
changes back to the current. I have tested this on a Blogging
Markdown template, with a Wordpress setup.
Best regards,
Edmundo Hidalgo
agkamai [at] gmail [dot] com
Life: http://agkamai.org
Work: http://vivirmexico.com | http://hipertextual.com
Hi everyone,
What I want to do is have some of the SVN commands (not CVS, sorry
couldn't resist) operate on the selected directory in the project
drawer. It seems that some do and some don't. Quite possibly I am
just not doing something right to make it happen aswell.
SVN status is the command that springs to mind, despite my best
efforts, it always operates on the whole project. From memory, the
previous version I had (I currently have 1.5.1 (1100) and I only use
official releases) allowed me to do this by selecting the desired
directory in the project drawer and making sure the drawer had focus.
Any clues as to what I am doing wrong or is this how it works now?
Cheers,
LDaley.