OK -- I'm diving into the GTD2 bundle's way of doing GTD. Cool enough.
The URLs for the GTD Active View List seem broken. At least,
clicking 'em does not bring up the file/line as I would expect.
The URLs produced are of the form:
txmt://open/?url=file://personal&line=7
Clearly, the file path is incorrect.
b.bum
When editing a mail, double quoted blocks have this scope:
text.mail.markdown
text.html.markdown
meta.block-level.markdown
markup.quote.markdown
markup.quote.markdown
Shouldn't it be "markup.quote.double.markdown" or something?
Or is it possible to apply different colors to different quotation
levels like that?
Thanks
--
FredB
Hi all,
[apologies if this appears more than once; been having posting trouble]
guerom00 wrote:
> Hi there,
>
> This a feature request : I would like to be able
> to cancel a “Find in Project”.
> Because while TM searches, it basically freezes
> for any other actions...
>
> TIA :)
More generally, this brings up the question of why the system (not just
TM!) becomes unresponsive, and why the search is so slow (at least for
projects that include whole directory trees).
Yours,
Andrew
Version 1.5.3 (1215).
I have an Xcode project directory, which a TextMate project file
encompasses. The directory contains a "build" subdirectory. It would
be very undesirable to include that directory (and a couple of others,
such as .xclassmodels, also some binaries like a Stuffit archive) in
the TextMate project, as project-wide searches take much, much longer
when (I assume) the search interrogates all the files in the build tree.
So I select the build folder in the project list and press backspace.
TextMate asks if I want a remove-from-project or a delete-file.
Remove, please.
Shortly thereafter (it may be related to deactivating and reselecting
TextMate), the build folder appears in the list again. Grz.
I have double-checked that I am dealing with a TextMate project file,
and not a directory window.
Some of the re-added files and folders have been modified while
TextMate is running; most have not.
I had used a directory window before switching to a project.
I originally populated the project by dragging the Xcode project
directory into the file list.
What am I missing? Or what is TextMate missing? It may be my problem,
as searching for "project file reincludes folders" turns up nothing in
a list-archive search.
— F
Thanks Allan.
The code works perfectly! I've tried to insert a variable inside...
<${1:ul}>
${TM_SELECTED_TEXT/(.+)(?:\n(.+))?/ <li class="${3:odd}">$1<\/li>(?2:
\n <li>$2<\/li>)/g}
</$1>
...and this is the result...
<ul>
<li class="${3:odd}">dfadfadfadfadfad</li>
<li>fadfadfadfdaf</li>
<li class="${3:odd}">afdfadfdafd</li>
</ul>
How can we adjust the class to be the next tab stop with a default? I
also adjusted your code to allow for a clean indentation of the li
elsments.
Thanks for the help. :)
Hello,
Forgive me if this question has been asked, I searched but found
no answer. I am working on a bundle that is a subset of the ruby
bundle and I would like to have some macros similar to the ones in
the ruby bundle, namely the macros that automatically insert the
requires. Looking at the macros in the ruby bundle, they are very
clean:
- moveToBeginningOfDocumentAndModifySelection:
- executeCommandWithOptions:
{
command = "insert_requires.rb yaml";
input = selection;
output = insertAsSnippet;
}
- insertSnippetWithOptions
etc.
Since, there is no real bundle editor, I am trying to replicate this
process for macros under my bundle. If I were to get to the step of
executing the command, I hit the key equivalent for this
insert_requires.rb command, but instead of getting a clean looking
macro recording like the one above, I get one who's command is filled
with the exact ruby source code being executed:
{
beforeRunningCommand = nop;
command = "#!/usr/bin/env ruby\n$: << \"#{ENV
['TM_SUPPORT_PATH']}/lib\"\n\nrequire \"escape\"\nrequire \"open3\"\n
\nCURSOR = [0xFFFC].pack(\"U\").freeze\nline, col = ENV
[\"TM_LINE_NUMBER\"].to_i - 1, ENV[\"TM_LINE_INDEX\"].to_i\n\nstdin,
stdout, stderr = Open3.popen3(\"/usr/bin/env\", \"ruby\", \"#{ENV
['TM_BUNDLE_SUPPORT']}/bin/insert_requires.rb\")\nThread.new do\n
code = STDIN.read.to_a\n code[line][col...col] = CURSOR unless
ENV.has_key?('TM_SELECTED_TEXT')\n stdin.write code.join\n
stdin.close\nend\n\nprint stdout.read.split(CURSOR).join('${0}')\n";
fallbackInput = document;
input = selection;
keyEquivalent = "^#";
name = "Insert Missing Requires";
output = insertAsSnippet;
scope = "source.ruby";
uuid = "9FB64639-F776-499B-BA6F-BB45F86F80FD";
}
Can someone please let me know what I am doing wrong here? Do I have
to hand hack the plist file or what?
Thanks in Advance,
Marshall
Did a reasonable amount of searching, but can't find it (this product
doesn't have the world's greatest documentation).
So: how do I get the equivalent of emacs-style meta-slash
autocompletion?
Guyren G Howe
Relevant Logic LLC
guyren-at-relevantlogic.com ~ http://relevantlogic.com
REALbasic, PHP, Python programming
PostgreSQL, MySQL database design and consulting
Technical writing and training
I was distressed by the fact that my Ruby appeared broken when the
Open Projects commands were distributed and they wouldn't work for
me. I tried a plethora of solutions, including removing my svn
installations and reverting Ruby installations. Ultimately, the
solution ended up being copying the text out of the bundle editor,
pasting it into a text window, and copying it back into the command
window. Then it worked. No changes to the code... weird, right? Is
there an explanation for this? Did all of my other fiddling around
do something?
I toggle off and back on a command every time I make an edit, so it's
not a question of whether I was activating any changes or not.
I just thought I'd throw it out there and see if it had an
explanation, or perhaps solved anyone else's problems (none of which
I've heard about ;-)).
Thanks,
Brett
I'm experiencing an issue where, if my cursor is in the middle of a line,
and i use cmd+] to indent the line, my cursor position is shifted one
character to the left. not a huge deal, but a bit annoying. anybody else
experience this?
-dave
TM is very sensitive about order in which Alt and mouse button are
released. I often end up with regular selection when I try to select
columns.
I've checked XCode and Word - both requre Alt to be pressed only when
clicking mouse button, not when relasing. I find that much easier to work
with - it's fail-safe and I don't have to hold Alt when selecting.
Is there a reason why TM has selection implemented like this? Can this be
changed or made configurable?
--
regards, porneL
Hello everybody,
First, the caveats and the waffling: I'm new to TextMate, I'm not a
programmer, I hope I'm not missing something obvious, I've never posted to a
mailing list before.
There, now that's out of the way, here's my problem:
I process a lot of texts for Project Gutenberg. PG has a homemade C program
(GutCheck -- http://gutcheck.sourceforge.net) which checks for various
features in the text to make sure it's in good shape for posting to PG. I
normally run it from Terminal and thought I could easily make a Command to
do it from TextMate.
I made my command, and as long as I don't add any arguments, I get back the
"usage" information for GutCheck. So far, so good.
However, when I put in my file name (e.g. gutcheck "$TM_FILEPATH"), I don't
get anything other than a new empty untitled document and short-lived
beach-ball. If I make the command pipe into another (specific) document (e.g.
gutcheck "$TM_FILEPATH" > mynewfile.out), I get one line of response from
gutcheck, and then the rest of the information is stored in the other
document. I then have to open it separately; so it's not much different from
running the command in Terminal which is what I'm trying to avoid.
I thought it had something to do with GutCheck reporting to stderr instead
of stdout, but there's a switch available to turn that off. It didn't make
any difference.
The _weird_ thing though, is that when I have in my command "Output: Show as
HTML" (instead of Create New Document), everything is there in the HTML
window (but unreadable because there are no line breaks).
What am I missing or doing incorrectly?
Ah, another clue, perhaps: when I run the command on a short file (like this
message), it works as I expect (Command: gutcheck "$TM_FILEPATH" Output:
Create New Document). But few ebooks are 17 lines long. How do I make it
work for real texts (600 to 6000 or more lines)?
Thanks in advance for any advice,
Barbara
How could we alter this.
<${1:ul}>
${TM_SELECTED_TEXT/.+/ <li>$0<\/li>/g}
</$1>
...to add a class option to the li tag, but only every other instance
of the li tag? Thanks Sune for setting up this snippet, it saves me a
ton of time when creating ul/ol lists!!!!
Adam Stacoviak
Image202 Entertainment
www.image202.com
--
houston. 713.4291456
toronto. 416.9075496
fax. 713.4562013
I use TextMate all day for Ruby on Rails apps. Today, my command-R and
command-shift-R commands have suddenly started taking a very long time
to execute and return. Using them for unit tests and the tests
indicate they've run in under a second. It's taking minutes for the
window to finish.
When I run this on the comman line the tests run instantly.
I've noticed the same problem with Ctrl-Shft-A as well.
(I updgraded to ruby 1.8.5 via MacPorts today.)
Thanks,
Jamie
Hi again,
I am trying to figure out, how I can update a Language Grammar of a
Pristine Copy, by double clicking a Previous pristine Copy, that is
derived from the same UUID, by Dragging it out from the Bundle Editor.
I tried both double clicking The Language Grammar in the Syntaxes Folder,
or the Bundle altogether from a Finder Window.
What is the expected Behavior in those cases? The CoCoa Dialog tells me
to confirm the Update of the previous Bundle, with the message that
customizations will be retained, however, a Grammar for instance
reflows, but the changes do not seem to be applied.
I can't remember, if that was the case for previous TM revisions, but I
was just wondering what was the Expected behavior in those cases.
(cutting Edge r1269)
regards, marios
Hi to all,
Suppose, I have a document with HTML like tags, where each unique tag
attribute of a specific tag corresponds to a file not in the same
Folder, but a sibling folder of the documents window parents folder.
I'm trying to make a command, that when triggered via key equivalent
will open that correspondent file, if the caret is on that scope.
I've managed just to filter the filename. eg.:
if I do:
find "$TM_DIRECTORY/.." -name "$TM_CURRENT_WORD*article.txfml" -exec
basename "{}" \;|sort
then this will give me the desired filename which is
mrs_promo.article.txfml.
My question is, how can I make this command, so that it will open this
file inside my project, even if it is not open as a project tab.
Or, alternatively to open an Html window, with a link, when clicked on,
will take me to the file.
I've looked around a bit, if I can find an example in other Bundles, but
only saw Ruby examples.
(Sorry, for bothering again, I promise, this will be the last question
for the next 2 weeks)
regards, marios
I have added a new version of the GTD bundle to the repository,
called (for now) GTD2. It is based on a syntax described at <http://
patrickrhone.com/journal/archives/2006/05/175.html>. Also, I have
done a quick write-up of the new system at <http://panalaska.org/geek/
>. It uses a new contexts.gtd file, which I have added to the
Support folder in the bundle. Based on user feedback, I will merge
the GTD and GTD2 bundles in a week or so. Please let me know if
there is any interest in this bundle. Thanks!
Mike
When I try and use the 'Documentation for word' command (control h) I
now get the error message:
.../lib/web_preview.rb:6 in 'html_header' : undefined method
url_encode for ERB::Util:Module (No Method Error) from tmp/
temp_textmate_Qp8b1:19
This has worked in the past and the only thing that I believe has
changed since it was working is the version of Textmate (now at 1.5.3
(1258)).
Nothing in the svn bundle logs on the RSS feed looked like it related
to this.
I have removed all my customization by getting rid of the Bundles
folder in ~/Library/Application Support/TextMate
with no effect and there is no TextMate folder in /Library/
Application Support.
Dave.
That'd be great Daniel, I'd use the heck out of it. I know a bunch of other people who'd probably use it as well.
Bill
----- Original Message ----
From: Daniel Stockman <daniel(a)evocateur.org>
To: TextMate users <textmate(a)lists.macromates.com>
Sent: Tuesday, October 10, 2006 4:48:43 PM
Subject: Re: [TxMt] coldfusion bundle
Bill Duenskie wrote:
> Is there an Adobe ColdFusion for Textmate? I can't seem to find one.
Indeed, I use Textmate for CF all the time. I basically hacked up a
copy of the HTML Bundle, adding in a new grammar with various bits
and bobs lifted from the Javascript bundle (for the CFscript parts).
I'll look at cleaning it up and packaging it for distribution, it's a
bit rickety at the moment.
~ Daniel
______________________________________________________________________
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
Charley,
Thanks for the info. Unfortunately I'm on a shared hosting environment and my host doesn't support WebDav.
It's FTP or nothing for me.
Bill
----- Original Message ----
From: Charley Tiggs <lists(a)tiggs.net>
To: TextMate users <textmate(a)lists.macromates.com>
Sent: Tuesday, October 10, 2006 3:16:05 PM
Subject: Re: [TxMt] remote editing with textmate
Actually, why don't you look in to WebDAV? Is WebDAV not available to
you? If so, you can mount the WebDAV point and it'll behave like a
drive. Depending on configured permissions, you'll have the ability to
read and write.
Charley
Bill Duenskie wrote:
> I would definately need write and create ability, that stinks.
>
> Is there a program that can be purchased that would allow me to mount an FTP with read, write and create?
>
> Thanks!
>
> ----- Original Message ----
> From: Helge Hartmann <helge.hartmann(a)gmx.de>
> To: TextMate users <textmate(a)lists.macromates.com>
> Sent: Tuesday, October 10, 2006 4:03:13 AM
> Subject: Re: [TxMt] remote editing with textmate
>
> The problem is, that the finder only mounts ftp server read-only.
>
> Helge
>
> Am 10.10.2006 um 06:11 schrieb Dave Grijalva:
>
> the mac can do this natively. in finder, choose Go > Connect to Server... (cmd+K). You can mount NFS, SMB, and FTP. Sadly, there is no SFTP or FTPS support.
>
> -dave
>
> On 10/9/06, Bill Duenskie <bduenskie(a)yahoo.com> wrote: I know Textmate doesn't have remote editing built in, but is there a program that is similar to www.webdrive.com on a mac? Basically webdrive allowed you to connect to a FTP server and map the connection to a drive. Can anyone recommend a similar program on a mac?
>
>
>
>
>
>
> ______________________________________________________________________
> 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
>
>
>
>
>
> ______________________________________________________________________
> 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
>
>
>
>
> ______________________________________________________________________
> 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
>
>
>
>
>
>
>
>
> ------------------------------------------------------------------------
>
>
> ______________________________________________________________________
> 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
______________________________________________________________________
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'd like Open Recent... list to keep something like minimum 3 last tmproj
files, no matter how many other files were open.
The point is that if I open lots of non-project files my projects get
kicked out of the list, but it's more likely that I'll need to re-open my
projects than any other files.
--
regards, porneL
Jen,
TextMate does not do the conversion of MarkDown "marked up" text:
WordPress does that. You will need to install the MarkDown plug-in,
which can be found on the WordPress site. I'm not sure if Smarty
Pants is rolled into it or not, but if you like the look of print
typography, then you might consider that plug-in as well.
(SmartyPants does things like "smart quotes" and em dashes.)
john
On Oct 10, 2006, at 10:01 AM, textmate-request(a)lists.macromates.com
wrote:
>> However, the markdown problem persists! Is there something I need
>> to install on the server so markdown is translated? I thought
>> TextMate was supposed to translate it to HTML before sending it to
>> the blog...
On Oct 10, 2006, at 4:36 PM, Bill Duenskie wrote:
> I would definately need write and create ability, that stinks.
>
> Is there a program that can be purchased that would allow me to
> mount an FTP with read, write and create?
Maybe this one - but I didn't tried it yet:
http://jm.marino.free.fr/Software/Mac/AutomountMaker/introduction.html
Niels
--
Linux is only free if your time has no value -- Jamie Zawinski
Hello there,
I tried using the Blogging bundle (according to the instructions of
the screencast) with my WordPress Blog (version 2.0.4).
Preview works, but when trying to send a post to the blog I
eventually get a tooltip with some ruby code and the message "time
out". Now the weird thing is that the blog actually shows the new
blog post, but markdown isn't converted to html. Posting directly in
html works, but also with the time out error and textmate doesn't
update the document with post id, category, ... and the rest of the
headers that should normally appear according to the screencast.
Any idea what I did wrong?
Thanks in advance
Jens