From jay-txmt at soffian.org Sat Sep 1 02:55:25 2007 From: jay-txmt at soffian.org (Jay Soffian) Date: Fri, 31 Aug 2007 22:55:25 -0400 Subject: [TxMt] Scope issue with 1.5.6 (1414)? Message-ID: <10332E59-B444-4A9E-91EE-1EF8FF7C8A8E@soffian.org> I'm trying to write a command that reformats Python triple-quoted (""") strings. The scope of such strings is: source.python string.quoted.double.block.python when I create a command that has: Input: Selected Text or Scope and said scope as the Scope Selector, then run the command with the cursor inside a triple-quoted string, the entire document is fed to the command instead of just the triple-quoted string (the current scope). I've confirmed the scope via TM_SCOPE. Clearly I have the Scope Selector correct else my command wouldn't be activated (I've bound it ^Q). Any ideas? j. From jay-txmt at soffian.org Sat Sep 1 03:06:22 2007 From: jay-txmt at soffian.org (Jay Soffian) Date: Fri, 31 Aug 2007 23:06:22 -0400 Subject: [TxMt] Scope issue with 1.5.6 (1414)? In-Reply-To: <10332E59-B444-4A9E-91EE-1EF8FF7C8A8E@soffian.org> References: <10332E59-B444-4A9E-91EE-1EF8FF7C8A8E@soffian.org> Message-ID: On Aug 31, 2007, at 11:06 PM, Jay Soffian wrote: > Any ideas? Nevermind. Had to close the bundle editor entirely for it to take (usually just selecting another command in the bundle editor is sufficient, oh well). j. From ron_elicit at yahoo.com Sat Sep 1 12:10:53 2007 From: ron_elicit at yahoo.com (Jon Ippolito) Date: Sat, 1 Sep 2007 12:10:53 +0000 (UTC) Subject: [TxMt] Selecting a line without its leading and trailing spaces Message-ID: Is there a key combination for selecting a line (or lines) of code in a tag but omitting leading and trailing spaces and tabs? I'm familiar with the Shift-Cmd-L shortcut, but it leaves in the whitespace. This makes a mess of indented HTML when I'm using the Ctrl-Shift-W and Ctrl-Shift-Cmd-W HTML shortcuts. In other words, if I apply the combination Shift-Cmd-L followed by Ctrl-Shift-W to this line: Here's a paragraph! I get this:

Here's a paragraph!

instead of what I want, which is this:

Here's a paragraph!

Obviously I could use the mouse to select only the correct part, but I was hoping there might be a keyboard shortcut. If it's best to create my own macro using Regular Expressions, any pointers as to how to get started would be helpful. Many thanks! jon From sylvain.desve at mines.inpl-nancy.fr Sat Sep 1 12:41:29 2007 From: sylvain.desve at mines.inpl-nancy.fr (=?ISO-8859-1?Q?Sylvain_Desv=E9?=) Date: Sat, 01 Sep 2007 14:41:29 +0200 Subject: [TxMt] Selecting a line without its leading and trailing spaces In-Reply-To: References: Message-ID: <12F8FE2D-6D6F-4FA9-B8AE-4C5DF5152C3F@mines.inpl-nancy.fr> You can record the following macro: - CMD + <- To move the cursor to the beggining of the line - ALT + -> To go to the first word - SHIFT + CMD + -> To select the entire line without the new line character - SHIFT + CMD + W To wrap this with html tags Sylvain Le 1 sept. 07 ? 14:10, Jon Ippolito a ?crit : > Is there a key combination for selecting a line (or lines) of code > in a tag but > omitting leading and trailing spaces and tabs? I'm familiar with > the Shift-Cmd-L > shortcut, but it leaves in the whitespace. This makes a mess of > indented HTML > when I'm using the Ctrl-Shift-W and Ctrl-Shift-Cmd-W HTML shortcuts. > > In other words, if I apply the combination Shift-Cmd-L followed by > Ctrl-Shift-W > to this line: > > Here's a paragraph! > > I get this: > >

Here's a paragraph! >

> > instead of what I want, which is this: > >

Here's a paragraph!

> > Obviously I could use the mouse to select only the correct part, > but I was > hoping there might be a keyboard shortcut. > > If it's best to create my own macro using Regular Expressions, any > pointers as > to how to get started would be helpful. > > Many thanks! > > jon > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From ron_elicit at yahoo.com Sun Sep 2 01:49:37 2007 From: ron_elicit at yahoo.com (Jon Ippolito) Date: Sun, 2 Sep 2007 01:49:37 +0000 (UTC) Subject: [TxMt] Re: Selecting a line without its leading and trailing spaces References: <12F8FE2D-6D6F-4FA9-B8AE-4C5DF5152C3F@mines.inpl-nancy.fr> Message-ID: Sylvain Desv? writes: > > You can record the following macro: > > - CMD + <- To move the cursor to the beggining of the line > - ALT + -> To go to the first word > - SHIFT + CMD + -> To select the entire line without the new line > character > - SHIFT + CMD + W To wrap this with html tags > > Sylvain > > Le 1 sept. 07 ? 14:10, Jon Ippolito a ?crit : > > > Is there a key combination for selecting a line (or lines) of code > > in a tag but > > omitting leading and trailing spaces and tabs? Sylvain, Thanks for this speedy response! This is a good start. Unfortunately, the behavior of Alt/Option + -> seems a bit unpredictable: it skips over non-word characters like " and <, and entire words when only one tab is present at left. Also, Cmd + <-/-> won't find the beginning or end of a wrapped line, only the last character before it was wrapped. However, your thought suggested to me a macro based on RegExp searches, which seems to work: Find previous $ Find next \S(.+?)\n Shift + <- I appreciate the inspiration! jon From oliver at ollieman.net Sun Sep 2 03:10:35 2007 From: oliver at ollieman.net (Oliver Taylor) Date: Sat, 1 Sep 2007 20:10:35 -0700 Subject: [TxMt] Re: Selecting a line without its leading and trailing spaces References: <12F8FE2D-6D6F-4FA9-B8AE-4C5DF5152C3F@mines.inpl-nancy.fr> Message-ID: Regular expression search macro does the trick. I've been using one I whipped up in a few minutes for about a year. It goes like this: ^A (move to beginning of paragraph) search for: [^\s].*[^\s\n]$ From ceyrich at gmx.net Sun Sep 2 11:32:21 2007 From: ceyrich at gmx.net (Christoph Eyrich) Date: Sun, 2 Sep 2007 13:32:21 +0200 Subject: [TxMt] LaTeX typeset and view - error parsing problem Message-ID: hi brad, here is a serious tex-code error which apparently goes unnoticed by the error parsing mechanism of typeset & view: from the log file: ====== Runaway argument? \a . \begin {treetab}[t]{ccccc} & \Node {}{NP}\\[3ex] \Node {l}{} && \ETC. ./kula-cheng.tex:788: Paragraph ended before \ex was complete. \par l.788 I suspect you've forgotten a `}', causing me to apply this control sequence to too much text. How can we recover? My plan is to forget the whole thing and hope for the best. ====== typeset & view window: Found 0 errors, and 2 warnings in 1 runs wat is missing in the tex code is a closing } in this kind of tabular environment (which produces syntax trees as used in linguistics). because of this the entire object gets dropped. BTW: the revised typeset & view (with the buttons in the typeset & view window) is fabulous, thanks a lot for your work!! christoph From tonyc at boldfish.co.uk Sun Sep 2 11:39:40 2007 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Sun, 2 Sep 2007 12:39:40 +0100 Subject: [TxMt] Update Bundles Message-ID: <9834DB97-AAF7-4DAB-BE96-E139A67ECE4B@boldfish.co.uk> I've installed the getBundle bundle and the autoupdater. the autoupdater announces a failure and the update installed bundles causes this to be logged: Skipped 'CSS(plus).tmbundle' Skipped 'CSS.tmbundle' svn: REPORT request failed on '/svn/Bundles/!svn/vcc/default' svn: Target path does not exist svn: This client is too old to work with working copy '/Users/ tonycrockford/Library/Application Support/TextMate/Support'; please get a newer Subversion client launchd[91]: com.macromates.textmate.bundleupdate: exited with exit code: 1 launchd[91]: com.macromates.textmate.bundleupdate: 8 more failures without living at least 60 seconds will cause job removal can anyone suggest where to start fixing this? cheers From robin.houston at gmail.com Sun Sep 2 12:02:17 2007 From: robin.houston at gmail.com (Robin Houston) Date: Sun, 2 Sep 2007 13:02:17 +0100 Subject: [TxMt] Search and replace matching brackets? In-Reply-To: <1b795e7b0708290130m255aaba7y4d6c977859c72235@mail.gmail.com> References: <11BF2473-3B0C-46E7-91A4-34F59EA6C993@gmail.com> <1b795e7b0708290130m255aaba7y4d6c977859c72235@mail.gmail.com> Message-ID: <1b795e7b0709020502p68d89f2fpb2897c6b0adcf767@mail.gmail.com> A few days ago I posted to the list a regular expression that matches a balanced nest of brackets. The OP expressed curiosity as to how it works, and since he probably isn't the only one who found it confusing, I thought I'd post an explanation to the list. If you have ever studied automata theory, perhaps you remember that nested brackets are the classic example of something that *can't* be matched by a regular expression. So you might be surprised (or disbelieving) to see a regular expression that does exactly that. The explanation, of course, is that theory and practice are closer in theory than in practice: Onigurama regular expressions, in common with many other flavours, are more powerful than the things that computer scientists call "regular expressions". The key in this case is the recursion (or "subexpression call") feature. (For those of you who know about such things, this feature makes it possible to represent any context-free language ? a step up the Chomsky hierarchy.) I like to think that I invented this feature; certainly I wrote the initial implementation for the PCRE engine, which as far as I know is the first place that it appeared. However, the Onigurama implementation may be a case of independent rediscovery: the manual describes it as "Tanaka Akira special". Because the expressions quickly become complicated, it is very helpful to use the (?x: ... ) container, within which whitespace and comments are ignored, so that the expression can be laid out more clearly. (That is why you cannot put a newline *after* the closing parenthesis: outside the ?x group, whitespace is matched literally.) For example, here is an expression to match a parenthesised string (which may have (nested) parentheses inside it). I hope the comments make it self-explanatory: please ask, if not! (?x: \( # match the initial opening parenthesis # Now make a named group 'balanced' which matches # a balanced substring. (? # A balanced substring is either something that is not a parenthesis: [^()] | # ?or a parenthesised string: \( # A parenthesised string begins with an opening parenthesis \g* # ?followed by a sequence of balanced substrings \) # ?and ends with a closing parenthesis )* # Look for a sequence of balanced substrings \) # Finally, the outer closing parenthesis ) (Remember not to put a newline after that final parenthesis!) It's brain-twisting in the same way that recursive functions are brain-twisting when you first encounter them; but once you've got the hang of it, it is quite easy to do and very useful. Robin From bmiller at luther.edu Sun Sep 2 12:58:00 2007 From: bmiller at luther.edu (Brad Miller) Date: Sun, 2 Sep 2007 07:58:00 -0500 Subject: [TxMt] LaTeX typeset and view - error parsing problem In-Reply-To: References: Message-ID: On 9/2/07, Christoph Eyrich wrote: > > hi brad, > > here is a serious tex-code error which apparently goes unnoticed by > the error parsing mechanism of typeset & view: > > from the log file: > > ====== > > Runaway argument? > \a . \begin {treetab}[t]{ccccc} & \Node {}{NP}\\[3ex] \Node {l}{} && > \ETC. > ./kula-cheng.tex:788: Paragraph ended before \ex was complete. > > \par > l.788 > > I suspect you've forgotten a `}', causing me to apply this > control sequence to too much text. How can we recover? > My plan is to forget the whole thing and hope for the best. Hmm... that does not follow any of the conventions for an error message. Can you check the log file again and see if there is a line before the runaway argument that begins with a ! or is formatted in a way that includes the file and line number? Thanks Brad > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bmiller at luther.edu Sun Sep 2 13:37:00 2007 From: bmiller at luther.edu (Brad Miller) Date: Sun, 2 Sep 2007 08:37:00 -0500 Subject: [TxMt] LaTeX typeset and view - error parsing problem In-Reply-To: References: Message-ID: Never mind! Not enough caffeine this morning. A fix should be coming shortly. Brad > > > > > ______________________________________________________________________ > > For new threads USE THIS: textmate at lists.macromates.com > > (threading gets destroyed and the universe will collapse if you don't) > > http://lists.macromates.com/mailman/listinfo/textmate > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From oblivious at subtlegradient.com Sun Sep 2 15:43:43 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Sun, 2 Sep 2007 11:43:43 -0400 Subject: [TxMt] Search and replace matching brackets? In-Reply-To: <1b795e7b0709020502p68d89f2fpb2897c6b0adcf767@mail.gmail.com> References: <11BF2473-3B0C-46E7-91A4-34F59EA6C993@gmail.com> <1b795e7b0708290130m255aaba7y4d6c977859c72235@mail.gmail.com> <1b795e7b0709020502p68d89f2fpb2897c6b0adcf767@mail.gmail.com> Message-ID: On Sep 2, 2007, at 8:02 AM, Robin Houston wrote: > It's brain-twisting in the same way that recursive functions are > brain-twisting when you first encounter them; but once you've got the > hang of it, it is quite easy to do and very useful. > > Robin I've been trying to figure out how to do that on-and-off for forever! Thankyou SO much for expanding my understanding of advanced regex. Expect a new version of Balance Jr soon. thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge From robin.houston at gmail.com Sun Sep 2 18:49:20 2007 From: robin.houston at gmail.com (Robin Houston) Date: Sun, 2 Sep 2007 19:49:20 +0100 Subject: [TxMt] Search and replace matching brackets? In-Reply-To: References: <11BF2473-3B0C-46E7-91A4-34F59EA6C993@gmail.com> <1b795e7b0708290130m255aaba7y4d6c977859c72235@mail.gmail.com> <1b795e7b0709020502p68d89f2fpb2897c6b0adcf767@mail.gmail.com> Message-ID: <1b795e7b0709021149k4936bd90g68f03d7eaf2f6c14@mail.gmail.com> Excellent, glad it was helpful. It really ought to be possible to combine subexpression calls and back references to do things like matching well-formed XML elements. Unfortunately this doesn't work with the Onigurama engine, because subexpression calls mess up back referencing. That's a real shame: it does work in PCRE. If you change \k to \g in the code below, then it will work (but then of course it doesn't check that the closing tag has the same name as the opening one). Robin (?x) # Enable layout and comments (? (? < (? # An XML name begins with a letter, underscore or colon: [[:alpha:]_:] # followed by a sequence of NameChars (see the XML definition): [[:alnum:].\-_:]* ) (? # In XML, the whitespace chars are space, tab, CR and LF. (?[\ \t\r\n]+) \g\g?=\g? (? '[^']*' | "[^"]*" ) )* \g? > ) (? [^<] # This is not quite technically correct, but is probably good enough | \g )* (? \g? > ) | (? < \g \g* \g? /> ) ) From ld at ldaley.com Sun Sep 2 23:35:32 2007 From: ld at ldaley.com (Luke Daley) Date: Mon, 3 Sep 2007 09:35:32 +1000 Subject: [TxMt] Grails bundle. In-Reply-To: <4CDCBDFD-D7AE-40EF-881B-AC9C8D0B3217@ldaley.com> References: <7B48A2F7-3AB7-4196-BAEA-485813DD05B7@macromates.com> <4CDCBDFD-D7AE-40EF-881B-AC9C8D0B3217@ldaley.com> Message-ID: <4736EA5D-182E-44A6-810C-5E4D02B0E4E9@ldaley.com> On 28/08/2007, at 1:35 PM, Luke Daley wrote: > Thanks Allan, > > I have read the style guide and made a few changes to match. There > is one glaring discrepancy though. The bundle is called 'Grails', > according to the style guide it should probably by 'Groovy Grails'. > However, the situation is remarkably similar to that of the Rails > bundle which is just called 'Rails'. > > The bundle is available from: http://ldaley.com/downloads/ > Grails.tmbundle.zip > > Can this please be considered a submission for review. So where do I go from here? Do I need to make all the required changes (1 noted so far), before it can be put into the review section? or can it get put there and then I make the changes? The second is more preferable to me since the changes would be tracked, but please let me know either way. - LD From jfalgueras at uma.es Mon Sep 3 08:51:56 2007 From: jfalgueras at uma.es (Juan Falgueras) Date: Mon, 3 Sep 2007 10:51:56 +0200 Subject: [TxMt] Env vars Message-ID: <48247DAC-0AFB-415E-AC9A-88D84F44B1E6@uma.es> Hi asking for help I have the next code for to eat the spaces behind the cursor (with Shift and FwdDel). My problem is I know only how to move around the current line but not how to go beyond and eat also new lines in order to reach the start of the next line. #!/usr/bin/env ruby sel = ENV['TM_SELECTED_TEXT'] if sel != nil sel = sel.dup sel.gsub!(/\s/, '') print sel exit 0 end left = ENV['TM_CURRENT_LINE'][0, ENV['TM_LINE_INDEX'].to_i] right = ENV['TM_CURRENT_LINE'][ENV['TM_LINE_INDEX'].to_i .. -1] right.gsub!(/^\s+/, '') print left + right I have found the env vars TM_CURRENT_LINE' TM_LINE_INDEX TM_LINE_NUMBER TM_INPUT_START_LINE but it is not evident for me how to know the whole text before/after the cursor. Any idea will be welcome. From antikraft at gmail.com Mon Sep 3 17:08:05 2007 From: antikraft at gmail.com (Clover) Date: Mon, 03 Sep 2007 12:08:05 -0500 Subject: [TxMt] Setting up Latex Watch Message-ID: <46DC3F75.7050901@gmail.com> [Extreme newbie alert] I have been hearing about the Latex Watch setup which sounds like a dream. However, couldn't find any directions for setting it up. Any pointers? Thanks! Raheel From robin.houston at gmail.com Mon Sep 3 17:26:54 2007 From: robin.houston at gmail.com (Robin Houston) Date: Mon, 3 Sep 2007 18:26:54 +0100 Subject: [TxMt] Setting up Latex Watch In-Reply-To: <46DC3F75.7050901@gmail.com> References: <46DC3F75.7050901@gmail.com> Message-ID: <1b795e7b0709031026n6b6ff491je71af8ae495a7eb7@mail.gmail.com> On 03/09/07, Clover wrote: > I have been hearing about the Latex Watch setup which sounds like a > dream. However, couldn't find any directions for setting it up. > Any pointers? It's now integrated into the main Latex bundle (though unfortunately I haven't yet integrated the documentation). So if you're comfortable with switching to the cutting-edge bundles using SVN, you can follow the directions at http://macromates.com/wiki/Main/SubversionCheckout . The new Latex bundle has a "watch document" command, which in most circumstances should Just Work. You can set the viewer application using the preferences command in the bundle. That is the best way, but if you're not comfortable doing that then the last standalone version is (for now) still at http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.5.dmg . Just double-click on the disk image to mount it, then double-click on the bundle to install it. The bundle contains a 'help' command, which should give you enough info to get it working. If not, give us a shout! Robin From yvon.thoraval at gmail.com Mon Sep 3 17:37:37 2007 From: yvon.thoraval at gmail.com (Yvon Thoraval) Date: Mon, 3 Sep 2007 19:37:37 +0200 Subject: [TxMt] getting XCode bundle without direct internet connection ??? Message-ID: i'd like to know if it's possible to get XCode bundle without direct internet connection ??? because at this time i don't have svn i'm going to a net shop to connect thru another computer ( win*) -- yvon -------------- next part -------------- An HTML attachment was scrubbed... URL: From oblivious at subtlegradient.com Mon Sep 3 18:05:09 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Mon, 3 Sep 2007 14:05:09 -0400 Subject: [TxMt] Env vars In-Reply-To: <48247DAC-0AFB-415E-AC9A-88D84F44B1E6@uma.es> References: <48247DAC-0AFB-415E-AC9A-88D84F44B1E6@uma.es> Message-ID: <48C1F943-8758-4E05-9F72-3ADF55FBB1D3@subtlegradient.com> Take a look at how I do this in TextMate/Support/lib/codecompletion.rb look at set_line! and caret_placement You have to take into account that tabs are only a single character of variable width and that the current selection could have started from the left or right. It really is way more complex than it should be, hopefully TM2 will make this simple. thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge On Sep 3, 2007, at 4:51 AM, Juan Falgueras wrote: > Hi > > asking for help > > I have the next code for to eat the spaces behind the cursor (with > Shift and FwdDel). My problem is I know only how to move around the > current line but not how to go beyond and eat also new lines in > order to reach the start of the next line. > > #!/usr/bin/env ruby > > sel = ENV['TM_SELECTED_TEXT'] > if sel != nil > sel = sel.dup > sel.gsub!(/\s/, '') > print sel > exit 0 > end > > left = ENV['TM_CURRENT_LINE'][0, ENV['TM_LINE_INDEX'].to_i] > right = ENV['TM_CURRENT_LINE'][ENV['TM_LINE_INDEX'].to_i .. -1] > > right.gsub!(/^\s+/, '') > > print left + right > > I have found the env vars > > TM_CURRENT_LINE' > TM_LINE_INDEX > TM_LINE_NUMBER > TM_INPUT_START_LINE > > but it is not evident for me how to know the whole text before/after > the cursor. > > Any idea will be welcome. From jonas at vesterheden.dk Mon Sep 3 18:58:12 2007 From: jonas at vesterheden.dk (Jonas Due Vesterheden) Date: Mon, 3 Sep 2007 20:58:12 +0200 Subject: [TxMt] Bug in Latex bundle (newplistlib.py) Message-ID: <19fd0f8b0709031158y303930eanb9a11c902826d435@mail.gmail.com> Hello, When I use the "Typeset & View" command from the Latex bundle I get the following error: Traceback (most recent call last): File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py", line 299, in tmPrefs = tmprefs.Preferences() File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py", line 18, in __init__ self.prefs.update(self.readTMPrefs()) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py", line 39, in readTMPrefs plDict = plistlib.readPlist(pl) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py", line 77, in readPlist rootObject = p.parse(pathOrFile) File "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py", line 402, in parse parser.ParseFile(fileobj) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 634, column 17 I Googled and found a posting with a similar problem: http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html. Brad Miller replied with a suggestion to check out /tmp/tmltxprefs.plist - I did, and found a line with some weird characters that are probably to blame. Here are lines 632-641: command grep ' -------------- next part -------------- A non-text attachment was scrubbed... Name: problem.xml Type: text/xml Size: 223 bytes Desc: not available URL: From brouce at gmx.net Mon Sep 3 22:56:30 2007 From: brouce at gmx.net (wishi) Date: Tue, 4 Sep 2007 00:56:30 +0200 Subject: [TxMt] Java Code Completion - with TxMt In-Reply-To: <97D9DBF2-52B7-482F-93A9-A7DAB9CDFB0F@soffian.org> References: <97D9DBF2-52B7-482F-93A9-A7DAB9CDFB0F@soffian.org> Message-ID: <5A821FD1-2790-4591-910D-F662EA7A79E0@gmx.net> Hi! Currently I'm looking for a support to handle Java-Source with Textmate. I just want to get a feature, named Code Completion. It's just browsing through the class names, showing the sub-classes etc. vim7 has got that feature... so I'm now missing it on my Mac. Can somebody help me. Untill now I've never tried to use/find a Plugin for Textmate, because it seemed perfect :) wishi From antikraft at gmail.com Tue Sep 4 01:07:21 2007 From: antikraft at gmail.com (Clover) Date: Mon, 03 Sep 2007 20:07:21 -0500 Subject: [TxMt] Setting up Latex Watch In-Reply-To: <1b795e7b0709031026n6b6ff491je71af8ae495a7eb7@mail.gmail.com> References: <46DC3F75.7050901@gmail.com> <1b795e7b0709031026n6b6ff491je71af8ae495a7eb7@mail.gmail.com> Message-ID: <46DCAFC9.5070703@gmail.com> Robin Houston wrote: > On 03/09/07, Clover wrote: > >> I have been hearing about the Latex Watch setup which sounds like a >> dream. However, couldn't find any directions for setting it up. >> Any pointers? >> > > It's now integrated into the main Latex bundle (though unfortunately I > haven't yet integrated the documentation). So if you're comfortable > with switching to the cutting-edge bundles using SVN, you can follow > the directions at http://macromates.com/wiki/Main/SubversionCheckout . > The new Latex bundle has a "watch document" command, which in most > circumstances should Just Work. You can set the viewer application > using the preferences command in the bundle. > > That is the best way, but if you're not comfortable doing that then > the last standalone version is (for now) still at > http://www.puffinry.demon.co.uk/LaTeX%20Watch%202.5.dmg . Just > double-click on the disk image to mount it, then double-click on the > bundle to install it. The bundle contains a 'help' command, which > should give you enough info to get it working. If not, give us a > shout! > > Robin > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > > Seems like I am having problems updating my LaTeX bundle. I have been trying to update my bundles using the script at http://blog.bleything.net/2006/10/15/keeping-textmate-bundles-up-to-date-with-ruby and also the GetBundle bundle, but I don't think my bundle gets updated. The former script when doing the update says "* LaTeX: bundle exists, updating * updated to " without saying the version number to which it was updated ? makes me think that there was an update failure (a similar thing happens to the "Text" bundle during updating. Any clues? Thanks! From bmiller at luther.edu Tue Sep 4 01:31:03 2007 From: bmiller at luther.edu (Brad Miller) Date: Mon, 3 Sep 2007 20:31:03 -0500 Subject: [TxMt] Bug in Latex bundle (newplistlib.py) In-Reply-To: <19fd0f8b0709031158y303930eanb9a11c902826d435@mail.gmail.com> References: <19fd0f8b0709031158y303930eanb9a11c902826d435@mail.gmail.com> Message-ID: I've just committed a fix to the subversion repository that should work around this problem. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/3/07, Jonas Due Vesterheden wrote: > > Hello, > > When I use the "Typeset & View" command from the Latex bundle I get > the following error: > > Traceback (most recent call last): > File > "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/texMate.py", > line 299, in > tmPrefs = tmprefs.Preferences() > File > "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py", > line 18, in __init__ > self.prefs.update(self.readTMPrefs()) > File > "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/tmprefs.py", > line 39, in readTMPrefs > plDict = plistlib.readPlist(pl) > File > "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py", > line 77, in readPlist > rootObject = p.parse(pathOrFile) > File > "/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/newplistlib.py", > line 402, in parse > parser.ParseFile(fileobj) > xml.parsers.expat.ExpatError: not well-formed (invalid token): line > 634, column 17 > > I Googled and found a posting with a similar problem: > http://www.nabble.com/-BUG--Latex-Bundle-t4317028.html. Brad Miller > replied with a suggestion to check out /tmp/tmltxprefs.plist - I did, > and found a line with some weird characters that are probably to > blame. Here are lines 632-641: > > > command > grep ' > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron_elicit at yahoo.com Tue Sep 4 02:09:00 2007 From: ron_elicit at yahoo.com (Jon Ippolito) Date: Tue, 4 Sep 2007 02:09:00 +0000 (UTC) Subject: [TxMt] HTML autoconversion of urls to hyperlinks Message-ID: Hi all, The Hyperlink Helper bundle is fun, but it would be more useful for me to have a macro that would auto-convert all urls in a text document to active hyperlinks--eg, replacing: Please visit my home page at http://mysite.net/home.html today! with Please visit my home page at mysite.net/home.html today! or some variation on this. I could write this macro as a RegExp global replace, but I was thinking someone else may have already scripted it. If you know of a pre-existing macro, please let me know. BTW this forum has been very helpful and quick to respond in the past--thanks for the support! jon From bmiller at luther.edu Tue Sep 4 02:39:11 2007 From: bmiller at luther.edu (Brad Miller) Date: Mon, 3 Sep 2007 21:39:11 -0500 Subject: [TxMt] Markdown code blocks not correctly scoped inside lists Message-ID: Here is an example of a code block that is processed correctly by markdown, but is not correctly scoped in TextMate. * level 1 def test(): pass The def test() line should be scoped markup.raw.block.markdown, but instead is meta.paragraph.list.markdown. According to Gruber: To put a code block within a list item, the code block needs to be indented *twice* ? 8 spaces or two tabs: The spec doesn't say, but if you put a code block inside a level 2 list then you have to indent your code 12 Brad -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacobolus at gmail.com Tue Sep 4 05:43:13 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Mon, 03 Sep 2007 22:43:13 -0700 Subject: [TxMt] Re: Markdown code blocks not correctly scoped inside lists In-Reply-To: References: Message-ID: Brad Miller wrote: > Here is an example of a code block that is processed correctly by markdown, > but is not correctly scoped in TextMate. > > * level 1 > > def test(): > pass Yes, such problems are well known, and the only way to fix them is to vastly increase the complexity of the markdown grammar (and still probably miss many cases), or else get some new parsing technology. I'm hoping TM2 makes this sort of thing easier to do. -Jacob From mummer at whitefalls.org Tue Sep 4 06:12:10 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Tue, 4 Sep 2007 01:12:10 -0500 Subject: [TxMt] getting XCode bundle without direct internet connection ??? In-Reply-To: References: Message-ID: <668003B0-5FF1-4558-9118-8F385F304F1D@whitefalls.org> On Sep 3, 2007, at 12:37 PM, Yvon Thoraval wrote: > i'd like to know if it's possible to get XCode bundle without > direct internet connection ??? > > because at this time i don't have svn i'm going to a net shop to > connect thru another computer ( win*) The XCode bundles comes with Textmate, maybe you have turned it off? (Bundles ? Bundle Editor ? Show; Filter List?) From robin.houston at gmail.com Tue Sep 4 06:13:22 2007 From: robin.houston at gmail.com (Robin Houston) Date: Tue, 4 Sep 2007 07:13:22 +0100 Subject: Problem updating bundles (Re: [TxMt] Setting up Latex Watch) Message-ID: <1b795e7b0709032313j7e2b91e6u59c0f9bc2137f63a@mail.gmail.com> On 04/09/07, Clover wrote: > Seems like I am having problems updating my LaTeX bundle. > I have been trying to update my bundles using the script at > http://blog.bleything.net/2006/10/15/keeping-textmate-bundles-up-to-date-with-ruby > and also the GetBundle bundle, but I don't think my bundle gets updated. > The former script when doing the update says "* LaTeX: bundle exists, > updating > * updated to " without saying the version number to which it was updated > ? makes me think that there was an update failure (a similar thing > happens to the "Text" bundle during updating. I'm afraid I don't know what the problem is. I've never used either that script or GetBundle. I hope somebody else will be able to help. (You could always try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles then updating again, to see if that helps.) Robin From n.kobschaetzki at googlemail.com Tue Sep 4 06:23:34 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Tue, 4 Sep 2007 08:23:34 +0200 Subject: Problem updating bundles (Re: [TxMt] Setting up Latex Watch) In-Reply-To: <1b795e7b0709032313j7e2b91e6u59c0f9bc2137f63a@mail.gmail.com> References: <1b795e7b0709032313j7e2b91e6u59c0f9bc2137f63a@mail.gmail.com> Message-ID: <906EDEC1-53CA-4EFF-91C9-C8F9498079CE@googlemail.com> On Sep 4, 2007, at 8:13 AM, Robin Houston wrote: > On 04/09/07, Clover wrote: >> Seems like I am having problems updating my LaTeX bundle. >> I have been trying to update my bundles using the script at >> http://blog.bleything.net/2006/10/15/keeping-textmate-bundles-up- >> to-date-with-ruby >> and also the GetBundle bundle, but I don't think my bundle gets >> updated. >> The former script when doing the update says "* LaTeX: bundle exists, >> updating >> * updated to " without saying the version number to which it was >> updated >> ? makes me think that there was an update failure (a similar thing >> happens to the "Text" bundle during updating. > > I'm afraid I don't know what the problem is. I've never used either > that script or GetBundle. I hope somebody else will be able to help. Iirc GetBundle couldn't update default-bundles that is only possible via SVN-update (at least that was the state some months ago). Niels From ron_elicit at yahoo.com Tue Sep 4 10:01:59 2007 From: ron_elicit at yahoo.com (Jon Ippolito) Date: Tue, 4 Sep 2007 10:01:59 +0000 (UTC) Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks References: Message-ID: Jon Ippolito writes: > > Hi all, > > The Hyperlink Helper bundle is fun, but it would be more useful for me to have a > macro that would auto-convert all urls in a text document to active > hyperlinks--eg, replacing: > > Please visit my home page at http://mysite.net/home.html today! > > with > > Please visit my home page at href="http://mysite.net/home.html">mysite.net/home.html today! > > or some variation on this. > > I could write this macro as a RegExp global replace, but I was thinking someone > else may have already scripted it. If you know of a pre-existing macro, please > let me know. > > BTW this forum has been very helpful and quick to respond in the past--thanks > for the support! > Also, it would be helpful to know if there is a way to turn off the automated title attribute lookup feature when choosing Wrap Selection as Link (Ctrl-Shift-L). It's a nifty feature but slows me down when I'm coding on a slow Internet connection. Thanks! jon From yvon.thoraval at gmail.com Tue Sep 4 10:03:55 2007 From: yvon.thoraval at gmail.com (Yvon Thoraval) Date: Tue, 4 Sep 2007 12:03:55 +0200 Subject: [TxMt] getting XCode bundle without direct internet connection ??? In-Reply-To: <668003B0-5FF1-4558-9118-8F385F304F1D@whitefalls.org> References: <668003B0-5FF1-4558-9118-8F385F304F1D@whitefalls.org> Message-ID: 2007/9/4, Michael Sheets : > > On Sep 3, 2007, at 12:37 PM, Yvon Thoraval wrote: > > > i'd like to know if it's possible to get XCode bundle without > > direct internet connection ??? > > > > because at this time i don't have svn i'm going to a net shop to > > connect thru another computer ( win*) > > The XCode bundles comes with Textmate, maybe you have turned it off? > (Bundles ? Bundle Editor ? Show; Filter List? thanks for the tip ;-) -- yvon -------------- next part -------------- An HTML attachment was scrubbed... URL: From nilcolor at gmail.com Tue Sep 4 10:23:31 2007 From: nilcolor at gmail.com (Alexey Blinov) Date: Tue, 4 Sep 2007 14:23:31 +0400 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: References: Message-ID: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> On 9/4/07, Jon Ippolito wrote: > > Also, it would be helpful to know if there is a way to turn off the automated > title attribute lookup feature when choosing Wrap Selection as Link > (Ctrl-Shift-L). > > It's a nifty feature but slows me down when I'm coding on a slow > Internet connection. > I doubles this request. From james.hicks at lightmaker.com Tue Sep 4 10:34:30 2007 From: james.hicks at lightmaker.com (James Hicks) Date: Tue, 4 Sep 2007 11:34:30 +0100 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> Message-ID: <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> When making image tags into links you get the entire image tag duplicated into the title attribute. Would be nice if the tags were stripped from this and just the filename minus extension was used. James Hicks t. +44 (0)161 834 9889 ____________________________________________________________________________ _________ The information transmitted in this email is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. If you received this in error, please contact the sender and delete the material from any computer. ____________________________________________________________________________ _________ -----Original Message----- From: textmate-bounces at lists.macromates.com [mailto:textmate-bounces at lists.macromates.com] On Behalf Of Alexey Blinov Sent: 04 September 2007 11:24 AM To: TextMate users Subject: Re: [TxMt] Re: HTML autoconversion of urls to hyperlinks On 9/4/07, Jon Ippolito wrote: > > Also, it would be helpful to know if there is a way to turn off the automated > title attribute lookup feature when choosing Wrap Selection as Link > (Ctrl-Shift-L). > > It's a nifty feature but slows me down when I'm coding on a slow > Internet connection. > I doubles this request. ______________________________________________________________________ For new threads USE THIS: textmate at lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate From maxime.boissonneault at usherbrooke.ca Tue Sep 4 15:24:01 2007 From: maxime.boissonneault at usherbrooke.ca (Maxime Boissonneault) Date: Tue, 04 Sep 2007 11:24:01 -0400 Subject: [TxMt] LaTeX compile without showing errors Message-ID: <46DD7891.30705@usherbrooke.ca> Hello, I have a project in TextMate that compiles without giving me errors, but when I compile it using TexShop, they are errors. How come isn't TextMate showing me what and where the errors are ? Thank you, Maxime Boissonneault From bmiller at luther.edu Tue Sep 4 16:51:59 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 4 Sep 2007 11:51:59 -0500 Subject: [TxMt] LaTeX compile without showing errors In-Reply-To: <46DD7891.30705@usherbrooke.ca> References: <46DD7891.30705@usherbrooke.ca> Message-ID: Hi Maxime, The Latex bundle should show you all latex errors. Can you give me some more information so I can help? What version of TextMate are you using? Are you using the included LaTeX bundle or one from the subversion repository? If you could click on the link to the log file and then provide me with the text around and including the error in the log file then I can figure out why it is not being displayed for you. Thanks, Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/4/07, Maxime Boissonneault wrote: > > Hello, > I have a project in TextMate that compiles without giving me errors, but > when I compile it using TexShop, they are errors. How come isn't > TextMate showing me what and where the errors are ? > > Thank you, > > Maxime Boissonneault > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From maxime.boissonneault at usherbrooke.ca Tue Sep 4 16:59:03 2007 From: maxime.boissonneault at usherbrooke.ca (Maxime Boissonneault) Date: Tue, 04 Sep 2007 12:59:03 -0400 Subject: [TxMt] LaTeX compile without showing errors In-Reply-To: References: <46DD7891.30705@usherbrooke.ca> Message-ID: <46DD8ED7.9080101@usherbrooke.ca> Hello Brad, I'm using TextMate revision 1414. I updated the LaTeX bundle from the subversion repository this morning (but the problem exists since longer than that). I don't see a link to the log file. Here is what I get in the Typeset and view window that pops up when I compile : Typeset & View Memoire.tex Theme: Compiling LaTeX? /bin/bash: line 83: latexErrWarnHtml.py: command not found This is dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' TeX output 2007.09.04:1258' -> Memoire.ps . [1] [6] [7] [8] [9] [10] [11] [12] [4] [5] [6] [7] [8] [9 ] [10 ] [11] [12 ] [13 ] [14] [15] [16] [17] [18] [19 ] [95] [96] Forward search for line 136 in file /Users/mboisson/Documents/Travail/svn/blais/Maxime/Memoire/Chapitre1.tex Maxime Boissonneault Master Student University of Sherbrooke Brad Miller a ?crit : > Hi Maxime, > > The Latex bundle should show you all latex errors. Can you give me > some more information so I can help? > What version of TextMate are you using? Are you using the included > LaTeX bundle or one from the subversion repository? > If you could click on the link to the log file and then provide me > with the text around and including the error in the log file then I > can figure out why it is not being displayed for you. > > Thanks, > > Brad > -- > Brad Miller > Assistant Professor, Computer Science > Luther College > > On 9/4/07, *Maxime Boissonneault* > wrote: > > Hello, > I have a project in TextMate that compiles without giving me > errors, but > when I compile it using TexShop, they are errors. How come isn't > TextMate showing me what and where the errors are ? > > Thank you, > > Maxime Boissonneault > > ______________________________________________________________________ > For new threads USE THIS: textmate at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From brett at circlesixdesign.com Tue Sep 4 17:07:38 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Tue, 4 Sep 2007 12:07:38 -0500 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> Message-ID: <2D056032-6FAA-45E2-9C98-589A0425CB6E@circlesixdesign.com> This was already in my HTML bundle, but I can't remember if it was default or not. I have both pop up on Ctrl-Shift-L so that I can choose. Brett -------------- next part -------------- A non-text attachment was scrubbed... Name: Wrap Selection as Link (No Title).tmSnippet Type: application/octet-stream Size: 902 bytes Desc: not available URL: -------------- next part -------------- On Sep 4, 2007, at 5:23 AM, Alexey Blinov wrote: > On 9/4/07, Jon Ippolito wrote: >> >> Also, it would be helpful to know if there is a way to turn off >> the automated >> title attribute lookup feature when choosing Wrap Selection as Link >> (Ctrl-Shift-L). >> >> It's a nifty feature but slows me down when I'm coding on a slow >> Internet connection. >> > I doubles this request. > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From jashugan at gmail.com Tue Sep 4 17:40:52 2007 From: jashugan at gmail.com (Nithin Reddy) Date: Tue, 4 Sep 2007 10:40:52 -0700 Subject: [TxMt] Problem Running RSpec Behavior Descriptions using RSpec Bundle In-Reply-To: <27842b780708311518l3cd45a94y9c4e77c79391aa18@mail.gmail.com> References: <994e7e3c0708310832p7577ee2neb622c99a00138b1@mail.gmail.com> <27842b780708311518l3cd45a94y9c4e77c79391aa18@mail.gmail.com> Message-ID: <994e7e3c0709041040m5b4cd5b1sebde30e8cfb1696e@mail.gmail.com> Hi Brian, Thanks for the response, but restarting Textmate didn't clear up the error. Is there anything else you did? On 8/31/07, Brian Anderson wrote: > Oh I've had that error (just yesterday night), restarting textmate > cleared it up for me. > > -Brian > > On 8/31/07, Nithin Reddy wrote: > > The run command throws up this error: > > > > /Users/jashugan/Library/Application > > Support/TextMate/Bundles/RSpec.tmbundle/Support/lib/spec_mate.rb:18:in > > `run_files': private method `split' called for nil:NilClass > > (NoMethodError) from /tmp/temp_textmate.HNHo7l:5 > > > > Running the specs using rake works fine. > > > > ______________________________________________________________________ > > For new threads USE THIS: textmate at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From nesium at gmail.com Tue Sep 4 19:24:13 2007 From: nesium at gmail.com (Marc Bauer) Date: Tue, 4 Sep 2007 21:24:13 +0200 Subject: [TxMt] FlashMate - Beta testers wanted! In-Reply-To: <6EEFB369-ADA0-44EF-AF1C-683DD7AB314D@mediaunit.de> References: <4d64dd560707201140k36248a3x3ae6a6bde06789@mail.gmail.com> <6EEFB369-ADA0-44EF-AF1C-683DD7AB314D@mediaunit.de> Message-ID: <4d64dd560709041224t42059914v634bab83a8bd98d0@mail.gmail.com> hi all. sorry for being so quiet for a long time. i had so much work on my day-to-day business (and still have) PLUS i made the decision not to release a beta without having as3 support at least prepared. so the short story is: it will still take a few week before i'll release the beta. the long story is: you can try the as2 beta on your own risk so long and will lose your settings after upgrading to the new version. download it here: http://www.nesium.com/blog /flashmate/FlashMate.zip the workflow is: 1. open up a textmate project or create one 2. right click on the main class of your flash application in textmates files drawer. choose FlashMate > Use " yourclass.as" as main class 3. FlashMate opens and shows the compiler settings panel 4. adjust your compiler settings in there (call main method, etc.) 5. either right-click on an existing swf file to choose it as the SWF target file or go to the export panel (the one with the folder icon) and select your SWF from the magnifier icon 6. repeat this step with the html where the swf will reside in (the term "template" is irritating in the contextmenu, i know) 7. adjust version and size in the movie panel (the screen icon) if needed and you're set 8. click compile this sound perhaps a bit bulky, bit this procedure usually takes just a few seconds. some news and plans for the new version: - i have a fileformat where you can specify parameters which are presented via controls in a table (see screenshot attached). this should make supporting as3 as easy as write that file (a plist) and a class which can take care of that parameters and hand them to the compiler. i hope that'll apply to AIR applications too (i was so brave to add a button for that already =)). - nothing is saved right now, which is kind of a tricky part, since i found no way to modify the textmate project file in the right time and have much more data than in the old version, where i simply saved the configuration with the shell vars of the tm project - after that i want to have different build configurations badly. say deployment and development, where development e.g. has no trace output or different paths - then putting all together (this will eat up some time!), testing, and releasing a beta - improving the trace message format - adding support for running script before and afterwards compiling (after puzzling them together via a gui?), such as copy, upload to ftp and so on. - improving trace speed (- taking a look at lexers to support a better code completion ;-P) phew, i hope i can bear with that. so thanks for your patience and your interest! cheers, marc -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bild 1.png Type: image/png Size: 18266 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bild 2.png Type: image/png Size: 31231 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Bild 3.png Type: image/png Size: 75938 bytes Desc: not available URL: From oblivious at subtlegradient.com Tue Sep 4 19:48:45 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Tue, 4 Sep 2007 15:48:45 -0400 Subject: [TxMt] FlashMate - Beta testers wanted! In-Reply-To: <4d64dd560709041224t42059914v634bab83a8bd98d0@mail.gmail.com> References: <4d64dd560707201140k36248a3x3ae6a6bde06789@mail.gmail.com> <6EEFB369-ADA0-44EF-AF1C-683DD7AB314D@mediaunit.de> <4d64dd560709041224t42059914v634bab83a8bd98d0@mail.gmail.com> Message-ID: <7CD002CD-DE83-4B02-B6A0-95269CE27EEE@subtlegradient.com> Looks awesome. I can't wait until your get all this up and running I probly won't need this for a while anyway. thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge On Sep 4, 2007, at 3:24 PM, Marc Bauer wrote: > so thanks for your patience and your interest! > From bmiller at luther.edu Tue Sep 4 20:26:42 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 4 Sep 2007 15:26:42 -0500 Subject: [TxMt] LaTeX compile without showing errors In-Reply-To: <46DD8ED7.9080101@usherbrooke.ca> References: <46DD7891.30705@usherbrooke.ca> <46DD8ED7.9080101@usherbrooke.ca> Message-ID: -- Brad Miller Assistant Professor, Computer Science Luther College On 9/4/07, Maxime Boissonneault wrote: > > Hello Brad, > I'm using TextMate revision 1414. I updated the LaTeX bundle from the > subversion repository this morning (but the problem exists since longer > than that). > I don't see a link to the log file. Here is what I get in the Typeset > and view window that pops up when I compile : > > Typeset & View > Memoire.tex > > > Theme: > Compiling LaTeX? > > /bin/bash: line 83: latexErrWarnHtml.py: command not found This is This line here tells me that you are not using the the whole latex bundle from 1414 or from subversion. latexErrWarnHrml.py was deleted as of release 1414. The most likely source of this is that you made some modification to the typeset and view command. You should check in your Library/Application Support/TextMate/Bundles folder for Latex.tmbundle. If you find it move it or delete it. Then restart TextMate. Hope that helps. Brad dvips(k) 5.96 Copyright 2005 Radical Eye Software (www.radicaleye.com) ' > TeX output 2007.09.04:1258' -> Memoire.ps . [1] [6] [7] [8] [9] [10] > [11] [12] [4] [5] [6] [7] [8] [9 ] [10 ] [11] [12 ] [13 ] [14] [15] [16] > [17] [18] [19 ] [95] [96] Forward search for line 136 in file > /Users/mboisson/Documents/Travail/svn/blais/Maxime/Memoire/Chapitre1.tex > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Tue Sep 4 23:46:17 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Tue, 4 Sep 2007 18:46:17 -0500 Subject: [TxMt] Grails bundle. In-Reply-To: <4736EA5D-182E-44A6-810C-5E4D02B0E4E9@ldaley.com> References: <7B48A2F7-3AB7-4196-BAEA-485813DD05B7@macromates.com> <4CDCBDFD-D7AE-40EF-881B-AC9C8D0B3217@ldaley.com> <4736EA5D-182E-44A6-810C-5E4D02B0E4E9@ldaley.com> Message-ID: On Sep 2, 2007, at 6:35 PM, Luke Daley wrote: > So where do I go from here? Do I need to make all the required > changes (1 noted so far), before it can be put into the review > section? or can it get put there and then I make the changes? The > second is more preferable to me since the changes would be tracked, > but please let me know either way. http://macromates.com/wiki/Main/Bundles Last paragraph. From ld at ldaley.com Tue Sep 4 23:54:48 2007 From: ld at ldaley.com (Luke Daley) Date: Wed, 5 Sep 2007 09:54:48 +1000 Subject: [TxMt] Grails bundle. In-Reply-To: References: <7B48A2F7-3AB7-4196-BAEA-485813DD05B7@macromates.com> <4CDCBDFD-D7AE-40EF-881B-AC9C8D0B3217@ldaley.com> <4736EA5D-182E-44A6-810C-5E4D02B0E4E9@ldaley.com> Message-ID: <686C9D98-E887-45EE-B57E-AD3CB0B31C5B@ldaley.com> On 05/09/2007, at 9:46 AM, Michael Sheets wrote: > On Sep 2, 2007, at 6:35 PM, Luke Daley wrote: > >> So where do I go from here? Do I need to make all the required >> changes (1 noted so far), before it can be put into the review >> section? or can it get put there and then I make the changes? The >> second is more preferable to me since the changes would be >> tracked, but please let me know either way. > > http://macromates.com/wiki/Main/Bundles > > Last paragraph. Did that on the 22/8, no response. Will do again. - LD. From throw-away-1 at macromates.com Wed Sep 5 00:24:59 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:24:59 +0200 Subject: [TxMt] Grails bundle. In-Reply-To: <686C9D98-E887-45EE-B57E-AD3CB0B31C5B@ldaley.com> References: <7B48A2F7-3AB7-4196-BAEA-485813DD05B7@macromates.com> <4CDCBDFD-D7AE-40EF-881B-AC9C8D0B3217@ldaley.com> <4736EA5D-182E-44A6-810C-5E4D02B0E4E9@ldaley.com> <686C9D98-E887-45EE-B57E-AD3CB0B31C5B@ldaley.com> Message-ID: <615CD0ED-6C14-4D69-86C1-FCCD6613F043@macromates.com> On Sep 5, 2007, at 1:54 AM, Luke Daley wrote: > [...] > Did that on the 22/8, no response. Will do again. I was away most of August, and when I came back, my main machine had a broken CPU (I am waiting for a replacement). So there are some emails received within the last month that I have not responded to, especially those which require access to my regular working environment. From throw-away-1 at macromates.com Wed Sep 5 00:26:24 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:26:24 +0200 Subject: [TxMt] Java Code Completion - with TxMt In-Reply-To: <5A821FD1-2790-4591-910D-F662EA7A79E0@gmx.net> References: <97D9DBF2-52B7-482F-93A9-A7DAB9CDFB0F@soffian.org> <5A821FD1-2790-4591-910D-F662EA7A79E0@gmx.net> Message-ID: <0384B7A9-437B-4DB4-9934-5CCE8B3D4E01@macromates.com> On Sep 4, 2007, at 12:56 AM, wishi wrote: > Currently I'm looking for a support to handle Java-Source with > Textmate. I just want to get a feature, named Code Completion. It's > just browsing through the class names, showing the sub-classes etc. There is (to the best of my knowledge) no code-completion bundles for Java. From throw-away-1 at macromates.com Wed Sep 5 00:27:09 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:27:09 +0200 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> Message-ID: On Sep 4, 2007, at 12:34 PM, James Hicks wrote: > When making image tags into links you get the entire image tag > duplicated > into the title attribute. Would be nice if the tags were stripped > from this > and just the filename minus extension was used. Can you give an example of this? From throw-away-1 at macromates.com Wed Sep 5 00:30:21 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:30:21 +0200 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: References: Message-ID: <75E245FB-6FCC-43EA-A51B-1A764BAC5FC5@macromates.com> On Sep 4, 2007, at 12:01 PM, Jon Ippolito wrote: > [...] it would be helpful to know if there is a way to turn off the > automated > title attribute lookup feature when choosing Wrap Selection as Link > (Ctrl-Shift-L). Presently only be editing the command. I see Brent sent an additional command w/o the feature, which would let you pick which each time. Probably that is better than a setting. From throw-away-1 at macromates.com Wed Sep 5 00:32:36 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:32:36 +0200 Subject: [TxMt] HTML autoconversion of urls to hyperlinks In-Reply-To: References: Message-ID: <73F98075-98C6-4B4C-89AA-31062780DC17@macromates.com> On Sep 4, 2007, at 4:09 AM, Jon Ippolito wrote: > [...] it would be more useful for me to have a macro that would > auto-convert all urls in a text document to active hyperlinks [...] > > I could write this macro as a RegExp global replace, but I was > thinking someone > else may have already scripted it. If you know of a pre-existing > macro, please > let me know. Are you familiar with Markdown? Perhaps it would be more effective for you to write the first draft of your text in Markdown and press ??H to generate the HTML -- Markdown will convert into http://macromates.com/ From throw-away-1 at macromates.com Wed Sep 5 00:35:39 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 02:35:39 +0200 Subject: [TxMt] Problem Running RSpec Behavior Descriptions using RSpec Bundle In-Reply-To: <994e7e3c0709041040m5b4cd5b1sebde30e8cfb1696e@mail.gmail.com> References: <994e7e3c0708310832p7577ee2neb622c99a00138b1@mail.gmail.com> <27842b780708311518l3cd45a94y9c4e77c79391aa18@mail.gmail.com> <994e7e3c0709041040m5b4cd5b1sebde30e8cfb1696e@mail.gmail.com> Message-ID: <6382BC3A-3DDD-4D43-82D5-3E36A784AC1F@macromates.com> On Sep 4, 2007, at 7:40 PM, Nithin Reddy wrote: > Thanks for the response, but restarting Textmate didn't clear up the > error. Is there anything else you did? I don?t have the RSpec bundle, but from the error it calls split on nil in a method called ?run_files? -- my guess is that it wants a selection in the project drawer and you have no files selected there. That said, this could of course be handled better. From ipan at freeshell.org Wed Sep 5 02:03:29 2007 From: ipan at freeshell.org (Ivan Pan) Date: Tue, 4 Sep 2007 21:03:29 -0500 Subject: [TxMt] The Blank Bar above Status Bar Message-ID: Is this normal? . As far as I know, the blank bar appear when in Python, Ruby, SQL, Regular Expression, and AppleScript... probably more. I have poked around more and can't figure what it does. -------------- next part -------------- A non-text attachment was scrubbed... Name: textmate-blank-bar.png Type: image/png Size: 7814 bytes Desc: not available URL: From throw-away-1 at macromates.com Wed Sep 5 03:45:56 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 5 Sep 2007 05:45:56 +0200 Subject: [TxMt] Any way to force a font smoothing style in TM In-Reply-To: <4BE4D180-5619-4729-94B5-7A7B66291729@soffian.org> References: <001501c7e3d1$d37cccf0$940e290a@gbrman.lightmaker.local> <4BE4D180-5619-4729-94B5-7A7B66291729@soffian.org> Message-ID: <10E1F032-EB07-4F03-A765-59D20B5512DD@macromates.com> On Aug 21, 2007, at 8:54 PM, Jay Soffian wrote: > [...] > (Aside, does anyone understand the difference between the > preferences under Library/Preferences and those under Library/ > Preferences/ByHost?) Generally settings should be machine (host) independent, but e.g. the font smoothing preference may depend on your current hardware display (e.g. sub-pixel anti-alias is not available for CRT displays) and is therefor stored as ?only for this host?. This appears to be implemented by storing the host-specific preference as ByHost/?regular app identifier?.?host id?.plist. This would be useful in an environment where different machines boot using a shared user folder. From ciawal at gmail.com Wed Sep 5 03:59:01 2007 From: ciawal at gmail.com (=?UTF-8?Q?Ciar=C3=A1n_Walsh?=) Date: Tue, 4 Sep 2007 22:59:01 -0500 Subject: [TxMt] The Blank Bar above Status Bar In-Reply-To: References: Message-ID: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> On 4 Sep 2007, at 21:03, Ivan Pan wrote: > Is this normal? It?s the scrollbars, they appear when wordwrap is on -------------- next part -------------- An HTML attachment was scrubbed... URL: From ipan at freeshell.org Wed Sep 5 04:16:02 2007 From: ipan at freeshell.org (Ivan Pan) Date: Tue, 4 Sep 2007 23:16:02 -0500 Subject: [TxMt] The Blank Bar above Status Bar In-Reply-To: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> References: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> Message-ID: On 9/4/07, Ciar?n Walsh wrote: > > It's the scrollbars, they appear when wordwrap is on Thanks, It's gone once I turned on the soft wrap. It's strange. I always have soft wrap turned on. I didn't know it is language dependent. For example, soft wrap is on when in MATLAB and LaTeX mode but it is off for Python and Ruby. ip From dd at dyce.com Wed Sep 5 08:51:33 2007 From: dd at dyce.com (Richard Dyce) Date: Wed, 5 Sep 2007 09:51:33 +0100 Subject: [TxMt] Re: Size of fonts when printing In-Reply-To: References: <1C6AFAA1-ECE0-4687-A214-23D39D998C80@controlsoftcorp.com> Message-ID: Just a thought... I had this problem with printing PHP. If you want to print PHP or pure HTML, then you can 'Filter Through Command..." (cmd-R) using just php -s and viewing the result as HTML, and using cmd- or cmd+ to change the size. You don't get line numbers, or headers, though. R On 30 Aug 2007, at 15:44, Jacob Rus wrote: > Steven Finnegan wrote: >> One of the very few complaints I have regarding Textmate is how it >> handles font sizes for printed documents. I have the apple 30" cinema > ... >> The help system mentions something about the Source Bundle having >> a "View Source as PDF" function, but I couldn't find that >> function. Bundles -> Source does not show it. >> Anyway, I was wondering what other users have done to mitigate >> this problem. > > I send source to an HTML document ("TextMate" ? "Create HTML From > Document") -- Richard Dyce MA (Cantab.) MBCS MIET http://dyce.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 bytes Desc: not available URL: From ward at equanimity.nl Wed Sep 5 08:58:41 2007 From: ward at equanimity.nl (wobbet) Date: Wed, 5 Sep 2007 01:58:41 -0700 (PDT) Subject: [TxMt] feature request: back to previous edit location Message-ID: <12494280.post@talk.nabble.com> Hello, One extremely useful command that I use very frequently when editing code in Visual Studio.net is the "back to previous edit location" command. For example; I am editing file X on line 12. When editing I decide I need to change something in file Y. After making the change I want to go back to file X on line 12. This happens a lot of times during coding sessions. (there is also a next edit location command that would go back to file Y, so it's kind of navigating in a stack of edit location history). Is this functionality already present in Textmate? If not, consider this as a feature request. Also is this something I could add myself using Textmate extensibility features? Regards, Ward -- View this message in context: http://www.nabble.com/feature-request%3A-back-to-previous-edit-location-tf4382882.html#a12494280 Sent from the textmate users mailing list archive at Nabble.com. From guerom00 at gmail.com Wed Sep 5 09:14:42 2007 From: guerom00 at gmail.com (guerom00) Date: Wed, 5 Sep 2007 02:14:42 -0700 (PDT) Subject: [TxMt] The Blank Bar above Status Bar In-Reply-To: References: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> Message-ID: <12494492.post@talk.nabble.com> Yes, it's language dependent. It appears in Fortran 77 and not in Fortran 90, no matter what the word wrap is :confused: -- View this message in context: http://www.nabble.com/The-Blank-Bar-above-Status-Bar-tf4381528.html#a12494492 Sent from the textmate users mailing list archive at Nabble.com. From brett at circlesixdesign.com Wed Sep 5 13:10:06 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Wed, 5 Sep 2007 08:10:06 -0500 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> Message-ID: <60E40B64-8979-420B-A62F-9CC0D20B1E79@circlesixdesign.com> He's right. If you just highlight a full image tag and choose Wrap as Link, it will insert the full image tag into the title attribute. I have a regex to strip that, I'll upload tonight. Brett On Sep 4, 2007, at 7:27 PM, Allan Odgaard wrote: > On Sep 4, 2007, at 12:34 PM, James Hicks wrote: > >> When making image tags into links you get the entire image tag >> duplicated >> into the title attribute. Would be nice if the tags were stripped >> from this >> and just the filename minus extension was used. > > Can you give an example of this? > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From t.claassen at mediaunit.de Wed Sep 5 14:51:30 2007 From: t.claassen at mediaunit.de (Tibor Claassen) Date: Wed, 5 Sep 2007 16:51:30 +0200 Subject: [TxMt] FlashMate - Beta testers wanted! In-Reply-To: <4d64dd560709041224t42059914v634bab83a8bd98d0@mail.gmail.com> References: <4d64dd560707201140k36248a3x3ae6a6bde06789@mail.gmail.com> <6EEFB369-ADA0-44EF-AF1C-683DD7AB314D@mediaunit.de> <4d64dd560709041224t42059914v634bab83a8bd98d0@mail.gmail.com> Message-ID: <7BAC4518-908C-4EEC-B050-86CCA53C6B61@mediaunit.de> > you can try the as2 beta on your own risk so long and will lose > your settings after upgrading to the new version. download it here: > http://www.nesium.com/blog/flashmate/FlashMate.zip Thank you for making this public available. I will give it a try the next days/weeks. Looking forward to the as3 beta though. If you need any help, let me know. --- Tibor Claassen MEDIA UNIT B?ro f?r visuelle Konzepte From alaskamike at gmail.com Wed Sep 5 15:09:36 2007 From: alaskamike at gmail.com (Mike Mellor) Date: Wed, 5 Sep 2007 07:09:36 -0800 Subject: [TxMt] erb Load Error? Message-ID: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> I got the following error today when I tried to run a TextMate command in the GTD2 bundle: /tmp/temp_textmate.P3vuHw:4:in `require': No such file to load -- erb (LoadError) from /tmp/temp_textmate.P3vuHw:4 I've been playing around with my ruby installation, but it seems to be running fine (1.8.6). I can run a script with "require 'erb'" from within TextMate, so I don't think that ruby is the problem. I also checked to make sure that I haven't changed the code for the command, but it checks out as the most current in svn. Any idea what's going on? Thanks. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From nilcolor at gmail.com Wed Sep 5 16:12:12 2007 From: nilcolor at gmail.com (Alexey Blinov) Date: Wed, 5 Sep 2007 20:12:12 +0400 Subject: [TxMt] Blogging Bundle request: Post slug (WP) Message-ID: <61450f630709050912y1df2539r17edf5cffd156039@mail.gmail.com> Hi! Does anybody know how to add ability to edit/add post slug (for WordPress blog) in TM? I like to post through TM but my posts mostrly in russian so slugs are too... And that is very non frendly for IE/FFox users - if i want to send them link to my post... Alexey Blinov From bp.profiles at gmail.com Wed Sep 5 17:28:44 2007 From: bp.profiles at gmail.com (Bastian Philipps) Date: Wed, 05 Sep 2007 19:28:44 +0200 Subject: [TxMt] LaTeX 'Typeset and View' broken after latest SVN checkout Message-ID: Ciao Folks, is it just me or is there something broken in the 'Typeset and View'-Command after Revision 8121? Using an otherwise unchanged setup, I am getting the following output: This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 Traceback (most recent call last): File "/Library/Application Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texMate.py", line 376, in ? isFatal,numErrs,numWarns = commandParser.parseStream() File "/Library/Application Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line 47, in parseStream fun(myMatch,line) File "/Library/Application Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line 237, in startLatex bp = LaTexParser(self.input_stream,self.verbose) TypeError: __init__() takes exactly 4 arguments (3 given) Any ideas? Greetz Bastian From bmiller at luther.edu Wed Sep 5 17:47:56 2007 From: bmiller at luther.edu (Brad Miller) Date: Wed, 5 Sep 2007 12:47:56 -0500 Subject: [TxMt] LaTeX 'Typeset and View' broken after latest SVN checkout In-Reply-To: References: Message-ID: Not just you, anybody running the latest from svn and using latexmk would hit this. Yesterday when I implemented some changes to allow for file extensions other than .tex I forgot to test the latexmk path. Its fixed now, so if you update again (8123), all should be well. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/5/07, Bastian Philipps wrote: > > Ciao Folks, > > is it just me or is there something broken in the 'Typeset and > View'-Command after Revision 8121? > > Using an otherwise unchanged setup, I am getting the following output: > This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 > > Traceback (most recent call last): File "/Library/Application > Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texMate.py", line > 376, in ? isFatal,numErrs,numWarns = commandParser.parseStream() File > "/Library/Application > Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line > 47, in parseStream fun(myMatch,line) File "/Library/Application > Support/TextMate/Bundles/Latex.tmbundle/Support/bin/texparser.py", line > 237, in startLatex bp = LaTexParser(self.input_stream,self.verbose) > TypeError: __init__() takes exactly 4 arguments (3 given) > > Any ideas? > > Greetz > Bastian > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bp.profiles at gmail.com Wed Sep 5 18:23:09 2007 From: bp.profiles at gmail.com (Bastian Philipps) Date: Wed, 05 Sep 2007 20:23:09 +0200 Subject: [TxMt] Re: LaTeX 'Typeset and View' broken after latest SVN checkout In-Reply-To: References: Message-ID: Brad Miller wrote: > Not just you, anybody running the latest from svn and using latexmk > would hit this. Yesterday when I implemented some changes to allow for > file extensions other than .tex I forgot to test the latexmk path. Its > fixed now, so if you update again (8123), all should be well. > > Brad > Now that's, what I call fast support! Just tried and all is working perfect again. Thanks a lot, Brad! All the best Bastian From pthomsen at reedtz.com Wed Sep 5 21:50:23 2007 From: pthomsen at reedtz.com (Per Reedtz Thomsen) Date: Wed, 05 Sep 2007 14:50:23 -0700 Subject: [TxMt] Editing over NFS... Message-ID: <46DF249F.9090905@reedtz.com> I searched the archives back to July of '06, but did not find anything on the list about this... I'm developing on a Linux box that's got my source tree on it. My Mac NFS mounts this directory, and I use TextMate on my Mac to edit the sources on the Linux box. Whenever I leave the textmate window and come back, I have to wait for about 5-15 secs (with a spinning beach ball), before I can edit my files again. Is there some NFS setting that I can tweak to remove this wait? Or some config thing in textmate? Any help would be appreciated. Thanks in advance, Per -- Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119 V: 209 883 4102 | pthomsen at reedtz.com | C: 209 996 9561 GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From pauldcollins at gmail.com Wed Sep 5 22:36:30 2007 From: pauldcollins at gmail.com (Paul Collins) Date: Wed, 5 Sep 2007 23:36:30 +0100 Subject: [TxMt] Re: POLL: HTML CodeSense? In-Reply-To: References: <6BDEF951-B8E9-4095-BC7A-E725A046ABED@subtlegradient.com> <0D57DDB6-C6E9-4430-9614-52A3FAFAB6CC@boldfish.co.uk> <46BEDA10.10107@googlemail.com> Message-ID: I would like to follow up to this old one as well. Subtlegradient, are you still working on this? Hope I'm not being pushy, just asking?! Does anyone know of any other good HTML bundles floating around?! On 23/08/07, Rafa? Komorowski wrote: > On 12/08/2007, at 11:59, Benjamin Hawkes-Lewis wrote: > > >> Note that the "convert characters to entities" command already > >> does this (?&). > > > > I wish there was a way to convert characters to decimal numeric > > character references, since these have better browser support and > > equivalents for all Unicode characters not just some common ones. > > At the moment I use: > > > > http://people.w3.org/rishida/scripts/uniview/conversion.php > > > > But it would be nice to have an integrated tool. > > Sorry for ressurecting an old thread, but for more sophisticated > Unicode-related works there is a really handy and free app called > UnicodeChecker, . > It integrates with [Application] -> Services menu, adding a Unicode > entry with helpful tools. Among them is changing HTML entities to > Unicode and vice versa. Works with TextMate correctly. > > > -- > > Rafa? Komorowski > komor at mac.com > GG: 4083718 > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From oblivious at subtlegradient.com Wed Sep 5 22:53:30 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Wed, 5 Sep 2007 18:53:30 -0400 Subject: [TxMt] Re: POLL: HTML CodeSense? In-Reply-To: References: <6BDEF951-B8E9-4095-BC7A-E725A046ABED@subtlegradient.com> <0D57DDB6-C6E9-4430-9614-52A3FAFAB6CC@boldfish.co.uk> <46BEDA10.10107@googlemail.com> Message-ID: <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> It's done and released. You just have to upgrade to the latest subversion bundles, which I highly recommend that you not bother with. Just wait until the next unstable version of TextMate and you should be good to go. thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge On Sep 5, 2007, at 6:36 PM, Paul Collins wrote: > I would like to follow up to this old one as well. Subtlegradient, are > you still working on this? > > Hope I'm not being pushy, just asking?! > > Does anyone know of any other good HTML bundles floating around?! From pauldcollins at gmail.com Wed Sep 5 23:13:41 2007 From: pauldcollins at gmail.com (Paul Collins) Date: Thu, 6 Sep 2007 00:13:41 +0100 Subject: [TxMt] Re: POLL: HTML CodeSense? In-Reply-To: <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> References: <6BDEF951-B8E9-4095-BC7A-E725A046ABED@subtlegradient.com> <0D57DDB6-C6E9-4430-9614-52A3FAFAB6CC@boldfish.co.uk> <46BEDA10.10107@googlemail.com> <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> Message-ID: Thanks for your quick reply Thomas, I guess I will await the next unstable version of textmate to get into it :) Thanks for looking after us HTMLers, too! On 05/09/07, Thomas Aylott (subtleGradient) wrote: > It's done and released. > You just have to upgrade to the latest subversion bundles, which I > highly recommend that you not bother with. > Just wait until the next unstable version of TextMate and you should > be good to go. > > thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge > > On Sep 5, 2007, at 6:36 PM, Paul Collins wrote: > > > I would like to follow up to this old one as well. Subtlegradient, are > > you still working on this? > > > > Hope I'm not being pushy, just asking?! > > > > Does anyone know of any other good HTML bundles floating around?! > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From pauldcollins at gmail.com Wed Sep 5 23:13:41 2007 From: pauldcollins at gmail.com (Paul Collins) Date: Thu, 6 Sep 2007 00:13:41 +0100 Subject: [TxMt] Re: POLL: HTML CodeSense? In-Reply-To: <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> References: <6BDEF951-B8E9-4095-BC7A-E725A046ABED@subtlegradient.com> <0D57DDB6-C6E9-4430-9614-52A3FAFAB6CC@boldfish.co.uk> <46BEDA10.10107@googlemail.com> <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> Message-ID: Thanks for your quick reply Thomas, I guess I will await the next unstable version of textmate to get into it :) Thanks for looking after us HTMLers, too! On 05/09/07, Thomas Aylott (subtleGradient) wrote: > It's done and released. > You just have to upgrade to the latest subversion bundles, which I > highly recommend that you not bother with. > Just wait until the next unstable version of TextMate and you should > be good to go. > > thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge > > On Sep 5, 2007, at 6:36 PM, Paul Collins wrote: > > > I would like to follow up to this old one as well. Subtlegradient, are > > you still working on this? > > > > Hope I'm not being pushy, just asking?! > > > > Does anyone know of any other good HTML bundles floating around?! > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From brett at circlesixdesign.com Wed Sep 5 23:16:30 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Wed, 5 Sep 2007 18:16:30 -0500 Subject: [TxMt] Blogging Bundle request: Post slug (WP) In-Reply-To: <61450f630709050912y1df2539r17edf5cffd156039@mail.gmail.com> References: <61450f630709050912y1df2539r17edf5cffd156039@mail.gmail.com> Message-ID: I thought this was added to the bundle, at least for WP2.2+? I'm quickly losing track of what's default and what's custom... http://blog.circlesixdesign.com/2007/06/14/easy-wp22-slugs-with- textmate/ Brett On Sep 5, 2007, at 11:12 AM, Alexey Blinov wrote: > Hi! > Does anybody know how to add ability to edit/add post slug (for > WordPress blog) in TM? > I like to post through TM but my posts mostrly in russian so slugs are > too... And that is very non frendly for IE/FFox users - if i want to > send them link to my post... > > Alexey Blinov > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From oblivious at subtlegradient.com Wed Sep 5 23:29:26 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Wed, 5 Sep 2007 19:29:26 -0400 Subject: [TxMt] Re: POLL: HTML CodeSense? In-Reply-To: References: <6BDEF951-B8E9-4095-BC7A-E725A046ABED@subtlegradient.com> <0D57DDB6-C6E9-4430-9614-52A3FAFAB6CC@boldfish.co.uk> <46BEDA10.10107@googlemail.com> <6FF95384-EEA7-4DCC-9766-96D1466640E1@subtlegradient.com> Message-ID: <628512E3-1F33-4BCF-A51B-6DFB7D58E831@subtlegradient.com> I never would have added it if I didn't want it for myself ;) thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge On Sep 5, 2007, at 7:13 PM, Paul Collins wrote: > Thanks for your quick reply Thomas, I guess I will await the next > unstable version of textmate to get into it :) > > Thanks for looking after us HTMLers, too! From cowan.pd at gmail.com Thu Sep 6 01:00:20 2007 From: cowan.pd at gmail.com (Peter Cowan) Date: Wed, 5 Sep 2007 18:00:20 -0700 Subject: [TxMt] Editing over NFS... In-Reply-To: <46DF249F.9090905@reedtz.com> References: <46DF249F.9090905@reedtz.com> Message-ID: This is common anytime you're using a filesystem mounted over a network. See the manual: And a couple of relevant threads: Popular solutions appear to include, making a local copy of the files, or reducing the size of the project to only the files presently needed. HTH Peter On 9/5/07, Per Reedtz Thomsen wrote: > > I searched the archives back to July of '06, but did not find anything on > the list about this... > > I'm developing on a Linux box that's got my source tree on it. My Mac NFS > mounts this directory, and I use TextMate on my Mac to edit the sources on > the Linux box. Whenever I leave the textmate window and come back, I have to > wait for about 5-15 secs (with a spinning beach ball), before I can edit my > files again. Is there some NFS setting that I can tweak to remove this wait? > Or some config thing in textmate? > > Any help would be appreciated. > > Thanks in advance, > Per > -- > Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119 > V: 209 883 4102 | pthomsen at reedtz.com | C: 209 996 9561 > GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From brett at circlesixdesign.com Thu Sep 6 01:06:56 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Wed, 5 Sep 2007 20:06:56 -0500 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: <60E40B64-8979-420B-A62F-9CC0D20B1E79@circlesixdesign.com> References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> <60E40B64-8979-420B-A62F-9CC0D20B1E79@circlesixdesign.com> Message-ID: <57AC9801-8A5D-408C-B8EC-7212FA6E7595@circlesixdesign.com> This is a modification of the command in the Hyperlink bundle as a new command. It just adds code that checks to see if there is a title, and if not, checks to see if it's linking an image (HTML) and grabs, in order, it's alt or src attribute for the title. It's rough, but it does need to be done. The linking bundle frequently sticks entire html tags into the title attribute. I'm a huge fan/ proponent of proper title attributes, so I'd like to make them as convenient as possible. Also, I'm pretty sure that I made this version too HTML specific to be worth much to the Hyperlink Helper bundle. But I only had about 5 minutes to spend on it, so I'm offering what I can. -------------- next part -------------- A non-text attachment was scrubbed... Name: wrapaslink.zip Type: application/zip Size: 1395 bytes Desc: not available URL: -------------- next part -------------- Brett On Sep 5, 2007, at 8:10 AM, Brett Terpstra wrote: > He's right. If you just highlight a full image tag and choose Wrap > as Link, it will insert the full image tag into the title > attribute. I have a regex to strip that, I'll upload tonight. > > Brett > > On Sep 4, 2007, at 7:27 PM, Allan Odgaard wrote: > >> On Sep 4, 2007, at 12:34 PM, James Hicks wrote: >> >>> When making image tags into links you get the entire image tag >>> duplicated >>> into the title attribute. Would be nice if the tags were stripped >>> from this >>> and just the filename minus extension was used. >> >> Can you give an example of this? >> >> >> >> >> _____________________________________________________________________ >> _ >> For new threads USE THIS: textmate at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From throw-away-1 at macromates.com Thu Sep 6 04:29:56 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 6 Sep 2007 06:29:56 +0200 Subject: [TxMt] Blogging Bundle request: Post slug (WP) In-Reply-To: References: <61450f630709050912y1df2539r17edf5cffd156039@mail.gmail.com> Message-ID: On Sep 6, 2007, at 1:16 AM, Brett Terpstra wrote: > I thought this was added to the bundle, at least for WP2.2+? I'm > quickly losing track of what's default and what's custom... > > http://blog.circlesixdesign.com/2007/06/14/easy-wp22-slugs-with- > textmate/ Yes, simply add a header for ?slug? -- if it is colored as invalid, you may need to upgrade TextMate (e.g. to latest cutting edge), but I did incorporate Brett?s patch. From throw-away-1 at macromates.com Thu Sep 6 04:31:17 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 6 Sep 2007 06:31:17 +0200 Subject: [TxMt] erb Load Error? In-Reply-To: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> Message-ID: <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> On Sep 5, 2007, at 5:09 PM, Mike Mellor wrote: > I got the following error today when I tried to run a TextMate > command in the GTD2 bundle: [...] Has the command worked before? > I've been playing around with my ruby installation, but it seems to > be running fine (1.8.6) [...] So this is a custom install of Ruby -- is the default version 1.6 (i.e. you being on Panther)? Cause that would explain it. See http://macromates.com/wiki/Troubleshooting/RubyVersionIssue From throw-away-1 at macromates.com Thu Sep 6 04:32:34 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 6 Sep 2007 06:32:34 +0200 Subject: [TxMt] The Blank Bar above Status Bar In-Reply-To: <12494492.post@talk.nabble.com> References: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> <12494492.post@talk.nabble.com> Message-ID: <6E2D2498-2C1D-4D36-B7DB-6E62B323877C@macromates.com> On Sep 5, 2007, at 11:14 AM, guerom00 wrote: > Yes, it's language dependent. > It appears in Fortran 77 and not in Fortran 90, no matter what the > word wrap > is :confused: I.e. if you toggle soft wrap, it does not appear/disappear? The scroll bar is for modes where soft wrap is disabled. And that setting is tied to the root scope (sort of), by default source.* has soft wrap disabled where text.* has it enabled. From throw-away-1 at macromates.com Thu Sep 6 04:33:50 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 6 Sep 2007 06:33:50 +0200 Subject: [TxMt] feature request: back to previous edit location In-Reply-To: <12494280.post@talk.nabble.com> References: <12494280.post@talk.nabble.com> Message-ID: <0AA06F3D-26D0-4963-A02A-BA30062DF85F@macromates.com> On Sep 5, 2007, at 10:58 AM, wobbet wrote: > [...] > Is this functionality already present in Textmate? If not, consider > this as > a feature request. Also is this something I could add myself using > Textmate > extensibility features? It is an oft requested feature -- I haven?t looked into how to tackle it, but it sounds useful. The workaround now is using bookmarks or do an undo/redo to get back to last edit location. From throw-away-1 at macromates.com Thu Sep 6 04:39:28 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 6 Sep 2007 06:39:28 +0200 Subject: [TxMt] Re: HTML autoconversion of urls to hyperlinks In-Reply-To: <60E40B64-8979-420B-A62F-9CC0D20B1E79@circlesixdesign.com> References: <61450f630709040323y70215fb4oe8caedc7a1670e84@mail.gmail.com> <004101c7eedf$2dbcbcd0$940e290a@gbrman.lightmaker.local> <60E40B64-8979-420B-A62F-9CC0D20B1E79@circlesixdesign.com> Message-ID: <49D02B64-1488-48DD-A7A4-6A19FCFBB7F8@macromates.com> On Sep 5, 2007, at 3:10 PM, Brett Terpstra wrote: > He's right. If you just highlight a full image tag and choose Wrap > as Link, it will insert the full image tag into the title > attribute. [...] Not for me. If I have a URL on the clipboard, it inserts the page title in the title attribute, otherwise it does not insert any title attribute at all (for the a tag). From alaskamike at gmail.com Thu Sep 6 05:34:46 2007 From: alaskamike at gmail.com (Mike Mellor) Date: Wed, 5 Sep 2007 21:34:46 -0800 Subject: [TxMt] erb Load Error? In-Reply-To: <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> Message-ID: On Sep 5, 2007, at 8:31 PM, Allan Odgaard wrote: > On Sep 5, 2007, at 5:09 PM, Mike Mellor wrote: > >> I got the following error today when I tried to run a TextMate >> command in the GTD2 bundle: [...] > > Has the command worked before? Yes, I'm not sure if was working just before I reinstalled Ruby or not, but it has been working. > >> I've been playing around with my ruby installation, but it seems >> to be running fine (1.8.6) [...] > > So this is a custom install of Ruby -- is the default version 1.6 > (i.e. you being on Panther)? Cause that would explain it. > > See http://macromates.com/wiki/Troubleshooting/RubyVersionIssue No, I'm on the latest (10.4.10) and Ruby 1.8.6. I'm thinking about either reinstalling TextMate, or maybe just the bundles. Hopefully there is a better solution. Thanks. Mike From bibiko at eva.mpg.de Thu Sep 6 08:08:31 2007 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Thu, 6 Sep 2007 10:08:31 +0200 Subject: [TxMt] tm_dialog enhancements for completion Message-ID: <67DDDF95-CAAB-424A-A59E-10C9624521D9@eva.mpg.de> Hi, Joachim M?rtensson wrote a marvelous extension to tm_dialog - the code completion popup. (See his mail http://lists.macromates.com/pipermail/textmate/2007- August/021853.html) Now I had the idea to enhance it a bit in respect of file/path name completion and a word completion based on cocoa's spell checker dictionaries. #### File/Path completion: tmCommand: "$DIALOG" -f -p '{pathcompletion=YES;}' Input: None Output: Show as Tool Tip (for errors messages) It turns out that this is the fastest way to insert a path I ever saw ;) If you type '/App' it will start there and inserts the longest match automatically. If the current document is saved and you type ' ' it starts at TM_DIRECTORY. Is there TM_SUPPORT_PATH or TM_BUNDLE_SUPPORT before the caret and you type e.g. ' ' it starts at the given path. The popup window doesn't disappear if I inserted an item. Instead it shows the content of the inserted path. #### Word Completion tmCommand: "$DIALOG" -f -p '{wordcompletion=YES;lang=nl_NL;}' or "$DIALOG" -f -p '{wordcompletion=YES;lang=en_GB;}' Input: None Output: Show as Tool Tip (for errors messages) By my opinion it's better than cocoa's built-in completion ;) It also doesn't disappear if I append a new character to my word or if I delete a character. Instead it shows new suggestions. A demo can be found at: http://www.bibiko.de/TM_completion.mov (2.6MB) Some tiny things have to be done but the tentative code works. If I fixed them I will post the changes to Joachim. He will commit it to the http://macromates.com/svn/Bundles/branches/Dialog%20PlugIn% 20Completion%20Menu/ branch. My question is whether there are other possibilities to use this extraordinary extension. One idea would be to feed this popup window with TM's internal completion list but up to now I didn't find a way to have access to it (Allan?). Comments, suggestions? Cheers, Hans From nilcolor at gmail.com Thu Sep 6 08:30:52 2007 From: nilcolor at gmail.com (Alexey Blinov) Date: Thu, 6 Sep 2007 12:30:52 +0400 Subject: [TxMt] Blogging Bundle request: Post slug (WP) In-Reply-To: References: <61450f630709050912y1df2539r17edf5cffd156039@mail.gmail.com> Message-ID: <61450f630709060130id0ce26n50e76a762f383a47@mail.gmail.com> On 9/6/07, Allan Odgaard wrote: > On Sep 6, 2007, at 1:16 AM, Brett Terpstra wrote: > > > I thought this was added to the bundle, at least for WP2.2+? I'm > > quickly losing track of what's default and what's custom... > > > > http://blog.circlesixdesign.com/2007/06/14/easy-wp22-slugs-with- > > textmate/ > > Yes, simply add a header for 'slug' -- if it is colored as invalid, > you may need to upgrade TextMate (e.g. to latest cutting edge), but I > did incorporate Brett's patch. > Thanks! I didn't know about "slug" header and it didn't here if I "Fetch post" Anyway - it works. Like a charm. Thanks again! From oblivious at subtlegradient.com Thu Sep 6 13:01:25 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Thu, 6 Sep 2007 09:01:25 -0400 Subject: [TxMt] tm_dialog enhancements for completion In-Reply-To: <67DDDF95-CAAB-424A-A59E-10C9624521D9@eva.mpg.de> References: <67DDDF95-CAAB-424A-A59E-10C9624521D9@eva.mpg.de> Message-ID: <70BAAADB-5E56-480D-BD71-C623928DCE63@subtlegradient.com> I want this NOW. Probably more than I want the iPod touch On Sep 6, 2007, at 4:08 AM, Hans-Joerg Bibiko wrote: > Comments, suggestions? thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge From tim at neologica.com.au Thu Sep 6 13:20:59 2007 From: tim at neologica.com.au (Tim Mansour) Date: Thu, 6 Sep 2007 23:20:59 +1000 Subject: [TxMt] tm_dialog enhancements for completion In-Reply-To: <70BAAADB-5E56-480D-BD71-C623928DCE63@subtlegradient.com> References: <67DDDF95-CAAB-424A-A59E-10C9624521D9@eva.mpg.de> <70BAAADB-5E56-480D-BD71-C623928DCE63@subtlegradient.com> Message-ID: <156DD29E-212C-4EBE-A21A-10F4866E5CA9@neologica.com.au> On 06/09/2007, at 11:01 pm, Thomas Aylott (subtleGradient) wrote: > I want this NOW. > Probably more than I want the iPod touch It's OK Thomas, I've just ordered one for delivery to your door. Oh ... sorry ... that's MY door. -- Tim Mansour From oblivious at subtlegradient.com Thu Sep 6 13:26:47 2007 From: oblivious at subtlegradient.com (Thomas Aylott (subtleGradient)) Date: Thu, 6 Sep 2007 09:26:47 -0400 Subject: [TxMt] tm_dialog enhancements for completion In-Reply-To: <156DD29E-212C-4EBE-A21A-10F4866E5CA9@neologica.com.au> References: <67DDDF95-CAAB-424A-A59E-10C9624521D9@eva.mpg.de> <70BAAADB-5E56-480D-BD71-C623928DCE63@subtlegradient.com> <156DD29E-212C-4EBE-A21A-10F4866E5CA9@neologica.com.au> Message-ID: <51A52729-8B14-41A4-BC46-1DE6A4AF21D2@subtlegradient.com> On Sep 6, 2007, at 9:20 AM, Tim Mansour wrote: > On 06/09/2007, at 11:01 pm, Thomas Aylott (subtleGradient) wrote: > >> I want this NOW. >> Probably more than I want the iPod touch > > It's OK Thomas, I've just ordered one for delivery to your door. > > Oh ... sorry ... that's MY door. > > -- > Tim Mansour Oh why must you TEASE :'( But seriously though. I want me some sweet codecompletion goodness. When will TM2 be available for the iPod touch/iPhone? Mmmm, touch codecompletion thomas Aylott ? subtleGradient ? CrazyEgg ? bundleForge From david.clark at umb.edu Thu Sep 6 13:50:10 2007 From: david.clark at umb.edu (David Clark) Date: Thu, 6 Sep 2007 09:50:10 -0400 Subject: [TxMt] Editing over NFS... In-Reply-To: References: <46DF249F.9090905@reedtz.com> Message-ID: <94f9bc580709060650m7e97ec11o974067f5ffc0c025@mail.gmail.com> Hi, After much experimentation on this, I have had the best luck mounting the linux box via sshfs (macfuse). This allows use of the subversion bundle. Hope this helps On 9/5/07, Peter Cowan wrote: > > This is common anytime you're using a filesystem mounted over a network. > > See the manual: > < > http://macromates.com/textmate/manual/working_with_multiple_files#working_with_multiple_files > > > > And a couple of relevant threads: > > > > > Popular solutions appear to include, making a local copy of the files, > or reducing the size of the project to only the files presently > needed. > > HTH > > Peter > > > On 9/5/07, Per Reedtz Thomsen wrote: > > > > I searched the archives back to July of '06, but did not find anything > on > > the list about this... > > > > I'm developing on a Linux box that's got my source tree on it. My Mac > NFS > > mounts this directory, and I use TextMate on my Mac to edit the sources > on > > the Linux box. Whenever I leave the textmate window and come back, I > have to > > wait for about 5-15 secs (with a spinning beach ball), before I can edit > my > > files again. Is there some NFS setting that I can tweak to remove this > wait? > > Or some config thing in textmate? > > > > Any help would be appreciated. > > > > Thanks in advance, > > Per > > -- > > Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119 > > V: 209 883 4102 | pthomsen at reedtz.com | C: 209 996 9561 > > GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen > > > > > > > > ______________________________________________________________________ > > For new threads USE THIS: textmate at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -- dc ----- David Clark Database Developer Institute for Community Inclusion (http://www.communityinclusion.org/) david.clark at umb.edu (617) 287-4318 -------------- next part -------------- An HTML attachment was scrubbed... URL: From alaskamike at gmail.com Thu Sep 6 14:52:59 2007 From: alaskamike at gmail.com (Mike Mellor) Date: Thu, 6 Sep 2007 06:52:59 -0800 Subject: [TxMt] erb Load Error? In-Reply-To: <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> Message-ID: <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> On Sep 5, 2007, at 8:31 PM, Allan Odgaard wrote: > On Sep 5, 2007, at 5:09 PM, Mike Mellor wrote: > >> I got the following error today when I tried to run a TextMate >> command in the GTD2 bundle: [...] > > Has the command worked before? > >> I've been playing around with my ruby installation, but it seems >> to be running fine (1.8.6) [...] > > So this is a custom install of Ruby -- is the default version 1.6 > (i.e. you being on Panther)? Cause that would explain it. > > See http://macromates.com/wiki/Troubleshooting/RubyVersionIssue > Well, I got things working again, but I'm a little confused as to how to really fix the problem. What I found was that my commands the began #!/usr/bin env ruby were failing to execute. Changing the first line to #!/usr/local/bin/ruby works. It's not a TextMate issue, but a problem with my system (that I need to figure out). Thanks for the help. Mike From simon at ruderich.com Thu Sep 6 15:44:17 2007 From: simon at ruderich.com (Simon Ruderich) Date: Thu, 06 Sep 2007 17:44:17 +0200 Subject: [TxMt] erb Load Error? In-Reply-To: <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> Message-ID: <46E02051.4080000@ruderich.com> -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Mike Mellor wrote: > > Well, I got things working again, but I'm a little confused as to how to > really fix the problem. What I found was that my commands the began > #!/usr/bin env ruby > were failing to execute. Changing the first line to > #!/usr/local/bin/ruby > works. It's not a TextMate issue, but a problem with my system (that I > need to figure out). > Thanks for the help. > > Mike Are you sure it was #!/usr/bin env ruby? Because it should be #!/usr/bin/env ruby (note the slash). Does "/usr/bin/env ruby" work in the Terminal? What does "echo $PATH" print? Simon - -- + privacy is necessary + using http://gnupg.org + public key id: 0x6115F804EFB33229 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (Darwin) iD8DBQFG4CBRYRX4BO+zMikRCjYUAKDVIv496mFd8rdApmsR6lrMMI/d4ACfTGu+ J2YD/qQF2/SjwMeQX7xCXls= =Lmi2 -----END PGP SIGNATURE----- From alaskamike at gmail.com Thu Sep 6 16:54:44 2007 From: alaskamike at gmail.com (Mike Mellor) Date: Thu, 6 Sep 2007 08:54:44 -0800 Subject: [TxMt] erb Load Error? In-Reply-To: <46E02051.4080000@ruderich.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> <46E02051.4080000@ruderich.com> Message-ID: <41c1b4da0709060954j858aa8fw590c18764c432b32@mail.gmail.com> On 9/6/07, Simon Ruderich wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA512 > > Mike Mellor wrote: > > > > Well, I got things working again, but I'm a little confused as to how to > > really fix the problem. What I found was that my commands the began > > #!/usr/bin env ruby > > were failing to execute. Changing the first line to > > #!/usr/local/bin/ruby > > works. It's not a TextMate issue, but a problem with my system (that I > > need to figure out). > > Thanks for the help. > > > > Mike > > Are you sure it was #!/usr/bin env ruby? Because it should be > #!/usr/bin/env ruby (note the slash). > > Does "/usr/bin/env ruby" work in the Terminal? > What does "echo $PATH" print? Yeah, it was /usr/bin/env (fat fingers and early mornings don't mix)! echo $PATH looks ok (/usr/local/bin is before /usr/bin) I'll try it /usr/bin/env ruby tonight. Thanks. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Thu Sep 6 17:27:48 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Thu, 6 Sep 2007 12:27:48 -0500 Subject: [TxMt] erb Load Error? In-Reply-To: <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> Message-ID: <3B426162-6A54-42D8-9503-58F78B6D5AFF@whitefalls.org> On Sep 6, 2007, at 9:52 AM, Mike Mellor wrote: >> See http://macromates.com/wiki/Troubleshooting/RubyVersionIssue >> > > Well, I got things working again, but I'm a little confused as to > how to really fix the problem. What I found was that my commands > the began > #!/usr/bin env ruby > were failing to execute. Changing the first line to > #!/usr/local/bin/ruby > works. It's not a TextMate issue, but a problem with my system > (that I need to figure out). > Thanks for the help. From terminal: "ls ~/.MacOSX/environment.plist" If you get file not found go back and read the url allan posted again. You have to setup the path in both places it refers to. From pthomsen at reedtz.com Thu Sep 6 17:30:08 2007 From: pthomsen at reedtz.com (Per Reedtz Thomsen) Date: Thu, 06 Sep 2007 10:30:08 -0700 Subject: [TxMt] Editing over NFS... In-Reply-To: <94f9bc580709060650m7e97ec11o974067f5ffc0c025@mail.gmail.com> References: <46DF249F.9090905@reedtz.com> <94f9bc580709060650m7e97ec11o974067f5ffc0c025@mail.gmail.com> Message-ID: <46E03920.9080702@reedtz.com> On 9/6/07 6:50 AM, David Clark wrote: > Hi, > > After much experimentation on this, I have had the best luck mounting > the linux box via sshfs (macfuse). This allows use of the subversion > bundle. I did that for a short while a few months ago, but found that sshfs was giving me data corruption once every two weeks or so... It worried me enough that I shifted away to the NFS solution... Anyone know if sshfs/macfuse have been updated recently (as in the last 2 months)? I'd love to go back to using that... No external app for picking files... Thanks, Per > > Hope this helps > > On 9/5/07, *Peter Cowan* > wrote: > > This is common anytime you're using a filesystem mounted over a > network. > > See the manual: > > > > And a couple of relevant threads: > > > > > Popular solutions appear to include, making a local copy of the > files, > or reducing the size of the project to only the files presently > needed. > > HTH > > Peter > > > On 9/5/07, Per Reedtz Thomsen > wrote: > > > > I searched the archives back to July of '06, but did not find > anything on > > the list about this... > > > > I'm developing on a Linux box that's got my source tree on it. > My Mac NFS > > mounts this directory, and I use TextMate on my Mac to edit the > sources on > > the Linux box. Whenever I leave the textmate window and come > back, I have to > > wait for about 5-15 secs (with a spinning beach ball), before I > can edit my > > files again. Is there some NFS setting that I can tweak to > remove this wait? > > Or some config thing in textmate? > > > > Any help would be appreciated. > > > -- Per Reedtz Thomsen | Reedtz Consulting, LLC | F: 209 883 4119 V: 209 883 4102 | pthomsen at reedtz.com | C: 209 996 9561 GPG ID: 1209784F | Yahoo! Chat: pthomsen | AIM: pthomsen -------------- next part -------------- An HTML attachment was scrubbed... URL: From garyking at gmail.com Fri Sep 7 08:50:19 2007 From: garyking at gmail.com (Gary King) Date: Fri, 7 Sep 2007 04:50:19 -0400 Subject: [TxMt] Code completion for Ruby on Rails? Message-ID: It would be nice to have Code Completion included in the Rails bundle. I have split my time using TextMate for PHP and Ruby on Rails, and one thing that I like about how PHP is handled in TM is code completion (hitting Escape for a partial function name to get a list of possible functions to choose from.) It would be extremely useful to have this for Rails. I read that if I freeze Rails, then code completion would work, but in most cases, one does not want to freeze Rails. One thing that would be especially convenient is to have code completion for Rails methods that are globally available in Rails views, such as link_to; this method alone has no less than SIX other variations, to give you an example of the standardized method naming convention in Rails. This is commonplace among the other methods in Rails. link_to variations include: - link_to_function - link_to_remote - link_to_if - link_to_image - link_to_unless - link_to_unless_current Anyways, hopefully this will drum up some discussion about this and get something going. It would be nice if someone who already has experience creating Completion code for TM Bundles could handle this task, since I rarely touch TM Bundles and Snippets. -- Gary King http://www.kinggary.com/ http://www.linkedin.com/in/garyking From bibiko at eva.mpg.de Fri Sep 7 14:43:50 2007 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Fri, 7 Sep 2007 16:43:50 +0200 Subject: [TxMt] TM_CURRENT_WORD urgent question Message-ID: <1364F64C-D3C9-4979-9282-C7DB7F12D789@eva.mpg.de> Hi, I don't know whether this is a bug or it's the normal case. I'm using TM 1.5.6 (1414) [ a '|' is indicating the caret] Supposing you have a plain text file with a line: Dies ist ein | Test. TM_CURRENT_WORD = 'ein Test' Why?? If I have that one: Dies ist ein Test. | TM_CURRENT_WORD = is undefined Fine. Can someone explain me that behaviour please. Thanks, Hans From hepaminondas at gmail.com Fri Sep 7 19:39:39 2007 From: hepaminondas at gmail.com (Miguel Vaz) Date: Fri, 7 Sep 2007 21:39:39 +0200 Subject: [TxMt] Problem (path?) compiling latex project with latexmk Message-ID: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> hi @all, i am trying set up TextMate for using latexmk.pl as describe in http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but am running into some problems. The symptom is ! LaTeX Error: Unknown graphics extension: .eps. See the LaTeX manual or LaTeX Companion for explanation. Type H for immediate help. ... l.72 ...\includegraphics[width=80mm]{pics/au4.eps} ? ! Emergency stop. ... l.72 ...\includegraphics[width=80mm]{pics/au4.eps} Try typing to proceed. If that doesn't work, type X to quit. and, yes, i have \usepackage{graphicx} on my main file. At this point I should say that I'm able to successfully compile the project with TeXShop, but not with latexmk (simple manual latex + bibtex + latex). In Linux, latexmk is doing the job perfectly. What I guess might be the source of the problem is that I have two latex installations, so i am guessing that One is texlive2007, and the other results from installing too much stuff in Fink. So, my question would be: how can I correctly setup TextMate/latexmk so that it is going to use the correct installation? Are there any path variables that need setting, or simply an explicit TEXINPUTS? Any help would be greatly appreciated! From bmiller at luther.edu Fri Sep 7 20:03:37 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 7 Sep 2007 15:03:37 -0500 Subject: [TxMt] Problem (path?) compiling latex project with latexmk In-Reply-To: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> References: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> Message-ID: Miguel, What version of TextMate are you using? Are you using the Latex bundle that came with TextMate or did you get a newer copy from subversion? If you could include all of the output from the Typeset & View window that could help identify the problem as well. Thanks, Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/7/07, Miguel Vaz wrote: > > hi @all, > > i am trying set up TextMate for using latexmk.pl as describe in > http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but > am running into some problems. > The symptom is > > ! LaTeX Error: Unknown graphics extension: .eps. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > ? > ! Emergency stop. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > Try typing to proceed. > If that doesn't work, type X to quit. > > and, yes, i have > > \usepackage{graphicx} > > on my main file. > > At this point I should say that I'm able to successfully compile the > project with TeXShop, but not with latexmk (simple manual latex + > bibtex + latex). In Linux, latexmk is doing the job perfectly. > What I guess might be the source of the problem is that I have two > latex installations, so i am guessing that One is texlive2007, and the > other results from installing too much stuff in Fink. > > So, my question would be: how can I correctly setup TextMate/latexmk > so that it is going to use the correct installation? > Are there any path variables that need setting, or simply an explicit > TEXINPUTS? > > > Any help would be greatly appreciated! > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alaskamike at gmail.com Fri Sep 7 20:07:43 2007 From: alaskamike at gmail.com (Mike Mellor) Date: Fri, 7 Sep 2007 12:07:43 -0800 Subject: [TxMt] erb Load Error? In-Reply-To: <3B426162-6A54-42D8-9503-58F78B6D5AFF@whitefalls.org> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> <3B426162-6A54-42D8-9503-58F78B6D5AFF@whitefalls.org> Message-ID: <41c1b4da0709071307j4a1105bbpd7116441796af5dd@mail.gmail.com> On 9/6/07, Michael Sheets wrote: > From terminal: "ls ~/.MacOSX/environment.plist" > > If you get file not found go back and read the url allan posted > again. You have to setup the path in both places it refers to. > Sure enough, no file found. I created the file, restarted everything, and all is well again! Thanks. Mike -------------- next part -------------- An HTML attachment was scrubbed... URL: From bmiller at luther.edu Fri Sep 7 20:15:34 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 7 Sep 2007 15:15:34 -0500 Subject: [TxMt] Problem (path?) compiling latex project with latexmk In-Reply-To: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> References: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> Message-ID: Miguel, Here's a shorter answer... latexmk as run by TextMate is configured to run pdflatex, since you are trying to include eps files I assume you want to run plain latex. I'm going to have to think a little bit to see if there is a way to on-the-fly tell latexmk.pl to use plain latex instead. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/7/07, Miguel Vaz wrote: > > hi @all, > > i am trying set up TextMate for using latexmk.pl as describe in > http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but > am running into some problems. > The symptom is > > ! LaTeX Error: Unknown graphics extension: .eps. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > ? > ! Emergency stop. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > Try typing to proceed. > If that doesn't work, type X to quit. > > and, yes, i have > > \usepackage{graphicx} > > on my main file. > > At this point I should say that I'm able to successfully compile the > project with TeXShop, but not with latexmk (simple manual latex + > bibtex + latex). In Linux, latexmk is doing the job perfectly. > What I guess might be the source of the problem is that I have two > latex installations, so i am guessing that One is texlive2007, and the > other results from installing too much stuff in Fink. > > So, my question would be: how can I correctly setup TextMate/latexmk > so that it is going to use the correct installation? > Are there any path variables that need setting, or simply an explicit > TEXINPUTS? > > > Any help would be greatly appreciated! > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From hepaminondas at gmail.com Fri Sep 7 20:37:33 2007 From: hepaminondas at gmail.com (Miguel Vaz) Date: Fri, 7 Sep 2007 22:37:33 +0200 Subject: [TxMt] Re: Problem (path?) compiling latex project with latexmk Message-ID: <4c610e240709071337r28927897gbd8656beab84ceae@mail.gmail.com> Hi Brad, thx for the quick answer :) The Latex bundle is the original which came with TextMate, Version 1.5.6 (1405). The excerpt I mailed was taken from the main.log file. Anyway, compilation with pdflatex is indeed unsuccessful due to the eps figs. On my linux system I've always had success with 'latexmk -ps', and so I've set 'TM_LATEX_OPTIONS' to '-ps'. The output of the typesetting process is the following (WARNING: LONG) Typeset & View main.tex Theme: Compiling LaTeX? This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 Typesetting: ./main.tex Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas Typesetting: ./draft.tex Typesetting: ./introduction.tex LaTeX Warning: Citation `klattklatt1990' on page 1 undefined on input line 9. LaTeX Warning: Citation `hms1964' on page 1 undefined on input line 15. LaTeX Warning: Citation `guenther1998' on page 1 undefined on input line 19. LaTeX Warning: Citation `hanson_stevens2002' on page 1 undefined on input line LaTeX Warning: Citation `stevens1989' on page 1 undefined on input line 28. LaTeX Warning: Citation `liberman1985' on page 1 undefined on input line 28. LaTeX Warning: Citation `perrier2005' on page 1 undefined on input line 28. LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 31. LaTeX Warning: Citation `leonardo2005' on page 1 undefined on input line 32. LaTeX Warning: Citation `doupekuhl1999' on page 1 undefined on input line 33. Typesetting: ./synergies.tex LaTeX Warning: Citation `rabiner1967' on page 2 undefined on input line 37. LaTeX Warning: Reference `eq:amps' on page 2 undefined on input line 44. LaTeX Warning: Reference `eq:main' on page 2 undefined on input line 45. LaTeX Warning: Reference `fig:au' on page 2 undefined on input line 64. ./synergies.tex:72 Unknown graphics extension: .eps. Typesetting: ./results.tex LaTeX Warning: Citation `klattklatt1990' on page 3 undefined on input line 8. LaTeX Warning: Citation `klatt1980' on page 3 undefined on input line 9. LaTeX Warning: Reference `sec:vowels+consonants' on page 3 undefined on input LaTeX Warning: Citation `ladefoged2005' on page 3 undefined on input line 25. Typesetting: ./voweltable.tex LaTeX Warning: Reference `fig:voweltriangle' on page 3 undefined on input line Typesetting: ./voweltriangle.tex ./voweltriangle.tex:13 Unknown graphics extension: .eps. LaTeX Warning: Reference `fig:au' on page 3 undefined on input line 48. ./results.tex:63 Unknown graphics extension: .eps. ./results.tex:71 Unknown graphics extension: .eps. LaTeX Warning: Reference `fig:klatt' on page 3 undefined on input line 89. ./results.tex:93 Unknown graphics extension: .eps. Typesetting: ./discussion.tex LaTeX Warning: Reference `sec:vowels' on page 4 undefined on input line 11. Typesetting: ./bibliography.tex LaTeX Warning: There were undefined references LaTeX Warning: Label(s) may have changed. Rerun to get cross-references right Output written on main.pdf (4 pages, 121801 bytes) main.log This is BibTeX, Version 0.99c (Web2C 7.5.6 This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 Typesetting: ./main.tex Document Class: article 2005/09/16 v1.4f Standard LaTeX document clas Typesetting: ./draft.tex Typesetting: ./introduction.tex Typesetting: ./synergies.tex ./synergies.tex:72 Unknown graphics extension: .eps. Typesetting: ./voweltriangle.tex ./voweltriangle.tex:13 Unknown graphics extension: .eps. ./results.tex:63 Unknown graphics extension: .eps. ./results.tex:71 Unknown graphics extension: .eps. ./results.tex:93 Unknown graphics extension: .eps. Typesetting: ./bibliography.tex Output written on main.pdf (4 pages, 120871 bytes) main.log Found 0 errors, and 5 warnings in 2 runs From throw-away-1 at macromates.com Sat Sep 8 02:41:43 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Sat, 8 Sep 2007 04:41:43 +0200 Subject: [TxMt] erb Load Error? In-Reply-To: <41c1b4da0709071307j4a1105bbpd7116441796af5dd@mail.gmail.com> References: <957CB17F-1E97-4C9D-A899-3687BE181DCC@gmail.com> <41E75050-C496-493D-95DE-F4EA2F89CA73@macromates.com> <7B61D9F7-915F-4A89-BE3F-BBC959814A7A@gmail.com> <3B426162-6A54-42D8-9503-58F78B6D5AFF@whitefalls.org> <41c1b4da0709071307j4a1105bbpd7116441796af5dd@mail.gmail.com> Message-ID: <3607EB4B-6E28-4A50-8923-C89078AFB471@macromates.com> On Sep 7, 2007, at 10:07 PM, Mike Mellor wrote: > On 9/6/07, Michael Sheets wrote: >> From terminal: "ls ~/.MacOSX/environment.plist" >> >> If you get file not found go back and read the url allan posted >> again. You have to setup the path in both places it refers to. > > Sure enough, no file found. I created the file, restarted > everything, and all is well again! Thanks. Just for the records, the reason this file is necessary, is to have TM use your custom installed Ruby, and the reason that is necessary, is because it sounds like you broke your default install. You can e.g. try (from Terminal): /usr/bin/ruby -rerb -e 'puts :foo' From throw-away-1 at macromates.com Sat Sep 8 02:46:57 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Sat, 8 Sep 2007 04:46:57 +0200 Subject: [TxMt] TM_CURRENT_WORD urgent question In-Reply-To: <1364F64C-D3C9-4979-9282-C7DB7F12D789@eva.mpg.de> References: <1364F64C-D3C9-4979-9282-C7DB7F12D789@eva.mpg.de> Message-ID: <1FC7BCFB-3845-47C1-8288-5DE042CCCA42@macromates.com> On Sep 7, 2007, at 4:43 PM, Hans-J?rg Bibiko wrote: > I don't know whether this is a bug or it's the normal case. I'm > using TM 1.5.6 (1414) > > [ a '|' is indicating the caret] > Supposing you have a plain text file with a line: > > Dies ist ein | Test. > > TM_CURRENT_WORD = 'ein Test' > Why?? It searches left/right for \< and \> (word start/stop boundaries) though limited to the current line, so the above happens. It would be better to have the variable unset in this case, though unlikely I will change that for 1.x, unless you have a convincing argument for doing it ;) From bomberstudios at gmail.com Sat Sep 8 07:22:34 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Sat, 8 Sep 2007 09:22:34 +0200 Subject: [TxMt] Subversion Bundle request: integration with Araxis Merge Message-ID: Hi there, I just found out that Araxis Merge (IMHO one of the best merging tools available, and the only program that makes me miss Windows sometimes) is coming to the Mac platform. The current beta is quite nice, has AppleScript support and includes commandline tools for automation. So... is there any chance of having the Subversion.tmbundle crew take a look at it? Hopefully you'll instantly fall in love and add support for it as a diffing/merging tool : ) More info, and download at Thanks in advance ; ) -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From mjs at beebo.org Sat Sep 8 10:33:19 2007 From: mjs at beebo.org (Michael Stillwell) Date: Sat, 8 Sep 2007 11:33:19 +0100 Subject: [TxMt] excluding directories from "go to file" Message-ID: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> Is there any way to excluding some directories from "go to file"? I have a project set up where three (library) directories contain something like 15000 files that I never want to complete on. Because there's so many files, the "go to file" dialog box takes a few seconds to appear. --M. -- http://beebo.org +44 78 2118 9049 From dz at caribe.net Sat Sep 8 10:33:55 2007 From: dz at caribe.net (DZ-Jay) Date: Sat, 8 Sep 2007 06:33:55 -0400 Subject: [TxMt] Changing quote escape character Message-ID: <495722b92cad6e7802d352b4a22e557e@caribe.net> Hello: I work developing software using Windows at the office, but at home I get to do my own stuff in a Mac -- so I use TextMate for that. However, I've noticed that most (all?) language syntaxes in the bundles menu use the 'C' escape character, even if the language really doesn't support that escape sequence. Specifically, I was interested in changing the Pascal/Delphi syntax to use doubled single-quotes ('') as an escaped quoted-string quote instead of \' (which is taken as literal in Pascal). Anyway, before I take the time to learn and figure out the syntax formatting stuff to do this, I was wondering if someone already had done this (or if it could be included in the next version :). Cheers! dZ. -- "Bastard Operators don't just win. Anyone can win. Bastard Operators win and totally demoralise. That's real winning." -- BOfH From tonyc at boldfish.co.uk Sat Sep 8 11:02:50 2007 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Sat, 8 Sep 2007 12:02:50 +0100 Subject: [TxMt] excluding directories from "go to file" In-Reply-To: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> References: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> Message-ID: <175AA7B4-2BD2-4232-9DD6-CE89D8E2EDF6@boldfish.co.uk> On 8 Sep 2007, at 11:33, Michael Stillwell wrote: > Is there any way to excluding some directories from "go to file"? > I have a project set up where three (library) directories contain > something like 15000 files that I never want to complete on. > Because there's so many files, the "go to file" dialog box takes a > few seconds to appear. --M. Ouch. couldn't you create smaller projects for files you are working with, within the big project? From gerti-textmate at bitart.com Sat Sep 8 14:20:04 2007 From: gerti-textmate at bitart.com (Gerd Knops) Date: Sat, 8 Sep 2007 09:20:04 -0500 Subject: [TxMt] Subversion Bundle request: integration with Araxis Merge In-Reply-To: References: Message-ID: On Sep 8, 2007, at 2:22 AM, Ale Mu?oz wrote: > Hi there, > > I just found out that Araxis Merge (IMHO one of the best merging tools > available, and the only program that makes me miss Windows sometimes) > is coming to the Mac platform. $129? It'd better read my mind and perform the merge automatically! I think I'll stick with FileMerge... From bomberstudios at gmail.com Sat Sep 8 16:06:15 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Sat, 8 Sep 2007 18:06:15 +0200 Subject: [TxMt] Subversion Bundle request: integration with Araxis Merge In-Reply-To: References: Message-ID: On 9/8/07, Gerd Knops wrote: > > $129? It'd better read my mind and perform the merge automatically! I > think I'll stick with FileMerge... > And that's just the price for the "Standard" edition :) But last time I checked we were not looking at the price of a tool as a filter for inclusion on TextMate, weren't we? From a quick look at the repository, we have bundles for ASP, Active4D, Coldfusion, MatLab... and support for tools like Prince (have you looked at the price of *that*? How much for a html2pdf clone? It better write my documentation for me!) Sorry if it sounds rude (it isn't :) but it had to be said... -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From bmiller at luther.edu Sat Sep 8 19:36:37 2007 From: bmiller at luther.edu (Brad Miller) Date: Sat, 8 Sep 2007 14:36:37 -0500 Subject: [TxMt] Problem (path?) compiling latex project with latexmk In-Reply-To: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> References: <4c610e240709071239w33b37979w629fd65f5134c720@mail.gmail.com> Message-ID: The latest version of the Latex bundle should do exactly what you want now. latexmk will now use whatever typesetting engine you have chosen in the preferences window (or by using the %!TEX TS-program directive.) Any options you specify are also passed through to latexmk. If you haven't checked out bundles from the subversion repository before the instructions are in section 5.7 of the TextMate documentation. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/7/07, Miguel Vaz wrote: > > hi @all, > > i am trying set up TextMate for using latexmk.pl as describe in > http://plesslweb.ch/2007/04/02/setting-up-latex-on-mac-os-x/ and , but > am running into some problems. > The symptom is > > ! LaTeX Error: Unknown graphics extension: .eps. > > See the LaTeX manual or LaTeX Companion for explanation. > Type H for immediate help. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > ? > ! Emergency stop. > ... > > l.72 ...\includegraphics[width=80mm]{pics/au4.eps} > > Try typing to proceed. > If that doesn't work, type X to quit. > > and, yes, i have > > \usepackage{graphicx} > > on my main file. > > At this point I should say that I'm able to successfully compile the > project with TeXShop, but not with latexmk (simple manual latex + > bibtex + latex). In Linux, latexmk is doing the job perfectly. > What I guess might be the source of the problem is that I have two > latex installations, so i am guessing that One is texlive2007, and the > other results from installing too much stuff in Fink. > > So, my question would be: how can I correctly setup TextMate/latexmk > so that it is going to use the correct installation? > Are there any path variables that need setting, or simply an explicit > TEXINPUTS? > > > Any help would be greatly appreciated! > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From guerom00 at gmail.com Sat Sep 8 20:21:03 2007 From: guerom00 at gmail.com (guerom00) Date: Sat, 8 Sep 2007 13:21:03 -0700 (PDT) Subject: [TxMt] The Blank Bar above Status Bar In-Reply-To: <6E2D2498-2C1D-4D36-B7DB-6E62B323877C@macromates.com> References: <4E1EA4D9-F571-4BAA-B611-78487E9BD900@gmail.com> <12494492.post@talk.nabble.com> <6E2D2498-2C1D-4D36-B7DB-6E62B323877C@macromates.com> Message-ID: <12518555.post@talk.nabble.com> My bad? It indeed dissappear when activating soft wrap? Sorry about that :-D -- View this message in context: http://www.nabble.com/The-Blank-Bar-above-Status-Bar-tf4381528.html#a12518555 Sent from the textmate users mailing list archive at Nabble.com. From bmiller at luther.edu Sat Sep 8 20:43:22 2007 From: bmiller at luther.edu (Brad Miller) Date: Sat, 8 Sep 2007 15:43:22 -0500 Subject: [TxMt] Latex Bundle: refreshing external viewers Message-ID: Hi All, I love using Skim for viewing the pdf files produced by LaTeX. But I don't like its auto-refresh behavior. It seems buggy, (crashes on auto-reload too often) and I hate having to click Auto every time Skim restarts. So, I added some applescript goo to the Typeset & View command to tell Skim/TeXShop/TeXniscope to reload. This means you could uncheck the box in Skim, et. al. that tells them to check for file updates and rely on TextMate to tell them when to reload. According to the TeX mailing list using applescript is also more resource efficient than having the viewer watch for file changes. Would others also prefer to have this part of the bundle? Brad -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Sat Sep 8 20:47:11 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Sat, 8 Sep 2007 15:47:11 -0500 Subject: [TxMt] Changing quote escape character In-Reply-To: <495722b92cad6e7802d352b4a22e557e@caribe.net> References: <495722b92cad6e7802d352b4a22e557e@caribe.net> Message-ID: On Sep 8, 2007, at 5:33 AM, DZ-Jay wrote: > Hello: > I work developing software using Windows at the office, but at > home I get to do my own stuff in a Mac -- so I use TextMate for > that. However, I've noticed that most (all?) language syntaxes in > the bundles menu use the 'C' escape character, even if the language > really doesn't support that escape sequence. Specifically, I was > interested in changing the Pascal/Delphi syntax to use doubled > single-quotes ('') as an escaped quoted-string quote instead of > \' (which is taken as literal in Pascal). Use to be true that a lot of languages copied the C style escapes (because it's included as an example), but I think we've since fixed most all of those. Pascal was fixed on 8/22, so svn up that bundle and you'll be good. :) From ceyrich at gmx.net Sat Sep 8 20:49:11 2007 From: ceyrich at gmx.net (Christoph Eyrich) Date: Sat, 8 Sep 2007 22:49:11 +0200 Subject: [TxMt] latex-bundle: error parsing problems Message-ID: hi, just a short note: there is still a problem with the error parsing machinery: undefined control sequences don't get caught: from the log file: ./pozdniakov-segerer.tex:38: Undefined control sequence. l.38 \bikkkk The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g., `\hobx'), type `I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined. from the typeset & view output window: Found 0 errors ... greetings christoph From amaxwell at mac.com Sat Sep 8 20:56:54 2007 From: amaxwell at mac.com (Adam R. Maxwell) Date: Sat, 8 Sep 2007 13:56:54 -0700 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: References: Message-ID: On Sep 8, 2007, at 13:43, Brad Miller wrote: > Hi All, > > I love using Skim for viewing the pdf files produced by LaTeX. But > I don't like its auto-refresh behavior. It seems buggy, (crashes on > auto-reload too often) and I hate having to click Auto every time > Skim restarts. Have you filed a bug report with backtraces at ? It should never crash. > So, I added some applescript goo to the Typeset & View command to > tell Skim/TeXShop/TeXniscope to reload. > > This means you could uncheck the box in Skim, et. al. that tells > them to check for file updates and rely on TextMate to tell them > when to reload. According to the TeX mailing list using applescript > is also more resource efficient than having the viewer watch for > file changes. > > Would others also prefer to have this part of the bundle? At least for Skim, this would be my preferred option. Then it's guaranteed to only try loading the file once, and can wait until all TeX runs are complete. thanks, Adam From ceyrich at gmx.net Sat Sep 8 21:03:43 2007 From: ceyrich at gmx.net (Christoph Eyrich) Date: Sat, 8 Sep 2007 23:03:43 +0200 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: References: Message-ID: <41B163DC-9110-4A28-A475-3DC490515583@gmx.net> On Sep 8, 2007, at 10:43 PM, Brad Miller wrote: > [Skim] It seems buggy, (crashes on auto-reload too > often) and I hate having to click Auto every time Skim restarts. strange - doesn't happen on my machine - and i'm using it most of the day, working on latex files. > So, I added some applescript goo to the Typeset & View command to tell > Skim/TeXShop/TeXniscope to reload. > > Would others also prefer to have this part of the bundle? definitely! greetings christoph From bmiller at luther.edu Sat Sep 8 22:01:20 2007 From: bmiller at luther.edu (Brad Miller) Date: Sat, 8 Sep 2007 17:01:20 -0500 Subject: [TxMt] latex-bundle: error parsing problems In-Reply-To: References: Message-ID: On 9/8/07, Christoph Eyrich wrote: > > hi, > > just a short note: there is still a problem with the error parsing > machinery: > undefined control sequences don't get caught: > > from the log file: > > ./pozdniakov-segerer.tex:38: Undefined control sequence. > l.38 \bikkkk I fixed this one earlier this week, and I verified that it catches this error on my system. If you checkout the latest version of Latex.tmbundlefrom subversion and still have the problem let me know. Thanks, Brad The control sequence at the end of the top line > of your error message was never \def'ed. If you have > misspelled it (e.g., `\hobx'), type `I' and the correct > spelling (e.g., `I\hbox'). Otherwise just continue, > and I'll forget about whatever was undefined. > > > from the typeset & view output window: > > Found 0 errors ... > > > greetings > > christoph > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From eli at markelikalderon.com Sun Sep 9 00:15:27 2007 From: eli at markelikalderon.com (Mark Eli Kalderon) Date: Sun, 9 Sep 2007 01:15:27 +0100 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: References: Message-ID: <3A6E1D92-3EB6-4708-9A67-3B86CDD3D2CF@markelikalderon.com> > > Would others also prefer to have this part of the bundle? > Yes, definitely. Best, Mark From ciawal at gmail.com Sun Sep 9 02:34:30 2007 From: ciawal at gmail.com (=?UTF-8?Q?Ciar=C3=A1n_Walsh?=) Date: Sat, 8 Sep 2007 21:34:30 -0500 Subject: [TxMt] excluding directories from "go to file" In-Reply-To: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> References: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> Message-ID: <65DC8502-37E2-4B37-A8C3-1C9C87805FD9@gmail.com> On 8 Sep 2007, at 05:33, Michael Stillwell wrote: > Is there any way to excluding some directories from "go to file"? http://macromates.com/textmate/manual/ working_with_multiple_files#filtering_unwanted_files (read the bottom paragraph) -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.matthes at mac.com Sun Sep 9 06:39:57 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sun, 9 Sep 2007 08:39:57 +0200 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: References: Message-ID: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> Le 8 sept. 07 ? 22:56, Adam R. Maxwell a ?crit : > > On Sep 8, 2007, at 13:43, Brad Miller wrote: > >> Hi All, >> >> I love using Skim for viewing the pdf files produced by LaTeX. >> But I don't like its auto-refresh behavior. It seems buggy, >> (crashes on auto-reload too often) and I hate having to click Auto >> every time Skim restarts. > > Have you filed a bug report with backtraces at sourceforge.net/tracker/?group_id=192583&atid=941981>? It should > never crash. >> hello:) I build packages using tex and latex, and I can say that Skim crashes often on auto-reload. I don't know where is the problem : Wrong pdfs because I make some mistakes in my .sty files or in the documentation .tex or if it's only Skim ? If it's because the pdf are wrong, then I will prefer a message : " hey man , is it possible to make good PDFs for me ?" than a crash. But TextMate's laTeX bundle keeps on buildind pdf with mistakes (now we can find the mistakes in the log window, thanks !!) whereas Texshop stops the compilation. So it is funny that Skim shows me my bad mistakes with crashes and not the Bundle. It is interesting sometimes to have a compilation for example if a package have a stupid mistake like the lake of }. But I would like to stop the compilation on the first error except hbox, vbox warnings and reference warnings, how to make that ? Regards Alain From ceyrich at gmx.net Sun Sep 9 08:34:12 2007 From: ceyrich at gmx.net (Christoph Eyrich) Date: Sun, 9 Sep 2007 10:34:12 +0200 Subject: [TxMt] latex-bundle: error parsing problems In-Reply-To: References: Message-ID: <0FEDCFB2-D4D8-43E8-83BB-649D248D4C3A@gmx.net> On Sep 9, 2007, at 12:01 AM, Brad Miller wrote: > I fixed this one earlier this week, and I verified that it catches > this > error on my system. If you checkout the latest version of > Latex.tmbundlefrom subversion and still have the problem let me know. hi brad, stupid me - i tought i was using the curent version but i wasn't. thanks a lot for your fix! christoph From mjs at beebo.org Sun Sep 9 09:08:06 2007 From: mjs at beebo.org (Michael Stillwell) Date: Sun, 9 Sep 2007 10:08:06 +0100 Subject: [TxMt] excluding directories from "go to file" In-Reply-To: <65DC8502-37E2-4B37-A8C3-1C9C87805FD9@gmail.com> References: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> <65DC8502-37E2-4B37-A8C3-1C9C87805FD9@gmail.com> Message-ID: <8C6F988A-31A0-4E4F-BB4C-2DE7431E7A4D@beebo.org> On 9 Sep 2007, at 03:34, Ciar?n Walsh wrote: > On 8 Sep 2007, at 05:33, Michael Stillwell wrote: > >> Is there any way to excluding some directories from "go to file"? > > http://macromates.com/textmate/manual/ > working_with_multiple_files#filtering_unwanted_files > > (read the bottom paragraph) Thanks. I've seen that, and am using it, but was hoping for something more project-specific. I also discovered that right- clicking on a directory in the project tree and using "Remove selected files..." also works, but for some reason these settings also aren't saved in the .tmproj files, and so don't persist across invocations of TextMate. --M. -- http://beebo.org +44 78 2118 9049 From amaxwell at mac.com Sun Sep 9 14:27:59 2007 From: amaxwell at mac.com (Adam R. Maxwell) Date: Sun, 9 Sep 2007 07:27:59 -0700 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> References: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> Message-ID: On Sep 8, 2007, at 23:39, Alain Matthes wrote: > > Le 8 sept. 07 ? 22:56, Adam R. Maxwell a ?crit : > >> >> On Sep 8, 2007, at 13:43, Brad Miller wrote: >> >>> Hi All, >>> >>> I love using Skim for viewing the pdf files produced by LaTeX. >>> But I don't like its auto-refresh behavior. It seems buggy, >>> (crashes on auto-reload too often) and I hate having to click Auto >>> every time Skim restarts. >> >> Have you filed a bug report with backtraces at > >? It should never crash. >>> > > > hello:) > > I build packages using tex and latex, and I can say that Skim > crashes often on auto-reload. I don't know where is the problem : Please report this at the tracker address I noted above. Include the relevant portions of ~/Library/Logs/CrashReporter/Skim.crash.log. Unreported bugs aren't likely to get fixed. -- Adam From dz at caribe.net Sun Sep 9 15:02:40 2007 From: dz at caribe.net (DZ-Jay) Date: Sun, 9 Sep 2007 11:02:40 -0400 Subject: [TxMt] Changing quote escape character In-Reply-To: References: <495722b92cad6e7802d352b4a22e557e@caribe.net> Message-ID: On Sep 8, 2007, at 16:47, Michael Sheets wrote: > Use to be true that a lot of languages copied the C style escapes > (because it's included as an example), but I think we've since fixed > most all of those. Pascal was fixed on 8/22, so svn up that bundle and > you'll be good. :) Thanks for your response. Could you tell me where I can find the repository? dZ. From constantinos at neophytou.net Sun Sep 9 15:13:38 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Sun, 9 Sep 2007 18:13:38 +0300 Subject: [TxMt] Parse entire project with regex Message-ID: I have a question that I'm sure has a simple solution, and if my brain worked properly these days I'd be able to find it either online or somewhere in the archives... But I can't, so here goes... I need to parse an entire project through a regex, and produce some formatted output. The regex is quite simple, and the reason is to create a 'translation' file. I have a huge project where I've used the wordpress-style convention (which in turn is based on the gettext style convention) of translating strings, namely passing them to the __() function (this is all in php). I'm not using gettext, i've just wrapped my own code around that function (which is why i'm using __() instead of _() ) This function at the moment simply returns the input as output (since all the text strings are in english, and I haven't really translated anything yet so my translation files are empty). What I want is to parse all of my code for /__\(['"](.*)['"]\)/ and some variations thereof, and produce a line-separated list of strings that need to be translated. I'd like to make this an automated process, because this is an ongoing project and i'd like to refresh the to-be-translated strings file frequently. I believe poedit already does something like this, but attempting to get my head around .po and .mo files at this point just gave me a migraine (nb: if someone knows of a good, step-by-step 'for dummies' tutorial for this stuff, I'd appreciate it). Any ideas? Constantinos Neophytou -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From constantinos at neophytou.net Sun Sep 9 15:48:48 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Sun, 9 Sep 2007 18:48:48 +0300 Subject: [TxMt] Re: Parse entire project with regex In-Reply-To: References: Message-ID: <3F2DEF53-4E0E-4DBC-8324-CE9A411C75FB@neophytou.net> As a followup, I guess what I'm looking for is something along the lines of what xgettext does, but directory-based instead of file- based, and also the ability to provide my own custom 'keywords' (I also use this in smarty templates, in the form of {'text'|__} ). Something like pybabel, but for php... I'm starting to wonder how complicated this should be, as it sounds like a fairly easy task... On 9 Sep 2007, at 18:13, Constantinos Neophytou ? wrote: > I have a question that I'm sure has a simple solution, and if my > brain worked properly these days I'd be able to find it either > online or somewhere in the archives... But I can't, so here goes... > > I need to parse an entire project through a regex, and produce some > formatted output. The regex is quite simple, and the reason is to > create a 'translation' file. I have a huge project where I've used > the wordpress-style convention (which in turn is based on the > gettext style convention) of translating strings, namely passing > them to the __() function (this is all in php). I'm not using > gettext, i've just wrapped my own code around that function (which > is why i'm using __() instead of _() ) > > This function at the moment simply returns the input as output > (since all the text strings are in english, and I haven't really > translated anything yet so my translation files are empty). What I > want is to parse all of my code for /__\(['"](.*)['"]\)/ and some > variations thereof, and produce a line-separated list of strings > that need to be translated. I'd like to make this an automated > process, because this is an ongoing project and i'd like to refresh > the to-be-translated strings file frequently. > > I believe poedit already does something like this, but attempting > to get my head around .po and .mo files at this point just gave me > a migraine (nb: if someone knows of a good, step-by-step 'for > dummies' tutorial for this stuff, I'd appreciate it). > > Any ideas? > > Constantinos Neophytou -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From ciawal at gmail.com Sun Sep 9 17:00:22 2007 From: ciawal at gmail.com (=?UTF-8?Q?Ciar=C3=A1n_Walsh?=) Date: Sun, 9 Sep 2007 12:00:22 -0500 Subject: [TxMt] Re: Parse entire project with regex In-Reply-To: <3F2DEF53-4E0E-4DBC-8324-CE9A411C75FB@neophytou.net> References: <3F2DEF53-4E0E-4DBC-8324-CE9A411C75FB@neophytou.net> Message-ID: On 9 Sep 2007, at 10:48, Constantinos Neophytou ? wrote: >> I have a huge project where I've used the wordpress-style >> convention (which in turn is based on the gettext style >> convention) of translating strings I would say your best option is to use poedit, as you say it has the parsing built in already. A simple google search found me http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites- using-gettext/ I?m sure there are others. The other option would be to modify your PHP function (i.e. __() ) to do the output to the file and then browse around your site to invoke them. -------------- next part -------------- An HTML attachment was scrubbed... URL: From bomberstudios at gmail.com Sun Sep 9 17:12:44 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Sun, 9 Sep 2007 19:12:44 +0200 Subject: [TxMt] Parse entire project with regex In-Reply-To: References: Message-ID: On 9/9/07, Constantinos Neophytou ? wrote: > > I need to parse an entire project through a regex... > Take a look at the "Grep in Project" command: If can be easily modified to suit your needs, and it spits results on a format you can copy and paste on another document. Also, good old commandline grep may be just what you're looking for... -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From constantinos at neophytou.net Sun Sep 9 17:17:31 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Sun, 9 Sep 2007 20:17:31 +0300 Subject: [TxMt] Re: Parse entire project with regex In-Reply-To: References: <3F2DEF53-4E0E-4DBC-8324-CE9A411C75FB@neophytou.net> Message-ID: <1F32CAF8-B7D5-4F2E-B3AE-949CDEF19F10@neophytou.net> Unfortunately, I'm unable to get poedit to work properly on my system (keeps telling me it doesn't find anything), and also doesn't really work for the smarty templates... modifying my php function could be an option, but not the automated method i'm looking for... but thanks for the feedback, that link will come in handy at some point! On 9 Sep 2007, at 20:00, Ciar?n Walsh wrote: > I would say your best option is to use poedit, as you say it has > the parsing built in already. A simple google search found me > > http://mel.melaxis.com/devblog/2005/08/06/localizing-php-web-sites- > using-gettext/ > > I?m sure there are others. > > > The other option would be to modify your PHP function (i.e. __() ) > to do the output to the file and then browse around your site to > invoke them. -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From ciawal at gmail.com Sun Sep 9 17:22:54 2007 From: ciawal at gmail.com (=?UTF-8?Q?Ciar=C3=A1n_Walsh?=) Date: Sun, 9 Sep 2007 12:22:54 -0500 Subject: [TxMt] excluding directories from "go to file" In-Reply-To: <8C6F988A-31A0-4E4F-BB4C-2DE7431E7A4D@beebo.org> References: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> <65DC8502-37E2-4B37-A8C3-1C9C87805FD9@gmail.com> <8C6F988A-31A0-4E4F-BB4C-2DE7431E7A4D@beebo.org> Message-ID: On 9 Sep 2007, at 04:08, Michael Stillwell wrote: > I've seen that, and am using it, but was hoping for something more > project-specific. As I said, read the bottom paragraph: ?The patterns are only used when creating new folder references. For existing folder references one can select the folder reference in the project drawer and use the info button (a circled letter I) in the project drawer to edit the patterns.? This pattern is project-specific -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Sun Sep 9 17:23:12 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Sun, 9 Sep 2007 12:23:12 -0500 Subject: [TxMt] Changing quote escape character In-Reply-To: References: <495722b92cad6e7802d352b4a22e557e@caribe.net> Message-ID: <7767A1FE-6582-4744-83A2-70225FEAA124@whitefalls.org> On Sep 9, 2007, at 10:02 AM, DZ-Jay wrote: > Thanks for your response. Could you tell me where I can find the > repository? http://www.macromates.com/textmate/manual/bundles#getting_more_bundles Sorry since you were talking about the Pascal bundle and it's not a default bundle I figured you already knew about the repository or had GetBundle installed. :) From mjs at beebo.org Sun Sep 9 18:03:39 2007 From: mjs at beebo.org (Michael Stillwell) Date: Sun, 9 Sep 2007 19:03:39 +0100 Subject: [TxMt] excluding directories from "go to file" In-Reply-To: References: <168E45A2-B947-47F5-843A-8A43FD5262A9@beebo.org> <65DC8502-37E2-4B37-A8C3-1C9C87805FD9@gmail.com> <8C6F988A-31A0-4E4F-BB4C-2DE7431E7A4D@beebo.org> Message-ID: <4497F451-BC7B-405F-83A2-5C0229C80F36@beebo.org> On 9 Sep 2007, at 18:22, Ciar?n Walsh wrote: > On 9 Sep 2007, at 04:08, Michael Stillwell wrote: > >> I've seen that, and am using it, but was hoping for something more >> project-specific. > > As I said, read the bottom paragraph: > > ?The patterns are only used when creating new folder references. > For existing folder references one can select the folder reference > in the project drawer and use the info button (a circled letter I) > in the project drawer to edit the patterns.? > > This pattern is project-specific Apologies. This does do what I want. I read the page but didn't understand it, and wasn't able to operate the info button (works on the root directory only), and so gave up. --M. -- http://beebo.org +44 78 2118 9049 From zvistrash at gmail.com Sun Sep 9 18:50:42 2007 From: zvistrash at gmail.com (zsteir) Date: Sun, 9 Sep 2007 11:50:42 -0700 (PDT) Subject: [TxMt] "Show Outline" error Message-ID: <12581754.post@talk.nabble.com> Dear All, When I use the "Show Outline" command in the LaTex outline on a single file (with no /include or /input), the command works perfectly. However, when I use it on a file that includes /include, I get the following error: `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `each' from /tmp/temp_textmate.lsbsz4:34:in `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `outline_points' from /tmp/temp_textmate.lsbsz4:36:in `outline_points' from /tmp/temp_textmate.lsbsz4:34:in `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `each' from /tmp/temp_textmate.lsbsz4:34:in `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `outline_points' from /tmp/temp_textmate.lsbsz4:47 The /include files are not in the same directory as the master file, but the file typesets just fine. Any ideas? Thanks, zsteir -- View this message in context: http://www.nabble.com/%22Show-Outline%22-error-tf4410356.html#a12581754 Sent from the textmate users mailing list archive at Nabble.com. From cskiadas at gmail.com Sun Sep 9 20:09:45 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Sun, 9 Sep 2007 16:09:45 -0400 Subject: [TxMt] "Show Outline" error In-Reply-To: <12581754.post@talk.nabble.com> References: <12581754.post@talk.nabble.com> Message-ID: On Sep 9, 2007, at 2:50 PM, zsteir wrote: > > Dear All, > > When I use the "Show Outline" command in the LaTex outline on a > single file > (with no /include or /input), the command works perfectly. However, > when I > use it on a file that includes /include, I get the following error: > > `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in `each' from > /tmp/temp_textmate.lsbsz4:34:in `each_with_index' from > /tmp/temp_textmate.lsbsz4:34:in `outline_points' from > /tmp/temp_textmate.lsbsz4:36:in `outline_points' from > /tmp/temp_textmate.lsbsz4:34:in `each_with_index' from > /tmp/temp_textmate.lsbsz4:34:in `each' from /tmp/ > temp_textmate.lsbsz4:34:in > `each_with_index' from /tmp/temp_textmate.lsbsz4:34:in > `outline_points' from > /tmp/temp_textmate.lsbsz4:47 > > The /include files are not in the same directory as the master > file, but the > file typesets just fine. How do your \include lines look like exactly? > Any ideas? > > Thanks, > zsteir Haris Skiadas Department of Mathematics and Computer Science Hanover College From constantinos at neophytou.net Sun Sep 9 20:17:43 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Sun, 9 Sep 2007 23:17:43 +0300 Subject: [TxMt] Parse entire project with regex In-Reply-To: References: Message-ID: On 9 Sep 2007, at 20:12, Ale Mu?oz wrote: > Take a look at the "Grep in Project" command: > > > > If can be easily modified to suit your needs, and it spits results on > a format you can copy and paste on another document. > Thanks, that helped. I made a bash script that outputs the grep data, and I have the find/replace strings for TextMate's regular expression match.. What's the best way to combine the two, i.e. run the bash script, and then pipe the output in a regex find/replace, and output to a file? I'm guessing my options are either a complicated macro (don't know how to output to a file with this method, if even possible), or a Command... which I think would be preferable, but then how would I go about executing the find/replace inside the command? Constantinos Neophytou -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From zvistrash at gmail.com Sun Sep 9 20:26:05 2007 From: zvistrash at gmail.com (zsteir) Date: Sun, 9 Sep 2007 13:26:05 -0700 (PDT) Subject: [TxMt] "Show Outline" error In-Reply-To: References: <12581754.post@talk.nabble.com> Message-ID: <12582770.post@talk.nabble.com> Charilaos Skiadas-3 wrote: > > > How do your \include lines look like exactly? > > They look like: \include{frontmatter/abbreviations} (and there is an abbreviations.tex file sitting in the directory frontmatter. The directory sits next to the master tex file.) Thanks, zsteir -- View this message in context: http://www.nabble.com/%22Show-Outline%22-error-tf4410356.html#a12582770 Sent from the textmate users mailing list archive at Nabble.com. From cskiadas at gmail.com Sun Sep 9 21:18:30 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Sun, 9 Sep 2007 17:18:30 -0400 Subject: [TxMt] "Show Outline" error In-Reply-To: <12582770.post@talk.nabble.com> References: <12581754.post@talk.nabble.com> <12582770.post@talk.nabble.com> Message-ID: On Sep 9, 2007, at 4:26 PM, zsteir wrote: > > > Charilaos Skiadas-3 wrote: >> >> >> How do your \include lines look like exactly? >> >> > > They look like: > > \include{frontmatter/abbreviations} > > (and there is an abbreviations.tex file sitting in the directory > frontmatter. The directory sits next to the master tex file.) > Sorry I can't reproduce this. I just tried a file that contained the above include line and a corresponding abbreviations file, and the Show Outline command went just fine. So there must be some other problem, either in your included file or in the master file. Would it be possible to send me the files off-list? > Thanks, > zsteir Haris Skiadas Department of Mathematics and Computer Science Hanover College From bmiller at luther.edu Sun Sep 9 22:12:22 2007 From: bmiller at luther.edu (Brad Miller) Date: Sun, 9 Sep 2007 17:12:22 -0500 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: <3A6E1D92-3EB6-4708-9A67-3B86CDD3D2CF@markelikalderon.com> References: <3A6E1D92-3EB6-4708-9A67-3B86CDD3D2CF@markelikalderon.com> Message-ID: OK, I committed this feature. svn up to get it. Brad On 9/8/07, Mark Eli Kalderon wrote: > > > > > Would others also prefer to have this part of the bundle? > > > > Yes, definitely. > > Best, Mark > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From bmiller at luther.edu Sun Sep 9 22:22:16 2007 From: bmiller at luther.edu (Brad Miller) Date: Sun, 9 Sep 2007 17:22:16 -0500 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> References: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> Message-ID: Alain, If you update to the latest Latex bundle in subversion, and uncheck the "Check for changes" box in Skim preferences Skim will no longer reload documents where you have errors. I'm not sure why you want latex to stop processing after the first error? I like to see the whole list. But if you really want that behavior you can get it by adding -halt-on-error as an Option in the Latex bundle Preferences window. Brad -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From lamont at rlnsr.com Sun Sep 9 22:51:58 2007 From: lamont at rlnsr.com (lamont_n) Date: Sun, 9 Sep 2007 15:51:58 -0700 (PDT) Subject: [TxMt] Irregular spacing Message-ID: <12572251.post@talk.nabble.com> I've looked for an answer but, as yet, haven't found one. I'm experiencing irregular spacing within the textmate window. It doesn't matter what format the file is in. It looks something like this: 'Po in t you r b rows e r to'. I've looked at preferences but don't see an answer. I'm using ver 1.5.6 on PowerBook G4 running mac os x 10.4.10. Any suggestions? -- View this message in context: http://www.nabble.com/Irregular-spacing-tf4406810.html#a12572251 Sent from the textmate users mailing list archive at Nabble.com. From cskiadas at gmail.com Sun Sep 9 23:55:00 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Sun, 9 Sep 2007 19:55:00 -0400 Subject: [TxMt] "Show Outline" error In-Reply-To: <12582770.post@talk.nabble.com> References: <12581754.post@talk.nabble.com> <12582770.post@talk.nabble.com> Message-ID: <17BD960A-51B2-47A1-9A67-13C3EBF77F44@gmail.com> For those following this thread, the Show Outline command was not ignoring commented out lines. I committed a fix (rev 8130) that should take care of this problem. On Sep 9, 2007, at 4:26 PM, zsteir wrote: > > Charilaos Skiadas-3 wrote: >> >> >> How do your \include lines look like exactly? >> >> > > They look like: > > \include{frontmatter/abbreviations} > > (and there is an abbreviations.tex file sitting in the directory > frontmatter. The directory sits next to the master tex file.) > > Thanks, > zsteir Haris Skiadas Department of Mathematics and Computer Science Hanover College From tonyc at boldfish.co.uk Mon Sep 10 06:25:11 2007 From: tonyc at boldfish.co.uk (Tony Crockford) Date: Mon, 10 Sep 2007 07:25:11 +0100 Subject: [TxMt] Irregular spacing In-Reply-To: <12572251.post@talk.nabble.com> References: <12572251.post@talk.nabble.com> Message-ID: <5C37E535-B302-4BEA-AB0B-74051B2E9BEB@boldfish.co.uk> On 9 Sep 2007, at 23:51, lamont_n wrote: > > I've looked for an answer but, as yet, haven't found one. I'm > experiencing > irregular spacing within the textmate window. Any suggestions? are you using a proportional font? From jreate at hotmail.com Mon Sep 10 07:16:16 2007 From: jreate at hotmail.com (James Reategui) Date: Mon, 10 Sep 2007 00:16:16 -0700 Subject: [TxMt] Re: Code completion for Ruby on Rails? Message-ID: Definitely True. We need good code completion for RoR on Textmate. It's all about having the right tools and decent code completion is definitely top of the list. Something like what MS visual studio has, they call it intellisense, would be everything. I mean code completion for your own classes/methods anywhere.... Is there anything we as a community can do to improve the Ruby bundle for this? I understand the plugin API is not done yet for TM... cheers -James _________________________________________________________________ Get a FREE small business Web site and more from Microsoft? Office Live! http://clk.atdmt.com/MRT/go/aub0930003811mrt/direct/01/ From refsvik at online.no Mon Sep 10 08:19:04 2007 From: refsvik at online.no (Kjell Are Refsvik) Date: Mon, 10 Sep 2007 10:19:04 +0200 Subject: [TxMt] UTF-8.def not found... Message-ID: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> Hi, Just got a new machine and had to reinstall the file system and all my apps, among those TextMate and the LaTex system (CTAN). Opening a previously made latex file and trying to compile it, I get the following error message: --- This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6 Typesetting: ./master_project_outline.tex Document Class: report 2005/09/16 v1.4f Standard LaTeX document clas ! LaTeX Error: File `utf-8.def' not found. master_project_outline.log --- Would appreciate it very much if someone could drop me a line and tell me how to make TextMate aware of the utf-8.def file. Sincerely, Kjell Are Refsvik Lillehammer, Norway From ozgurodabasi at gmail.com Mon Sep 10 12:33:30 2007 From: ozgurodabasi at gmail.com (=?UTF-8?Q?=C3=96zg=C3=BCr_Odaba=C5=9F=C4=B1?=) Date: Mon, 10 Sep 2007 15:33:30 +0300 Subject: [TxMt] tag match Message-ID: <8CDF0264-B270-4673-B0B7-E6DA0D242F1B@gmail.com> Hi, I have a question and sure about that this question has answered before : ), but I'm not able to browse the message archive now, Is there any keyboard shortcut or trigger that matches and focuses opening or closing tag (or selects its content)? (without fold). thanks. -- ?zg?r Odabasi From zvistrash at gmail.com Mon Sep 10 16:28:40 2007 From: zvistrash at gmail.com (zsteir) Date: Mon, 10 Sep 2007 09:28:40 -0700 (PDT) Subject: [TxMt] "Show Outline" error In-Reply-To: References: <12581754.post@talk.nabble.com> <12582770.post@talk.nabble.com> Message-ID: <12597112.post@talk.nabble.com> Dear All (and Haris), Hopefully, Haris didn't spend too much time on this. The cause of the error was obvious, I just needed to remind myself of the exact content of each file. It turns out the "Show Outline" didn't handle nested /includes or nested /input. (That is, either include -> input, include -> include, input -> include, input -> input). Does this seem right to you? Thanks, zstier > Sorry I can't reproduce this. I just tried a file that contained the > above include line and a corresponding abbreviations file, and the > Show Outline command went just fine. So there must be some other > problem, either in your included file or in the master file. Would it > be possible to send me the files off-list? > >> Thanks, >> zsteir > > Haris Skiadas > Department of Mathematics and Computer Science > Hanover College > > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > > -- View this message in context: http://www.nabble.com/%22Show-Outline%22-error-tf4410356.html#a12597112 Sent from the textmate users mailing list archive at Nabble.com. From mjijackson at gmail.com Mon Sep 10 16:51:45 2007 From: mjijackson at gmail.com (Michael Jackson) Date: Mon, 10 Sep 2007 10:51:45 -0600 Subject: [TxMt] Delete extra space on save? Message-ID: Hello all, I'm looking for a way to delete all extra space from a file on save. Extra space would include extra space on the end of lines. For empty lines, this would delete all space contained within them. Any ideas? Thanks, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2452 bytes Desc: not available URL: From mummer at whitefalls.org Mon Sep 10 20:04:10 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Mon, 10 Sep 2007 15:04:10 -0500 Subject: [TxMt] Delete extra space on save? In-Reply-To: References: Message-ID: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> On Sep 10, 2007, at 11:51 AM, Michael Jackson wrote: > I'm looking for a way to delete all extra space from a file on > save. Extra space would include extra space on the end of lines. > For empty lines, this would delete all space contained within them. > Any ideas? Record a macro that does that as a find & replace, then saves the file. Set it to ?S. From alistair.colling at gmail.com Mon Sep 10 20:24:45 2007 From: alistair.colling at gmail.com (Alistair Colling) Date: Mon, 10 Sep 2007 21:24:45 +0100 Subject: [TxMt] Newbie Q- How to Auto Format Code? Message-ID: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> Hi there, I've just downloaded Textmate and am really enjoying using it though there is one basic feature that I can't seem to find: -how do I auto-format my code? I program in Actionscript and am used to pressing the 'Auto Format' button in the Flash Actions panel to tidy up my formatting. I've looked at the manual and through the documentation but I can't seem to figure this out! Any help much appreciated and if anyone has any other specific tips for AS users using Textmate please let me know :) Thanks, Ali From cskiadas at gmail.com Mon Sep 10 20:28:04 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Mon, 10 Sep 2007 16:28:04 -0400 Subject: [TxMt] "Show Outline" error In-Reply-To: <12597112.post@talk.nabble.com> References: <12581754.post@talk.nabble.com> <12582770.post@talk.nabble.com> <12597112.post@talk.nabble.com> Message-ID: <6FB0F13F-CF57-49D3-BC77-E1FA8589CEA0@gmail.com> On Sep 10, 2007, at 12:28 PM, zsteir wrote: > > Dear All (and Haris), > > Hopefully, Haris didn't spend too much time on this. No I didn't, and there as an error in the handling of comments so it was good it came up ;). > The cause of the error > was obvious, I just needed to remind myself of the exact content of > each > file. > > It turns out the "Show Outline" didn't handle nested /includes or > nested > /input. (That is, either include -> input, include -> include, > input -> > include, input -> input). > > Does this seem right to you? No it doesn't, the command should not care about nested includes/ inputs, as far as I can tell. It contains a function that calls itself on the included file, so it should not have a problem going on one more level. Are you sure the problem wasn't caused by commented out \include lines not corresponding to files any more? That's what I fixed with the latest commit yesterday (did you update)? > Thanks, > zstier Haris Skiadas Department of Mathematics and Computer Science Hanover College From bomberstudios at gmail.com Mon Sep 10 20:59:18 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Mon, 10 Sep 2007 22:59:18 +0200 Subject: [TxMt] Newbie Q- How to Auto Format Code? In-Reply-To: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> References: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> Message-ID: On 9/10/07, Alistair Colling wrote: > > -how do I auto-format my code? > That would be Command + A (Select All) and then Command + Alt + [ (Indent Selection) > > Any help much appreciated and if anyone has any other specific tips > for AS users using Textmate please let me know :) > I post updates to the bundle on my blog and plan on writing some more about general TextMate tips (including AS stuff :) -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From alistair.colling at gmail.com Mon Sep 10 21:08:10 2007 From: alistair.colling at gmail.com (Alistair Colling) Date: Mon, 10 Sep 2007 22:08:10 +0100 Subject: [TxMt] Newbie Q- How to Auto Format Code? In-Reply-To: References: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> Message-ID: Thanks Ale that's great, and one more I forgot to ask, is there a shortcut for 'check syntax'? Thanks for the heads up on yr blog, the growl plugin looks v interesting:) Kind regards, Ali On 10 Sep 2007, at 21:59, Ale Mu?oz wrote: > On 9/10/07, Alistair Colling wrote: >> >> -how do I auto-format my code? >> > > > That would be Command + A (Select All) and then Command + Alt + [ > (Indent Selection) > > >> >> Any help much appreciated and if anyone has any other specific tips >> for AS users using Textmate please let me know :) >> > > > I post updates to the bundle on my blog and > plan on writing some more about general TextMate tips (including AS > stuff :) > > > > -- > Ale Mu?oz > http://sofanaranja.com > http://bomberstudios.com > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From bomberstudios at gmail.com Mon Sep 10 21:31:09 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Mon, 10 Sep 2007 23:31:09 +0200 Subject: [TxMt] Newbie Q- How to Auto Format Code? In-Reply-To: References: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> Message-ID: On 9/10/07, Alistair Colling wrote: > > is there a shortcut for 'check syntax'? > Hmmm... there's no 'Check Syntax' command on the ActionScript bundle... but now that you mention it, it looks like a good addition to the arsenal... Will look into it when I have some free time... -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From jashugan at gmail.com Mon Sep 10 21:37:05 2007 From: jashugan at gmail.com (Nithin Reddy) Date: Mon, 10 Sep 2007 14:37:05 -0700 Subject: [TxMt] Problem Running RSpec Behavior Descriptions using RSpec Bundle In-Reply-To: <6382BC3A-3DDD-4D43-82D5-3E36A784AC1F@macromates.com> References: <994e7e3c0708310832p7577ee2neb622c99a00138b1@mail.gmail.com> <27842b780708311518l3cd45a94y9c4e77c79391aa18@mail.gmail.com> <994e7e3c0709041040m5b4cd5b1sebde30e8cfb1696e@mail.gmail.com> <6382BC3A-3DDD-4D43-82D5-3E36A784AC1F@macromates.com> Message-ID: <994e7e3c0709101437v6c0e7770i4b0809130550bf38@mail.gmail.com> On 9/4/07, Allan Odgaard wrote: > On Sep 4, 2007, at 7:40 PM, Nithin Reddy wrote: > > I don't have the RSpec bundle, but from the error it calls split on > nil in a method called 'run_files' -- my guess is that it wants a > selection in the project drawer and you have no files selected there. Yes, you were absolutely right. I usually use "Go To File..." to navigate through my project. Since "Go To File..." doesn't select the file in the drawer, I guess the bundle wasn't finding the correct file(s) to run. > That said, this could of course be handled better. Do you mean there is some way to modify the bundle to handle this better? From bomberstudios at gmail.com Mon Sep 10 22:15:31 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Tue, 11 Sep 2007 00:15:31 +0200 Subject: [TxMt] Newbie Q- How to Auto Format Code? In-Reply-To: References: <5ADE2F48-F392-4C54-B963-0E9FA978905F@gmail.com> Message-ID: On 9/10/07, Ale Mu?oz wrote: > > Hmmm... there's no 'Check Syntax' command on the ActionScript > bundle... but now that you mention it, it looks like a good addition > to the arsenal... > Talk about good timing. I had to debug some stuff for a project, and thought this command would be *very* useful. Thus, I've pushed a new "Validate Syntax" command to the repository. It's bound to Control + Shift + V, for consistency with other bundles. Please try it and see if it works for you. -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From alain.matthes at mac.com Mon Sep 10 22:37:52 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 00:37:52 +0200 Subject: [TxMt] Latex Bundle: refreshing external viewers In-Reply-To: References: <9F47D011-8687-46EA-A72E-B9670BB9FBD9@mac.com> Message-ID: <7846A6C8-D299-4FBE-AAFE-560C0E6E4C4D@mac.com> Le 10 sept. 07 ? 00:22, Brad Miller a ?crit : > Alain, > > If you update to the latest Latex bundle in subversion, and uncheck > the "Check for changes" box in Skim preferences Skim will no longer > reload documents where you have errors. > > I'm not sure why you want latex to stop processing after the first > error? I like to see the whole list. But if you really want that > behavior you can get it by adding -halt-on-error as an Option in > the Latex bundle Preferences window. > Because my package is long (3500 lines) and the documentation has 150 pages with 3 to 4 graphs per page. I don't want to wait five minutes each time :) Alain From alain.matthes at mac.com Mon Sep 10 23:00:25 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 01:00:25 +0200 Subject: [TxMt] Latex Bundle grammar Message-ID: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> hello:) I try to make a specific theme for latex but I have some problems and some questions : Firstly, we need something like : { name = 'constant.numeric.math.latex'; match = '(([0-9]*[\.][0-9]+)|[0-9]+)'; }, because $ a+2b $ and \[ a+2b\] don't give the same thing Then I don't understand very well why all the part about "lstlisting" "lstlisting" don't work with utf8 and why it is not possible to make this work outside text.tex.latex ? (perhaps it is not possible ?) I would like to make a grammar about Tikz so I try to understand how to make this... I think perhaps a system of preferences like in Kile will be a good think : for the grammar but for completion 1) A kernel around tex and latex 2) modules for book with index and biblio.... 3) modules for the different packages pstricks, tikz, beamer or perhaps different scopes : latex, latex-writer An other thing I would like also make a scope for latex-developper because we need a lot of keywords like global let def edef etc... with tex but with calc, ifthen, xkeyval there are a lot of others keywords, for example ifthenelse is very important. What is the good way to make this? I suppose that I need to add specific files but hox to proceed... ? Regards Alain (sorry for my bad english) From bmiller at luther.edu Tue Sep 11 01:11:45 2007 From: bmiller at luther.edu (Brad Miller) Date: Mon, 10 Sep 2007 20:11:45 -0500 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> Message-ID: -- Brad Miller Assistant Professor, Computer Science Luther College On 9/10/07, Alain Matthes wrote: > > hello:) > > I try to make a specific theme for latex but I have some problems and > some questions : > > Firstly, we need something like : > > { name = 'constant.numeric.math.latex'; > match = '(([0-9]*[\.][0-9]+)|[0-9]+)'; > }, > > because $ a+2b $ and \[ a+2b\] don't give the same thing Parts do agree and parts are different for me, but I agree with you that all parts of both expressions should be scoped the same. Then I don't understand very well why all the part about "lstlisting" > > "lstlisting" don't work with utf8 and why it is not possible to make > this work outside text.tex.latex ? > (perhaps it is not possible ?) I suppose I am partially to blame for that, since I worked on the grammar early on, and I do a lot with lstlisting in my writing. Why is this a problem for you? Brad I would like to make a grammar about Tikz so I try to understand how > to make this... > > I think perhaps a system of preferences like in Kile will be a good > think : for the grammar but for completion > > 1) A kernel around tex and latex > 2) modules for book with index and biblio.... > 3) modules for the different packages pstricks, tikz, beamer > > or perhaps different scopes : latex, latex-writer > > > An other thing I would like also make a scope for latex-developper > because we need a lot of keywords > > like global let def edef etc... with tex > > but with calc, ifthen, xkeyval there are a lot of others keywords, > for example ifthenelse is very important. > > What is the good way to make this? I suppose that I need to add > specific files but hox to proceed... ? > > Regards Alain (sorry for my bad english) > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jacobolus at gmail.com Mon Sep 10 02:05:33 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Sun, 09 Sep 2007 19:05:33 -0700 Subject: [TxMt] Re: Irregular spacing In-Reply-To: <12572251.post@talk.nabble.com> References: <12572251.post@talk.nabble.com> Message-ID: lamont_n wrote: > I've looked for an answer but, as yet, haven't found one. I'm experiencing > irregular spacing within the textmate window. It doesn't matter what format > the file is in. It looks something like this: 'Po in t you r b rows e r > to'. I've looked at preferences but don't see an answer. I'm using ver > 1.5.6 on PowerBook G4 running mac os x 10.4.10. Any suggestions? Use a monospace font. TextMate doesn't work with proportional fonts From mjijackson at gmail.com Tue Sep 11 04:13:55 2007 From: mjijackson at gmail.com (Michael Jackson) Date: Mon, 10 Sep 2007 22:13:55 -0600 Subject: [TxMt] Delete extra space on save? In-Reply-To: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> References: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> Message-ID: On Sep 10, 2007, at 2:04 PM, Michael Sheets wrote: > On Sep 10, 2007, at 11:51 AM, Michael Jackson wrote: > >> I'm looking for a way to delete all extra space from a file on >> save. Extra space would include extra space on the end of lines. >> For empty lines, this would delete all space contained within >> them. Any ideas? > > Record a macro that does that as a find & replace, then saves the > file. Set it to ?S. Thanks for the idea. I can get the first part to work, but I can't seem to get the macro to save the file for me. I've tried using the menu command as well as the keyboard shortcut while recording the macro and neither seem to work. Any idea why? Thanks, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2452 bytes Desc: not available URL: From alain.matthes at mac.com Tue Sep 11 05:29:12 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 07:29:12 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> Message-ID: <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> Le 11 sept. 07 ? 03:11, Brad Miller a ?crit : > > Then I don't understand very well why all the part about "lstlisting" > > "lstlisting" don't work with utf8 and why it is not possible to make > this work outside text.tex.latex ? > (perhaps it is not possible ?) > I suppose I am partially to blame for that, since I worked on the > grammar early on, and I do a lot with lstlisting in my writing. > Why is this a problem for you? > hello No you are not to blame and I want to say that your work is fine and it's a real pleasure to work with TexTMate on LaTeX. But I now I've a little time to see what there is in the grammar and to make a theme for LaTeX. I know that "lstlisting" is sometimes very important for authors but we can say the same for a lot of packages. My english is poor so perhaps my question is difficult to understand : I would to know how is managed the bundle : There parts like latex tex tex.math now if I want to create an extension for that with grammar (keywords) for pgf/tikz or calc,ifthen,xkeyval ( for those who make packages)% i'm not sure of my english here !! pstricks etc... I would like to know if you have a method (project ??) and how to add grammar . I can make my personnal latex bundle but i would prefer to make something useful for every one (it's possible!) Regards Alain From throw-away-1 at macromates.com Tue Sep 11 06:06:32 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 11 Sep 2007 08:06:32 +0200 Subject: [TxMt] UTF-8.def not found... In-Reply-To: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> References: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> Message-ID: <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> On 10/09/2007, at 10:19, Kjell Are Refsvik wrote: > Just got a new machine and had to reinstall the file system and all > my apps, among those TextMate and the LaTex system (CTAN). > > Opening a previously made latex file and trying to compile it, I get > the following error message: > > --- > [...] > ! LaTeX Error: File `utf-8.def' not found. > > master_project_outline.log > --- > > Would appreciate it very much if someone could drop me a line and > tell me how to make TextMate aware of the utf-8.def file. How do you specify utf8 in the top of your document? iirc there has been two packages for this, where one is phased out now. From throw-away-1 at macromates.com Tue Sep 11 06:17:43 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 11 Sep 2007 08:17:43 +0200 Subject: [TxMt] Problem Running RSpec Behavior Descriptions using RSpec Bundle In-Reply-To: <994e7e3c0709101437v6c0e7770i4b0809130550bf38@mail.gmail.com> References: <994e7e3c0708310832p7577ee2neb622c99a00138b1@mail.gmail.com> <27842b780708311518l3cd45a94y9c4e77c79391aa18@mail.gmail.com> <994e7e3c0709041040m5b4cd5b1sebde30e8cfb1696e@mail.gmail.com> <6382BC3A-3DDD-4D43-82D5-3E36A784AC1F@macromates.com> <994e7e3c0709101437v6c0e7770i4b0809130550bf38@mail.gmail.com> Message-ID: <747880E2-241A-461D-9012-701AFEB1F092@macromates.com> On 10/09/2007, at 23:37, Nithin Reddy wrote: >> That said, this could of course be handled better. > Do you mean there is some way to modify the bundle to handle this > better? Sure, it could fallback to current file when there is no selected file. Recently the RSpec bundle was added to the TM repository, so you should preferably update to that one (notice it is now called ?Ruby RSpec?) and if the problem persists, report the problem to the maintainer (which should be in the info.plist of the bundle). From throw-away-1 at macromates.com Tue Sep 11 06:25:44 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 11 Sep 2007 08:25:44 +0200 Subject: [TxMt] tag match In-Reply-To: <8CDF0264-B270-4673-B0B7-E6DA0D242F1B@gmail.com> References: <8CDF0264-B270-4673-B0B7-E6DA0D242F1B@gmail.com> Message-ID: On 10/09/2007, at 14:33, ?zg?r Odaba?? wrote: > I have a question and sure about that this question has answered > before : ), but I'm not able to browse the message archive now, > Is there any keyboard shortcut or trigger that matches and focuses > opening or closing tag (or selects its content)? (without fold). The closest is ??B which is Edit ? Select ? Current Scope. The current scope generally marks the current semantic unit, so for example if you have the key on "some url" will select first the string, and press it again to expand the selection to the full tag. Presently tag-pairs (i.e. open tag + content + close tag) are not scoped to work nicely with this though, it will be in the future. From kevin at sb.org Tue Sep 11 09:14:24 2007 From: kevin at sb.org (Kevin Ballard) Date: Tue, 11 Sep 2007 05:14:24 -0400 Subject: [TxMt] Delete extra space on save? In-Reply-To: References: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> Message-ID: <204D802F-D857-4707-89EE-9B74DDD35680@sb.org> Try editing the macro plist by hand to add save: as an action. On Sep 11, 2007, at 12:13 AM, Michael Jackson wrote: > On Sep 10, 2007, at 2:04 PM, Michael Sheets wrote: > >> On Sep 10, 2007, at 11:51 AM, Michael Jackson wrote: >> >>> I'm looking for a way to delete all extra space from a file on >>> save. Extra space would include extra space on the end of lines. >>> For empty lines, this would delete all space contained within >>> them. Any ideas? >> >> Record a macro that does that as a find & replace, then saves the >> file. Set it to ?S. > > Thanks for the idea. I can get the first part to work, but I can't > seem to get the macro to save the file for me. I've tried using the > menu command as well as the keyboard shortcut while recording the > macro and neither seem to work. Any idea why? -- Kevin Ballard http://kevin.sb.org kevin at sb.org http://www.tildesoft.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2432 bytes Desc: not available URL: From alain.matthes at mac.com Tue Sep 11 10:12:44 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 12:12:44 +0200 Subject: [TxMt] UTF-8.def not found... In-Reply-To: <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> References: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> Message-ID: Le 11 sept. 07 ? 08:06, Allan Odgaard a ?crit : > On 10/09/2007, at 10:19, Kjell Are Refsvik wrote: > >> Just got a new machine and had to reinstall the file system and >> all my apps, among those TextMate and the LaTex system (CTAN). >> >> Opening a previously made latex file and trying to compile it, I >> get the following error message: >> >> --- >> [...] >> ! LaTeX Error: File `utf-8.def' not found. >> >> master_project_outline.log >> --- >> >> Would appreciate it very much if someone could drop me a line and >> tell me how to make TextMate aware of the utf-8.def file. > > How do you specify utf8 in the top of your document? iirc there has > been two packages for this, where one is phased out now. > > The more simple is to use : \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} and utf-8.def is not a part of inputenc package but it's utf8.def !!! Allan's question is fine : how do you specify utf8 in the top of your document? like me (see below) or ..... ?? You can also see the template article ! Regards Alain PS: what is your latex distribution (I hope for you that it's not fink or darwinport mactex or gwtew are more accurate. From refsvik at online.no Tue Sep 11 10:42:16 2007 From: refsvik at online.no (Kjell Are Refsvik) Date: Tue, 11 Sep 2007 12:42:16 +0200 Subject: [TxMt] UTF-8.def not found... In-Reply-To: <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> References: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> Message-ID: <4E5EB4A6-4A58-4DE0-B0C0-7D1C8921777D@online.no> Hi, I specify the use of utf-8 like this in the top of my document: . . \usepackage [utf-8] {inputenc} . . Best regards, Kjell Are On 11. sep. 2007, at 08.06, Allan Odgaard wrote: > On 10/09/2007, at 10:19, Kjell Are Refsvik wrote: > >> Just got a new machine and had to reinstall the file system and >> all my apps, among those TextMate and the LaTex system (CTAN). >> >> Opening a previously made latex file and trying to compile it, I >> get the following error message: >> >> --- >> [...] >> ! LaTeX Error: File `utf-8.def' not found. >> >> master_project_outline.log >> --- >> >> Would appreciate it very much if someone could drop me a line and >> tell me how to make TextMate aware of the utf-8.def file. > > How do you specify utf8 in the top of your document? iirc there has > been two packages for this, where one is phased out now. > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From cskiadas at gmail.com Tue Sep 11 11:23:59 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 07:23:59 -0400 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> Message-ID: On Sep 11, 2007, at 1:29 AM, Alain Matthes wrote: > > Le 11 sept. 07 ? 03:11, Brad Miller a ?crit : > >> >> Then I don't understand very well why all the part about "lstlisting" >> >> "lstlisting" don't work with utf8 and why it is not possible to make >> this work outside text.tex.latex ? >> (perhaps it is not possible ?) >> I suppose I am partially to blame for that, since I worked on the >> grammar early on, and I do a lot with lstlisting in my writing. >> Why is this a problem for you? >> > > hello > > No you are not to blame and I want to say that your work is fine > and it's a real pleasure to work with TexTMate on LaTeX. But I now > I've a little time to see what there is in the grammar and to make > a theme for LaTeX. > > I know that "lstlisting" is sometimes very important for authors > but we can say the same for a lot of packages. > My english is poor so perhaps my question is difficult to understand : > > I would to know how is managed the bundle : > > There parts like > > latex > tex > tex.math > > now if I want to create an extension for that with > > grammar (keywords) for pgf/tikz or > calc,ifthen,xkeyval ( for those who make packages)% i'm not sure of > my english here !! > pstricks etc... > > I would like to know if you have a method (project ??) and how to add > grammar . > > I can make my personnal latex bundle but i would prefer to make > something useful for every one (it's possible!) > > Regards Alain Though I'm still not entirely sure what the question is, I'll try to answer it. The LaTeX bundle contains the following grammars: TeX TeX Math LaTeX LaTeX Beamer LaTex Memoir 1) The TeX grammar contains items that should be valid in any system based on TeX. (For instance a grammar for ConTeXt should probably be including this grammar.) 2) The TeX Math grammar contains commands that are used in math mode. It is included in other grammars whenever they have to enter math mode. Typically one would create just a repository rule in a grammar for something like that, instead of a brand new language, but we needed to be able to call this grammar from lots of other grammars, so we had to make it into a separate grammar. 3) The LaTeX grammar is the basic grammar. It includes the TeX grammar and adds all the LaTeX specific stuff. In particular, it adds the \[ ... \] and \( ... \) math modes, and hence needs direct access to the TeX Math bundle, which it includes at those points. (This is why we could not simply have TeX Math as a repository in the TeX grammar, because then the LaTeX grammar couldn't call it.) 4) For specialized document classes, at this point in time, we simply create a new grammar that includes the LaTeX grammar and adds its own specific stuff. (This might become simpler/better in TM 2.0). Examples of this are the Beamer and Memoir grammars. 5) For commands in particular packages, we typically would add those to the LaTeX grammar. Just make the additions you want to the grammar and send it to us, and we would add them. (Or consult with us on what changes you think are needed.). So for adding specific package commands, this is the option you should aim for. 6) For working on sty files however, ideally we would have a different grammar. This grammar would include the LaTeX grammar in it, and add all the stuff that package authors would need. So for a "package authors" grammar, this is the option you should aim for. Hope this helps you get started, please feel free to ask more questions. The structure of the LaTeX bundle is admittedly not the simplest in the world, and the vastness and free structure of LaTeX is probably partly to blame. Haris Skiadas Department of Mathematics and Computer Science Hanover College From reinaldo.opus at gmail.com Tue Sep 11 13:10:14 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 14:10:14 +0100 Subject: [TxMt] TODO bundle Message-ID: <88e1f4d00709110610t77862a11v781560c36d5e9d20@mail.gmail.com> Hi Team. Congratulations for thelist. It is becoming an amazing repository!! About textmate, I have a TODO bundle question. After typed fixme or changed + TAB, I cannot obtain the same behaviour obtained when I type todo + TAB. For instance, After typed todo + TAB, the content is changed to % TODO But fixme + TAB or changed + TAB Nothing is changed. Could you please help with this? Thanks in advance, Rei From reinaldo.opus at gmail.com Tue Sep 11 13:15:53 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 06:15:53 -0700 (PDT) Subject: [TxMt] TODO bundle Message-ID: <12614333.post@talk.nabble.com> Hi Team. Congratulations for you. It is becoming an amazing and helpful repository!! About Textmate, I have a TODO bundle question. After typed fixme or changed + TAB, I cannot obtain the same behaviour obtained when I type todo + TAB. For instance, After typed todo + TAB, the content is changed to % TODO But fixme + TAB or changed + TAB Nothing is changed. Could you please help with this? Thanks in advance, Rei -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12614333 Sent from the textmate users mailing list archive at Nabble.com. From dd at dyce.com Tue Sep 11 13:52:45 2007 From: dd at dyce.com (Richard Dyce) Date: Tue, 11 Sep 2007 14:52:45 +0100 Subject: [TxMt] TODO bundle In-Reply-To: <12614333.post@talk.nabble.com> References: <12614333.post@talk.nabble.com> Message-ID: <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> Reinaldo, Try this. ? Just a matter of search and replacing todo with fixme in a duplicate of the TODO:insert ToDO List bundle item. Working one up for 'changed' should be just as simple ;-) R -- Richard Dyce MA (Cantab.) MBCS MIET http://dyce.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Insert FIXME List.tmCommand Type: application/octet-stream Size: 1065 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 bytes Desc: not available URL: From reinaldo.opus at gmail.com Tue Sep 11 14:20:00 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 07:20:00 -0700 (PDT) Subject: [TxMt] TODO bundle In-Reply-To: <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> Message-ID: <12615871.post@talk.nabble.com> Hi Richard, Thanks for answering so fast. If I understood your idea, you told to replace, in this manner: Maker: FIXME from old Pattern: /FIX ?ME[\s,:]+(\S.*)$/i to new Pattern: /FIXME[\s,:]+(\S.*)$/i and update it in console $ osascript -e 'tell app "TextMate" to reload bundles' but nothing changed :( -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12615871 Sent from the textmate users mailing list archive at Nabble.com. From mjijackson at gmail.com Tue Sep 11 14:42:16 2007 From: mjijackson at gmail.com (Michael Jackson) Date: Tue, 11 Sep 2007 08:42:16 -0600 Subject: [TxMt] Delete extra space on save? In-Reply-To: <204D802F-D857-4707-89EE-9B74DDD35680@sb.org> References: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> <204D802F-D857-4707-89EE-9B74DDD35680@sb.org> Message-ID: On Sep 11, 2007, at 3:14 AM, Kevin Ballard wrote: > Try editing the macro plist by hand to add save: as an action. > Thanks for the idea. I tried but I can't seem to get it to work. Here's what my macro plist looks like: commands argument action replaceAll findInProjectIgnoreCase findString [\s\t[^\n]]+\n ignoreCase regularExpression replaceAllScope document replaceString \n wrapAround command findWithOptions: argument action save command save: keyEquivalent @e name Remove Extra Space uuid 827CEB8B-09BD-49A5-948E-02E4A56D11C7 I added the second node myself (just following the pattern) but it doesn't work. Is there something wrong with my syntax? Have you gotten this to work? Thanks, Michael -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2452 bytes Desc: not available URL: From sven.axelsson at gmail.com Tue Sep 11 15:09:04 2007 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Tue, 11 Sep 2007 17:09:04 +0200 Subject: [TxMt] Delete extra space on save? In-Reply-To: References: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> <204D802F-D857-4707-89EE-9B74DDD35680@sb.org> Message-ID: On 11/09/2007, Michael Jackson wrote: > > On Sep 11, 2007, at 3:14 AM, Kevin Ballard wrote: > > > Try editing the macro plist by hand to add save: as an action. > > > > Thanks for the idea. I tried but I can't seem to get it to work. > Here's what my macro plist looks like: > > > www.apple.com/DTDs/PropertyList-1.0.dtd"> > > > commands > > > argument > > action > replaceAll > findInProjectIgnoreCase > > findString > [\s\t[^\n]]+\n > ignoreCase > > regularExpression > > replaceAllScope > document > replaceString > \n > wrapAround > > > command > findWithOptions: > > > argument > > action > save > > command > save: > > > keyEquivalent > @e > name > Remove Extra Space > uuid > 827CEB8B-09BD-49A5-948E-02E4A56D11C7 > > > > I added the second node myself (just following the pattern) > but it doesn't work. Is there something wrong with my syntax? Have > you gotten this to work? > > Thanks, > > Michael This is what I use. bundleUUID 4D3A1152-0146-4398-B0EE-A5D8DC59A82E commands argument beforeRunningCommand nop command perl -pe 's/[\t ]+$//g' fallbackInput document input selection name Remove Trailing Spaces in Document / Selection output replaceSelectedText uuid 0F8C1F78-6E4C-11D9-91AF-000D93589AF6 command executeCommandWithOptions: argument beforeRunningCommand saveActiveFile input none output discard command executeCommandWithOptions: keyEquivalent ^~@s name Strip trailing and save uuid 89723925-4AB6-4DC2-939F-E8A0188CDEF7 -- Sven Axelsson From dd at dyce.com Tue Sep 11 15:15:20 2007 From: dd at dyce.com (Richard Dyce) Date: Tue, 11 Sep 2007 16:15:20 +0100 Subject: [TxMt] TODO bundle In-Reply-To: <12615871.post@talk.nabble.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> Message-ID: <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> No. ;-) Nothing so drastic! Go to the bundle editor Open then ToDo bundle Create a duplicate of the 'Insert TODO List' command Rename it 'Insert CHANGED List' Edit the command replacing TODO with CHANGED Change the tab trigger to 'changed' Click on another item in the list. Try it out. It worked for me. Although, probably I have totally misunderstood your question, so feel free to ignore this. ;-) R -- Richard Dyce MA (Cantab.) MBCS MIET http://dyce.com -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2405 bytes Desc: not available URL: From reinaldo.opus at gmail.com Tue Sep 11 15:37:37 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 08:37:37 -0700 (PDT) Subject: [TxMt] TODO bundle In-Reply-To: <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> Message-ID: <12617575.post@talk.nabble.com> Hi Richard, PERFECT answer. Thanks of all. Rei -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12617575 Sent from the textmate users mailing list archive at Nabble.com. From reinaldo.opus at gmail.com Tue Sep 11 15:49:15 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 08:49:15 -0700 (PDT) Subject: [TxMt] TODO bundle In-Reply-To: <12617575.post@talk.nabble.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> <12617575.post@talk.nabble.com> Message-ID: <12617739.post@talk.nabble.com> How can I update(share) these changes in the TODO.bundle at server? Rei -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12617739 Sent from the textmate users mailing list archive at Nabble.com. From alain.matthes at mac.com Tue Sep 11 15:50:28 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 17:50:28 +0200 Subject: [TxMt] UTF-8.def not found... In-Reply-To: <4E5EB4A6-4A58-4DE0-B0C0-7D1C8921777D@online.no> References: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> <4E5EB4A6-4A58-4DE0-B0C0-7D1C8921777D@online.no> Message-ID: Le 11 sept. 07 ? 12:42, Kjell Are Refsvik a ?crit : > Hi, > > I specify the use of utf-8 like this in the top of my document: > > . > . > \usepackage [utf-8] {inputenc} > ok it's a wrong way ! \usepackage[utf8]{inputenc} is one of the correct methodes Regards Alain From mjijackson at gmail.com Tue Sep 11 16:09:57 2007 From: mjijackson at gmail.com (Michael Jackson) Date: Tue, 11 Sep 2007 10:09:57 -0600 Subject: [TxMt] Delete extra space on save? In-Reply-To: References: <16DA4318-E6D3-45F4-A63F-C60BC538146D@whitefalls.org> <204D802F-D857-4707-89EE-9B74DDD35680@sb.org> Message-ID: <31FC29D4-165F-4C23-8CBD-72988427B813@gmail.com> On Sep 11, 2007, at 9:09 AM, Sven Axelsson wrote: > > argument > > beforeRunningCommand > saveActiveFile > input > none > output > discard > > command > executeCommandWithOptions: > Excellent! This did the trick. Thanks! Michael -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2452 bytes Desc: not available URL: From alain.matthes at mac.com Tue Sep 11 17:00:16 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 19:00:16 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> Message-ID: <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Le 11 sept. 07 ? 13:23, Charilaos Skiadas a ?crit : > 3) The LaTeX grammar is the basic grammar. It includes the TeX > grammar and adds all the LaTeX specific stuff. In particular, it > adds the \[ ... \] and \( ... \) math modes, and hence needs direct > access to the TeX Math bundle, which it includes at those points. > (This is why we could not simply have TeX Math as a repository in > the TeX grammar, because then the LaTeX grammar couldn't call it.) Firstly, Thanks for this answer. You understand exactly my problem I need some precisions about patterns and include: include = 'text.tex'; i understand this one but the next are not very clear for me include = '$self'; include = '$base'; > 4) For specialized document classes, at this point in time, we > simply create a new grammar that includes the LaTeX grammar and > adds its own specific stuff. (This might become simpler/better in > TM 2.0). Examples of this are the Beamer and Memoir grammars. Perhaps I need to wait for TM 2 ! Questions about Beamer 1) In text.tex.latex we have : firstLineMatch = '^\\documentclass(?!.* \{beamer\})'; and in 'text.tex.latex.beamer : firstLineMatch = '^\\documentclass(\ [.*\])?\{beamer\}'; > > 5) For commands in particular packages, we typically would add > those to the LaTeX grammar. I'm not sure that's a good way because i don't use listings (pb with utf8) and I prefer pgf/tikz to pstricks. I would like to know if it's possible to enable or disable some parts. I'm not sure but I think that's a big and long grammar is not good for the speed to match a long text. That is why , I made a remark about "listings" because it's not "pure" latex. There is now an excellent way for the preferences with a panel, we can imagine a panel for the grammar package to add : beamer, memoir, xcolor, listings, pstricks, tikz, amsmath etc... and for the author : calc ifthen etex multido Or a file in the preferences > Just make the additions you want to the grammar and send it to us, > and we would add them. (Or consult with us on what changes you > think are needed.). So for adding specific package commands, this > is the option you should aim for. for text.tex.latex I've make somme additions : {name = 'meta.preamble.latex'; contentName = 'support.class.latex'; begin = '((\\)(?:usepackage|documentclass|RequirePackage| usetikzlibrary))(?:(\[)([^\]]*)(\]))?(\{)'; and some modifications {name = 'constant.numeric.math.latex'; match = '((\+|-)?)(([0-9]*[\.][0-9]+)|[0-9]+)'; because There is constant.numeric.math.tex and no onstant.numeric.math.latex and i want the sign + or - in the same color ! for text.tex With keyword.control.tex, I've a problem with some terms like \if at tkz@visible or \ifTKZ at tkzInit@NO . The symbol @ is a problem and in a package author there a lot of terms with @. I add name = 'keyword.operator.tex' with begingroup, endgroup, global def edef xdef gdef expandafter newbox newdimen newcount advance multiply divide etc... but i'm not sure like keyword.control.tex ( with if else fi) that's necessary to a classic user of TeX. When you include text.tex in text.tex.latex, it's not a good thing. there are good package to avoid the use of if etc... for example ifthen A latex user must use \ifthenelse \newboolean \setboolean \isodd \whiledo \equal \lengthtest all these macros are in Latex and not in tex. Important keywords in LaTex are newcommand, renewcommand, newcounter, setcounter, newlength, setlength, addtolength and some keywords tex are also necessary : advance multiply divide etc... I'm sorry because a lot of ideas are not in a good order. Regards Alain From bmiller at luther.edu Tue Sep 11 17:27:43 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 11 Sep 2007 12:27:43 -0500 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Message-ID: Alain, Thanks for the good ideas! So I think what you are saying is that it would be nice to conditionally include some grammars as a part of the latex grammar depending on which packages you are using. This would have some very good benefits: 1. It would keep package grammars like lstlistings from making the plain latex grammar overly long. 2. This might have some speed benefits for editing as well. 3. It would also make it easy for people to incrementally add new scopes to the grammar that are specific to individual packages without having to modify the plain latex grammar. This is great. But as far as I know this is not possible in the current version of TM. Today we have to do things the other way around For example I would have to make an lstlistings grammar that included latex and tex. But this is not good at all since it only would allow me to have the specialized grammar for one particular package. So, until we get to TM 2.0 or later, or someone tells us how to conditionally include grammars, we have to keep adding to the latex grammar for each package that we want to have scoped. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/11/07, Alain Matthes wrote: > > > Le 11 sept. 07 ? 13:23, Charilaos Skiadas a ?crit : > > > 3) The LaTeX grammar is the basic grammar. It includes the TeX > > grammar and adds all the LaTeX specific stuff. In particular, it > > adds the \[ ... \] and \( ... \) math modes, and hence needs direct > > access to the TeX Math bundle, which it includes at those points. > > (This is why we could not simply have TeX Math as a repository in > > the TeX grammar, because then the LaTeX grammar couldn't call it.) > > Firstly, Thanks for this answer. You understand exactly my problem > > I need some precisions about patterns and include: > > include = 'text.tex'; i understand this one but the next are not very > clear for me > > include = '$self'; > > include = '$base'; > > > 4) For specialized document classes, at this point in time, we > > simply create a new grammar that includes the LaTeX grammar and > > adds its own specific stuff. (This might become simpler/better in > > TM 2.0). Examples of this are the Beamer and Memoir grammars. > > Perhaps I need to wait for TM 2 ! > > Questions about Beamer > > 1) In text.tex.latex we have : firstLineMatch = '^\\documentclass(?!.* > \{beamer\})'; > > and in 'text.tex.latex.beamer : firstLineMatch = '^\\documentclass(\ > [.*\])?\{beamer\}'; > > > > 5) For commands in particular packages, we typically would add > > those to the LaTeX grammar. > > I'm not sure that's a good way because i don't use listings (pb with > utf8) and I prefer pgf/tikz to pstricks. > I would like to know if it's possible to enable or disable some > parts. I'm not sure but I think that's a big and long grammar is not > good for the speed to match a long text. That is why , I made a > remark about "listings" because it's not "pure" latex. > > There is now an excellent way for the preferences with a panel, we > can imagine a panel for the grammar package to add : > beamer, memoir, xcolor, listings, pstricks, tikz, amsmath etc... and > for the author : calc ifthen etex multido > > Or a file in the preferences > > > Just make the additions you want to the grammar and send it to us, > > and we would add them. (Or consult with us on what changes you > > think are needed.). So for adding specific package commands, this > > is the option you should aim for. > > for text.tex.latex > > I've make somme additions : > > {name = 'meta.preamble.latex'; > contentName = 'support.class.latex'; > begin = '((\\)(?:usepackage|documentclass|RequirePackage| > usetikzlibrary))(?:(\[)([^\]]*)(\]))?(\{)'; > > and some modifications > > {name = 'constant.numeric.math.latex'; > match = '((\+|-)?)(([0-9]*[\.][0-9]+)|[0-9]+)'; > > because There is constant.numeric.math.tex and no > onstant.numeric.math.latex and i want the sign + or - in the same > color ! > > for text.tex > > With keyword.control.tex, I've a problem with some terms like > \if at tkz@visible or \ifTKZ at tkzInit@NO . The symbol @ is a problem and > in a package author there a lot of terms with @. > > I add name = 'keyword.operator.tex' > > with begingroup, endgroup, global def edef xdef gdef expandafter > newbox newdimen newcount advance multiply divide etc... > > but i'm not sure like keyword.control.tex ( with if else fi) that's > necessary to a classic user of TeX. > > When you include text.tex in text.tex.latex, it's not a good thing. > there are good package to avoid the use of if etc... > for example ifthen > > A latex user must use \ifthenelse \newboolean \setboolean \isodd > \whiledo \equal \lengthtest all these macros are in Latex and not in > tex. > > Important keywords in LaTex are newcommand, renewcommand, newcounter, > setcounter, newlength, setlength, addtolength and some keywords tex > are also necessary : advance multiply divide etc... > > I'm sorry because a lot of ideas are not in a good order. > > Regards Alain > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From refsvik at online.no Tue Sep 11 18:16:10 2007 From: refsvik at online.no (Kjell Are Refsvik) Date: Tue, 11 Sep 2007 20:16:10 +0200 Subject: [TxMt] UTF-8.def not found... In-Reply-To: References: <3ECEBFC0-CC69-43B8-BC4E-F5D974FB4E92@online.no> <91C6E415-6D64-4A9B-B192-3C929A68C9E1@macromates.com> <4E5EB4A6-4A58-4DE0-B0C0-7D1C8921777D@online.no> Message-ID: Sweet lord. You are right. Thanks! Kjell Are Norway On 11. sep. 2007, at 17.50, Alain Matthes wrote: > > Le 11 sept. 07 ? 12:42, Kjell Are Refsvik a ?crit : > >> Hi, >> >> I specify the use of utf-8 like this in the top of my document: >> >> . >> . >> \usepackage [utf-8] {inputenc} >> > > ok it's a wrong way ! > > \usepackage[utf8]{inputenc} is one of the correct methodes > > Regards Alain > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From cskiadas at gmail.com Tue Sep 11 18:52:04 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 14:52:04 -0400 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Message-ID: <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> On Sep 11, 2007, at 1:00 PM, Alain Matthes wrote: > > Le 11 sept. 07 ? 13:23, Charilaos Skiadas a ?crit : > >> 3) The LaTeX grammar is the basic grammar. It includes the TeX >> grammar and adds all the LaTeX specific stuff. In particular, it >> adds the \[ ... \] and \( ... \) math modes, and hence needs >> direct access to the TeX Math bundle, which it includes at those >> points. (This is why we could not simply have TeX Math as a >> repository in the TeX grammar, because then the LaTeX grammar >> couldn't call it.) > > Firstly, Thanks for this answer. You understand exactly my problem > > I need some precisions about patterns and include: > > include = 'text.tex'; i understand this one but the next are not > very clear for me > > include = '$self'; > > include = '$base'; $self and $base are very subtle. The idea is the following. Let's consider a rule in the TeX grammar, for instance: { name = 'meta.group.braces.tex'; begin = '\{'; end = '\}'; captures = { 0 = { name = 'punctuation.section.group.tex'; }; }; patterns = ( { include = '$base'; } ); }, Now this rule is supposed to match pairs of braces. Now, inside the braces everything TeX would go. So with pattern = ( {include= '$base'; } ); we tell TM that between the begin and end part it should use all the rules in the TeX bundle for it. Strictly speaking, I just lied. This is what $self would do. To understand the difference, let's move one step further. We are now in the LaTeX grammar, and we include the TeX grammar in it. Now the TM parser encounters the open brace. It looks it the LaTeX grammar rules, finds nothing, and then moves on to the TeX grammar, where it finds the above rule. It start matching the rule, and now needs to know what is allowed to be used between the braces: 1) $base means everything from the original, LaTeX, bundle (which includes the TeX bundle). 2) $self means only stuff from the TeX bundle (where the rule occured). In most cases in fact $base is what we want, I think most occurences of $self in the LaTeX grammars should be changed to $base. >> 4) For specialized document classes, at this point in time, we >> simply create a new grammar that includes the LaTeX grammar and >> adds its own specific stuff. (This might become simpler/better in >> TM 2.0). Examples of this are the Beamer and Memoir grammars. > > Perhaps I need to wait for TM 2 ! > > Questions about Beamer > > 1) In text.tex.latex we have : firstLineMatch = '^\\documentclass > (?!.*\{beamer\})'; > > and in 'text.tex.latex.beamer : firstLineMatch = '^\\documentclass(\ > [.*\])?\{beamer\}'; Right, Beamer files are distinguished by the occurence of "\documentclass{beamer}" in the first line (ideally it should be the first 20 lines or something like that, but we can't do this atm). So we explicitly rule out beamer as a class name from the plain text.tex.latex, so that it gets picked up by the Beamer grammar. We should probably add memoir there. >> >> 5) For commands in particular packages, we typically would add >> those to the LaTeX grammar. > > I'm not sure that's a good way because i don't use listings (pb > with utf8) and I prefer pgf/tikz to pstricks. > I would like to know if it's possible to enable or disable some > parts. I'm not sure but I think that's a big and long grammar is > not good for the speed to match a long text. That is why , I made a > remark about "listings" because it's not "pure" latex. > > There is now an excellent way for the preferences with a panel, we > can imagine a panel for the grammar package to add : > beamer, memoir, xcolor, listings, pstricks, tikz, amsmath etc... > and for the author : calc ifthen etex multido > Or a file in the preferences There is at the moment no easy way to dynamically include grammars. The speed hit from a large grammar is actually minimal, I believe. Also we should separate between classes and packages. Packages are just like libraries in other languages, the commands they provide should just be part of the language (The equivalent in Ruby would be requiring a special language just so that we can match the methods of the String class, or something like that). Also, some packages/ classes automatically load other packages, and it would be hard to detect that and "switch mode". Do you really want, whenever you have a document and you add a new \usepackage to it, to have to go to a preferences setting and tell TM that for this file you want it to recognize the keywords from this particular package? TM should be just recognizing the keywords right away. >> Just make the additions you want to the grammar and send it to us, >> and we would add them. (Or consult with us on what changes you >> think are needed.). So for adding specific package commands, this >> is the option you should aim for. > > for text.tex.latex > > I've make somme additions : > > {name = 'meta.preamble.latex'; > contentName = 'support.class.latex'; > begin = '((\\)(?:usepackage|documentclass|RequirePackage| > usetikzlibrary))(?:(\[)([^\]]*)(\]))?(\{)'; > > and some modifications > > {name = 'constant.numeric.math.latex'; > match = '((\+|-)?)(([0-9]*[\.][0-9]+)|[0-9]+)'; > > because There is constant.numeric.math.tex and no > onstant.numeric.math.latex and i want the sign + or - in the same > color ! > > for text.tex > > With keyword.control.tex, I've a problem with some terms like > \if at tkz@visible or \ifTKZ at tkzInit@NO . The symbol @ is a problem > and in a package author there a lot of terms with @. > > I add name = 'keyword.operator.tex' > > with begingroup, endgroup, global def edef xdef gdef expandafter > newbox newdimen newcount advance multiply divide etc... > > but i'm not sure like keyword.control.tex ( with if else fi) that's > necessary to a classic user of TeX. Thanks for these additions, I'll get them in when I get a chance. > When you include text.tex in text.tex.latex, it's not a good thing. > there are good package to avoid the use of if etc... > for example ifthen I am not following you here, why is it not a good thing? > A latex user must use \ifthenelse \newboolean \setboolean \isodd > \whiledo \equal \lengthtest all these macros are in Latex and not > in tex. > Oh these are not tex? Ok, we can fix those, is that the complete list? > Important keywords in LaTex are newcommand, renewcommand, > newcounter, setcounter, newlength, setlength, addtolength and some > keywords tex are also necessary : advance multiply divide etc... > Basically I don't have a complete list of the commands in LaTeX, so we just need to keep on adding on our existing list. > I'm sorry because a lot of ideas are not in a good order. > > Regards Alain Haris Skiadas Department of Mathematics and Computer Science Hanover College From cskiadas at gmail.com Tue Sep 11 18:57:55 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 14:57:55 -0400 Subject: [TxMt] TODO bundle In-Reply-To: <12617739.post@talk.nabble.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> <12617575.post@talk.nabble.com> <12617739.post@talk.nabble.com> Message-ID: Hi Rei, Each bundle has a maintainer, you would typically email them for additions to the bundle. To find out who the maintainer is, open the bundle up in TM as a project (it is just a folder after all, so just drag and drop it onto the TM icon), and look at the info.plist file. At the very top you will find something like: contactEmailRot13 Fbelh at freravgl.qr contactName Stanley Rost So this gives you the name of the maintainer, and also the email address encoded in ROT 13. To unencode it, select it and execute the "Rot 13 Selection" command from the Mail bundle. (Should this perhaps be in the Text bundle instead? ) On Sep 11, 2007, at 11:49 AM, Reinaldo wrote: > > > How can I update(share) these changes in the TODO.bundle at server? > > Rei Haris Skiadas Department of Mathematics and Computer Science Hanover College PS: I haven't forgotten your email about the book, I need to reply to it but things have gotten too hectic From alain.matthes at mac.com Tue Sep 11 19:43:34 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 21:43:34 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Message-ID: Le 11 sept. 07 ? 19:27, Brad Miller a ?crit : > Alain, > > Thanks for the good ideas! > > So I think what you are saying is that it would be nice to > conditionally include some grammars as a part of the latex grammar > depending on which packages you are using. This would have some > very good benefits: 1. It would keep package grammars like > lstlistings from making the plain latex grammar overly long. > 2. This might have some speed benefits for editing as well. > 3. It would also make it easy for people to incrementally add new > scopes to the grammar that are specific to individual packages > without having to modify the plain latex grammar. > > This is great. But as far as I know this is not possible in the > current version of TM. > > Today we have to do things the other way around For example I > would have to make an lstlistings grammar that included latex and > tex. But this is not good at all since it only would allow me to > have the specialized grammar for one particular package. > > So, until we get to TM 2.0 or later, or someone tells us how to > conditionally include grammars, we have to keep adding to the latex > grammar for each package that we want to have scoped. > yes, you made a correct synthesis of my ideas. But why conditionally include grammars ?? I'm not a specialist of script, regex etc.... but in a first time it's possible to build some grammars like text.tex text.tex.math text.tex.beamer text.tex.listings text.tex.tikz etc.... And to finish the text.tex.latex by some include like include = 'text.tex.listings'; ? Each user can modify the list of the package grammars ! Perhaps I'm wrong ... About listings, why make a grammar to this package ? There is a way to turn around the difficulties. \lstinputlisting[key=value list]{hfile name} example : \usepackage{listings} \lstset{language=C} ... \begin{document} \lstinputlisting{main.c} \end{document} or you can make that \lstinputlisting[first=10,last=50]{main.c} It is the only way for me to use listings because I'm french (I need only to include latex code but with accents) and it's impossible to use listings with utf8 actually, so I need to save file with latin1 encoding and to use two encodings latin1 and utf8 is the same file ! (very bad) I suppose that you need to include java code or python code but there are scopes to verify the syntax of these languages. So why waste time with a difficult grammar and not include the sources of codes. Regards Alain From alain.matthes at mac.com Tue Sep 11 20:17:50 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 11 Sep 2007 22:17:50 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> Message-ID: <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> Le 11 sept. 07 ? 20:52, Charilaos Skiadas a ?crit : > >> When you include text.tex in text.tex.latex, it's not a good >> thing. there are good package to avoid the use of if etc... >> for example ifthen > > I am not following you here, why is it not a good thing? Sorry but here it'not very easy with my poor english language. In fr.comp.text.tex we have a lot of debates about this. When you use Latex, it is preferable to avoid to use certain macros of Tex (User' guide of Leslie Lamport page 204). The first answer is the syntax, the second, some macros TeX are different with the same name in tex and latex. For example tex : newcount latex : \newcounter{} tex : newdimen latex \newlength{} And latex provides some other macros \setcounter{}{} \setlength{}{} \addtocounter{}{} \addtolength{}{} etc... With ifthen package you have \ifthenelse{test}{true code}{false code} you have \equal{}{} \lengthtest{}{} \boolean{} \newboolean{} and \setboolean{}{} \isodd \whiledo{}{} \and \or \not \( \) I think it's important to have this package in the language grammar. > >> A latex user must use \ifthenelse \newboolean \setboolean \isodd >> \whiledo \equal \lengthtest all these macros are in Latex and not >> in tex. >> > Oh these are not tex? Ok, we can fix those, is that the complete list? > I have begin a list of all the macros of TeX and LaTeX with the most important packages, if you want I can send it to you >> Important keywords in LaTex are newcommand, renewcommand, >> newcounter, setcounter, newlength, setlength, addtolength and some >> keywords tex are also necessary : advance multiply divide etc... >> > > Basically I don't have a complete list of the commands in LaTeX, so > we just need to keep on adding on our existing list. What is the best way to send the lists of macros (useful also for the completion) Regards Alain From bmiller at luther.edu Tue Sep 11 21:18:37 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 11 Sep 2007 16:18:37 -0500 Subject: [TxMt] Latex Bundle grammar In-Reply-To: References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Message-ID: On 9/11/07, Alain Matthes wrote: > > > But why conditionally include grammars ?? Because then you could base which grammars are included based on which packages are included in each document. Suppose that this actually worked: { name = 'meta.package.latex'; match = '^\usepackage{lstlisting}' patterns = ( { include = 'text.tex.latex.lstlisting'; } ); }, or even better { name = 'meta.package.latex'; match = '^\usepackage{(lstlisting)}' patterns = ( { include = 'text.tex.latex.$1'; } ); }, I'm not a specialist of script, regex etc.... but in a first time > it's possible to build some grammars like > > text.tex > text.tex.math > text.tex.beamer > text.tex.listings > text.tex.tikz etc.... > > And to finish the text.tex.latex by some include like > > include = 'text.tex.listings'; ? > > Each user can modify the list of the package grammars ! I think this is where we differ. I don't think we want each user to be modifying the latex grammar to decide which packages to include. For one thing it will be different for each different project. So, I"m either going to end up including everything all the time, or I'm going to drive myself crazy modifying the latex grammar every time I work on a different writing project. Plus most users don't want to go anywhere near editing the grammar file! > > About listings, why make a grammar to this package ? Because lstlistings is the best package I've found for including source code, and since I'm writing CS textbooks, I do that a lot. If you can recommend a better one I would be happy to look at it! But really, most of the grammar for the package is only concerned with then command and then including the grammar for the particular source code that is inside the lstlistings environment. There is a way to turn around the difficulties. > > \lstinputlisting[key=value list]{hfile name} > > example : > > \usepackage{listings} > \lstset{language=C} > ... > \begin{document} > \lstinputlisting{main.c} > \end{document} > > or you can make that > > \lstinputlisting[first=10,last=50]{main.c} I know about this feature of lstlisting but I like to have the code right there to look at as I'm writing. I guess its a writing style issue but I tried your method for a while and I did not like it at all. It is the only way for me to use listings because I'm french (I need > only to > include latex code but with accents) and it's impossible > to use listings with utf8 actually, so I need to save file with > latin1 encoding > and to use two encodings latin1 and utf8 is the same file ! (very bad) I don't understand about the problem with utf8. My latex source files are all encoded as utf8 documents and I don't have any problem with lstlistings. I suppose that you need to include java code or python code but there > are scopes > to verify the syntax of these languages. So why waste time with a > difficult grammar and not > include the sources of codes. Again, the lstlisting grammar includes source.java or source.python. In fact by my calculations the number of lines in the latex grammar dedicated to the listing package is only 47 lines out of 494 total. Regards Alain > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From reinaldo.opus at gmail.com Tue Sep 11 21:53:57 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 14:53:57 -0700 (PDT) Subject: [TxMt] TODO bundle In-Reply-To: References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> <12617575.post@talk.nabble.com> <12617739.post@talk.nabble.com> Message-ID: <12624685.post@talk.nabble.com> Hi Haris, Good to see you! and Thanks! about decode: I found ROT 13 but I was not happy to decode this: isDelta uuid 0B296803-7D51-11D9-859D-000D93B6E43C about book: Don't worry. I will be waiting. I think it will be a great call for TeXtmate :-) All the best, Rei Charilaos Skiadas-3 wrote: > > Hi Rei, > > Each bundle has a maintainer, you would typically email them for > additions to the bundle. To find out who the maintainer is, open the > bundle up in TM as a project (it is just a folder after all, so just > drag and drop it onto the TM icon), and look at the info.plist file. > At the very top you will find something like: > > contactEmailRot13 > Fbelh at freravgl.qr > contactName > Stanley Rost > > So this gives you the name of the maintainer, and also the email > address encoded in ROT 13. To unencode it, select it and execute the > "Rot 13 Selection" command from the Mail bundle. (Should this > perhaps be in the Text bundle instead? ) > > On Sep 11, 2007, at 11:49 AM, Reinaldo wrote: > >> >> >> How can I update(share) these changes in the TODO.bundle at server? >> >> Rei > > Haris Skiadas > Department of Mathematics and Computer Science > Hanover College > > > PS: I haven't forgotten your email about the book, I need to reply to > it but things have gotten too hectic > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > > -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12624685 Sent from the textmate users mailing list archive at Nabble.com. From cskiadas at gmail.com Tue Sep 11 21:57:11 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 17:57:11 -0400 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> Message-ID: <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> On Sep 11, 2007, at 4:17 PM, Alain Matthes wrote: > > Le 11 sept. 07 ? 20:52, Charilaos Skiadas a ?crit : >> >>> When you include text.tex in text.tex.latex, it's not a good >>> thing. there are good package to avoid the use of if etc... >>> for example ifthen >> >> I am not following you here, why is it not a good thing? > > Sorry but here it'not very easy with my poor english language. In > fr.comp.text.tex we have a lot of debates about this. > > When you use Latex, it is preferable to avoid to use certain macros > of Tex (User' guide of Leslie Lamport page 204). There is a difference between "something being preferable" and "something being invalid". If using TeX macros in LaTeX is *valid*, then our grammar should (try to) support them, regardless of whether it is recommended to do so or not. We are not trying to force users to use good code, we are merely trying to color their code as best as possible. That's why we are including the TeX grammar. > The first answer is the syntax, the second, some macros TeX are > different with the same name in tex and latex. > > For example > tex : newcount latex : \newcounter{} > tex : newdimen latex \newlength{} > > And latex provides some other macros \setcounter{}{} \setlength{}{} > \addtocounter{}{} \addtolength{}{} etc... > > > With ifthen package you have \ifthenelse{test}{true code}{false code} > > you have \equal{}{} \lengthtest{}{} \boolean{} \newboolean{} and > \setboolean{}{} \isodd > \whiledo{}{} \and \or \not \( \) > > I think it's important to have this package in the language grammar. Ok, we need to include it then, it shouldn't be hard to do. Where would I find its documentation? > >> >>> A latex user must use \ifthenelse \newboolean \setboolean \isodd >>> \whiledo \equal \lengthtest all these macros are in Latex and not >>> in tex. >>> >> Oh these are not tex? Ok, we can fix those, is that the complete >> list? >> > > I have begin a list of all the macros of TeX and LaTeX with the > most important packages, if you want I can send it to you Please do. >>> Important keywords in LaTex are newcommand, renewcommand, >>> newcounter, setcounter, newlength, setlength, addtolength and >>> some keywords tex are also necessary : advance multiply divide >>> etc... >>> >> >> Basically I don't have a complete list of the commands in LaTeX, >> so we just need to keep on adding on our existing list. > > What is the best way to send the lists of macros (useful also for > the completion) Just send them as an attached file, any format you choose will be fine, ideally make it clear what package each command is in, and whether a package automatically loads another package etc. We'll have to figure out some nice completion way since there are too many names probably, but we'll see. > Regards Alain Regarding a different grammar for each package: Most packages will really add a very small number of lines, i.e. they would have a list of commands and that's it. I'm not even sure we need a different rule for each package really in most cases. All this only concerns the syntax, i.e. what words will be colored and how. It has nothing to do with completion and such. This would be a different mechanism, and it would indeed be nice for this mechanism to recognize which packages you include in the text, and only offer completion for commands that would be in those packages. Should not be too hard to do I don't think, if we have a list of commands and what packages they come from. Haris Skiadas Department of Mathematics and Computer Science Hanover College From cskiadas at gmail.com Tue Sep 11 22:04:07 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 18:04:07 -0400 Subject: [TxMt] TODO bundle In-Reply-To: <12624685.post@talk.nabble.com> References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> <12617575.post@talk.nabble.com> <12617739.post@talk.nabble.com> <12624685.post@talk.nabble.com> Message-ID: On Sep 11, 2007, at 5:53 PM, Reinaldo wrote: > > Hi Haris, > > Good to see you! and Thanks! > > about decode: > I found ROT 13 but I was not happy to decode this: > isDelta > > uuid > 0B296803-7D51-11D9-859D-000D93B6E43C > > about book: > Don't worry. I will be waiting. I think it will be a great call for > TeXtmate > :-) > > All the best, > Ah, you have local modifications to the bundle! You need to find the version of the bundle that is inside TextMate, and/or download the bundle from the bundle repository. http://macromates.com/wiki/Main/SubversionCheckout Haris > Rei > > > > Charilaos Skiadas-3 wrote: >> >> Hi Rei, >> >> Each bundle has a maintainer, you would typically email them for >> additions to the bundle. To find out who the maintainer is, open the >> bundle up in TM as a project (it is just a folder after all, so just >> drag and drop it onto the TM icon), and look at the info.plist file. >> At the very top you will find something like: >> >> contactEmailRot13 >> Fbelh at freravgl.qr >> contactName >> Stanley Rost >> >> So this gives you the name of the maintainer, and also the email >> address encoded in ROT 13. To unencode it, select it and execute the >> "Rot 13 Selection" command from the Mail bundle. (Should this >> perhaps be in the Text bundle instead? ) >> >> On Sep 11, 2007, at 11:49 AM, Reinaldo wrote: >> >>> >>> >>> How can I update(share) these changes in the TODO.bundle at server? >>> >>> Rei >> >> Haris Skiadas >> Department of Mathematics and Computer Science >> Hanover College >> >> >> PS: I haven't forgotten your email about the book, I need to reply to >> it but things have gotten too hectic >> >> From reinaldo.opus at gmail.com Tue Sep 11 22:10:41 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Tue, 11 Sep 2007 15:10:41 -0700 (PDT) Subject: [TxMt] TODO bundle In-Reply-To: References: <12614333.post@talk.nabble.com> <02CA5524-120C-4914-8805-A200E04C1E6B@dyce.com> <12615871.post@talk.nabble.com> <50D89F02-2E7D-4010-950B-DC3B717D4F00@dyce.com> <12617575.post@talk.nabble.com> <12617739.post@talk.nabble.com> <12624685.post@talk.nabble.com> Message-ID: <12624912.post@talk.nabble.com> Hi Haris, Now I got the email ;-) Thanks for answering so fast. Rei -- View this message in context: http://www.nabble.com/TODO-bundle-tf4422505.html#a12624912 Sent from the textmate users mailing list archive at Nabble.com. From alain.matthes at mac.com Tue Sep 11 22:28:08 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 12 Sep 2007 00:28:08 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> Message-ID: <02561F92-1529-47FC-A571-F2C822E3ECF8@mac.com> Le 11 sept. 07 ? 23:18, Brad Miller a ?crit : > > > I think this is where we differ. I don't think we want each user > to be modifying the latex grammar to decide which packages to include. I don't say that. I want a "pure" latex grammar and perhaps it' not good to have some "TeX" grammar include because the syntax are different. I don't want to modify only to add; it'not exactly the same thing. Perhaps I'm wrong and it's possible to put all together ! (pstricks, metapost and pgf etc...) > For one thing it will be different for each different project. So, > I"m either going to end up including everything all the time, or > I'm going to drive myself crazy modifying the latex grammar every > time I work on a different writing project. Plus most users don't > want to go anywhere near editing the grammar file! Yes, a good argument > > About listings, why make a grammar to this package ? > > Because lstlistings is the best package I've found for including > source code, and since I'm writing CS textbooks, I do that a lot. > If you can recommend a better one I would be happy to look at it! > But really, most of the grammar for the package is only concerned > with then command and then including the grammar for the particular > source code that is inside the lstlistings environment. Yes it's the best package for including source code > > > > There is a way to turn around the difficulties. > > \lstinputlisting[key=value list]{hfile name} > > example : > > \usepackage{listings} > \lstset{language=C} > ... > \begin{document} > \lstinputlisting{main.c} > \end{document} > > or you can make that > > \lstinputlisting[first=10,last=50]{main.c} > I know about this feature of lstlisting but I like to have the > code right there to look at as I'm writing. Again a good argument . It's the same for me with the pgf package. > I guess its a writing style issue but I tried your method for a > while and I did not like it at all. > > I don't understand about the problem with utf8. My latex source > files are all encoded as utf8 documents and I don't have any > problem with lstlistings. > Have you try for example a string "?t?" ? from listings.pdf National characters If you type in such characters directly as characters of codes 128?255 and use them also in listings, let the package know it? or you?ll get really funny results. extendedchars=true allows and extendedchars=false prohibits listings from handling extended characters in listings. If you use them, you should load fontenc, inputenc and/or any other package which defines the characters. ! I have problems using inputenc together with listings. This could be a compatibility problem. Make a bug report as described in section 6 Troubleshooting. The extended characters don?t cover Arabic, Chinese, Hebrew, Japanese, and so on?specifically, any encoding which uses multiple bytes per character. Thus, if you use the a package that supports multibyte characters, such as the CJK or ucs packages for Chinese and UTF-8 characters, you must avoid letting listings process the extended characters. It is generally best to also specify extendedchars=false to avoid having listings get entangled in the other package?s extended-character treatment. % it's not easy with french texts If you do have a listing contained within a CJK environment, and want to have CJK characters inside the listing, you can place them within a comment that escapes to LATEX? see section 4.14 for how to do that. (If the listing is not inside a CJK environment, you can simply put a small CJK environment within the escaped-to-LATEXportion of the comment.) Similarly, if you are using UTF-8 extended characters in a listing, they must be placed within an escape to LATEX. Also, section 7 has a few details on how to work with extended characters in the context of A Regards Alain From alain.matthes at mac.com Tue Sep 11 22:40:35 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 12 Sep 2007 00:40:35 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> Message-ID: <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> Le 11 sept. 07 ? 23:57, Charilaos Skiadas a ?crit : > > There is a difference between "something being preferable" and > "something being invalid". If using TeX macros in LaTeX is *valid*, > then our grammar should (try to) support them, regardless of > whether it is recommended to do so or not. We are not trying to > force users to use good code, we are merely trying to color their > code as best as possible. That's why we are including the TeX grammar. Yes I understand this point of view > >> The first answer is the syntax, the second, some macros TeX are >> different with the same name in tex and latex. >> >> For example >> tex : newcount latex : \newcounter{} >> tex : newdimen latex \newlength{} >> >> > > Ok, we need to include it then, it shouldn't be hard to do. Where > would I find its documentation? Latex Companion version II >> > Just send them as an attached file, any format you choose will be > fine, ideally make it clear what package each command is in, Ok i will make this for the next week > Regarding a different grammar for each package: Most packages will > really add a very small number of lines, i.e. they would have a > list of commands and that's it. I'm not even sure we need a > different rule for each package really in most cases. Yes you are right but only two packages are very long (pstricks, pgf/ tikz) with a syntax very different and sometimes complicated. look at this code of my next package and look at it with the actual syntax. It's not very fine... %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \define at cmdkey [TKZ] {Compass} {style}{} \define at cmdkey [TKZ] {Compass} {lw}{} \define at cmdkey [TKZ] {Compass} {color}{} \define at cmdkey [TKZ] {Compass} {delta}{} \define at boolkey[TKZ] {Compass} {clock}[true]{} \presetkeys [TKZ] {Compass} {% style = solid,% lw = .4pt,% color = black,% delta = 10,% clock = false}{} \newcommand*{\tkzCompass}[1][]{\tkz at Compass[#1]}% \def\tkz at Compass[#1](#2,#3){% \setkeys[TKZ]{Compass}{#1}% \pgfpointdiff{\pgfpointanchor{#2}{center}} {\pgfpointanchor{#3}{center}} \tkz at ax=\pgf at x% \tkz at ay=\pgf at y% \pgfmathveclen{\pgf at x}{\pgf at y} \edef\tkztempLen{\pgfmathresult}% \pgfpointnormalised{\tkz at ax,\tkz at ay} \pgfmathparse{atan(\pgf at y/\pgf at x)} \edef\tkz at GammaD{\pgfmathresult}% \ifTKZ at Compass@clock% \pgfmathparse{\tkz at GammaD+180}\edef\tkz at GammaD{\pgfmathresult} \fi \draw[shift ={(#2)},% \cmdTKZ at Compass@style,% \cmdTKZ at Compass@color,% line width = \cmdTKZ at Compass@lw]% (\tkz at GammaD-\cmdTKZ at Compass@delta:\tkztempLen pt)% arc (\tkz at GammaD-\cmdTKZ at Compass@delta:% \tkz at GammaD+\cmdTKZ at Compass@delta:% \tkztempLen pt); } %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Regards Alain From cskiadas at gmail.com Tue Sep 11 23:11:09 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 11 Sep 2007 19:11:09 -0400 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> Message-ID: <6C1C3689-7929-4D63-A25E-5C5F30F0875D@gmail.com> On Sep 11, 2007, at 6:40 PM, Alain Matthes wrote: > > Le 11 sept. 07 ? 23:57, Charilaos Skiadas a ?crit : > >> >> There is a difference between "something being preferable" and >> "something being invalid". If using TeX macros in LaTeX is >> *valid*, then our grammar should (try to) support them, regardless >> of whether it is recommended to do so or not. We are not trying to >> force users to use good code, we are merely trying to color their >> code as best as possible. That's why we are including the TeX >> grammar. > > Yes I understand this point of view >> >>> The first answer is the syntax, the second, some macros TeX are >>> different with the same name in tex and latex. >>> >>> For example >>> tex : newcount latex : \newcounter{} >>> tex : newdimen latex \newlength{} >>> >>> >> >> Ok, we need to include it then, it shouldn't be hard to do. Where >> would I find its documentation? > > Latex Companion version II Well, I have that, does it offer an exhaustive list of all the commands in the package, and their syntax? Where would I look? The other question also is, what would you want the grammar to do, more than what happens now? In your example below, the functions are matched and colored (albeit they all get the same color). What else would you like to see? >>> >> Just send them as an attached file, any format you choose will be >> fine, ideally make it clear what package each command is in, > > Ok i will make this for the next week > >> Regarding a different grammar for each package: Most packages will >> really add a very small number of lines, i.e. they would have a >> list of commands and that's it. I'm not even sure we need a >> different rule for each package really in most cases. > > Yes you are right but only two packages are very long (pstricks, > pgf/tikz) with a syntax very different and sometimes complicated. Perhaps we could have those two as separate grammars, and include them via the include mechanism. > look at this code of my next package and look at it with the actual > syntax. It's not very fine... > ouch! In any case, I really think we need a dedicated grammar for package files, that would include the LaTeX grammar. At some point I need to sit down and have a look at all this wonderful work you've been doing with pgf/tikz. > > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > \define at cmdkey [TKZ] {Compass} {style}{} > \define at cmdkey [TKZ] {Compass} {lw}{} > \define at cmdkey [TKZ] {Compass} {color}{} > \define at cmdkey [TKZ] {Compass} {delta}{} > \define at boolkey[TKZ] {Compass} {clock}[true]{} > \presetkeys [TKZ] {Compass} {% > style = solid,% > lw = .4pt,% > color = black,% > delta = 10,% > clock = false}{} > > \newcommand*{\tkzCompass}[1][]{\tkz at Compass[#1]}% > \def\tkz at Compass[#1](#2,#3){% > \setkeys[TKZ]{Compass}{#1}% > \pgfpointdiff{\pgfpointanchor{#2}{center}} > {\pgfpointanchor{#3}{center}} > \tkz at ax=\pgf at x% > \tkz at ay=\pgf at y% > \pgfmathveclen{\pgf at x}{\pgf at y} > \edef\tkztempLen{\pgfmathresult}% > \pgfpointnormalised{\tkz at ax,\tkz at ay} > \pgfmathparse{atan(\pgf at y/\pgf at x)} > \edef\tkz at GammaD{\pgfmathresult}% > \ifTKZ at Compass@clock% > \pgfmathparse{\tkz at GammaD+180}\edef\tkz at GammaD{\pgfmathresult} \fi > \draw[shift ={(#2)},% > \cmdTKZ at Compass@style,% > \cmdTKZ at Compass@color,% > line width = \cmdTKZ at Compass@lw]% > (\tkz at GammaD-\cmdTKZ at Compass@delta:\tkztempLen pt)% > arc (\tkz at GammaD-\cmdTKZ at Compass@delta:% > \tkz at GammaD+\cmdTKZ at Compass@delta:% > \tkztempLen pt); > } > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% > > Regards Alain Haris Skiadas Department of Mathematics and Computer Science Hanover College From alain.matthes at mac.com Wed Sep 12 05:20:21 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 12 Sep 2007 07:20:21 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <6C1C3689-7929-4D63-A25E-5C5F30F0875D@gmail.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> <6C1C3689-7929-4D63-A25E-5C5F30F0875D@gmail.com> Message-ID: <64124B13-5419-47EF-8962-A069B674522F@mac.com> Le 12 sept. 07 ? 01:11, Charilaos Skiadas a ?crit : > > > Well, I have that, does it offer an exhaustive list of all the > commands in the package, and their syntax? Where would I look? > > The other question also is, what would you want the grammar to do, > more than what happens now? In your example below, the functions > are matched and colored (albeit they all get the same color). What > else would you like to see? In a first time, we can forget the packages like pstricks and pgf. The problem actually is all the functions have the same colour. But newcommand is pure latex, \define at cmdkey \define at boolkey \presetkeys \setkey are macros xkeyval package only for packages authors \edef \def are "pur" tex macros \draw[shift ={(#2)},\cmdTKZ at Compass@style, \cmdTKZ at Compass@color,line width = \cmdTKZ at Compass@lw]% (\tkz at GammaD-\cmdTKZ at Compass@delta:\tkztempLen pt)% arc (\tkz at GammaD-\cmdTKZ at Compass@delta:% \tkz at GammaD+\cmdTKZ at Compass@delta:% \tkztempLen pt); This a real pgf macro with the syntax : \draw[ ] (..) ( : ) arc ( : : ); it's not obvious to match but I have 3000 lines like this Perhaps on CTAN in the next days. For me , the need in a fist time it's to work on the keywords for tex and latex like \ifthenelse{}{} or \whiledo{} \def \edef The syntax is \def\namemacro{} or \edef\namemacro{} with latex it's different \newcommand{}{} todo : latex first and after perhaps tex and latex for package authors >>> at's it. I'm not even sure we need a different rule for each >>> package really in most cases. >> >> Yes you are right but only two packages are very long (pstricks, >> pgf/tikz) with a syntax very different and sometimes complicated. > > Perhaps we could have those two as separate grammars, and include > them via the include mechanism. > >> look at this code of my next package and look at it with the actual >> syntax. It's not very fine... >> > ouch! > > In any case, I really think we need a dedicated grammar for package > files, that would include the LaTeX grammar. > > At some point I need to sit down and have a look at all this > wonderful work you've been doing with pgf/tikz. > > :) wait some days to see the result Regards Alain From cskiadas at gmail.com Wed Sep 12 10:59:51 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Wed, 12 Sep 2007 06:59:51 -0400 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <64124B13-5419-47EF-8962-A069B674522F@mac.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> <6C1C3689-7929-4D63-A25E-5C5F30F0875D@gmail.com> <64124B13-5419-47EF-8962-A069B674522F@mac.com> Message-ID: <71924755-EEA5-469A-9908-55014BB4A724@gmail.com> On Sep 12, 2007, at 1:20 AM, Alain Matthes wrote: > In a first time, we can forget the packages like pstricks and pgf. > The problem actually is all the functions have the same colour. The problem of the color is a slightly different one. They are the same color because, syntactically, they are the same thing. Even if we distinguish them among their different packages, we will also need to customize the various themes to make the functions have different color depending on what package they are from. You see, the problem is that LaTeX goes in some sense against TM's syntax coloring philosophy. TM tends to color things depending on their syntactic meaning. In LaTeX most everything is a function, so they are of course all colored as functions ;). So we will need to figure out what principle we want to follow when coloring functions different from each other. I.e. how will we group the functions together? Should all functions in a package have the same color? Is there another division more meaningful? Haris Skiadas Department of Mathematics and Computer Science Hanover College From tmtxpstuff at consking.com Wed Sep 12 18:20:03 2007 From: tmtxpstuff at consking.com (marios) Date: Wed, 12 Sep 2007 21:20:03 +0300 Subject: [TxMt] View Scope command on Cutting Edge Message-ID: <46E82DD3.50105@consking.com> Hi, again and all the best. On my install the View scope command is broken, and doesn't output anything. Also Select CSS Language Scope, doesn't do anything right now although key eqiv. is correctly assigned Also: Conflicting key equivalents, don't get me the popup select form anymore in all instances. Ok, that's enough questions for now. ( I still don't have an Apple keyboard, dammed. ) regards, marios From jeffc666 at gmail.com Wed Sep 12 20:06:15 2007 From: jeffc666 at gmail.com (Jeff Clark) Date: Wed, 12 Sep 2007 16:06:15 -0400 Subject: [TxMt] Pasteboard Server Error References: Message-ID: The Pasteboard Server error that is detailed here: http:// macromates.com/wiki/Troubleshooting/CantPaste is happening every time I use TextMate. TextMate will work fine for a run or two but it quickly becomes dead to the world of copy-and-paste (other than internally). Also, contrary to what is stated in the previous link this is only a problem with TextMate. I can copy and paste between apps like Eclipse, Firefox, Mail, Pages, TextEdit, etc... without problem. Further the stated solution of restarting the pbs does not alleviate the issue. The only solution is to log out and back in or to restart completely. I had never experienced this problem until I updated to the latest version (1.5.6 (1414)) several weeks ago. Am I the only one? Does anyone have any ideas for me? Is there any info that I can provide to help diagnose this? Thanks, ------------------- Jeff Clark Fairfax City, VA http://www.nothoo.com http://www.fairfaxbirding.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.matthes at mac.com Wed Sep 12 21:52:00 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 12 Sep 2007 23:52:00 +0200 Subject: [TxMt] Latex Bundle grammar In-Reply-To: <71924755-EEA5-469A-9908-55014BB4A724@gmail.com> References: <06B5007A-21BA-42E0-8287-11B8FBB0B5CB@mac.com> <1023E2FE-E6CD-40AC-93C5-A716368DF339@mac.com> <6E6FC7D5-B0E9-400C-99B7-0AE03B933E5E@mac.com> <4192B1FC-C3DB-4E01-A135-BAFC699FB027@gmail.com> <66379CB5-094F-4D78-9B8C-632495A7156F@mac.com> <3DCDF96E-4220-4B25-A4BB-5E07DCEFFBDC@gmail.com> <9D3E7F8D-AB3B-4612-A51B-342EE7395860@mac.com> <6C1C3689-7929-4D63-A25E-5C5F30F0875D@gmail.com> <64124B13-5419-47EF-8962-A069B674522F@mac.com> <71924755-EEA5-469A-9908-55014BB4A724@gmail.com> Message-ID: <689950C0-3070-474E-8967-A46F6B87C0AB@mac.com> Le 12 sept. 07 ? 12:59, Charilaos Skiadas a ?crit : > On Sep 12, 2007, at 1:20 AM, Alain Matthes wrote: > >> In a first time, we can forget the packages like pstricks and pgf. >> The problem actually is all the functions have the same colour. > > The problem of the color is a slightly different one. They are the > same color because, syntactically, they are the same thing. Even if > we distinguish them among their different packages, we will also > need to customize the various themes to make the functions have > different color depending on what package they are from. > > You see, the problem is that LaTeX goes in some sense against TM's > syntax coloring philosophy. TM tends to color things depending on > their syntactic meaning. In LaTeX most everything is a function, so > they are of course all colored as functions ;). > > So we will need to figure out what principle we want to follow when > coloring functions different from each other. I.e. how will we > group the functions together? Should all functions in a package > have the same color? Is there another division more meaningful? > > Yes all that you write is right but i'm not enough correct with some expressions : When I write ll the functions have the same colour, I think : latex functions , tex functions. We can examine the functions : Actually, we have the same color for specific tex macro and specific latex macros. \edef \let for tex \newpage \newcommand for latex. I) The tex macros are very specific with a particular syntax but I think we need a particular color for them : two colors (minimum) a) one for the keyword.control if else fi and ifx ifdim. Actually this works fine ! b) and a second color for other keywords \def \global \let \hskip \vskip. It's possible to make several categories but only if you want to make a specific bundle dor "TeX" users. I mean someone who works only with TeX \hskip and \vskip or \def and \edef or \hbox and \vbox do not have the same significance. in my tex grammar, I add { name = 'storage.type.function.tex'; match = '(\\)(let|def|edef|xdef|gdef)\b'; captures = { 1 = { name = 'punctuation.definition.function.latex'; }; }; }, II) Latex functions : environments \begin{} \end{} etc ... for lists, pictures math environments $..$ and \[... \] we have the same with \begin and \end Special math (latex and amsmath) : matrix, align We need some categories: storage : we have { name = 'storage.type.function.latex'; match = '(\\)(newcommand|renewcommand)\b'; captures = { 1 = { name = 'punctuation.definition.function.latex'; }; }; }, it's only a problem of esthetics but there are also newcommand* and renewcommand* and DeclareRobustCommand*, \provideCommand* I try { name = 'storage.type.function.latex'; match = '(\\)((re)?(newcommand)(\*)?)'; this works well but match = '(\\)((re)?(newcommand)(\*)?)'; but I can't place \b 1) length and sapce : unit : cm, pt,em, ex cm, mm \fill \stretch \newlength \setlength \addtolength \settowidth \hspace, \hspace*, \vspace , \vspace * , \medskip, \bigskip \smallskip \addvspace 2) Boxes \mbox \makebox \fbox \framebox \usebox etc ... 3) page breaking \pagebreak \nopagebreak \newpage \clearpage 4) Cross Reference \label \ref but that is already done 5) Numbering \newcounter \setcounter \addtocounter \stepcounter \refstepcounter\value Numbering commands \arabic \roman \Roman \alph \the (counter) etc.... I make some files with macros of some packages Regards Alain -------------- next part -------------- A non-text attachment was scrubbed... Name: macros.zip Type: application/zip Size: 10205 bytes Desc: not available URL: From textmate at skurfer.com Thu Sep 13 04:21:08 2007 From: textmate at skurfer.com (Rob McBroom) Date: Thu, 13 Sep 2007 00:21:08 -0400 Subject: [TxMt] Pasteboard Server Error In-Reply-To: References: Message-ID: On Sep 12, 2007, at 4:06 PM, Jeff Clark wrote: > TextMate will work fine for a run or two but it quickly becomes > dead to the world of copy-and-paste (other than internally). I had never experienced (or heard about) this until today. I didn't realize it was a known problem, but I eventually logged out/in and that seemed to fix it. I thought it was a fluke, but now you have me worried that it will become common. Anyway, I can also confirm that it was only TextMate that couldn't be copied to or from. > I had never experienced this problem until I updated to the latest > version (1.5.6 (1414)) several weeks ago. Are you also using the clipboard module in Quicksilver? I initially thought that was to blame for mucking things up (although it's been installed for months), so I disabled it, but that obviously didn't help. However, I haven't ruled out that some sort of interaction between TextMate and the Quicksilver clipboard module caused this, which is why I bring it up. I've also updated Quicksilver recently to 3804 for what it's worth (although the Clipboard module is unchanged). For me, it seemed to break (or I first noticed the problem) after using "Edit in TextMate" from Mail. Does "Edit in TextMate" interact with the pasteboard in some way that could be relevant. --- Rob From throw-away-1 at macromates.com Thu Sep 13 04:45:47 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 13 Sep 2007 06:45:47 +0200 Subject: [TxMt] Pasteboard Server Error In-Reply-To: References: Message-ID: On 13/09/2007, at 06:21, Rob McBroom wrote: > On Sep 12, 2007, at 4:06 PM, Jeff Clark wrote: > >> TextMate will work fine for a run or two but it quickly becomes >> dead to the world of copy-and-paste (other than internally). > > I had never experienced (or heard about) this until today. I didn't > realize it was a known problem, but I eventually logged out/in and > that seemed to fix it. I thought it was a fluke, but now you have me > worried that it will become common. One of the workarounds linked to at the page is from 2004 -- so this is not a new problem. > Anyway, I can also confirm that it was only TextMate that couldn't > be copied to or from. There is a global ?pbs? process which acts as a server. Each program talks (indirectly) with this to participate in clipboard sharing. What seems to happen is that the ?pbs? process drops one of its clients. So it will seem like the client is at fault, although copy/ paste for the client still works fine. I am pretty sure this is not my fault since: 1. I never talk directly with the pbs server, I use NSPasteboard 2. Most users report that relaunching the pbs process fixes it 3. This problem has been seen for other applications 4. When TextMate is cut off, it affects everything in TextMate, i.e. also system controls, drag?n?drop, etc. >> I had never experienced this problem until I updated to the latest >> version (1.5.6 (1414)) several weeks ago. > > Are you also using the clipboard module in Quicksilver? I initially > thought that was to blame for mucking things up (although it's been > installed for months), so I disabled it, but that obviously didn't > help. However, I haven't ruled out that some sort of interaction > between TextMate and the Quicksilver clipboard module caused this, > which is why I bring it up. I've also updated Quicksilver recently > to 3804 for what it's worth (although the Clipboard module is > unchanged). There is a high probability that this is caused by something on the system [1] seeing how some users see the problem a lot, and most never ever see it (I personally have never experienced it for TextMate, but once for OmniWeb). For those who do experience it a lot, it would be good to report it at https://bugreport.apple.com/-- Apple has the source for both the pbs server, the NSPasteboard ?wrapper?, and the insight into how data is shared between applications, so they would be able to at least look at the components involved and/or request more data from affected users. [1]: Or perhaps related to the data which goes to the clipboard. From throw-away-1 at macromates.com Thu Sep 13 04:46:54 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Thu, 13 Sep 2007 06:46:54 +0200 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: <46E82DD3.50105@consking.com> References: <46E82DD3.50105@consking.com> Message-ID: <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> On 12/09/2007, at 20:20, marios wrote: > Hi, again and all the best. > > On my install the View scope command is broken, and doesn't output > anything. > Also Select CSS Language Scope, doesn't do anything right now although > key eqiv. is correctly assigned > > Also: Conflicting key equivalents, don't get me the popup select form > anymore in all instances. > [...] Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles From james.hicks at lightmaker.com Thu Sep 13 11:09:16 2007 From: james.hicks at lightmaker.com (James Hicks) Date: Thu, 13 Sep 2007 12:09:16 +0100 Subject: [TxMt] Mysterious status bar text field Message-ID: <000601c7f5f6$88ab8310$940e290a@gbrman.lightmaker.local> I keep accidentally pressing a key combo that turns the status bar into some sort of search field, what is it and what do I press to get it? -------------- next part -------------- An HTML attachment was scrubbed... URL: From bibiko at eva.mpg.de Thu Sep 13 11:30:45 2007 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Thu, 13 Sep 2007 13:30:45 +0200 Subject: [TxMt] Mysterious status bar text field In-Reply-To: <000601c7f5f6$88ab8310$940e290a@gbrman.lightmaker.local> References: <000601c7f5f6$88ab8310$940e290a@gbrman.lightmaker.local> Message-ID: <4993B7A3-6714-455E-8C37-18AADB9033EE@eva.mpg.de> On 13 Sep 2007, at 13:09, James Hicks wrote: > I keep accidentally pressing a key combo that turns the status bar > into some sort of search field, what is it and what do I press to > get it? > > It's the incremental search function CTRL+S. To escape just press ESC hans From tmtxpstuff at consking.com Thu Sep 13 17:07:05 2007 From: tmtxpstuff at consking.com (marios) Date: Thu, 13 Sep 2007 20:07:05 +0300 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> Message-ID: <46E96E39.2020903@consking.com> Allan Odgaard wrote: > On 12/09/2007, at 20:20, marios wrote: > >> Hi, again and all the best. > > Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles > > Ok, I've done all these, but still I don't get the expected result. regards, marios From constantinos at neophytou.net Thu Sep 13 17:49:42 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Thu, 13 Sep 2007 20:49:42 +0300 Subject: [TxMt] Subversion problems Message-ID: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> I'm not 100% certain that this is caused by the subversion bundle, but I have not been able to pinpoint the exact cause, and it only seems to be happening when I'm working through TextMate: At some (undetermined) points, when I try to commit my project I get this error: svn: Commit failed (details follow): svn: Your file or directory 'config.inc.php' is probably out-of-date svn: The version resource does not correspond to the resource within the transaction. Either the requested version resource is out of date (needs to be updated), or the requested version resource is newer than the transaction root (restart the commit). (where config.inc.php is the first file that was modified in the list) Now the problem is this: The resource is NOT out of date, and I'm the only one with access to the repository. An update command says that I have the latest revision checked out, and `svn info` verifies the fact. Subsequent check-ins come back with the same error. The only way I've been able to get around this is check out a new copy of the repository, move the modified files over one by one, and check in from there. And next time I need to check in, the same thing happens. Is there an issue with the 'Find in Project' search and replace feature that I should be aware of? (I use it a lot). Also I don't have any modifications in the bundles, nor any related checked out bundles. Additionally, the 'diff' button from the subversion bundle status list displays the correct diff, but there's no syntax highlighting. When I use the diff bundle directly, or even through the subversion menu, the highlighting works just fine. Any ideas? Constantinos -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From thai at shopzilla.com Thu Sep 13 19:08:25 2007 From: thai at shopzilla.com (useEvil) Date: Thu, 13 Sep 2007 12:08:25 -0700 (PDT) Subject: [TxMt] TextMate file encoding crashes BBEdit Message-ID: <12660418.post@talk.nabble.com> Files saved by TextMate crashes when opened in BBEdit. The file encoding default is UTF-8. Is there a compatibility issue between these two apps? Which encoding format should I be using? -- View this message in context: http://www.nabble.com/TextMate-file-encoding-crashes-BBEdit-tf4437491.html#a12660418 Sent from the textmate users mailing list archive at Nabble.com. From ld at ldaley.com Thu Sep 13 23:52:08 2007 From: ld at ldaley.com (Luke Daley) Date: Fri, 14 Sep 2007 09:52:08 +1000 Subject: [TxMt] Subversion problems In-Reply-To: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> Message-ID: <52B07B56-E7A5-4BBA-98F3-DBA92CADC84C@ldaley.com> On 14/09/2007, at 3:49 AM, Constantinos Neophytou ? wrote: > I'm not 100% certain that this is caused by the subversion bundle I have experienced this quite frequently with SVN 1.4.x on multiple platforms not using TextMate. Not saying that it definitely isn't TextMate causing your problem, just saying that I get very similar behaviour not using TextMate. - LD. From constantinos at neophytou.net Thu Sep 13 23:54:59 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Fri, 14 Sep 2007 02:54:59 +0300 Subject: [TxMt] Subversion problems In-Reply-To: <52B07B56-E7A5-4BBA-98F3-DBA92CADC84C@ldaley.com> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <52B07B56-E7A5-4BBA-98F3-DBA92CADC84C@ldaley.com> Message-ID: <07A2DE61-16B9-4556-A0EB-1E13DD0EAAE6@neophytou.net> On 14 Sep 2007, at 02:52, Luke Daley wrote: > I have experienced this quite frequently with SVN 1.4.x on multiple > platforms not using TextMate. Not saying that it definitely isn't > TextMate causing your problem, just saying that I get very similar > behaviour not using TextMate. > > Fair enough, were you ever able to figure out what was wrong? Because it's happened to me before, but only once or twice. Now it's happening every other checkin, and it's becoming a big problem, especially with the number of files i'm dealing with. c -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From ld at ldaley.com Fri Sep 14 00:14:10 2007 From: ld at ldaley.com (Luke Daley) Date: Fri, 14 Sep 2007 10:14:10 +1000 Subject: [TxMt] Subversion problems In-Reply-To: <07A2DE61-16B9-4556-A0EB-1E13DD0EAAE6@neophytou.net> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <52B07B56-E7A5-4BBA-98F3-DBA92CADC84C@ldaley.com> <07A2DE61-16B9-4556-A0EB-1E13DD0EAAE6@neophytou.net> Message-ID: On 14/09/2007, at 9:54 AM, Constantinos Neophytou ? wrote: > Fair enough, were you ever able to figure out what was wrong? > Because it's happened to me before, but only once or twice. Now > it's happening every other checkin, and it's becoming a big > problem, especially with the number of files i'm dealing with. Haven't sorry. Still trying to work out what triggers it. - LD. From lwilson at mac.com Fri Sep 14 02:52:20 2007 From: lwilson at mac.com (Larry Wilson) Date: Thu, 13 Sep 2007 19:52:20 -0700 Subject: [TxMt] Error attempting to create XCode project from XCode bundle Message-ID: <1E75DCCC-A3C3-45E7-8FED-C7D84BEC394D@mac.com> I am new to TM, and with the most recent version installed (1405), I get the following error when I attempt to create a new XCode project via the 'New Project Using XCode Template' menu item in the XCode bundle. It appears that there is a problem with the templates not being found. There was no Project Templates folder at the path indicated in the error message. Is this a standard folder that XCode should have installed (or somehow got deleted?). XCode seems to be functioning just fine without it. /tmp/temp_textmate.ocWNhI:97:in `open': Not a directory - /Library/ Application Support/Apple/Developer Tools/Project Templates/ 00README.txt (Errno::ENOTDIR) from /tmp/temp_textmate.ocWNhi:97:in `foreach' from /tmp/temp_textmate.ocWNhi:97:in `scan_dir' from /tmp/temp_textmate.ocWNhi:108 from /tmp/temp_textmate.ocWNhi:106:in `foreach' from /tmp/temp_textmate.ocWNhI:106 From lwilson at mac.com Fri Sep 14 05:11:07 2007 From: lwilson at mac.com (Larry Wilson) Date: Thu, 13 Sep 2007 22:11:07 -0700 Subject: [TxMt] Error attempting to create XCode project from XCode bundle In-Reply-To: <1E75DCCC-A3C3-45E7-8FED-C7D84BEC394D@mac.com> References: <1E75DCCC-A3C3-45E7-8FED-C7D84BEC394D@mac.com> Message-ID: <3244E46D-914B-40B8-9AD4-E30BCC6147D2@mac.com> Oops...partial operator error... I was looking in the wrong set of Library folders. The problem was actually that the installer for PyObjC had installed a text file in that folder, and the script doesn't like items in that folder that aren't folders. I removed the text file, so that there were only subfolders, and everything is now working fine. On Sep 13, 2007, at 7:52 PM, Larry Wilson wrote: > I am new to TM, and with the most recent version installed (1405), > I get the following error when I attempt to create a new XCode > project via the 'New Project Using XCode Template' menu item in the > XCode bundle. It appears that there is a problem with the > templates not being found. There was no Project Templates folder > at the path indicated in the error message. Is this a standard > folder that XCode should have installed (or somehow got deleted?). > XCode seems to be functioning just fine without it. > > /tmp/temp_textmate.ocWNhI:97:in `open': Not a directory - /Library/ > Application Support/Apple/Developer Tools/Project Templates/ > 00README.txt (Errno::ENOTDIR) > from /tmp/temp_textmate.ocWNhi:97:in `foreach' > from /tmp/temp_textmate.ocWNhi:97:in `scan_dir' > from /tmp/temp_textmate.ocWNhi:108 > from /tmp/temp_textmate.ocWNhi:106:in `foreach' > from /tmp/temp_textmate.ocWNhI:106 > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From throw-away-1 at macromates.com Fri Sep 14 07:18:34 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 09:18:34 +0200 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: <46E96E39.2020903@consking.com> References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> Message-ID: On 13/09/2007, at 19:07, marios wrote: >> [...] >> Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles > Ok, I've done all these, but still I don't get the expected result. Okay, so *exactly* what do you get? Can you try run the Bundle Development ? Show TM_* Variables and see what TM_SCOPE says? From throw-away-1 at macromates.com Fri Sep 14 07:20:17 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 09:20:17 +0200 Subject: [TxMt] TextMate file encoding crashes BBEdit In-Reply-To: <12660418.post@talk.nabble.com> References: <12660418.post@talk.nabble.com> Message-ID: On 13/09/2007, at 21:08, useEvil wrote: > Files saved by TextMate crashes when opened in BBEdit. The file > encoding > default is UTF-8. Is there a compatibility issue between these two > apps? > Which encoding format should I be using? UTF-8 is definitely the best, and regardless of encoding, BBEdit shouldn?t crash on stuff generated from TextMate. You can try ?xxd ?file?? in Terminal to see exactly which bytes it contains. But best to send the file to support at barebones.com and describe the problem. From throw-away-1 at macromates.com Fri Sep 14 07:24:37 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 09:24:37 +0200 Subject: [TxMt] Subversion problems In-Reply-To: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> Message-ID: <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> On 13/09/2007, at 19:49, Constantinos Neophytou ? wrote: > [...] > svn: Commit failed (details follow): > svn: Your file or directory 'config.inc.php' is probably out-of-date > svn: The version resource does not correspond to the resource within > the transaction. Either the requested version resource is out of > date (needs to be updated), or the requested version resource is > newer than the transaction root (restart the commit). > > (where config.inc.php is the first file that was modified in the list) > > Now the problem is this: The resource is NOT out of date, and I'm > the only one with access to the repository. Does ?svn up? solve it? For example if you change properties on a folder, ?svn up? is required. > An update command says that I have the latest revision checked out, > and `svn info` verifies the fact. Subsequent check-ins come back > with the same error. What about checkins from the shell? What about ?svn cleanup?? What does ?svn -u st? show? > The only way I've been able to get around this is check out a new > copy of the repository, move the modified files over one by one, and > check in from there. And next time I need to check in, the same > thing happens. Is there an issue with the 'Find in Project' search > and replace feature that I should be aware of? (I use it a lot). > Also I don't have any modifications in the bundles, nor any related > checked out bundles. I assume you do not see .svn folders in your project -- the only thing TM could potentially do was mess up the svn meta data (via Find in Project), but by default, the .svn folders are excluded from projects, so shouldn?t happen. From alain.matthes at mac.com Fri Sep 14 07:46:48 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 09:46:48 +0200 Subject: [TxMt] Subversion and Latex Message-ID: hello:) It's a recurring problem. I read the doc and now i have in /Library/Application\ Support/TextMate/Bundles the Latex.bundle in ~/Library/Application\ Support/TextMate/Bundles i've the personnal bundle with some modifications. This bundle is created by TextMate Now after reload Bundles, and try Command R on a latex file , I've env: python2.3: No such file or directory Perhaps there is a problem with support files so I update the support directory cd /Library/Application\ Support/TextMate svn co http://macromates.com/svn/Bundles/trunk/Support After this you can test it by pasting the following line into TextMate and pressing ?R (to execute it): and I get /Library/Application Support/TextMate/Support but I always env: python2.3: No such file or directory in my system I've python2.3 and python2.5 and in the terminal $python launchs python2.5 What is the problem ? Thanks Regards Alain From constantinos at neophytou.net Fri Sep 14 09:11:26 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Fri, 14 Sep 2007 12:11:26 +0300 Subject: [TxMt] Subversion problems In-Reply-To: <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> Message-ID: On 14 Sep 2007, at 10:24, Allan Odgaard wrote: > > Does ?svn up? solve it? > > For example if you change properties on a folder, ?svn up? is > required. Nope. That's the problem, it should. > What about checkins from the shell? What about ?svn cleanup?? What > does ?svn -u st? show? Same problems. svn cleanup does nothing, and svn -u st shows exactly what it should. The list of modified files, and matching revision numbers. > I assume you do not see .svn folders in your project -- the only > thing TM could potentially do was mess up the svn meta data (via > Find in Project), but by default, the .svn folders are excluded > from projects, so shouldn?t happen. Yes, I did know that, but at that point I was grabbing at straws.... -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From tmtxpstuff at consking.com Fri Sep 14 09:32:35 2007 From: tmtxpstuff at consking.com (marios) Date: Fri, 14 Sep 2007 12:32:35 +0300 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> Message-ID: <46EA5533.3050200@consking.com> Allan Odgaard wrote: > On 13/09/2007, at 19:07, marios wrote: > >>> [...] >>> Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles >> Ok, I've done all these, but still I don't get the expected result. > > Okay, so *exactly* what do you get? > > Can you try run the Bundle Development ? Show TM_* Variables and see > what TM_SCOPE says? > > > I've got this: TM_SCOPE=text.html.txp source.php.embedded.block.html punctuation.section.embedded.end.php regards, marios From mummer at whitefalls.org Fri Sep 14 09:41:43 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Fri, 14 Sep 2007 04:41:43 -0500 Subject: [TxMt] Subversion and Latex In-Reply-To: References: Message-ID: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote: > hello:) > > It's a recurring problem. http://macromates.com/textmate/manual/shell_commands#search_path Especially the bit under "Important". Installing all the stuff from svn like that really isn't recommended unless the bundle isn't available in the default install. Now you've got to make sure you update that each time Textmate does or things can break. Or just delete those two and live an easier life. ;) From tmtxpstuff at consking.com Fri Sep 14 09:44:53 2007 From: tmtxpstuff at consking.com (marios) Date: Fri, 14 Sep 2007 12:44:53 +0300 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> Message-ID: <46EA5815.1090607@consking.com> Allan Odgaard wrote: > On 13/09/2007, at 19:07, marios wrote: > >>> [...] >>> Try http://macromates.com/wiki/Troubleshooting/RevertToDefaultBundles >> Ok, I've done all these, but still I don't get the expected result. > > Okay, so *exactly* what do you get? > > Can you try run the Bundle Development ? Show TM_* Variables and see > what TM_SCOPE says? > > > Allan, the View Scope command is supposed to be in the TextMate Bundle right ? The strange thing is, I'm not able to locate this command at all. Some other Key Equivalents are back to normal. (Switch Language commands, and such ) I trashed the one Microsoft Keyboard and replaced it with another one and disabled some IntelliType settings in System Prefs. The IntelliType Software is sort of buggy at some settings. ( Even the newest one ), so some problems came from there, but not so for the View Source command in TextMate, that I so much need. regards, marios From Sam.Halliday at gmail.com Fri Sep 14 12:46:40 2007 From: Sam.Halliday at gmail.com (Samuel Halliday) Date: Fri, 14 Sep 2007 12:46:40 +0000 (UTC) Subject: [TxMt] LaTeX Message-ID: Hi all, If a new section is created in LaTeX mode with the sec[TAB] shortcut, the following will appear: \section{section name} % (fold) \label{sec:section_name} % section section_name (end) Which is great! However, if the "Tidy" command is then performed on the file, it will be re-arranged to this: \section{section name} % (fold) \label{sec:section_name} % section section_name (end) Which not only looks really ugly, but means that the fold takes up 3 lines instead of one, and doesn't have a title. Could somebody please have a look at this and see if it's fixable? From chris at w3style.co.uk Fri Sep 14 13:17:20 2007 From: chris at w3style.co.uk (Chris Corbyn) Date: Fri, 14 Sep 2007 14:17:20 +0100 Subject: [TxMt] Java highlighting breaks when a declaration spreads multiple lines Message-ID: <46EA89E0.1080800@w3style.co.uk> Hi, I'm using the latest version of TM with all the updates applied on Tiger 10.4 with all the latest updates. This is a really minor thing but it would be nice to have fixed. I suspect it's just a regex tweak that's needed. If I write a method declaration in an interface: public interface MyInterface { public void somethingSpecial(Object foo, Object bar) throws SomeException, AnotherException; public String getName(); } Then it breaks the highlighting. If I put it all on the one line then it works fine. Cheers, Chris From alain.matthes at mac.com Fri Sep 14 13:17:46 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 15:17:46 +0200 Subject: [TxMt] Subversion, Latex , Python and Path ??? In-Reply-To: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> Message-ID: Le 14 sept. 07 ? 11:41, Michael Sheets a ?crit : > > On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote: > >> hello:) >> >> It's a recurring problem. > > http://macromates.com/textmate/manual/shell_commands#search_path > > Especially the bit under "Important". > > Installing all the stuff from svn like that really isn't > recommended unless the bundle isn't available in the default > install. Now you've got to make sure you update that each time > Textmate does or things can break. Or just delete those two and > live an easier life. ;) > > Sorry but I don't want install all the stuff from svn , I want only the Latex.tmbundle to try it. yes I can and I just delete those two and but my live is more easier but no more funny. I want to discover all the great work make around this bundle So I read the doc and I've a problem.... If I try to read between your lines, it' a problem of path. If you are right, there is a problem in the documentation (installing a bundle) or in the latex bundle Thanks for your answer regards Alain From cskiadas at gmail.com Fri Sep 14 13:44:08 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Fri, 14 Sep 2007 09:44:08 -0400 Subject: [TxMt] LaTeX In-Reply-To: References: Message-ID: <25B12002-39F4-4DE1-BCFE-2C10ADEBED71@gmail.com> On Sep 14, 2007, at 8:46 AM, Samuel Halliday wrote: > Hi all, > > If a new section is created in LaTeX mode with the sec[TAB] shortcut, > the following will appear: > > \section{section name} % (fold) > \label{sec:section_name} > > % section section_name (end) > > Which is great! However, if the "Tidy" command is then performed on > the file, it will be re-arranged to > this: > > \section{section name} > > % (fold) > \label{sec:section_name} > > % section section_name (end) > > Which not only looks really ugly, but means that the fold takes up 3 > lines instead of one, and doesn't have > a title. > > Could somebody please have a look at this and see if it's fixable? Noone, as far as I know, has really touched the Tidy command at all, so I'm not sure how easy it would be to identify this problem and fix it, and frankly it is not very high up in my priority list (patches are welcome of course). I personally never use the command Have you thought of using the "Text -> Indent Selection" command? If the tidying you want to do is indenting related, then this might do the trick. Haris Skiadas Department of Mathematics and Computer Science Hanover College From bmiller at luther.edu Fri Sep 14 13:51:49 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 14 Sep 2007 08:51:49 -0500 Subject: [TxMt] Subversion and Latex In-Reply-To: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> Message-ID: -- Brad Miller Assistant Professor, Computer Science Luther College On 9/14/07, Michael Sheets wrote: > > > On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote: > > > hello:) > > > > It's a recurring problem. > > http://macromates.com/textmate/manual/shell_commands#search_path > > Especially the bit under "Important". > > Installing all the stuff from svn like that really isn't recommended > unless the bundle isn't available in the default install. Now you've > got to make sure you update that each time Textmate does or things > can break. Or just delete those two and live an easier life. ;) This isn't really relevant for this problem since the Typeset & View command does not use #! It is very important for the Latex bundle that if you checkout latex you should checkout support. AND they should be together. Support/ Bundles/ Latex.tmbundle You should not check out one part to /Library and the other to ~/Library! Alain, if you type which python2.3 from the command line what do you get? Its also possible that your personal changes are messing up something. If you move the Latex bundle out of your ~/Library/Application Support/TextMate/Bundles/ directory does that fix the problem? Brad ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ian.w.white at gmail.com Fri Sep 14 14:07:34 2007 From: ian.w.white at gmail.com (Ian White) Date: Fri, 14 Sep 2007 15:07:34 +0100 Subject: [TxMt] [ANN] matewatch - free time tracking for textmate projects Message-ID: Hi list, I got sick of the bloated time tracking solutions available for OS X, I work mainly in Textmate, so I rolled my own. http://blog.ardes.com/articles/2007/09/14/textmate-user-time-tracking-for-free-matewatch And it's free! Cheers, Ian White -- Argument from Design--We build web applications Western House 239 Western Road Sheffield S10 1LE UK Mobile: +44 (0)797 4678409 | Office: +44 (0)114 2667712 | From alain.matthes at mac.com Fri Sep 14 14:07:17 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 16:07:17 +0200 Subject: [TxMt] Latex Compile error Message-ID: <1F1045AC-83A9-47BB-856D-46F2EE804E8E@mac.com> hello It's a eally recurring problem. Ih the archives : "On 8/25/07, Charilaos Skiadas wrote: On Aug 25, 2007, at 7:44 PM, Clover wrote: > What could I have done that will give me this error when I hit > command-R for compiling latex: > > "python: execv: /Library/Frameworks/Python.framework/Versions/2.5/ > Resources/Python.app/Contents/MacOS/Python: No such file or directory" It sounds like there is some problem with your setup for python. The command runs a python script that starts with the line: #!/usr/bin/env python2.3 That should be #!/usr/bin/env python I inadvertently left the 2.3 on there since I need to force 2.3 to make sure it works with the version of python that is shipped with the OS. I use 2.5 for my daily work. I just checked in a change that removes the 2.3 This means it should explicitly look for and use python2.3. In your case, it seems to be doing something weird. Have you messed with the python installation in any way? Hopefully Brad, or someone else more knowledgeable with Python, might be able to help us here. I don't think OP is using the the bundle from svn since it was looking for python2.5. There is definitely something very nonstandard about the OP's setup since it is looking for the Python inside the .app bundle." Well, i am in this case . On my mac, I've Python2.3 and Python2.5. If I write in the terminal $ python I get : Python 2.5 (r25:51918, Sep 19 2006, 08:49:13) Actually I work with build 1414 and it's the latest cutting-edge build of TextMate is 1414. With that' all is fine. Now If I dowload the Latex.tmbundle and put it anywhere, I have an error around python 2.3 Regards Alain Matthes From alain.matthes at mac.com Fri Sep 14 14:12:48 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 16:12:48 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> Message-ID: <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> Le 14 sept. 07 ? 15:51, Brad Miller a ?crit : > > > -- > Brad Miller > Assistant Professor, Computer Science > Luther College > > On 9/14/07, Michael Sheets wrote: > On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote: > > > hello:) > > > > It's a recurring problem. > > http://macromates.com/textmate/manual/shell_commands#search_path > > Especially the bit under "Important". > > Installing all the stuff from svn like that really isn't recommended > unless the bundle isn't available in the default install. Now you've > got to make sure you update that each time Textmate does or things > can break. Or just delete those two and live an easier life. ;) > > This isn't really relevant for this problem since the Typeset & > View command does not use #! > > It is very important for the Latex bundle that if you checkout > latex you should checkout support. AND they should be together. > > Support/ > Bundles/ > Latex.tmbundle > > You should not check out one part to /Library and the other to ~/ > Library! > > Alain, if you type which python2.3 from the command line what do > you get? > > Its also possible that your personal changes are messing up > something. If you move the Latex bundle out of your ~/Library/ > Application Support/TextMate/Bundles/ directory does that fix the > problem? > Sorry Brad I send an other post because i find the same problem in the archives. 1) I made the good things latex bundle and support directory all in / Library If I type $which python2.3 I get no python2.3 in /Library/Frameworks/Python.framework/Versions/Current/ bin /Users/ego/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ texbin /usr/local/bin /usr/local/bin and which python2.5 /Library/Frameworks/Python.framework/Versions/Current/bin/python2.5 So I think that one on the python script in Latex Bundle needs python2.3 ! something like that... Regards Alain From throw-away-1 at macromates.com Fri Sep 14 14:18:27 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 16:18:27 +0200 Subject: [TxMt] Subversion problems In-Reply-To: References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> Message-ID: On 14/09/2007, at 11:11, Constantinos Neophytou ? wrote: >> What about checkins from the shell? What about ?svn cleanup?? >> What does ?svn -u st? show? > Same problems. svn cleanup does nothing, and svn -u st shows exactly > what it should. The list of modified files, and matching revision > numbers. Try do a new checkout then run: diff -ru ?old? ?new? Since you say a new checkout allows you to commit, the problem must be with the svn meta data, and the above should show how this is different in the new checkout. From throw-away-1 at macromates.com Fri Sep 14 14:19:59 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 16:19:59 +0200 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: <46EA5815.1090607@consking.com> References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> <46EA5815.1090607@consking.com> Message-ID: On 14/09/2007, at 11:44, marios wrote: >> [...] > Allan, the View Scope command is supposed to be in the TextMate Bundle > right ? It was moved to Bundle Development. > The strange thing is, I'm not able to locate this command at all. > Some other Key Equivalents are back to normal. (Switch Language > commands, and such ) So when you said that Show Scope didn?t output anything, the problem was really, that you did not have the command at all? From alain.matthes at mac.com Fri Sep 14 14:21:41 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 16:21:41 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> Message-ID: <3BDE6656-4042-4476-82F8-DF5095936952@mac.com> Le 14 sept. 07 ? 15:51, Brad Miller a ?crit : > Its also possible that your personal changes are messing up > something. If you move the Latex bundle out of your ~/Library/ > Application Support/TextMate/Bundles/ directory does that fix the > problem? > No :( , I remove ~/Library/Application Support/TextMate/Bundles/ and I've the same error Alain From constantinos at neophytou.net Fri Sep 14 14:27:52 2007 From: constantinos at neophytou.net (=?UTF-8?Q?Constantinos_Neophytou_=E2=99=8E?=) Date: Fri, 14 Sep 2007 17:27:52 +0300 Subject: [TxMt] Subversion problems In-Reply-To: References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> Message-ID: <5911E77E-0C8D-4647-B336-7DD2353DB152@neophytou.net> On 14 Sep 2007, at 17:18, Allan Odgaard wrote: > Try do a new checkout then run: diff -ru ?old? ?new? > > Since you say a new checkout allows you to commit, the problem must > be with the svn meta data, and the above should show how this is > different in the new checkout. aha... even though svn -u st reports that everything is up to date, the diff -ru command shows that, in fact, everything is out of date (according to the metadata). The 'old' sandbox started as a checkout of version 5, and for some reason after the commit the metadata did not get updated, and refuses to get updated. It could not be permission problems, but i tried everything with sudo anyway, and I get the same errors... I'm really at a loss... -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 1263 bytes Desc: not available URL: From alain.matthes at mac.com Fri Sep 14 14:33:38 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 16:33:38 +0200 Subject: [TxMt] Subversion and Latex [solution] In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> Message-ID: texMath.py begins with #!/usr/bin/env python2.3 Regards Alain From alain.matthes at mac.com Fri Sep 14 15:03:20 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 17:03:20 +0200 Subject: [TxMt] Editing a langage Grammar Message-ID: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> hello I find in a post : > I had been playing around with the language grammars and snippets, > and started thinking that Allan probably has thought of some better > way to edit the grammar.. I felt really stupid when I came across > this blog that stated the obvious: while in bundle editor, > naturally select Edit in TextMate.. - Voil?, the Language is set to > 'Language Grammar' and colored nicely. 1) But If I select all the latex grammar I can't edit in textmate do't work but if I copy the text and textedit now I can edit the text with TM. Now that we have a bundle development and language grammar snippets, I suppose that we make in a more elegant way. But how that' my question ? 2) I have an other problem we have show scope and copy scope but for Show TM_*variables how to copy the result ? regards Alain From textmate at skurfer.com Fri Sep 14 15:09:06 2007 From: textmate at skurfer.com (Rob McBroom) Date: Fri, 14 Sep 2007 11:09:06 -0400 Subject: [TxMt] Pasteboard Server Error In-Reply-To: References: Message-ID: On Sep 13, 2007, at 12:45 AM, Allan Odgaard wrote: > What seems to happen is that the ?pbs? process drops one of its > clients. So it will seem like the client is at fault, although copy/ > paste for the client still works fine. I wasn't saying TextMate caused it, just that it was the only affected application. > There is a high probability that this is caused by something on the > system [1] > ? > [1]: Or perhaps related to the data which goes to the clipboard. Now that you mention it, there were some weird entries listed in Qicksilver's clipboard history. I forget exactly what it said, but I think it was some type of "object" and they looked grayed-out. Perhaps this was the problem (though I have no idea how those things got there). --- Rob McBroom I didn't "switch" to Apple... my OS did. From throw-away-1 at macromates.com Fri Sep 14 15:49:18 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 17:49:18 +0200 Subject: [TxMt] Error attempting to create XCode project from XCode bundle In-Reply-To: <1E75DCCC-A3C3-45E7-8FED-C7D84BEC394D@mac.com> References: <1E75DCCC-A3C3-45E7-8FED-C7D84BEC394D@mac.com> Message-ID: On 14/09/2007, at 04:52, Larry Wilson wrote: > I am new to TM, and with the most recent version installed (1405), I > get the following error when I attempt to create a new XCode project > via the 'New Project Using XCode Template' menu item in the XCode > bundle. It appears that there is a problem with the templates not > being found. There was no Project Templates folder at the path > indicated in the error message. Is this a standard folder that > XCode should have installed (or somehow got deleted?). XCode seems > to be functioning just fine without it. > [...] I committed a patch that has it skip non-folders in the template location. From textmate at skurfer.com Fri Sep 14 15:54:53 2007 From: textmate at skurfer.com (Rob McBroom) Date: Fri, 14 Sep 2007 11:54:53 -0400 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> Message-ID: On Sep 14, 2007, at 3:18 AM, Allan Odgaard wrote: > Can you try run the Bundle Development ? Show TM_* Variables and > see what TM_SCOPE says? Ah, so *that's* where that friggin' command went. :) I should change my desktop picture to ??T in giant letters. --- Rob McBroom I didn't "switch" to Apple... my OS did. From yvon.thoraval at gmail.com Fri Sep 14 15:56:32 2007 From: yvon.thoraval at gmail.com (Yvon Thoraval) Date: Fri, 14 Sep 2007 17:56:32 +0200 Subject: [TxMt] Pasteboard Server Error In-Reply-To: References: Message-ID: 2007/9/12, Jeff Clark : > > Am I the only one? Does anyone have any ideas for me? Is there any info > that I can provide to help diagnose this? > i don't have this prob within TextMate BUT, i can say i had a, presumably bug, with pbs coming from my : ~/.MacOSX/environment.plist when the "SESSIONID" (don't remember exactly the name) key/value pair was in this plist caused the pbs bug : no more cut'n paste nor drag'n drop at all for this account... Notice i was using this plist only for TextMate because my shell is zsh... -- yvon -------------- next part -------------- An HTML attachment was scrubbed... URL: From textmate at skurfer.com Fri Sep 14 16:07:02 2007 From: textmate at skurfer.com (Rob McBroom) Date: Fri, 14 Sep 2007 12:07:02 -0400 Subject: [TxMt] Subversion problems In-Reply-To: <5911E77E-0C8D-4647-B336-7DD2353DB152@neophytou.net> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> <5911E77E-0C8D-4647-B336-7DD2353DB152@neophytou.net> Message-ID: <26251EB1-5B30-4CE5-B137-A6B843ECF97C@skurfer.com> On Sep 14, 2007, at 10:27 AM, Constantinos Neophytou ? wrote: > aha... even though svn -u st reports that everything is up to date, > the diff -ru command shows that, in fact, everything is out of date > (according to the metadata). The 'old' sandbox started as a > checkout of version 5, and for some reason after the commit the > metadata did not get updated, and refuses to get updated. It could > not be permission problems, but i tried everything with sudo > anyway, and I get the same errors... Is your working copy checked out to a local HFS+ file system or is it stored remotely and accessed via AFP, Samba, SSHFS, etc? IIRC, when the svn client updates metadata in the working copy, it does some sort of locking that most remote filesystems don't support. --- Rob McBroom I didn't "switch" to Apple... my OS did. From bmiller at luther.edu Fri Sep 14 18:02:12 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 14 Sep 2007 13:02:12 -0500 Subject: [TxMt] Subversion and Latex In-Reply-To: <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> Message-ID: Alain, Wow, which version of OS X are you running? python2.3 ships with 10.3 and 10.4 if I'm not mistaken. Did you delete it? It should be in /usr/bin. I put python2.3 in the #! line for texMate specifically to make sure I did not use any python2.4/2.4 only features since that is what I usually program in. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/14/07, Alain Matthes wrote: > > > Le 14 sept. 07 ? 15:51, Brad Miller a ?crit : > > > > > > > -- > > Brad Miller > > Assistant Professor, Computer Science > > Luther College > > > > On 9/14/07, Michael Sheets wrote: > > On Sep 14, 2007, at 2:46 AM, Alain Matthes wrote: > > > > > hello:) > > > > > > It's a recurring problem. > > > > http://macromates.com/textmate/manual/shell_commands#search_path > > > > Especially the bit under "Important". > > > > Installing all the stuff from svn like that really isn't recommended > > unless the bundle isn't available in the default install. Now you've > > got to make sure you update that each time Textmate does or things > > can break. Or just delete those two and live an easier life. ;) > > > > This isn't really relevant for this problem since the Typeset & > > View command does not use #! > > > > It is very important for the Latex bundle that if you checkout > > latex you should checkout support. AND they should be together. > > > > Support/ > > Bundles/ > > Latex.tmbundle > > > > You should not check out one part to /Library and the other to ~/ > > Library! > > > > Alain, if you type which python2.3 from the command line what do > > you get? > > > > Its also possible that your personal changes are messing up > > something. If you move the Latex bundle out of your ~/Library/ > > Application Support/TextMate/Bundles/ directory does that fix the > > problem? > > > > Sorry Brad I send an other post because i find the same problem in > the archives. > > 1) I made the good things latex bundle and support directory all in / > Library > > If I type > > $which python2.3 > > I get > no python2.3 in /Library/Frameworks/Python.framework/Versions/Current/ > bin /Users/ego/bin /bin /sbin /usr/bin /usr/sbin /usr/local/bin /usr/ > texbin /usr/local/bin /usr/local/bin > > and which python2.5 > /Library/Frameworks/Python.framework/Versions/Current/bin/python2.5 > > So I think that one on the python script in Latex Bundle needs > python2.3 ! something like that... > > Regards Alain > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From throw-away-1 at macromates.com Fri Sep 14 18:08:15 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 20:08:15 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> Message-ID: <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> On 14/09/2007, at 20:02, Brad Miller wrote: > [...] I put python2.3 in the #! line for texMate specifically to > make sure I did not use any python2.4/2.4 only features since that > is what I usually program in. Though it really should be just python -- when the default version of Python is updated, I don?t think Apple will continue to keep the 2.3 version there (nor add a symbolic link for it). From throw-away-1 at macromates.com Fri Sep 14 18:10:54 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 14 Sep 2007 20:10:54 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> Message-ID: On 14/09/2007, at 17:03, Alain Matthes wrote: > [...] > 1) But If I select all the latex grammar I can't edit in textmate > do't work > but if I copy the text and textedit now I can edit the text with TM. So what happens? Did you install Edit in TextMate? Do you see ?Edit in TextMate?? in the Edit menu of TextMate? Can you select the menu item while in the bundle editor? > 2) I have an other problem we have show scope and copy scope but for > Show TM_*variables how to copy the result ? There is no variant for copying this -- but it should be easy to create one, if you need it (have a look at how the Copy Scope works). From bmiller at luther.edu Fri Sep 14 18:24:01 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 14 Sep 2007 13:24:01 -0500 Subject: [TxMt] Subversion and Latex In-Reply-To: <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: And I will be very happy when Apple finally updates the shipped version of Python. I am just hoping that 10.5 will have Python 2.5 and not Python 2.4. I am in the middle of some updates to texMate.py to support a new release of latexmk.pl I will remove the 2.3 before I commit that change. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/14/07, Allan Odgaard wrote: > > On 14/09/2007, at 20:02, Brad Miller wrote: > > > [...] I put python2.3 in the #! line for texMate specifically to > > make sure I did not use any python2.4/2.4 only features since that > > is what I usually program in. > > Though it really should be just python -- when the default version of > Python is updated, I don't think Apple will continue to keep the 2.3 > version there (nor add a symbolic link for it). > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.matthes at mac.com Fri Sep 14 21:44:12 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 23:44:12 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: Le 14 sept. 07 ? 20:24, Brad Miller a ?crit : > And I will be very happy when Apple finally updates the shipped > version of Python. I am just hoping that 10.5 will have Python 2.5 > and not Python 2.4. > > I am in the middle of some updates to texMate.py to support a new > release of latexmk.pl I will remove the 2.3 before I commit that > change. > yes for me python2.3 is in the trash. I update python, ruby, bash ... :) I don't use latexmk.pl and I have remove 2.3 and it's fine. Do you think that it's a problem to put python instead of python2.3 If I understand, latexmk.pl needs python2.3 , in this case perhaps we need an other version of latexmk.pl. Regards Alain From alain.matthes at mac.com Fri Sep 14 21:50:50 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 14 Sep 2007 23:50:50 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> Message-ID: <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> Le 14 sept. 07 ? 20:10, Allan Odgaard a ?crit : > On 14/09/2007, at 17:03, Alain Matthes wrote: > >> [...] >> 1) But If I select all the latex grammar I can't edit in textmate >> do't work >> but if I copy the text and textedit now I can edit the text with TM. > > So what happens? Nothing only a noise "bing" > > Did you install Edit in TextMate? yes because with textedit I use it and I get the file in TM ! :) > Do you see ?Edit in TextMate?? in the Edit menu of TextMate? yes > > Can you select the menu item while in the bundle editor? yes > >> 2) I have an other problem we have show scope and copy scope but for >> Show TM_*variables how to copy the result ? > > There is no variant for copying this -- but it should be easy to > create one, if you need it (have a look at how the Copy Scope works). > > Yes :) I can look at Copy Scope. Regards Alain From bmiller at luther.edu Fri Sep 14 21:53:20 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 14 Sep 2007 16:53:20 -0500 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: Alain, You will be fine to use python instead of python2.3 on the first line of texMate.py. I developed it using python 2.5 but since OS X ships with 2.3 I have to make sure its compatible since most people don't update python. And even fewer trash the version that is shipped. The next update to texMate.pyI commit will not specify version 2.3. latexmk.pl uses perl not python so that does not make any difference. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/14/07, Alain Matthes wrote: > > > Le 14 sept. 07 ? 20:24, Brad Miller a ?crit : > > > And I will be very happy when Apple finally updates the shipped > > version of Python. I am just hoping that 10.5 will have Python 2.5 > > and not Python 2.4. > > > > I am in the middle of some updates to texMate.py to support a new > > release of latexmk.pl I will remove the 2.3 before I commit that > > change. > > > > > yes for me python2.3 is in the trash. I update python, ruby, bash ... :) > > I don't use latexmk.pl and I have remove 2.3 and it's fine. Do you > think that it's a problem to put python instead of python2.3 > > If I understand, latexmk.pl needs python2.3 , in this case perhaps we > need an other version of latexmk.pl. > > Regards Alain > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.matthes at mac.com Fri Sep 14 22:45:26 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 00:45:26 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: <84C85A13-0E95-4300-B78C-032E5A56AF7C@mac.com> Le 14 sept. 07 ? 23:53, Brad Miller a ?crit : > Alain, > > You will be fine to use python instead of python2.3 on the first > line of texMate.py. I developed it using python 2.5 but since OS X > ships with 2.3 I have to make sure its compatible since most people > don't update python. And even fewer trash the version that is > shipped. The next update to texMate.py I commit will not specify > version 2.3. > ok and thanks to your work I would thanks every one who works on the latex Bundle and specialy Allan for TM If you want to see my work with TM and LateX you can see at http://www.altermundus.fr/pages/downloads/TKZdoc-2d.pdf The next week , I put the package on CTAN Regards Alain From alex.j.ross at gmail.com Fri Sep 14 22:47:16 2007 From: alex.j.ross at gmail.com (Alex Ross) Date: Fri, 14 Sep 2007 15:47:16 -0700 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: > yes for me python2.3 is in the trash. I update python, ruby, > bash ... :) Just FYI, it's not really recommended to trash the default python installation? you never know what will break. Better to use the MacPython[1] distribution, and just update your path. ?Alex [1]: http://www.python.org/download/mac/ From alain.matthes at mac.com Fri Sep 14 23:05:30 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 01:05:30 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: Le 15 sept. 07 ? 00:47, Alex Ross a ?crit : >> yes for me python2.3 is in the trash. I update python, ruby, >> bash ... :) > > Just FYI, it's not really recommended to trash the default python > installation? you never know what will break. I think you break anything, you have exctly the same files at the same places but with 2.5 intead of 2.3. If you wait about Apple to updtae some files in the system you can wait for a long time. Try to compile Asymptote, or gnuplot, you have to update a lot of things. > Better to use the MacPython[1] distribution, and just update your > path. > > ?Alex > > [1]: http://www.python.org/download/mac/ > ______________________________________________________________________ and now python is 2.5.1 Python 2.5.1 for Macintosh OS X -- this is a universal installer that runs native on both PPC and Intel Macs. yes I take MacPython and no problem with the readme : MacPython consists of the Python programming language interpreter, plus a set of programs to allow easy access to it for Mac users (an integrated development environment, an applet builder), plus a set of pre-built extension modules that open up specific Macintosh technologies to Python programs (Carbon, AppleScript, Quicktime, more). The installer puts the applications in "MacPython 2.5" in your Applications folder, command-line tools in /usr/local/bin and the underlying machinery in /Library/Frameworks/Python.framework. regards Alain From ron_elicit at yahoo.com Sat Sep 15 02:24:24 2007 From: ron_elicit at yahoo.com (Jon Ippolito) Date: Sat, 15 Sep 2007 02:24:24 +0000 (UTC) Subject: [TxMt] Re: HTML autoconversion of urls | updating bundles Message-ID: >>From: Allan Odgaard >>Subject: Re: HTML autoconversion of urls to hyperlinks >>Date: 2007-09-05 00:32:36 GMT (1 week, 3 days, 1 hour and 28 minutes ago) >> [...] it would be more useful for me to have a macro that would >> auto-convert all urls in a text document to active hyperlinks [...] >Are you familiar with Markdown? Perhaps it would be more effective >for you to write the first draft of your text in Markdown and press >??H to generate the HTML -- Markdown will convert macromates.com/> into >http://macromates.com/ Allan, Thanks for the tip--I can see Markdown is going to make my life much easier! One follow-up question: Brett Terpstra alluded to an HTML bundle he was working on that would offer the option of omitting the link title lookup. I downloaded the snippet (a .bin file) he had attached and double-clicked on it, but nothing happened. Then I figured maybe the update would be in the bundle repository at http://macromates.com/svn/Bundles/trunk/, but I couldn't figure out how to update these or load them from different sources. Any instructions for updating bundles appreciated-- thanks as always for your help. jon From guillaume.carbonneau at gmail.com Sat Sep 15 05:36:00 2007 From: guillaume.carbonneau at gmail.com (Guillaume Carbonneau) Date: Sat, 15 Sep 2007 01:36:00 -0400 Subject: [TxMt] [PATCH] Prolog comment blocks Message-ID: Hi this is a patch that contains support for comment blocks in prolog. That means /* */ style comments. You could use the test case to verify that it is working. Thanks Guillaume Carbonneau -------------- next part -------------- A non-text attachment was scrubbed... Name: prolog_comment_blocks.diff.zip Type: application/zip Size: 1036 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: test_case.pl Type: text/x-perl-script Size: 3041 bytes Desc: not available URL: From mummer at whitefalls.org Sat Sep 15 08:37:48 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Sat, 15 Sep 2007 03:37:48 -0500 Subject: [TxMt] [PATCH] Prolog comment blocks In-Reply-To: References: Message-ID: On Sep 15, 2007, at 12:36 AM, Guillaume Carbonneau wrote: > Hi this is a patch that contains support for comment blocks in > prolog. That means /* */ style comments. You could use the test > case to verify that it is working. Applied, thanks. :) From tmtxpstuff at consking.com Sat Sep 15 09:06:53 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 15 Sep 2007 12:06:53 +0300 Subject: [TxMt] View Scope command on Cutting Edge In-Reply-To: References: <46E82DD3.50105@consking.com> <22FFECA8-AD56-4204-8EFF-D50E171595BA@macromates.com> <46E96E39.2020903@consking.com> <46EA5815.1090607@consking.com> Message-ID: <46EBA0AD.5070606@consking.com> Allan Odgaard wrote: > On 14/09/2007, at 11:44, marios wrote: > >>> [...] >> Allan, the View Scope command is supposed to be in the TextMate Bundle >> right ? > > It was moved to Bundle Development. > >> The strange thing is, I'm not able to locate this command at all. >> Some other Key Equivalents are back to normal. (Switch Language >> commands, and such ) > > So when you said that Show Scope didn?t output anything, the problem was > really, that you did not have the command at all? > Yep, that's right. So after cleaning out all Bundle Folders, the select Bundle Item wouldn't even list it,since it wasn't enabled in the List Filter of the Bundle Editor. Everything is smooth and dandy. Thanks again. regards, marios From throw-away-1 at macromates.com Sat Sep 15 14:45:54 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Sat, 15 Sep 2007 16:45:54 +0200 Subject: [TxMt] Re: HTML autoconversion of urls | updating bundles In-Reply-To: References: Message-ID: On 15/09/2007, at 04:24, Jon Ippolito wrote: > [...] > One follow-up question: Brett Terpstra alluded to an HTML bundle he > was working > on that would offer the option of omitting the link title lookup. I > downloaded > the snippet (a .bin file) he had attached and double-clicked on it, > but nothing > happened. I think it was a command, so the extension should be .tmCommand -- if double clicked (with that extension), TextMate will take care of installing it. From throw-away-1 at macromates.com Sat Sep 15 14:46:25 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Sat, 15 Sep 2007 16:46:25 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> Message-ID: <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> On 14/09/2007, at 23:50, Alain Matthes wrote: >>> [...] >>> 1) But If I select all the latex grammar I can't edit in textmate >>> do't work >>> but if I copy the text and textedit now I can edit the text with TM. >> So what happens? > Nothing only a noise "bing" And is the actual text editing field active? From alain.matthes at mac.com Sat Sep 15 15:34:47 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 17:34:47 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> Message-ID: Le 15 sept. 07 ? 16:46, Allan Odgaard a ?crit : > On 14/09/2007, at 23:50, Alain Matthes wrote: > >>>> [...] >>>> 1) But If I select all the latex grammar I can't edit in >>>> textmate do't work >>>> but if I copy the text and textedit now I can edit the text with >>>> TM. >>> So what happens? >> Nothing only a noise "bing" > > And is the actual text editing field active? > > I'm not sure to uderstand exactly actual text editing field active? So I describe my situation : 1 open BUndle editor for Language 2 Select Latex in the window Languages 3 now I can write in the text.tex.latex document in the main window 4 Command A ( select All ) 5 Command C (copy) 6 services Edit in textmate with the menu or with the key equivalent commande ctrl 7 Bing !! If 6 services Edit in Textedit (new window with the selection) ok I've the text.tex.latex in textedit 7 cCommand A ( select All ) 8 Command C (copy) 9 services Edit in textmate ok it'fine anew window in TM with text.tex.latex I made a mistake...?? regards Alain From alain.matthes at mac.com Sat Sep 15 15:38:20 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 17:38:20 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> Message-ID: Le 15 sept. 07 ? 17:34, Alain Matthes a ?crit : > > Le 15 sept. 07 ? 16:46, Allan Odgaard a ?crit : > >> On 14/09/2007, at 23:50, Alain Matthes wrote: >> >>>>> [...] >>>>> 1) But If I select all the latex grammar I can't edit in >>>>> textmate do't work >>>>> but if I copy the text and textedit now I can edit the text >>>>> with TM. >>>> So what happens? >>> Nothing only a noise "bing" >> >> And is the actual text editing field active? >> >> > > > I'm not sure to uderstand exactly actual text editing field active? > > So I describe my situation : > > 1 open BUndle editor for Language > 2 Select Latex in the window Languages > 3 now I can write in the text.tex.latex document in the main window > 4 Command A ( select All ) > 5 Command C (copy) > 6 services Edit in textmate with the menu or with the key > equivalent commande ctrl > No it's not ctrl but in french entr?e. but : bing !! Alain From eric at aplosmedia.com Sat Sep 15 16:43:04 2007 From: eric at aplosmedia.com (Eric Coleman) Date: Sat, 15 Sep 2007 12:43:04 -0400 Subject: [TxMt] change binary paths Message-ID: I can't seem to figure out how to change which binaries TextMate uses for PHP/Perl etc. My local path is set to the proper one first, but textmate is using the old one... Regards, Eric From lists at arachnedesign.net Sat Sep 15 16:48:27 2007 From: lists at arachnedesign.net (Steve Lianoglou) Date: Sat, 15 Sep 2007 12:48:27 -0400 Subject: [TxMt] change binary paths In-Reply-To: References: Message-ID: > I can't seem to figure out how to change which binaries TextMate > uses for PHP/Perl etc. My local path is set to the proper one > first, but textmate is using the old one... One way is to set the relevant TM_* variables in TextMate > Preferences > Advanced > Shell Variables For instance, I have: TM_PYTHON : /opt/local/bin/python TM_PHP : /opt/local/bin/php TM_RUBY : ... etc. -stefe From mummer at whitefalls.org Sat Sep 15 17:00:43 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Sat, 15 Sep 2007 12:00:43 -0500 Subject: [TxMt] change binary paths In-Reply-To: References: Message-ID: <658278D2-5344-4CBC-9FF8-C7B1CD8E9458@whitefalls.org> On Sep 15, 2007, at 11:48 AM, Steve Lianoglou wrote: >> I can't seem to figure out how to change which binaries TextMate >> uses for PHP/Perl etc. My local path is set to the proper one >> first, but textmate is using the old one... > > One way is to set the relevant TM_* variables in TextMate > > Preferences > Advanced > Shell Variables Not everything can however use these. To make sure everything uses the new versions you need to set your path in two places. http://macromates.com/textmate/manual/shell_commands#search_path Read especially the part following "Important?" in bold. From alain.matthes at mac.com Sat Sep 15 18:34:19 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 20:34:19 +0200 Subject: [TxMt] Copy TM variables [resolved] Message-ID: Hello env|grep ^TM_|sort|pbcopy seems to be enough Regards Alain From alain.matthes at mac.com Sat Sep 15 18:40:43 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 15 Sep 2007 20:40:43 +0200 Subject: [TxMt] Subversion and Latex In-Reply-To: References: <228A2464-31EB-459D-AE55-6318F2E66669@whitefalls.org> <73A14B6E-3F5D-4AF4-B4F7-D75D88F9A101@mac.com> <45FBAE13-E4C2-4B58-A899-8052411A74D3@macromates.com> Message-ID: <7E2C3255-4822-419E-B083-4BB5B09EB10D@mac.com> Le 15 sept. 07 ? 00:47, Alex Ross a ?crit : >> yes for me python2.3 is in the trash. I update python, ruby, >> bash ... :) > > Just FYI, it's not really recommended to trash the default python > installation? you never know what will break. Better to use the > MacPython[1] distribution, and just update your path. > I've installed python 2.5.1 with MacPython but we need to make the installation with prudence because the installation modifies the file .bash_profile TEXINPUTS=$TEXINPUTS:~/Boulot/Base export TEXINPUTS becomes # TEXINPUTS=$TEXINPUTS:~/Boulot/Base # export TEXINPUTS # Setting PATH for MacPython 2.5 # The orginal version is saved in .bash_profile.pysave PATH="/Library/Frameworks/Python.framework/Versions/Current/bin:${PATH}" export PATH And with that nothing works in Latex Regards Alain From bibiko at eva.mpg.de Sat Sep 15 19:50:36 2007 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Sat, 15 Sep 2007 21:50:36 +0200 Subject: [TxMt] Find/Grep In Project - beta tester wanted for a new trial: Hypersearch Message-ID: Dear all, in the past there're some mails regarding to Find In Project. Henrik Nyh wrote the wonderful command 'Grep In Project'. This inspired me to go one step further. Instead of using 'grep' in fixed string mode I used 'onigrep'. I wrote the command line tool 'onigrep' in C which includes Kosako 's Oniguruma regexp engine (5.8.0) and works ONLY on utf-8/ASCII text files. You can find it within the bundle in folder ./bin/ppc or /bin/i386. More details on that 'onigrep --help'. (By myself I copied onigrep to /usr/bin to use it system-wide ;) but please note: onigrep is work in progress too!) The matches, also for regexp!, are highlighted as usual. Furthermore I used a self-made dialog with history list etc. The search function is working not only in a project but also for a single document. If you select 'Search in the entire project' it will exclude the paths '*/.svn' '*/vendor/rails' '*/build'. If you select the root folder of your project in the drawer, and you select 'Search in Selection' it will search in all subfolders. The option 'Ignore diacritics' is up to now only working if you saves the entire text according to the canonical Unicode decomposition. Then you can search for 'arger' or 'facade' or ? and you will get words like '?rger', 'fa?ade', ?. A command line tool which does it will be included in the near future. So, if someone has a bit time I would be appreciated if s/he can test it. My main question is whether it runs also on Intel Macs. I compiled 'onigrep' for both architectures, and I don't know whether my ruby code got rid of it. Some words about the speed of 'onigrep'. Of course, to deal with utf-8 regexp, well it takes a bit more time. I compared 'onigrep' with 'LC_ALL=en_US.UTF-8 grep' and the search speed was almost identical, but 'onigrep' is 'ignore case' safe and it uses the Oniguruma syntax ;) You can download the BETA VERSION! of the Hypersearch here: http://email.eva.mpg.de/~bibiko/dt/Hypersearch.tmbundle.zip (256k) Any other suggestions, bugs, etc. are highly welcomed for both the Hypersearch bundle and for onigrep. Many thanks in advance Hans From brett at circlesixdesign.com Sat Sep 15 20:42:47 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Sat, 15 Sep 2007 15:42:47 -0500 Subject: [TxMt] Re: HTML autoconversion of urls | updating bundles In-Reply-To: References: Message-ID: The file I attached was a zip file of a command, so it should have had a zip extension. Your mail server/reader may have altered that, but it came through fine on mine. If I can get a more complete version together, I'll post it to my blog and get you a link. Brett On Sep 14, 2007, at 9:24 PM, Jon Ippolito wrote: >>> From: Allan Odgaard >>> Subject: Re: HTML autoconversion of urls to hyperlinks >>> Date: 2007-09-05 00:32:36 GMT (1 week, 3 days, 1 hour and 28 >>> minutes ago) >>> [...] it would be more useful for me to have a macro that would >>> auto-convert all urls in a text document to active hyperlinks [...] >> Are you familiar with Markdown? Perhaps it would be more effective >> for you to write the first draft of your text in Markdown and press >> ??H to generate the HTML -- Markdown will convert > macromates.com/> into >> http://macromates.com/ > > Allan, > > Thanks for the tip--I can see Markdown is going to make my life > much easier! > > One follow-up question: Brett Terpstra alluded to an HTML bundle he > was working > on that would offer the option of omitting the link title lookup. I > downloaded > the snippet (a .bin file) he had attached and double-clicked on it, > but nothing > happened. > > Then I figured maybe the update would be in the bundle repository at > http://macromates.com/svn/Bundles/trunk/, but I couldn't figure out > how to > update these or load them from different sources. > > Any instructions for updating bundles appreciated-- > thanks as always for your help. > > jon > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From damphyr at freemail.gr Sat Sep 15 22:41:43 2007 From: damphyr at freemail.gr (Vassilis Rizopoulos) Date: Sun, 16 Sep 2007 00:41:43 +0200 Subject: [TxMt] Subversion problems In-Reply-To: <26251EB1-5B30-4CE5-B137-A6B843ECF97C@skurfer.com> References: <592214E9-2C86-434F-B2EF-01A4BBF94A8A@neophytou.net> <51C79C34-C001-49BB-9A6D-CC00B0847241@macromates.com> <5911E77E-0C8D-4647-B336-7DD2353DB152@neophytou.net> <26251EB1-5B30-4CE5-B137-A6B843ECF97C@skurfer.com> Message-ID: <46EC5FA7.3070103@freemail.gr> Rob McBroom wrote: > On Sep 14, 2007, at 10:27 AM, Constantinos Neophytou ? wrote: > >> aha... even though svn -u st reports that everything is up to date, >> the diff -ru command shows that, in fact, everything is out of date >> (according to the metadata). The 'old' sandbox started as a checkout >> of version 5, and for some reason after the commit the metadata did >> not get updated, and refuses to get updated. It could not be >> permission problems, but i tried everything with sudo anyway, and I >> get the same errors... > > Is your working copy checked out to a local HFS+ file system or is it > stored remotely and accessed via AFP, Samba, SSHFS, etc? > > IIRC, when the svn client updates metadata in the working copy, it > does some sort of locking that most remote filesystems don't support. > Yep, I get someting like this when using Tortoise in the Parallels VM on a shared working copy. Any commit fails afterwards My error is clearer though: it says it can't move one of the .svn/ files, usually .snv/entries. This happens because svn sets the no-change flag in HFS. I solve it with chflags -R noucgh working_copy/ You should normally get a permission error when something like this happens though. Cheers, V.- -- http://www.braveworld.net/riva From guillaume.carbonneau at gmail.com Sun Sep 16 17:41:25 2007 From: guillaume.carbonneau at gmail.com (Guillaume Carbonneau) Date: Sun, 16 Sep 2007 13:41:25 -0400 Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph Message-ID: Hi, this is a patch including a command to generate a graph using the dot command so you don't need the Graphviz gui program in OS X. You will need to have the dot command in your system. To do so, compile graphviz or get it from macports like so : sudo port install graphviz see http://en.wikipedia.org/wiki/Graphviz for more information I've already submitted a similar patch to the maintainer "Torsten Becker" but I got no response so far so I'd like if you guys could take care of it. Thanks Guillaume Carbonneau -------------- next part -------------- A non-text attachment was scrubbed... Name: graphviz_generate_graph_command.diff.zip Type: application/zip Size: 1332 bytes Desc: not available URL: From harrison at Math.Berkeley.EDU Sun Sep 16 18:07:57 2007 From: harrison at Math.Berkeley.EDU (Jenny Harrison) Date: Sun, 16 Sep 2007 11:07:57 -0700 Subject: [TxMt] Auto-completion activated by caps lock + A Message-ID: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> Hello everyone, Auto-completion of text is marvelous, but I have to decide each time whether it is worth the trouble to reach all the way up to esc. For me, this requires taking my left hand off the keyboard. I wanted to remap caps lock to esc but have not been able to find this anywhere. (Do any of you know how to do this?) I have worked out a little fix that approximates this ideal. 1. Remap caps lock to ctrl via System Preference -> Keyboard & Mouse -> Keyboard -> Modifier Keys. 2. In Quicksilver, make a trigger to activate Next Completion from the TextMate Menu. (Current Application (tab) Show Menu Items (enter) and type Next Completion). I use control-A for my trigger so the hand motion is minimal. (Be sure to hit caps lock before A, though!) For this to work, be sure to turn on Proxy Objects under Quicksilver - > Preferences -> Catalog, as well as Enable Advanced Features under Preferences -> Application. Now auto-complete to your heart's content! Jenny Department of Mathematics University of California, Berkeley From bomberstudios at gmail.com Sun Sep 16 22:52:02 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Mon, 17 Sep 2007 00:52:02 +0200 Subject: [TxMt] Auto-completion activated by caps lock + A In-Reply-To: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> References: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> Message-ID: On 9/16/07, Jenny Harrison wrote: > > 2. In Quicksilver, make a trigger to activate Next Completion from > the TextMate Menu. > Why not use a Macro? I think it might be faster than QS. In my setup, I have nextCompletion: bound to Command + Space and previousCompletion: bound to Option + Command + Space. I had to disable those for Spotlight, but I'd rather use QS to build Spotlight queries... Just my 0.02 -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From reinaldo.opus at gmail.com Mon Sep 17 12:15:59 2007 From: reinaldo.opus at gmail.com (Reinaldo) Date: Mon, 17 Sep 2007 05:15:59 -0700 (PDT) Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph In-Reply-To: References: Message-ID: <12734523.post@talk.nabble.com> Hi Guillaume, Your bundle sounds great. Can I assemble an Artificial Neural Network fully interconnected? Best Regards, Reinaldo -- View this message in context: http://www.nabble.com/-PATCH--Graphviz-bundle-%3A-Generate-Graph-tf4461997.html#a12734523 Sent from the textmate users mailing list archive at Nabble.com. From evan.kaufman at gmail.com Mon Sep 17 14:49:58 2007 From: evan.kaufman at gmail.com (EvanK) Date: Mon, 17 Sep 2007 07:49:58 -0700 (PDT) Subject: [TxMt] MD5 of current file Message-ID: <12737547.post@talk.nabble.com> Just wondering, is there currently a way to get the md5 of the current document (whether its changes have been saved or not) from within textmate? I often have to compare a copy of a document I'm working on with what's on a remote server, and since I can open it in TM from within my ftp client, it would be potentially easier than downloading a copy to save somewhere on disk and running the md5 command seperately. Does something like this exist? If not, perhaps I'll look into implementing it myself. Thanks! -- View this message in context: http://www.nabble.com/MD5-of-current-file-tf4467307.html#a12737547 Sent from the textmate users mailing list archive at Nabble.com. From ciawal at gmail.com Mon Sep 17 15:22:28 2007 From: ciawal at gmail.com (=?UTF-8?Q?Ciar=C3=A1n_Walsh?=) Date: Mon, 17 Sep 2007 10:22:28 -0500 Subject: [TxMt] MD5 of current file In-Reply-To: <12737547.post@talk.nabble.com> References: <12737547.post@talk.nabble.com> Message-ID: <29F6041A-1363-4C36-8663-8FCF330DDFDD@gmail.com> On 17 Sep 2007, at 09:49, EvanK wrote: > perhaps I'll look into implementing > it myself This is easy to do: ? Open the bundle editor (Bundles ? Bundle Editor ? Show Bundle Editor?) ? Make a new command and give it a name ? Select ?Entire Document? for Input: ? Select ?Show as Tool Tip? for Output: ? Put the following in as the command: md5sum | cut -b 1-32 | pbcopy echo The MD5 sum has been copied to the clipboard ? Close the bundle editor and run the command From alain.matthes at mac.com Mon Sep 17 15:46:39 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Mon, 17 Sep 2007 17:46:39 +0200 Subject: [TxMt] Regex and grammar language Message-ID: hello I work actually on a new bundle LaTeX_Author and I would like If someone have an idea to code the control's structures below : I think that's that's very common in a lot of languages : % from package ifthen.sty * \ifthenelse{test}{then clause}{else clause} * \whiledo{test}{while clause} % from package pgffor.sty * \foreach \var in {list}{ } \from TeX * \@for\var:={list}\do{ } I would like to have a color for the control words and for {} Thanks Regards Alain PS : i've a problem to understand this line : { name = 'meta.space-after-command.latex'; match = '(?=\s)(?<=\\[\w@]|\\[\w@]{2}|\\[\w@]{3}|\\[\w@]{4}|\\[\w@] {5}|\\[\w@]{6})\s'; From guillaume.carbonneau at gmail.com Mon Sep 17 16:15:38 2007 From: guillaume.carbonneau at gmail.com (Guillaume Carbonneau) Date: Mon, 17 Sep 2007 09:15:38 -0700 (PDT) Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph In-Reply-To: <12734523.post@talk.nabble.com> References: <12734523.post@talk.nabble.com> Message-ID: <12739003.post@talk.nabble.com> Reinaldo wrote: > > Hi Guillaume, > > Your bundle sounds great. Can I assemble an Artificial Neural Network > fully interconnected? > > Best Regards, > > Reinaldo > Hi Reinaldo. Please keep in mind that I am not the author of this bundle. I just created a command for it. I'm not familiar with Artificial Neural Networks but I'm pretty sure it can be done with graphviz. Check out the examples in the gallery : http://www.graphviz.org/Gallery.php as well as the documentation for further investigation. All the examples in the gallery can be run within textmate using the dot command. (You have to apply the patch that I submitted until it gets in the trunk) You will see that graphviz is very flexible and will probably do ANNs. I'm using it for state-space diagrams right now and it works very well. Good luck Guillaume Carbonneau -- View this message in context: http://www.nabble.com/-PATCH--Graphviz-bundle-%3A-Generate-Graph-tf4461997.html#a12739003 Sent from the textmate users mailing list archive at Nabble.com. From minskog at gmail.com Mon Sep 17 16:47:24 2007 From: minskog at gmail.com (minskog) Date: Mon, 17 Sep 2007 18:47:24 +0200 Subject: [TxMt] TextMate and YummyFTP In-Reply-To: References: <9B110E89-D003-4971-B4F5-16883E88DA85@gmail.com> <9815c6f30708151431w53cc8acbp22de35950a2d5bbd@mail.gmail.com> Message-ID: <9815c6f30709170947j1866ba75p1ba094e93ae0332a@mail.gmail.com> I'm using this great bundle but a kill feature would be the posibility to open yummyftp in preview mode for synchronize. i dont know if this is posible ... And the second option: 'Send File with Active Connection' dont works for me. 2007/8/16, Ale Mu?oz : > > Looks like my SVN server is back online. > > Anyways, the URL was wrong :) > > Here's the link to my YummyFTP bundle: > > http://svn.sofanaranja.com/projects/bundles/release/ > > > -- > Ale Mu?oz > http://sofanaranja.com > http://bomberstudios.com > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From bomberstudios at gmail.com Mon Sep 17 21:01:42 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Mon, 17 Sep 2007 23:01:42 +0200 Subject: [TxMt] TextMate and YummyFTP In-Reply-To: <9815c6f30709170947j1866ba75p1ba094e93ae0332a@mail.gmail.com> References: <9B110E89-D003-4971-B4F5-16883E88DA85@gmail.com> <9815c6f30708151431w53cc8acbp22de35950a2d5bbd@mail.gmail.com> <9815c6f30709170947j1866ba75p1ba094e93ae0332a@mail.gmail.com> Message-ID: On 9/17/07, minskog wrote: > I'm using this great bundle but a kill feature would be the posibility to > open yummyftp in preview mode for synchronize. i dont know if this is > posible ... And the second option: 'Send File with Active Connection' dont > works for me. I'll add your request to my TODO list. As for the second comment, that function is most probably outdated. I'll try to update it to make it work with the latest YummyFTP. Thanks for the feedback! -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From dushanm at spinn.net Mon Sep 17 23:56:20 2007 From: dushanm at spinn.net (DushanM) Date: Mon, 17 Sep 2007 17:56:20 -0600 Subject: [TxMt] test msg Message-ID: <1i4lj19.tu1lab19nmybaM%dushanm@spinn.net> this is a test message: three previous submissions never showed up From cskiadas at gmail.com Tue Sep 18 00:54:42 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Mon, 17 Sep 2007 20:54:42 -0400 Subject: [TxMt] Regex and grammar language In-Reply-To: References: Message-ID: On Sep 17, 2007, at 11:46 AM, Alain Matthes wrote: > PS : i've a problem to understand this line : > > { name = 'meta.space-after-command.latex'; > match = '(?=\s)(?<=\\[\w@]|\\[\w@]{2}|\\[\w@]{3}|\\[\w@]{4}|\\[\w@] > {5}|\\[\w@]{6})\s'; This command uses fixed length look-behinds to get a scope for the space right after a command, so that we can get some things triggered when the caret is at the end of a command. It is used by the "Command Completion" command. Haris Skiadas Department of Mathematics and Computer Science Hanover College From alex.j.ross at gmail.com Tue Sep 18 04:29:50 2007 From: alex.j.ross at gmail.com (Alexander Ross) Date: Mon, 17 Sep 2007 21:29:50 -0700 Subject: [TxMt] test msg In-Reply-To: <1i4lj19.tu1lab19nmybaM%dushanm@spinn.net> References: <1i4lj19.tu1lab19nmybaM%dushanm@spinn.net> Message-ID: Well, this one got through. From dushanm at spinn.net Tue Sep 18 08:05:35 2007 From: dushanm at spinn.net (DushanM) Date: Tue, 18 Sep 2007 02:05:35 -0600 Subject: [TxMt] reformatting with 2 spaces... Message-ID: <1i4lyfu.1ji0uxo1vcu5g6M%dushanm@spinn.net> This is my third attempt to send these questions. When reformatting a paragraph using ^Q, TextMate starts reformatting from the beginning of the paragraph, puts just one space between sentences, then leaves the cursor in that paragraph. Is there an option to specify two spaces between sentences? Might as well mention two other items in my wish list: - reformat starting from the line containing the cursor - when done with one paragraph, place cursor at start of the next one Are any of these doable at present in TextMate? ... while I'm at it I'll repeat an even earlier question that I never saw show up: - when in a window for saving or opening a file, right below the name is the folder being looked at; is it possible to arrange to have that show the full path to the folder instead of just the folder name? I sometimes have similarly-named folders in different places, and seeing the full path would let me distinguish between them. Thanks. - Dushan From jacobolus at gmail.com Tue Sep 18 08:19:57 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Tue, 18 Sep 2007 01:19:57 -0700 Subject: [TxMt] Re: reformatting with 2 spaces... In-Reply-To: <1i4lyfu.1ji0uxo1vcu5g6M%dushanm@spinn.net> References: <1i4lyfu.1ji0uxo1vcu5g6M%dushanm@spinn.net> Message-ID: DushanM wrote: > When reformatting a paragraph using ^Q, TextMate starts reformatting > from the beginning of the paragraph, puts just one space between > sentences, then leaves the cursor in that paragraph. > > Is there an option to specify two spaces between sentences? No. Make a macro which first reformats the paragraph, then selects it, and replaces ". " with ". ", etc. > - reformat starting from the line containing the cursor > - when done with one paragraph, place cursor at start of the next one These can also be done with macros. > - when in a window for saving or opening a file, right below the name > is the folder being looked at; is it possible to arrange to have that > show the full path to the folder instead of just the folder name? > I sometimes have similarly-named folders in different places, and > seeing the full path would let me distinguish between them. I doubt it. -Jacob From jacobolus at gmail.com Tue Sep 18 08:24:11 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Tue, 18 Sep 2007 01:24:11 -0700 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> Message-ID: Ale Mu?oz wrote: >Jenny Harrison wrote: >> 2. In Quicksilver, make a trigger to activate Next Completion from >> the TextMate Menu. >> > Why not use a Macro? I think it might be faster than QS. > > In my setup, I have nextCompletion: bound to Command + Space and > previousCompletion: bound to Option + Command + Space. I'm planning to someday turn my right ? key into an ? key. I've been too lazy so far to figure out how though. From bomberstudios at gmail.com Tue Sep 18 11:12:47 2007 From: bomberstudios at gmail.com (=?UTF-8?Q?Ale_Mu=C3=B1oz?=) Date: Tue, 18 Sep 2007 13:12:47 +0200 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> Message-ID: On 9/18/07, Jacob Rus wrote: > > I'm planning to someday turn my right ? key into an ? key. I've been > too lazy so far to figure out how though. > Check Ukelele[1], it probably does that without too much hassle... [1]: -- Ale Mu?oz http://sofanaranja.com http://bomberstudios.com From throw-away-1 at macromates.com Tue Sep 18 14:21:10 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 18 Sep 2007 16:21:10 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> Message-ID: On 15/09/2007, at 17:34, Alain Matthes wrote: > [...] > I'm not sure to uderstand exactly actual text editing field active? > > So I describe my situation : > > 1 open BUndle editor for Language > 2 Select Latex in the window Languages > 3 now I can write in the text.tex.latex document in the main window > 4 Command A ( select All ) > 5 Command C (copy) > 6 services Edit in textmate with the menu or with the key > equivalent commande ctrl > 7 Bing !! I don?t really understand steps 3-7 here. After selecting LaTeX (your step 2), activate the text editing control (in the bundle editor window) and then call Edit ? Edit in TextMate? From alain.matthes at mac.com Tue Sep 18 15:52:43 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 18 Sep 2007 17:52:43 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> Message-ID: <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> Le 18 sept. 07 ? 16:21, Allan Odgaard a ?crit : > On 15/09/2007, at 17:34, Alain Matthes wrote: > >> [...] >> I'm not sure to uderstand exactly actual text editing field active? >> >> So I describe my situation : >> >> 1 open BUndle editor for Language >> 2 Select Latex in the window Languages >> 3 now I can write in the text.tex.latex document in the main window >> 4 Command A ( select All ) >> 5 Command C (copy) >> 6 services Edit in textmate with the menu or with the key >> equivalent commande ctrl >> 7 Bing !! > > I don?t really understand steps 3-7 here. > > After selecting LaTeX (your step 2), activate the text editing > control (in the bundle editor window) and then call Edit ? Edit in > TextMate? > > I don't understand "activate the text editing control"? what is this operation ? select all? copy ? I click somewhere ? If I want to see edit in TM in bold in the service, I need to copy { scopeName = 'text.tex.latex'; firstLineMatch = '^\\documentclass(?!.*\{beamer\})'; fileTypes = ( 'tex' ); foldingStartMarker = '\\begin\{.*\}|%.*\(fold\)\s*$'; foldingStopMarker = '\\end\{.*\}|%.*\(end\)\s*$'; patterns = ( ... { include = 'text.tex'; }, ); } I try with only a part from this text and it's the same problem When i want to use edit in TM in an other soft, I select a text and I copy this selection then I make "edit in TM" Regards ALain From tm_calfeld at mac.com Tue Sep 18 16:35:25 2007 From: tm_calfeld at mac.com (tm_calfeld at mac.com) Date: Tue, 18 Sep 2007 11:35:25 -0500 Subject: [TxMt] (no subject) Message-ID: I wrote a little script a while back to help with some of this. You can grab the bundle at http://homepage.mac.com/calfeld/SimpleWrap.tgz It defines two commands: WrapSelection wraps the selection. I bind it to ^Q for myself but I left it unbound in the bundle. WrapAtLine Cmd-Ctrl-Q. Wrap the paragraph around the current line. Unlike the text mate wrapping it'll look for an initial prefix of symbols and preserve it. This makes it wrap most comments properly. I.e., # some sample comments # that span multiple lines Wraps to # some sample comments that span multiple lines I use it extensively in my own development and while it's not always right it's more useful than the built in version. It's not very advanced and, at this time, I have no intentions of supporting it or adding features. But it might handle the first item in your wish list or serve as a starting point for your own custom wrapper. c. On Sep 18, 2007, at 3:05 AM, DushanM wrote: > This is my third attempt to send these questions. > > When reformatting a paragraph using ^Q, TextMate starts reformatting > from the beginning of the paragraph, puts just one space between > sentences, then leaves the cursor in that paragraph. > > Is there an option to specify two spaces between sentences? > > Might as well mention two other items in my wish list: > > - reformat starting from the line containing the cursor > > - when done with one paragraph, place cursor at start of the next one > > Are any of these doable at present in TextMate? > > > ... while I'm at it I'll repeat an even earlier question that I never > saw show up: > > - when in a window for saving or opening a file, right below the name > is the folder being looked at; is it possible to arrange to have > that > show the full path to the folder instead of just the folder name? > I sometimes have similarly-named folders in different places, and > seeing the full path would let me distinguish between them. > > > Thanks. > > - Dushan > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -- [PGP Key available at www.keyserver.net - http://homepage.mac.com/ calfeld] From n.kobschaetzki at googlemail.com Tue Sep 18 17:43:07 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Tue, 18 Sep 2007 19:43:07 +0200 Subject: [TxMt] Blogging bundle receives exception Message-ID: Hi! Didn't use the blogging-bundle for a longer time and now I needed it again and get the following when I tried to fetch a post from a long time ago set up blog: Received exception: wrong dateTime.iso8601 format No posts available Any ideas? Niels From mummer at whitefalls.org Tue Sep 18 19:02:46 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Tue, 18 Sep 2007 14:02:46 -0500 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> Message-ID: <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> On Sep 18, 2007, at 10:52 AM, Alain Matthes wrote: > I don't understand "activate the text editing control"? what is > this operation ? > select all? copy ? I click somewhere ? Just click in the text box to make it have focus; you don't need any selection. If you do have a selection it will use only the selection, but without one it defaults to the entire box. > I try with only a part from this text and it's the same problem > When i want to use edit in TM in an other soft, I select a text and > I copy this selection then I make "edit in TM" Copying doesn't do anything, all that's required is that the field have focus. From jacobolus at gmail.com Tue Sep 18 19:37:56 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Tue, 18 Sep 2007 12:37:56 -0700 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: <0A96E6ED-20B3-4886-A242-B6C82CF88E0B@math.berkeley.edu> Message-ID: Ale Mu?oz wrote: > On 9/18/07, Jacob Rus wrote: >> I'm planning to someday turn my right ? key into an ? key. I've been >> too lazy so far to figure out how though. > > Check Ukelele[1], it probably does that without too much hassle... Yes, [I know about][2] Ukelele. No, it doesn't do that with any amount of hassle. [2]: http://www.hcs.harvard.edu/~jrus/site/cocoa-text.html#even_lower_level_hacking_keyboard_layouts From throw-away-1 at macromates.com Tue Sep 18 19:40:01 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 18 Sep 2007 21:40:01 +0200 Subject: [TxMt] Blogging bundle receives exception In-Reply-To: References: Message-ID: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> On 18/09/2007, at 19:43, Niels Kobsch?tzki wrote: > Didn't use the blogging-bundle for a longer time and now I needed it > again and get the following when I tried to fetch a post from a long > time ago set up blog: > Received exception: wrong dateTime.iso8601 format > No posts available > > Any ideas? Some version of WP introduced a non-conforming date. It should be fixed again in latest version of WP. Alternatively you can upgrade to a newer Ruby, which is more lax in what date formats it accepts. From n.kobschaetzki at googlemail.com Tue Sep 18 20:04:56 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Tue, 18 Sep 2007 22:04:56 +0200 Subject: [TxMt] Blogging bundle receives exception In-Reply-To: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> References: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> Message-ID: <997ECB0E-A3BB-49BE-A9E7-86FB37FAA63E@googlemail.com> On Sep 18, 2007, at 9:40 PM, Allan Odgaard wrote: > On 18/09/2007, at 19:43, Niels Kobsch?tzki wrote: > >> Didn't use the blogging-bundle for a longer time and now I needed >> it again and get the following when I tried to fetch a post from a >> long time ago set up blog: >> Received exception: wrong dateTime.iso8601 format >> No posts available >> >> Any ideas? > > Some version of WP introduced a non-conforming date. It should be > fixed again in latest version of WP. > > Alternatively you can upgrade to a newer Ruby, which is more lax in > what date formats it accepts. ok - good to know. thanks Niels From alain.matthes at mac.com Tue Sep 18 20:06:19 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Tue, 18 Sep 2007 22:06:19 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> Message-ID: Le 18 sept. 07 ? 21:02, Michael Sheets a ?crit : > > Copying doesn't do anything, all that's required is that the field > have focus. > > You are right with TextEdit I can only select some words and Edit in TM works without a copy but with TM nothing. I can select some words in the field of the language grammar of LaTeX or simply the field has the focus, Edit in TM gives me only "Bing" !! If nothing is selected, Edit in TM is in gray and I can select the item, If i select some words then I can select Edit in TM but I can't edit the text I try on a powermac and a macbook TM 1.5.6 (1414) and it's the same Impossible to edit the grammar language I try Service Scrubber and I make only Edit in TM active and always the same problem. Copy and Paste works but it's not funny Regards Alain From dushanm at spinn.net Tue Sep 18 20:41:13 2007 From: dushanm at spinn.net (DushanM) Date: Tue, 18 Sep 2007 14:41:13 -0600 Subject: [TxMt] Re: refomatting with 2 spaces... In-Reply-To: <20070918120058.42BCF6BAF@comox.textdrive.com> Message-ID: <1i4n00k.1j82ahf1fiy17M%dushanm@spinn.net> Jacob Rus wrote: > DushanM wrote: > > When reformatting a paragraph using ^Q, TextMate starts reformatting > > from the beginning of the paragraph, puts just one space between > > sentences, then leaves the cursor in that paragraph. > > > > Is there an option to specify two spaces between sentences? > No. Make a macro which first reformats the paragraph, then selects it, > and replaces ". " with ". ", etc. Okay, thanks. Time for me to learn how to make macros in TextMate. > > - reformat starting from the line containing the cursor > > - when done with one paragraph, place cursor at start of the next one > > These can also be done with macros. > > - when in a window for saving or opening a file, right below the name > > is the folder being looked at; is it possible to arrange to have that > > show the full path to the folder instead of just the folder name? > > I sometimes have similarly-named folders in different places, and > > seeing the full path would let me distinguish between them. > I doubt it. This saves me trying to change the unchangable. Thanks for the tips. - Dushan From nicholas at nichol.as Tue Sep 18 21:20:22 2007 From: nicholas at nichol.as (=?ISO-8859-1?Q?Nicholas_Pi=EBl?=) Date: Tue, 18 Sep 2007 23:20:22 +0200 Subject: [TxMt] post_id should not be casted to an int in the blogging module Message-ID: Hi, First of all thanks for the great product, i love TextMate and the blogging bundle is really awesome. I have been playing a bit with the blogging bundle in combination with my blog and the strictness of the Ruby library forced me to follow the specs as strict as well. So in some sense that is a good thing. However, the XML-RPC API itself kinda sucks and i really have to do some magic with post id's in order for them both to understand each other. Luckily the MetaWeblog (and blogger) API allow the post-id's to be a string. But, since the blogging bundle is casting the post-id to an INT it is causing problems when i try to edit a post with a post id that contains anything besides digits. I glanced over the code and i do not see any reason for the post_id to be an INT, i modified line 238 in blogging.rb (self.post_id = @headers['post'].to_i if @headers['post']) by removing '.to_i' and now everything is working as expected. I hope this adjustment will find its way to all happy cutting-edge TextMate users worldwide ;) Cheers, Nicholas Pi?l From mummer at whitefalls.org Tue Sep 18 22:37:19 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Tue, 18 Sep 2007 17:37:19 -0500 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> Message-ID: <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> Finally figured out your issue, you had been saying service but I thought you just didn't know the right terminology. :) Had forgotten that it did use to be a service, was before I started using it heavily. First go remove the service, it's very old. It would be in ~/Library/ Services/ I presume. Then go install the proper one, an Input Manager now. In the Textmate bundle choose "Install Edit in Textmate". After it installs restart the application you want to use it in an it will be in the Edit menu of the application and work like I mentioned before. :) From alain.matthes at mac.com Tue Sep 18 23:51:01 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 19 Sep 2007 01:51:01 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> Message-ID: <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> Le 19 sept. 07 ? 00:37, Michael Sheets a ?crit : > Finally figured out your issue, you had been saying service but I > thought you just didn't know the right terminology. :) Had > forgotten that it did use to be a service, was before I started > using it heavily. > > First go remove the service, it's very old. It would be in ~/ > Library/Services/ I presume. > > Then go install the proper one, an Input Manager now. In the > Textmate bundle choose "Install Edit in Textmate". After it > installs restart the application you want to use it in an it will > be in the Edit menu of the application and work like I mentioned > before. :) I'm tired with this problem yes I know the terminology : service but I don't know that there are two same things for edit in TM Yes in the folder Services I found TexMate Service.service and in InputManagers "Edit in TextMate". I remove the two services and I create a new one with the Textmate bundle "Install Edit in Textmate". Now I do't have any "edit Servive in TM" in the services menu. It's more simple .... I think that there is a little bug , If textmate service.service becomes why don't remove the old one before create tne new one. But now how to "make in service" (french expresion) Edit in Menu . I've it in InputManagers but noting in the services :( Regars Alain From mummer at whitefalls.org Wed Sep 19 00:15:08 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Tue, 18 Sep 2007 19:15:08 -0500 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> Message-ID: > I'm tired with this problem Yeah sorry, we should have picked up on the real issue earlier. > yes I know the terminology : service but I don't know that there > are two same things for edit in TM > > I think that there is a little bug , If textmate service.service > becomes why don't remove the old one before create tne new one. > > But now how to "make in service" (french expresion) Edit in Menu . > I've it in InputManagers but noting in the services :( Look in the Edit menu of any application, you'll find a new menu option there. "Edit in Textmate", with a shortcut of control-command- E. Won't find anything in the services menu at all. From alain.matthes at mac.com Wed Sep 19 00:16:18 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 19 Sep 2007 02:16:18 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> Message-ID: Le 19 sept. 07 ? 01:51, Alain Matthes a ?crit : > > Le 19 sept. 07 ? 00:37, Michael Sheets a ?crit : > >> Finally figured out your issue, you had been saying service but I >> thought you just didn't know the right terminology. :) Had >> forgotten that it did use to be a service, was before I started >> using it heavily. >> >> Ok Edit in TexMate is not, now, a service but a new possibility to edit a text in textmate . My problem was, that I had the old service in the menu service and I never think that now in the cocoa apllication we find a new item in the menu Edit Thanks because is a great pleasure to use this command Regards Alain From cskiadas at gmail.com Wed Sep 19 01:00:09 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 18 Sep 2007 21:00:09 -0400 Subject: [TxMt] Editing a langage Grammar In-Reply-To: References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> Message-ID: <6B0D75A2-50D0-4A7A-BEF7-1C07B6ADD3E4@gmail.com> Alain, one word of caution with the command, when you use it with the Bundle editor. If you: 1) open the bundle editor 2) select a command 3) click its text field to make it get focus 4) start the "Edit in textmate" command to get the text in a nice new window 5) go back to the text editor and select a new command 6) go back to the nice new window that had the stuff from "Edit in Textmate" 7) save. Then you have just overwritten the new command you selected in step 5. So I would strongly advice staying away from the bundle editor until you've closed the "Edit in TextMate" window. Best Haris Skiadas Department of Mathematics and Computer Science Hanover College On Sep 18, 2007, at 8:16 PM, Alain Matthes wrote: > > Le 19 sept. 07 ? 01:51, Alain Matthes a ?crit : > >> >> Le 19 sept. 07 ? 00:37, Michael Sheets a ?crit : >> >>> Finally figured out your issue, you had been saying service but I >>> thought you just didn't know the right terminology. :) Had >>> forgotten that it did use to be a service, was before I started >>> using it heavily. >>> >>> > > Ok Edit in TexMate is not, now, a service but a new possibility to > edit a text in textmate . My problem was, that I had the old > service in the menu service and I never think that now in the cocoa > apllication we find a new item in the menu Edit > > Thanks because is a great pleasure to use this command > > Regards Alain > From alain.matthes at mac.com Wed Sep 19 06:57:33 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 19 Sep 2007 08:57:33 +0200 Subject: [TxMt] Editing a langage Grammar In-Reply-To: <6B0D75A2-50D0-4A7A-BEF7-1C07B6ADD3E4@gmail.com> References: <450DB759-B2C2-4BEB-993D-6FE7D6D55153@mac.com> <407DA4E7-C659-446A-841D-B5B6F943D282@mac.com> <544A8983-5B5A-451F-846F-052D39F5064C@macromates.com> <3B686255-75BA-4A9A-B1F3-468930C02D52@mac.com> <37BD431D-6AA9-4332-96FD-CAC7C4F24D4B@whitefalls.org> <881A9D5E-E595-417E-A119-40B0D6E583F8@whitefalls.org> <764C0FA1-F125-4469-9A4F-B16A509434FE@mac.com> <6B0D75A2-50D0-4A7A-BEF7-1C07B6ADD3E4@gmail.com> Message-ID: <02A59ECE-0906-4482-A81B-172BFB6C2BAA@mac.com> Le 19 sept. 07 ? 03:00, Charilaos Skiadas a ?crit : > Alain, one word of caution with the command, when you use it with > the Bundle editor. If you: > > 1) open the bundle editor > 2) select a command > 3) click its text field to make it get focus > 4) start the "Edit in textmate" command to get the text in a nice > new window > 5) go back to the text editor and select a new command > 6) go back to the nice new window that had the stuff from "Edit in > Textmate" > 7) save. > > Then you have just overwritten the new command you selected in step > 5. So I would strongly advice staying away from the bundle editor > until you've closed the "Edit in TextMate" window. > > Best > Haris Skiadas > Thanks Haris. I know that a little because before to use that I have some problem when I work on the text field and when by inadvertence I click on the scope's list :( I hope in TM2 a better way to manage this ! :) Regards Alain From harrison at Math.Berkeley.EDU Wed Sep 19 11:52:16 2007 From: harrison at Math.Berkeley.EDU (Jenny Harrison) Date: Wed, 19 Sep 2007 04:52:16 -0700 Subject: [TxMt] Re: Auto-completion activated by caps lock + A Message-ID: > On 9/18/07, Jacob Rus wrote: > >> >> I'm planning to someday turn my right ? key into an ? key. >> I've been >> too lazy so far to figure out how though. >> >> > > > Check Ukelele[1], it probably does that without too much hassle... > > [1]: site_id=nrsi&item_id=ukelele> Has anyone managed to make this swap with Ukelele? An obstruction I found is that left ? and right ? are linked together. Jenny -------------- next part -------------- An HTML attachment was scrubbed... URL: From robin.houston at gmail.com Wed Sep 19 12:22:32 2007 From: robin.houston at gmail.com (Robin Houston) Date: Wed, 19 Sep 2007 13:22:32 +0100 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: Message-ID: <1b795e7b0709190522t3dc5c113w94c79be6fbe57bde@mail.gmail.com> On 19/09/2007, Jenny Harrison wrote: > Has anyone managed to make this swap with Ukelele? An obstruction I found > is that left ? and right ? are linked together. I'm pretty sure you can't. If there's something to do with keybindings that Jacob hasn't figured out, it's safe to assume there isn't an easy way to do it . :-) Robin From ruben.debeerst at gmx.de Wed Sep 19 16:22:18 2007 From: ruben.debeerst at gmx.de (Ruben Debeerst) Date: Wed, 19 Sep 2007 18:22:18 +0200 Subject: [TxMt] LaTeX Bundle: Wrap in left...right Message-ID: Hey guys, I want to suggest to change the "left...right" snippet, which wraps "(something)" into "\left(something\right)". Right now the snippet catches any trailing caracter, but commonly it will only be used with brackets. I wanted to wrap "\{something\}" into "\left\{something\right\}". So I changed the snippet to ${TM_SELECTED_TEXT/(.*)(\\}|\)|\])/\\left$1\\right$2/} Maybe this is interesting for others and could be integrated into the bundle. regards, Ruben From alain.matthes at mac.com Wed Sep 19 17:25:58 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Wed, 19 Sep 2007 19:25:58 +0200 Subject: [TxMt] LaTeX Bundle: Wrap in left...right In-Reply-To: References: Message-ID: <6058C26B-A1E2-4273-9164-9154AB9B661B@mac.com> Le 19 sept. 07 ? 18:22, Ruben Debeerst a ?crit : > ${TM_SELECTED_TEXT/(.*)(\\}|\)|\])/\\left$1\\right$2/} yes it's fine "(something)" into "\left(something\right)" fine "[something]" into "\left[something\right]" fine but I will prefer "{something}" into "\left\{something\right\}" but I don't know how to make a conditional insertion (there is a example in the doc but not very clear) Is it possible to make this ? it is better because we can select exactly {something} with "shift cmd B" and not \{.....\} Regards Alain From guillaume.carbonneau at gmail.com Wed Sep 19 20:31:12 2007 From: guillaume.carbonneau at gmail.com (Guillaume Carbonneau) Date: Wed, 19 Sep 2007 13:31:12 -0700 (PDT) Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph In-Reply-To: References: Message-ID: <12785520.post@talk.nabble.com> Guillaume Carbonneau wrote: > > Hi, this is a patch including a command to generate a graph using the > dot command so you don't need the Graphviz gui program in OS X. You > will need to have the dot command in your system. To do so, compile > graphviz or get it from macports like so : > > sudo port install graphviz > > see http://en.wikipedia.org/wiki/Graphviz for more information > > I've already submitted a similar patch to the maintainer "Torsten > Becker" but I got no response so far so I'd like if you guys could > take care of it. > > Thanks > > Guillaume Carbonneau > I still have no response from the official maintainer so I'd like if any of you guys could take this patch to the trunk. Thanks Guillaume -- View this message in context: http://www.nabble.com/-PATCH--Graphviz-bundle-%3A-Generate-Graph-tf4461997.html#a12785520 Sent from the textmate users mailing list archive at Nabble.com. From mday at mac.com Wed Sep 19 23:30:34 2007 From: mday at mac.com (Mark Day) Date: Wed, 19 Sep 2007 16:30:34 -0700 Subject: [TxMt] Java highlighting breaks when a declaration spreads multiple lines In-Reply-To: <46EA89E0.1080800@w3style.co.uk> References: <46EA89E0.1080800@w3style.co.uk> Message-ID: <59CA73B5-D305-4B22-B52F-BB0B68543621@mac.com> On Sep 14, 2007, at 6:17 AM, Chris Corbyn wrote: > If I write a method declaration in an interface: > Then it breaks the highlighting. > > If I put it all on the one line then it works fine. This is a known issue. And it's not just Java. For performance reasons, TextMate examines only one line of the file at a time when matching against the grammar's regular expressions. No one line of your declaration is a match for the regular expression. While you could modify the grammar to accept an incomplete declaration, it would probably result in lots of false positive matches. Allan has mentioned he wants to address this in version 2. -Mark From jacobolus at gmail.com Thu Sep 20 03:38:56 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Wed, 19 Sep 2007 20:38:56 -0700 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: Message-ID: Jenny Harrison wrote: > On 9/18/07, Jacob Rus wrote: >> I'm planning to someday turn my right ? key into an ? key. I've been >> too lazy so far to figure out how though. > > Has anyone managed to make this swap with Ukelele? An obstruction I > found is that left ? and right ? are linked together. Well no, Ukelele can't handle modifier keys. So there are 2 other possible ways, but either is tricky. Desp [figured out][1] that you could remap any of the modifiers to any other. So the first possibility is to map one of the ? keys to something like "help", and then either a) make help do the thing you want, or b) figure a way to get the "help" key to trigger another key event. This has the downside of clobbering whatever the help key was otherwise going to do, but I think it's worth it. So I may at some point just change all the completion commands, etc. to use the help key, and then devote my right ? key to that. [1]: http://desp.night.pl/keys.html The [other way][2] is to muck with plist files in the keyboard driver itself. I haven't tried this, it looks a bit daunting, and I'd imagine it's a good way to panic your computer or make your keyboard stop working altogether if you screw something up too much, but it might work out. :) [2]: http://www.snark.de/index.cgi/0007 -Jacob From robin.houston at gmail.com Thu Sep 20 04:41:10 2007 From: robin.houston at gmail.com (Robin Houston) Date: Thu, 20 Sep 2007 05:41:10 +0100 Subject: [TxMt] Re: Auto-completion activated by caps lock + A In-Reply-To: References: Message-ID: <1b795e7b0709192141r6920fa6y435e0f26c07ee5a@mail.gmail.com> On 20/09/2007, Jacob Rus wrote: > The [other way][2] is to muck with plist files in the keyboard driver > itself. [?] > > [2]: http://www.snark.de/index.cgi/0007 I don't think this second way will work. That page even says, "? there is no way to deal differently with left or right modifier keys (ie. remap just the right command key instead) in this setup because both features are handled deep within the keyboard controller." I'm surprised you didn't mention the third option of hacking the IOHIDFamily code. :-) Robin From chris at w3style.co.uk Thu Sep 20 05:50:55 2007 From: chris at w3style.co.uk (Chris Corbyn) Date: Thu, 20 Sep 2007 06:50:55 +0100 Subject: [TxMt] Java highlighting breaks when a declaration spreads multiple lines In-Reply-To: <59CA73B5-D305-4B22-B52F-BB0B68543621@mac.com> References: <46EA89E0.1080800@w3style.co.uk> <59CA73B5-D305-4B22-B52F-BB0B68543621@mac.com> Message-ID: Ah ok thanks. It's not really a big issue for me :) I've been using TM for nearly a year and I still think it's by far the best editor available between windows, linux and mac. On 20 Sep 2007, at 00:30, Mark Day wrote: > On Sep 14, 2007, at 6:17 AM, Chris Corbyn wrote: > >> If I write a method declaration in an interface: > > > >> Then it breaks the highlighting. >> >> If I put it all on the one line then it works fine. > > This is a known issue. And it's not just Java. For performance > reasons, TextMate examines only one line of the file at a time when > matching against the grammar's regular expressions. No one line of > your declaration is a match for the regular expression. > > While you could modify the grammar to accept an incomplete > declaration, it would probably result in lots of false positive > matches. > > Allan has mentioned he wants to address this in version 2. > > -Mark > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From alain.matthes at mac.com Thu Sep 20 07:40:10 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Thu, 20 Sep 2007 09:40:10 +0200 Subject: [TxMt] Snippet or command Message-ID: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> hello Ruben Debeerst suggests to change the "left...right" snippet which wraps "(something)" into "\left(something\right)" I think that is interesting but I would like to make this for ( and [ but not for { In this case, I would prefer "{something}" into "\left\{something\right\}" But I've a problem because actually I learn regex, ruby syntax grammar etc.... I'm sure that's possible with a command and a script with ruby or perl but is it possible only with regex in a snippet. The proposition of Ruben is : ${TM_SELECTED_TEXT/(.*)(\\}|\)|\])/\\left$1\\right$2/} If I make a special snippet for { I have two snippets for ( and [ ${TM_SELECTED_TEXT/(.*)(\)|\])/\\left$1\\right$2/} and for { ${TM_SELECTED_TEXT/(.*)(\})/\\left\\$1\\right\\$2/} How to make this with only one snippet ? Thanks Regars Alain From bibiko at eva.mpg.de Thu Sep 20 07:43:29 2007 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Thu, 20 Sep 2007 09:43:29 +0200 Subject: [TxMt] TMTOOLS plugin Message-ID: <323C22D7-19EC-4E29-BB37-DB1B2B665F91@eva.mpg.de> Hi, Over the past years I wrote some very tiny code snippets in order to save time while using TM. I copy&pasted it from one code to a new command etc. Then I had the idea to put everything together in a plugin to use my code snippets more flexible. Ok, I did this. I took the idea of tm_dialog, Joachim M?rtensson's completion menu, and me tiny code snippets. The result is the TMTOOLS plugin. usage: "$TMTOOLS" -[fsgiem] -p PLIST f --extended-popup s --set g --get i --insert e --execute m --play macro Each of the following commands can be used within any tmCommand/ script written in bash, ruby, perl, etc. (tentative) LIST OF COMMANDS: ----------------------------------------------- Show as completion menu: -TM's internal word list completion -Word completion with Cocoa's spellchecker dictionaries of different languages (TM's internal word completion list is added before the spellchecker's list :) -File/Path Completion -Insert text -Insert text as snippet Set: (also as batch) -set word characters -place the caret to -select something within the document -set tab size -set soft tabs -set soft wrap -set the language/grammar by its name -set show line numbers -set font size -set font name -set bookmarks for lines -set userdefault for a key -play a dynamic generated macro Get: -get the _current_ text from the document -get the XML representation of the document -get the XML representation of the selection -get the position under the caret -get all bookmarks out the current document -get all symbols -is document edited? -get font size -get font name -get current stylesheet -get all opened files in a project -get the default for a key -get the head of the current line according to the caret -get the tail of the current line according to the caret -get the head of the current word according to the caret -get the tail of the current word according to the caret Execute: (also as batch) -reloadBundles -select current scope -run any macro, command, template, or snippet by its name -open saveAs panel -open open Panel -open web preview -open bundle editor -open print panel -center selection in window -delete all bookmarks -go to next/previous snippet field -convert a text according to unicode's mapping [(de)compose] and some more... One can do very nice things with TMTOOLS. E.g., by myself I'm using very often -go to next snippet field and show suggestions according the selected text, select a suggestion, and go to the next snippet field (It was always annoying to see only 'NSStringEncoding'. Now, if the snippet field is 'NSStringEncoding' it shows me 'NSUTF8Encoding, NSASCIIStringEncoding, NSJapaneseEUCStringEncoding, ...'. Or if the snippet field is something like uft8|ascii|utf16, it gives me these items as inline menu. ) -create an HTML page out of my document, change the font size, and open the web preview -get all bookmarks, show a inline menu, and go to the selected bookmark -open a text document *.txt, set my grammar to a language which highlights consonat clusters, hide line numbers -open a text document *_jp.txt, set the font name to ForMateKonaVe and size to 14pt, to input Japanese -the chance to execute dynamic generated macros - very helpful ;) -if you have a long text you can set bookmarks to line 50,100,150,200,... To illustrate the syntax of such commands here some examples: play a macro: "$TMTOOLS" -m -p '{ commands = ( {command = "moveWordRight:"; }, {command = "moveWordLeftAndModifySelection:"; }, {command = "moveWordLeftAndModifySelection:"; }, {command = "moveWordLeftAndModifySelection:"; } ); }' $val set a grammar: "$TMTOOLS" --set -p '{grammar;to="Objective-C++";}' set as batch: "$TMTOOLS" -s -p '{ batch=( {grammar;to=Perl;}, {wordchars;to="_$";}, <= this is very useful ;) {caret;toLine=2;toColumn=2;}, {selection;toColumn=end;} ); }' execute as batch: "$TMTOOLS" -e -p '{ batch=( {command;name="Add Line Numbers to Document / Selection";}, {command;name="Duplicate Line / Selection";}, {macro;name="Move to EOL and Insert ?.?";} ); }' go to next snippet field and show according to its selection a inline menu with suggestions: "$TMTOOLS" -e -p '{nextsnippetfield;}' "$TMTOOLS" -e -p '{command;name="ShowAsList";}' prepare a coloured print version of my document: "$TMTOOLS" -e -p '{command;name="Create HTML From Document / Selection";}' "$TMTOOLS" -m -p ' commands argument action replaceAll findInProjectIgnoreCase findString font-size: .*?px ignoreCase regularExpression replaceAllScope document replaceString font-size: 8px wrapAround command findWithOptions: ' "$TMTOOLS" -e -p '{showwebpreview;}' convert the unicode mapping of the entire document: IN=$(cat) PLIST="{convert;what=\"$IN\";using="nfd";}" "$TMTOOLS" -g -p "$PLIST" # allowed parameters for key 'using' # # nfd = decompose according to canonical mapping # nfc = compose according to canonical mapping # kd = decompose according to canonical compatibility mapping # kc = compose according to canonical compatibility mapping # # see more at http://www.unicode.org/reports/tr15/ set the selection from the caret 4 chars back: "$TMTOOLS" --set -p '{selection;length=-4;}' one has the line "This is rub|bish and" [| = caret]: "$TMTOOLS" -g -p '{wordaftercaret;}' gives you "bish" Up to now this plugin is more or less a collection. I have to fixed some error handlings, unify the output, etc. So, my question whether it would be worth to clean the code and publish it. In other words: Is someone interested in such a plugin? One has to mention that TMTOOLS depends on Allan's code. If he changes the code maybe one has to adjust TMTOOLS' code as well. Then Allan plans to include some of these commands in TM2. Any feedback? Cheers, Hans From alain.matthes at mac.com Thu Sep 20 08:32:43 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Thu, 20 Sep 2007 10:32:43 +0200 Subject: [TxMt] Latex : Command-\command{...} Message-ID: <8E5AFD73-1A7C-4616-8139-1D395BA1ED20@mac.com> hello In the latex bundle we find: A) a command (ctrl+shift+W) #!/usr/bin/env ruby require ENV['TM_SUPPORT_PATH'] +'/lib/escape.rb' print "\\\\${1:emph}{#{if s = ENV['TM_SELECTED_TEXT'] then e_sn(s) else '$2' end}}" B) an other command (cmd B) toggle_style.rb -style=textbf C) a snippet(ctrl+shift+E) \\${1:text${2:bf}}{$TM_SELECTED_TEXT} ---------------------------------------------------- three questions : 1) Why this snippet ? (the commands are useful !) 2) the snippet appears in the Select Bundle Item of the menu Bundle but not in the item Latex of the menu Bundle (perhaps i don't see it). 3) \${1:text${2:bf}}{$TM_SELECTED_TEXT} i don't understand the syntax why not : \\${1:text}${2:bf}{$TM_SELECTED_TEXT} ? we can change text with math and bf with cal for example Regards Alain From tom.armitage at gmail.com Thu Sep 20 11:07:59 2007 From: tom.armitage at gmail.com (Tom Armitage) Date: Thu, 20 Sep 2007 12:07:59 +0100 Subject: [TxMt] Velocity Bundle for Textmate Message-ID: <948601250709200407y815c689w598f27cd1effa337@mail.gmail.com> So, a long while ago, I mentioned I was working on a Velocity bundle for use with Textmate (and e, etc). We've been using a version of this internally at work, and it served our purposes reasonably well. Having read James Edward Gray's superb book, I decided to rewrite the bundle from scratch. The initial language grammar was very much a reverse-engineering job based on other grammars. This time around, I started from scratch, and based my grammar on JEG's tips and on the Velocity documentation (which served as a useful spec and test suite). An initial public release of the bundle is available here: http://code.google.com/p/txm-vtl-bundle/ and you can get the bundle itself thus: svn checkout http://txm-vtl-bundle.googlecode.com/svn/trunk/ --- I'd be really interested in feedback, fixes, and patches. Do use the GoogleCode issue tracker, and do submit diff files. I'm particularly interested in more snippets - I've literally put in the basic stuff we use (and nothing specific to our templating) - but am aware many people use Velocity in different manners. Also, if anyone wants to produce grammars for Velocity-XML (or whatever), based upon the Velocity-HTML grammar, feel free. Sorry it took so long to make public. I hope people find it useful, and that we can improve it together - and at some point get it into the official repository (if you're around, Allan...) All the best, t. From cskiadas at gmail.com Thu Sep 20 12:18:08 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Thu, 20 Sep 2007 08:18:08 -0400 Subject: [TxMt] Latex : Command-\command{...} In-Reply-To: <8E5AFD73-1A7C-4616-8139-1D395BA1ED20@mac.com> References: <8E5AFD73-1A7C-4616-8139-1D395BA1ED20@mac.com> Message-ID: <139D78E4-2E82-436F-BB0F-B9E5C98E6750@gmail.com> The snippet has been moved to the excluded items list (that's why you don't see it in the menu), and is phased out; in fact I had forgotten it is still there. We should probably remove it altogether. Haris On Sep 20, 2007, at 4:32 AM, Alain Matthes wrote: > hello > > In the latex bundle we find: > > A) a command (ctrl+shift+W) > > #!/usr/bin/env ruby > require ENV['TM_SUPPORT_PATH'] +'/lib/escape.rb' > print "\\\\${1:emph}{#{if s = ENV['TM_SELECTED_TEXT'] then e_sn > (s) else '$2' end}}" > > B) an other command (cmd B) > > toggle_style.rb -style=textbf > > C) a snippet(ctrl+shift+E) > > \\${1:text${2:bf}}{$TM_SELECTED_TEXT} > > ---------------------------------------------------- > three questions : > > 1) Why this snippet ? (the commands are useful !) > > 2) the snippet appears in the Select Bundle Item of the menu Bundle > but not in the item Latex of the menu Bundle (perhaps i don't > see it). > > 3) \${1:text${2:bf}}{$TM_SELECTED_TEXT} i don't understand the > syntax > why not : > > \\${1:text}${2:bf}{$TM_SELECTED_TEXT} ? > we can change text with math and bf with cal for example > > Regards Alain Haris Skiadas Department of Mathematics and Computer Science Hanover College From angelolaub at gmail.com Thu Sep 20 14:49:27 2007 From: angelolaub at gmail.com (Angelo Laub) Date: Thu, 20 Sep 2007 16:49:27 +0200 Subject: [TxMt] C Bundle: Function detection fails when arguments are spread over several lines Message-ID: <1315ae410709200749n703ad938sfc4c34da45323e61@mail.gmail.com> Hi, I've noticed a bug in the function detection of the C language Bundle. A function is not properly recognized when the arguments are spread over several lines. This causes the syntax highlighting to be broken and the function will not appear in the 'Jump to function' popup list. I've attached a patch to the C syntax file which corrected the problem for me. I haven't noticed any side-effects so far but I don't know if it's really the best solution. Allan, I would be glad if you could incorporate a fix to this issue in an upcoming release. Thanks, Angelo -------------- next part -------------- A non-text attachment was scrubbed... Name: c_bundle_function.patch Type: application/octet-stream Size: 1078 bytes Desc: not available URL: From lucatorella at gmail.com Thu Sep 20 16:22:54 2007 From: lucatorella at gmail.com (Luca Torella) Date: Thu, 20 Sep 2007 18:22:54 +0200 Subject: [TxMt] latex bundle - coloring error - \ and lstlisting Message-ID: <91C6F4E1-F8BB-44A1-AF4D-944CBEA2DFB1@gmail.com> There is an error in the coloring of a latex document when i put a '\' in a lstlisting; here is the example: \begin{lstlisting} reservedWordsFM = listToUFM $ map (\(x, y, z) -> (mkFastString x, (y, z))) \end{lstlisting} the '\' is legal in the lstlisting but the bundle show an invalid string and invalidate all t he remaining document if u wanna see the file which introduce the error you can download it here: http://macromates.com/ticket/show?ticket_id=0A9B755F From spicyjalapeno at gmail.com Thu Sep 20 17:25:24 2007 From: spicyjalapeno at gmail.com (Ben Alpert) Date: Thu, 20 Sep 2007 11:25:24 -0600 Subject: [TxMt] Snippet or command In-Reply-To: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> References: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> Message-ID: Try this command (before: none, input: selection or nothing, output: replace selection): #!/usr/bin/env ruby sel = STDIN.read.chomp sel.match(/^(.+)(.)$/) left = $~[1] right = $~[2] print "\\left#{left}\\right#{right}" -- Q: Why is this message no more than five sentences? A: http://five.sentenc.es/ From tmtxpstuff at consking.com Thu Sep 20 17:26:07 2007 From: tmtxpstuff at consking.com (marios) Date: Thu, 20 Sep 2007 20:26:07 +0300 Subject: [TxMt] Convert Docs to PDF and Summary under Markdown, Textile Message-ID: <46F2AD2F.70603@consking.com> Off-topic half way, but I just had to get it out of my Brain. In search of a better cross-format conversion, I followed Oliver Taylors advice about Prince, to generate my PDF files, and after investing a couple of hours, this proved to be rewarding. I made a command in a similar way as Oliver did, and made a custom CSS, which in this case suits the needs for a Client Manual. Currently, I keep the Source File in XHTML format. (One large file, not like in DocBook ). My problem is, that apart from the prince-bookmark-level property I also need to structure the content using ID anchors for the Targets and then keep a TOC, that would then dynamically update as per command, much like the one, that is available in AMAYA. And second to this, I'd like to keep the source file either in Textile or Markdown format and then convert to XHTML and PDF. I use Bret Teerpsa's HTML Index Bundle in the meanwhile, for what I need. I believe for some reason, that a command that dynamically updates a TOC, if present, would be of much sense, to be available in the markdown, textile and HTML Bundles by default. Out of Interest, I'd like to know Allan's opinion about this for version 2, and if so, any other advice, suggestions about maintaining Documentation files in a separate Project in General. regards, marios From fa at kedisoft.com Thu Sep 20 17:39:48 2007 From: fa at kedisoft.com (Ferhat Ayaz) Date: Thu, 20 Sep 2007 10:39:48 -0700 (PDT) Subject: [TxMt] Blogging bundle receives exception In-Reply-To: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> References: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> Message-ID: <12802202.post@talk.nabble.com> Allan Odgaard-2 wrote: > > > Alternatively you can upgrade to a newer Ruby, which is more lax in > what date formats it accepts. > > Hi, I installed a newer ruby (1.8.6) under /opt/local/ (my rails environment). How can I use this one instead of /usr/local/bin/ruby with TextMate? No, I don't want to add /opt/local/bin/ to my PATH. Thanks, Ferhat -- View this message in context: http://www.nabble.com/Blogging-bundle-receives-exception-tf4475902.html#a12802202 Sent from the textmate users mailing list archive at Nabble.com. From alain.matthes at mac.com Thu Sep 20 19:37:04 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Thu, 20 Sep 2007 21:37:04 +0200 Subject: [TxMt] Snippet or command In-Reply-To: References: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> Message-ID: Le 20 sept. 07 ? 19:25, Ben Alpert a ?crit : > Try this command (before: none, input: selection or nothing, output: > replace selection): > > #!/usr/bin/env ruby > > sel = STDIN.read.chomp > sel.match(/^(.+)(.)$/) > left = $~[1] > right = $~[2] > print "\\left#{left}\\right#{right}" > bravo ! fine Compliments from Paris Regards Alain PS : I need to learn Ruby !! From tmtxpstuff at consking.com Thu Sep 20 20:09:34 2007 From: tmtxpstuff at consking.com (marios) Date: Thu, 20 Sep 2007 23:09:34 +0300 Subject: [TxMt] Convert Docs to PDF and Summary under Markdown, Textile In-Reply-To: <46F2AD2F.70603@consking.com> References: <46F2AD2F.70603@consking.com> Message-ID: <46F2D37E.2010901@consking.com> Just to sum this up, why I prefer Textile over markdown , is only because Textile supports attributes like classes, which I need on those documentation files. So I can convert a Textile document to XHTML with the built in Textile command. But not the other way around. If I use markdown, I can convert both ways, from what we've got now. regards, marios From alain.matthes at mac.com Fri Sep 21 07:30:52 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 21 Sep 2007 09:30:52 +0200 Subject: [TxMt] Snippet or command In-Reply-To: References: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> Message-ID: <5FD27A8B-72C5-4023-9828-2DC66E76A674@mac.com> Le 20 sept. 07 ? 19:25, Ben Alpert a ?crit : > Try this command (before: none, input: selection or nothing, output: > replace selection): > > #!/usr/bin/env ruby > > sel = STDIN.read.chomp > sel.match(/^(.+)(.)$/) > left = $~[1] > right = $~[2] > print "\\left#{left}\\right#{right}" hello Ben How to make a test like : if right = } then right =\\right Thanks and Regards Alain From fa at kedisoft.com Fri Sep 21 08:51:16 2007 From: fa at kedisoft.com (fa at kedisoft.com) Date: Fri, 21 Sep 2007 03:51:16 -0500 (CDT) Subject: [Fwd: Re: [TxMt] Blogging bundle receives exception] Message-ID: <58104.62.75.184.61.1190364676.squirrel@www.kedisoft.com> I found it. The ruby call is directly in the command with slash bang. Sorry for my earlier post. I'm new to TextMate and to the list. BTW: Hi list! ---------------------------- Original Message ---------------------------- Subject: Re: [TxMt] Blogging bundle receives exception From: "Ferhat Ayaz" Date: Thu, September 20, 2007 12:39 pm To: textmate at lists.macromates.com -------------------------------------------------------------------------- Allan Odgaard-2 wrote: > > > Alternatively you can upgrade to a newer Ruby, which is more lax in > what date formats it accepts. > > Hi, I installed a newer ruby (1.8.6) under /opt/local/ (my rails environment). How can I use this one instead of /usr/local/bin/ruby with TextMate? No, I don't want to add /opt/local/bin/ to my PATH. Thanks, Ferhat -- View this message in context: http://www.nabble.com/Blogging-bundle-receives-exception-tf4475902.html#a12802202 Sent from the textmate users mailing list archive at Nabble.com. ______________________________________________________________________ For new threads USE THIS: textmate at lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate From alain.matthes at mac.com Fri Sep 21 09:20:46 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Fri, 21 Sep 2007 11:20:46 +0200 Subject: [TxMt] Snippet or command In-Reply-To: <5FD27A8B-72C5-4023-9828-2DC66E76A674@mac.com> References: <9EAA1373-EDEE-4CD5-A803-F8207AB5B715@mac.com> <5FD27A8B-72C5-4023-9828-2DC66E76A674@mac.com> Message-ID: Le 21 sept. 07 ? 09:30, Alain Matthes a ?crit : > > hello Ben > > How to make a test like : > > if right = } then right =\\right > > I found : #!/usr/bin/env ruby sel = STDIN.read.chomp sel.match(/^(.+)(.)$/) left = $~[1] right = $~[2] if right == '}' left = '\\{' right = '\\}' end print "\\left#{left}\\right#{right}" Regards Alain From cskiadas at gmail.com Fri Sep 21 10:10:48 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Fri, 21 Sep 2007 06:10:48 -0400 Subject: [TxMt] latex bundle - coloring error - \ and lstlisting In-Reply-To: <91C6F4E1-F8BB-44A1-AF4D-944CBEA2DFB1@gmail.com> References: <91C6F4E1-F8BB-44A1-AF4D-944CBEA2DFB1@gmail.com> Message-ID: Hi Luca, I cannot reproduce this, and downloading the file you put on the ticket did not help either. Perhaps you can send me the sample file over email? The version on the web looks really weird, no newlines etc. Btw, what is the scope on the lines both before and after your lstlisting? You can find that by placing the caret there and pressing ctrl-shift-p. Also what is the scope inside your lstlisting? On Sep 20, 2007, at 12:22 PM, Luca Torella wrote: > There is an error in the coloring of a latex document when i put a > '\' in a lstlisting; here is the example: > > \begin{lstlisting} > reservedWordsFM = listToUFM $ > map (\(x, y, z) -> (mkFastString x, (y, z))) > \end{lstlisting} > > the '\' is legal in the lstlisting but the bundle show an invalid > string and invalidate all t he remaining document > > if u wanna see the file which introduce the error you can download > it here: > http://macromates.com/ticket/show?ticket_id=0A9B755F Haris Skiadas Department of Mathematics and Computer Science Hanover College From robin.houston at gmail.com Fri Sep 21 10:18:47 2007 From: robin.houston at gmail.com (Robin Houston) Date: Fri, 21 Sep 2007 11:18:47 +0100 Subject: [TxMt] latex bundle - coloring error - \ and lstlisting In-Reply-To: References: <91C6F4E1-F8BB-44A1-AF4D-944CBEA2DFB1@gmail.com> Message-ID: <1b795e7b0709210318u22494c8fjdb2e65f6525ab595@mail.gmail.com> On 21/09/2007, Charilaos Skiadas wrote: > The version on the web looks really weird, no newlines etc. I think that's because your web browser is trying to interpret it as HTML. If you download it, it looks okay; though it's not a standalone document (it doesn't start with \documentclass, nor indicate which packages it uses.) Robin From n.kobschaetzki at googlemail.com Fri Sep 21 10:53:52 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Fri, 21 Sep 2007 12:53:52 +0200 Subject: [TxMt] Blogging bundle receives exception In-Reply-To: <997ECB0E-A3BB-49BE-A9E7-86FB37FAA63E@googlemail.com> References: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> <997ECB0E-A3BB-49BE-A9E7-86FB37FAA63E@googlemail.com> Message-ID: On 9/18/07, Niels Kobsch?tzki wrote: > On Sep 18, 2007, at 9:40 PM, Allan Odgaard wrote: > > > On 18/09/2007, at 19:43, Niels Kobsch?tzki wrote: > > > >> Didn't use the blogging-bundle for a longer time and now I needed > >> it again and get the following when I tried to fetch a post from a > >> long time ago set up blog: > >> Received exception: wrong dateTime.iso8601 format > >> No posts available > >> > >> Any ideas? > > > > Some version of WP introduced a non-conforming date. It should be > > fixed again in latest version of WP. > > > > Alternatively you can upgrade to a newer Ruby, which is more lax in > > what date formats it accepts. > > ok - good to know. > thanks Installed now ruby 1.8.6 and it doesn't help. Seems that I have to wait until wordpress.com updates to a version w/out this problem Niels From fa at kedisoft.com Fri Sep 21 11:22:24 2007 From: fa at kedisoft.com (fa at kedisoft.com) Date: Fri, 21 Sep 2007 06:22:24 -0500 (CDT) Subject: [TxMt] Blogging bundle receives exception In-Reply-To: References: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> <997ECB0E-A3BB-49BE-A9E7-86FB37FAA63E@googlemail.com> Message-ID: <40838.62.75.184.61.1190373744.squirrel@www.kedisoft.com> Yes ruby 1.8.6 was not the solution. But it works with WP 2.3-RC1, which I have installed now just because of this reason. * Ferhat > On 9/18/07, Niels Kobsch?tzki wrote: >> On Sep 18, 2007, at 9:40 PM, Allan Odgaard wrote: >> >> > On 18/09/2007, at 19:43, Niels Kobsch?tzki wrote: >> > >> >> Didn't use the blogging-bundle for a longer time and now I needed >> >> it again and get the following when I tried to fetch a post from a >> >> long time ago set up blog: >> >> Received exception: wrong dateTime.iso8601 format >> >> No posts available >> >> >> >> Any ideas? >> > >> > Some version of WP introduced a non-conforming date. It should be >> > fixed again in latest version of WP. >> > >> > Alternatively you can upgrade to a newer Ruby, which is more lax in >> > what date formats it accepts. >> >> ok - good to know. >> thanks > > Installed now ruby 1.8.6 and it doesn't help. Seems that I have to > wait until wordpress.com updates to a version w/out this problem > > Niels > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > From lucatorella at gmail.com Fri Sep 21 12:14:09 2007 From: lucatorella at gmail.com (Luca Torella) Date: Fri, 21 Sep 2007 14:14:09 +0200 Subject: [TxMt] Re: textmate Digest, Vol 36, Issue 22 In-Reply-To: <20070921120046.C76956F89@comox.textdrive.com> References: <20070921120046.C76956F89@comox.textdrive.com> Message-ID: <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> Guys, the file i linked is just a chapter... all the include, documentclass etc are in the main file... just trust me the file is regular latex, i can compile it even through textmate without any warning/error... there is just a problem in coloring and i'd be happy if someone, which know the latex bundle, can fix it. btw, i've also an improvement request in the latex bundle... every time i do typeset and view the pdf go to the beginning of the document, which is very annoying, especially if you are reviewing a document of many pages... TexShop for example keep the position in the pdf viewer, letting you see the changes very fast. > Da: Charilaos Skiadas > Data: 21 settembre 2007 12:10:48 GMT+02:00 > A: TextMate users > Oggetto: Re: [TxMt] latex bundle - coloring error - \ and lstlisting > Rispondi a: TextMate users > > > Hi Luca, > > I cannot reproduce this, and downloading the file you put on the > ticket did not help either. Perhaps you can send me the sample file > over email? The version on the web looks really weird, no newlines > etc. > > Btw, what is the scope on the lines both before and after your > lstlisting? You can find that by placing the caret there and > pressing ctrl-shift-p. Also what is the scope inside your lstlisting? > > On Sep 20, 2007, at 12:22 PM, Luca Torella wrote: > >> There is an error in the coloring of a latex document when i put a >> '\' in a lstlisting; here is the example: >> >> \begin{lstlisting} >> reservedWordsFM = listToUFM $ >> map (\(x, y, z) -> (mkFastString x, (y, z))) >> \end{lstlisting} >> >> the '\' is legal in the lstlisting but the bundle show an invalid >> string and invalidate all t he remaining document >> >> if u wanna see the file which introduce the error you can download >> it here: >> http://macromates.com/ticket/show?ticket_id=0A9B755F > > Haris Skiadas > Department of Mathematics and Computer Science > Hanover College > > > > > > > > > Da: "Robin Houston" > Data: 21 settembre 2007 12:18:47 GMT+02:00 > A: "TextMate users" > Oggetto: Re: [TxMt] latex bundle - coloring error - \ and lstlisting > Rispondi a: TextMate users > > > On 21/09/2007, Charilaos Skiadas wrote: >> The version on the web looks really weird, no newlines etc. > > I think that's because your web browser is trying to interpret it > as HTML. > If you download it, it looks okay; though it's not a standalone > document > (it doesn't start with \documentclass, nor indicate which packages > it uses.) > > Robin -------------- next part -------------- An HTML attachment was scrubbed... URL: From ceyrich at gmx.net Fri Sep 21 12:46:34 2007 From: ceyrich at gmx.net (Christoph Eyrich) Date: Fri, 21 Sep 2007 14:46:34 +0200 Subject: [TxMt] Re: textmate Digest, Vol 36, Issue 22 In-Reply-To: <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> References: <20070921120046.C76956F89@comox.textdrive.com> <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> Message-ID: <863C9C0A-6DBA-41ED-87C4-F71EA9EED344@gmx.net> On Sep 21, 2007, at 2:14 PM, Luca Torella wrote: > btw, i've also an improvement request in the latex bundle... every > time i do typeset and view the pdf go to the beginning of the > document, which is very annoying, especially if you are reviewing a > document of many pages... TexShop for example keep the position in > the pdf viewer, letting you see the changes very fast. that's not a bundle problem, it's a viewer-problem. skim doesn't jump back to the first page. christoph From cskiadas at gmail.com Fri Sep 21 13:03:39 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Fri, 21 Sep 2007 09:03:39 -0400 Subject: [TxMt] latex bundle - coloring error - \ and lstlisting In-Reply-To: <1b795e7b0709210318u22494c8fjdb2e65f6525ab595@mail.gmail.com> References: <91C6F4E1-F8BB-44A1-AF4D-944CBEA2DFB1@gmail.com> <1b795e7b0709210318u22494c8fjdb2e65f6525ab595@mail.gmail.com> Message-ID: <8709C869-93A8-4243-95C3-733C216AF7C9@gmail.com> On Sep 21, 2007, at 6:18 AM, Robin Houston wrote: > On 21/09/2007, Charilaos Skiadas wrote: >> The version on the web looks really weird, no newlines etc. > > I think that's because your web browser is trying to interpret it > as HTML. > If you download it, it looks okay; though it's not a standalone > document > (it doesn't start with \documentclass, nor indicate which packages > it uses.) Ah, when I tried to save it, it had an "htm" extension, so I assumed there was something weird going on, I guess that's why the browser interpreted it as HTML. Still, I get no problems with the syntax coloring on the file. > Robin Haris Skiadas Department of Mathematics and Computer Science Hanover College From bmiller at luther.edu Fri Sep 21 13:05:06 2007 From: bmiller at luther.edu (Brad Miller) Date: Fri, 21 Sep 2007 08:05:06 -0500 Subject: [TxMt] Re: textmate Digest, Vol 36, Issue 22 In-Reply-To: <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> References: <20070921120046.C76956F89@comox.textdrive.com> <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> Message-ID: On 9/21/07, Luca Torella wrote: > > Guys, the file i linked is just a chapter... all the include, > documentclass etc are in the main file... just trust me the file is regular > latex, i can compile it even through textmate without any warning/error... > there is just a problem in coloring and i'd be happy if someone, which know > the latex bundle, can fix it. > btw, i've also an improvement request in the latex bundle... every time i > do typeset and view the pdf go to the beginning of the document, which is > very annoying, especially if you are reviewing a document of many pages... > TexShop for example keep the position in the pdf viewer, letting you see the > changes very fast. > This should work already IF you use Skim, or TeXniscope as your external viewer. I have not been able to make the TexShop viewer sync with LaTeX from TextMate. Brad *Da: *Charilaos Skiadas > > *Data: *21 settembre 2007 12:10:48 GMT+02:00 > > *A: *TextMate users > > *Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting* > > *Rispondi a: *TextMate users > > > > Hi Luca, > > > I cannot reproduce this, and downloading the file you put on the ticket > did not help either. Perhaps you can send me the sample file over email? The > version on the web looks really weird, no newlines etc. > > > Btw, what is the scope on the lines both before and after your lstlisting? > You can find that by placing the caret there and pressing ctrl-shift-p. Also > what is the scope inside your lstlisting? > > > On Sep 20, 2007, at 12:22 PM, Luca Torella wrote: > > > There is an error in the coloring of a latex document when i put a '\' in > a lstlisting; here is the example: > > > \begin{lstlisting} > > reservedWordsFM = listToUFM $ > > map (\(x, y, z) -> (mkFastString x, (y, z))) > > \end{lstlisting} > > > the '\' is legal in the lstlisting but the bundle show an invalid string > and invalidate all t he remaining document > > > if u wanna see the file which introduce the error you can download it > here: > > http://macromates.com/ticket/show?ticket_id=0A9B755F > > > Haris Skiadas > > Department of Mathematics and Computer Science > > Hanover College > > > > > > > > > ** > > *Da: *"Robin Houston" > > *Data: *21 settembre 2007 12:18:47 GMT+02:00 > > *A: *"TextMate users" > > *Oggetto: **Re: [TxMt] latex bundle - coloring error - \ and lstlisting* > > *Rispondi a: *TextMate users > > > > On 21/09/2007, Charilaos Skiadas wrote: > > The version on the web looks really weird, no newlines etc. > > > I think that's because your web browser is trying to interpret it as HTML. > > If you download it, it looks okay; though it's not a standalone document > > (it doesn't start with \documentclass, nor indicate which packages it > uses.) > > > Robin > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From throw-away-1 at macromates.com Fri Sep 21 13:14:22 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:14:22 +0200 Subject: [TxMt] Re: textmate Digest, Vol 36, Issue 22 In-Reply-To: <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> References: <20070921120046.C76956F89@comox.textdrive.com> <3F4D87A9-5266-43DE-8456-C2D81354EA91@gmail.com> Message-ID: On 21/09/2007, at 14:14, Luca Torella wrote: > Guys, the file i linked is just a chapter... all the include, > documentclass etc are in the main file... just trust me the file is > regular latex [...] That doesn?t change that we are unable to reproduce the problem. Please try to simplify the chapter to the smallest possible code fragment that show the problem you are experiencing. From throw-away-1 at macromates.com Fri Sep 21 13:15:29 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:15:29 +0200 Subject: [TxMt] Blogging bundle receives exception In-Reply-To: References: <8A4BB3C8-7917-469F-AFC0-8A396407A446@macromates.com> <997ECB0E-A3BB-49BE-A9E7-86FB37FAA63E@googlemail.com> Message-ID: <5DBE755C-6D94-4029-8058-BEB9D46BF9CC@macromates.com> On 21/09/2007, at 12:53, Niels Kobsch?tzki wrote: > [...] > Installed now ruby 1.8.6 and it doesn't help. Seems that I have to > wait until wordpress.com updates to a version w/out this problem See http://macromates.com/wiki/Troubleshooting/RubyVersionIssue From throw-away-1 at macromates.com Fri Sep 21 13:18:35 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:18:35 +0200 Subject: [TxMt] Convert Docs to PDF and Summary under Markdown, Textile In-Reply-To: <46F2D37E.2010901@consking.com> References: <46F2AD2F.70603@consking.com> <46F2D37E.2010901@consking.com> Message-ID: <2F6AF529-1FE6-4D7F-9744-0B4A0E07B456@macromates.com> On 20/09/2007, at 22:09, marios wrote: > Just to sum this up, why I prefer Textile over markdown , is only > because Textile supports attributes like classes, which I need on > those > documentation files. I think Maruku adds classes to Markdown: http://maruku.rubyforge.org/ I have yet to look into it myself (I?d also like the occasional class for my markup). From throw-away-1 at macromates.com Fri Sep 21 13:21:28 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:21:28 +0200 Subject: [TxMt] Convert Docs to PDF and Summary under Markdown, Textile In-Reply-To: <46F2AD2F.70603@consking.com> References: <46F2AD2F.70603@consking.com> Message-ID: On 20/09/2007, at 19:26, marios wrote: > [...] > I believe for some reason, that a command that dynamically updates a > TOC, if present, would be of much sense, to be available in the > markdown, textile and HTML Bundles by default. > > Out of Interest, I'd like to know Allan's opinion about this for > version > 2, and if so, any other advice, suggestions about maintaining > Documentation files in a separate Project in General. I think a TOC should not be updated, it should be generated. One option I think is nice is http://projects.serenity.de/textmate/markdown2book/ (since I use something similar for the TextMate manual :) ) I?d like for the bundle to have a ?New Book?? command though, to easily get the user started on a new documentation project (rather than have him create the required folder + initial chapter). From throw-away-1 at macromates.com Fri Sep 21 13:27:10 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:27:10 +0200 Subject: [TxMt] Java highlighting breaks when a declaration spreads multiple lines In-Reply-To: <59CA73B5-D305-4B22-B52F-BB0B68543621@mac.com> References: <46EA89E0.1080800@w3style.co.uk> <59CA73B5-D305-4B22-B52F-BB0B68543621@mac.com> Message-ID: On 20/09/2007, at 01:30, Mark Day wrote: > [...] > This is a known issue. And it's not just Java. For performance > reasons, TextMate examines only one line of the file at a time when > matching against the grammar's regular expressions. No one line of > your declaration is a match for the regular expression. > > While you could modify the grammar to accept an incomplete > declaration, it would probably result in lots of false positive > matches. > > Allan has mentioned he wants to address this in version 2. Actually, I said ?not even for 2.0?: http://lists.macromates.com/pipermail/textmate/2007-June/020383.html There is some stuff in 2.0 related to multi-line constructs, but I think it is really only useful for Markdown. Long-term; probably, but 2.0; most definitely not. From throw-away-1 at macromates.com Fri Sep 21 13:40:24 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Fri, 21 Sep 2007 15:40:24 +0200 Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph In-Reply-To: <12785520.post@talk.nabble.com> References: <12785520.post@talk.nabble.com> Message-ID: <16E84AA0-AB4D-45D1-978A-172CB295CBF8@macromates.com> On 19/09/2007, at 22:31, Guillaume Carbonneau wrote: > [...] > I still have no response from the official maintainer so I'd like if > any of > you guys could take this patch to the trunk. Yeah, Torsten seems to go AWOL most of the time ;) I?ll apply the patch shortly (after review) -- thanks for the contribution. From alain.matthes at mac.com Fri Sep 21 23:01:03 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 22 Sep 2007 01:01:03 +0200 Subject: [TxMt] Latex grammar and snippet or command Message-ID: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> hello:) I would like to know if in a macro we can use the latex grammar to know for example if we are in an environment or in displaymath etc... to adapt the command to this situation ? regards Alain From cskiadas at gmail.com Sat Sep 22 02:18:32 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Fri, 21 Sep 2007 22:18:32 -0400 Subject: [TxMt] Latex grammar and snippet or command In-Reply-To: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> References: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> Message-ID: On Sep 21, 2007, at 7:01 PM, Alain Matthes wrote: > hello:) > > I would like to know if in a macro we can use the latex grammar to > know for example if we are in an environment or in displaymath > etc... to adapt the command to this situation ? > If I understand your question, then yes, that's what scope selectors are for. > > > regards Alain Haris Skiadas Department of Mathematics and Computer Science Hanover College From billgriffiths at gmail.com Sat Sep 22 02:33:35 2007 From: billgriffiths at gmail.com (Bill Griffiths) Date: Fri, 21 Sep 2007 19:33:35 -0700 Subject: [TxMt] use textmate on more than one computer Message-ID: <1bd3d81e0709211933j294ce15ar2e11fd675ab8d75e@mail.gmail.com> I bought a copy of textmate and use it on my portable. I would like to use a copy on my desktop. I tried to copy textmate to the desktop computer and use the registration code from the portable but the app acts like a 30-day trial version. Can you use textmate on more than one computer? From spicyjalapeno at gmail.com Sat Sep 22 02:38:07 2007 From: spicyjalapeno at gmail.com (Ben Alpert) Date: Fri, 21 Sep 2007 20:38:07 -0600 Subject: [TxMt] use textmate on more than one computer In-Reply-To: <1bd3d81e0709211933j294ce15ar2e11fd675ab8d75e@mail.gmail.com> References: <1bd3d81e0709211933j294ce15ar2e11fd675ab8d75e@mail.gmail.com> Message-ID: It should work. >From : Personal use: A license can be used on all computers owned by the license owner or where the license owner is the primary user. From alain.matthes at mac.com Sat Sep 22 07:01:02 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 22 Sep 2007 09:01:02 +0200 Subject: [TxMt] Latex grammar and snippet or command In-Reply-To: References: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> Message-ID: <99FD449C-9396-4CFD-94EE-E37EB3ADF9BD@mac.com> Le 22 sept. 07 ? 04:18, Charilaos Skiadas a ?crit : > On Sep 21, 2007, at 7:01 PM, Alain Matthes wrote: > >> hello:) >> >> I would like to know if in a macro we can use the latex grammar to >> know for example if we are in an environment or in displaymath >> etc... to adapt the command to this situation ? >> > If I understand your question, then yes, that's what scope > selectors are for. >> Thanks the idea is "when i'm in an environment like pspicture or tikzpicture" to have a commmand to compile only the code between begin{tikzpicture} ..... end{tikzpicture} I know that is possible with emacs and this is very useful if you works with emacs, idem for listings. Ruby is perhaps the best tool to make that like some examples in the LaTeX Bundle ? Perhaps you know an example more simple ? Regards Alain From tmtxpstuff at consking.com Sat Sep 22 09:56:41 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 12:56:41 +0300 Subject: [TxMt] Convert Docs to PDF and Summary under Markdown, Textile In-Reply-To: References: <46F2AD2F.70603@consking.com> Message-ID: <46F4E6D9.3000800@consking.com> Allan Odgaard wrote: > On 20/09/2007, at 19:26, marios wrote: > >> [...] >> I believe for some reason, that a command that dynamically updates a >> TOC, if present, would be of much sense, to be available in the >> markdown, textile and HTML Bundles by default. >> >> Out of Interest, I'd like to know Allan's opinion about this for version >> 2, and if so, any other advice, suggestions about maintaining >> Documentation files in a separate Project in General. > > I think a TOC should not be updated, it should be generated. > > One option I think is nice is > http://projects.serenity.de/textmate/markdown2book/ (since I use > something similar for the TextMate manual :) ) > > I?d like for the bundle to have a ?New Book?? command though, to easily > get the user started on a new documentation project (rather than have > him create the required folder + initial chapter). > I'd love to use this. Unfortunately a successful pdf conversion will fail, in that all the external links being used internally in the Index will break. That's why I'd rather prefer to keep everything in one single large file, since internal links is the only thing that the PDF document can handle in this case. Amaya also seems to have a make book command. Haven't tried it out yet. regards, marios From tmtxpstuff at consking.com Sat Sep 22 13:20:08 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 16:20:08 +0300 Subject: [TxMt] New version of Texari Reborn Theme Message-ID: <46F51688.4090603@consking.com> Hello to All This is a revised version of Texari Reborn. As you might know, not all Themes have support for more exotic Languages like Textile for Instance. It was first created to cater the proper Textpattern Styles. I have revised the Theme since then a couple of Times. It now has also good support for Textile, php and HTML of course. I even modified Brad Choate's Textile Language Grammar yesterday, to add support for Acronyms, codeblocks and a couple of other things that are only available in Dean Allan's version of Textile 2. Unfortunately I lost my changes, due to the fact, that I had to force quit TextMate. However the Theme is there. One useful addition, that I made, is to add support for zem_template, which is used to create the Textpattern plugins, that are running from cache. It helps to avoid Errors, styles comment blocks and special comment blocks as distinguishable lines and so forth. It has a very resting effect on the eyes. Give at a go, if you wish. regards, marios -------------- next part -------------- A non-text attachment was scrubbed... Name: Texari Reborn.tmTheme.zip Type: application/x-zip-compressed Size: 2733 bytes Desc: not available URL: From tmtxpstuff at consking.com Sat Sep 22 13:41:06 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 16:41:06 +0300 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F51688.4090603@consking.com> References: <46F51688.4090603@consking.com> Message-ID: <46F51B72.8000207@consking.com> marios wrote: > Hello to All Here is also a screenshot that demonstrates Textile support. regards, marios -------------- next part -------------- A non-text attachment was scrubbed... Name: Texari_textile_support.jpg Type: image/jpeg Size: 58089 bytes Desc: not available URL: From ray.slakinski at gmail.com Sat Sep 22 13:46:24 2007 From: ray.slakinski at gmail.com (Ray Slakinski) Date: Sat, 22 Sep 2007 09:46:24 -0400 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F51688.4090603@consking.com> References: <46F51688.4090603@consking.com> Message-ID: <46F51CB0.4020201@gmail.com> I like this theme, although i had to change the highlight color to 'Midnight' in order to see all the text on a line of php code. Ray marios wrote: > Hello to All > > This is a revised version of Texari Reborn. As you might know, not all > Themes have support for more exotic Languages like Textile for Instance. > > It was first created to cater the proper Textpattern Styles. > > I have revised the Theme since then a couple of Times. It now has also > good support for Textile, php and HTML of course. > > I even modified Brad Choate's Textile Language Grammar yesterday, to add > support for Acronyms, codeblocks and a couple of other things that > are only available in Dean Allan's version of Textile 2. > > Unfortunately I lost my changes, due to the fact, that I had to force > quit TextMate. > > However the Theme is there. > > One useful addition, that I made, is to add support for zem_template, > which is used to create the Textpattern plugins, that are running from > cache. It helps to avoid Errors, styles comment blocks and special > comment blocks as distinguishable lines and so forth. > > It has a very resting effect on the eyes. > > Give at a go, if you wish. > > > regards, marios > > > > ------------------------------------------------------------------------ > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature URL: From tmtxpstuff at consking.com Sat Sep 22 15:52:59 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 18:52:59 +0300 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F51CB0.4020201@gmail.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> Message-ID: <46F53A5B.5040305@consking.com> Ray Slakinski wrote: > I like this theme, although i had to change the highlight color to > 'Midnight' in order to see all the text on a line of php code. > Hm, don't know why that is. Could be an opacity problem on the Forgroundcolor somewhere. I have attached a screenshot how I see a library function in either HTML PHP or Textpattern Language Scope. Did you get anything different then that ? And if not, could you tell me which scopes did create a problem for you ? Thanks. regards, marios > Ray > > marios wrote: >> Hello to All >> >> This is a revised version of Texari Reborn. As you might know, not all >> Themes have support for more exotic Languages like Textile for Instance. >> >> It was first created to cater the proper Textpattern Styles. >> >> I have revised the Theme since then a couple of Times. It now has also >> good support for Textile, php and HTML of course. >> >> I even modified Brad Choate's Textile Language Grammar yesterday, to add >> support for Acronyms, codeblocks and a couple of other things that >> are only available in Dean Allan's version of Textile 2. >> >> Unfortunately I lost my changes, due to the fact, that I had to force >> quit TextMate. >> >> However the Theme is there. >> >> One useful addition, that I made, is to add support for zem_template, >> which is used to create the Textpattern plugins, that are running from >> cache. It helps to avoid Errors, styles comment blocks and special >> comment blocks as distinguishable lines and so forth. >> >> It has a very resting effect on the eyes. >> >> Give at a go, if you wish. >> >> >> regards, marios >> >> >> >> ------------------------------------------------------------------------ >> >> >> ______________________________________________________________________ >> For new threads USE THIS: textmate at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate -------------- next part -------------- A non-text attachment was scrubbed... Name: Texari_php_hilighting.jpg Type: image/jpeg Size: 81134 bytes Desc: not available URL: From ray.slakinski at gmail.com Sat Sep 22 18:08:36 2007 From: ray.slakinski at gmail.com (Ray Slakinski) Date: Sat, 22 Sep 2007 14:08:36 -0400 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F53A5B.5040305@consking.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> Message-ID: <46F55A24.4050402@gmail.com> The attached screenshot does not show a highlighted line, here is a copy of mine... keep in mind I changed the highlight color from what you have to 'midnight' Ray marios wrote: > Ray Slakinski wrote: > >> I like this theme, although i had to change the highlight color to >> 'Midnight' in order to see all the text on a line of php code. >> >> > > Hm, don't know why that is. Could be an opacity problem on the > Forgroundcolor somewhere. > > I have attached a screenshot how I see a library function in either HTML > PHP or Textpattern Language Scope. > > Did you get anything different then that ? And if not, could you tell me > which scopes did create a problem for you ? > > > Thanks. > > > regards, marios > >> Ray >> >> marios wrote: >> >>> Hello to All >>> >>> This is a revised version of Texari Reborn. As you might know, not all >>> Themes have support for more exotic Languages like Textile for Instance. >>> >>> It was first created to cater the proper Textpattern Styles. >>> >>> I have revised the Theme since then a couple of Times. It now has also >>> good support for Textile, php and HTML of course. >>> >>> I even modified Brad Choate's Textile Language Grammar yesterday, to add >>> support for Acronyms, codeblocks and a couple of other things that >>> are only available in Dean Allan's version of Textile 2. >>> >>> Unfortunately I lost my changes, due to the fact, that I had to force >>> quit TextMate. >>> >>> However the Theme is there. >>> >>> One useful addition, that I made, is to add support for zem_template, >>> which is used to create the Textpattern plugins, that are running from >>> cache. It helps to avoid Errors, styles comment blocks and special >>> comment blocks as distinguishable lines and so forth. >>> >>> It has a very resting effect on the eyes. >>> >>> Give at a go, if you wish. >>> >>> >>> regards, marios >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> ______________________________________________________________________ >>> For new threads USE THIS: textmate at 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 at 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 at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 2.png Type: image/png Size: 14812 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature URL: From tmtxpstuff at consking.com Sat Sep 22 19:29:15 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 22:29:15 +0300 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F55A24.4050402@gmail.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> Message-ID: <46F56D0B.80501@consking.com> Ray Slakinski wrote: > The attached screenshot does not show a highlighted line, here is a copy > of mine... keep in mind I changed the highlight color from what you have > to 'midnight' > > Ray Ok, yes I can see the problem. That looks pretty ugly. It's the selection values. I slided the opacity down to about 9 % and moved it more in to the blues and greens. File attached. If there is any wishes to add support for a couple more Languages, just let me know, and I will see, if I can add those in. regards, marios > > > marios wrote: >> Ray Slakinski wrote: >> >>> I like this theme, although i had to change the highlight color to >>> 'Midnight' in order to see all the text on a line of php code. >>> >>> >> Hm, don't know why that is. Could be an opacity problem on the >> Forgroundcolor somewhere. >> >> I have attached a screenshot how I see a library function in either HTML >> PHP or Textpattern Language Scope. >> >> Did you get anything different then that ? And if not, could you tell me >> which scopes did create a problem for you ? >> >> >> Thanks. >> >> >> regards, marios >> >>> Ray >>> >>> marios wrote: >>> >>>> Hello to All >>>> >>>> This is a revised version of Texari Reborn. As you might know, not all >>>> Themes have support for more exotic Languages like Textile for Instance. >>>> >>>> It was first created to cater the proper Textpattern Styles. >>>> >>>> I have revised the Theme since then a couple of Times. It now has also >>>> good support for Textile, php and HTML of course. >>>> >>>> I even modified Brad Choate's Textile Language Grammar yesterday, to add >>>> support for Acronyms, codeblocks and a couple of other things that >>>> are only available in Dean Allan's version of Textile 2. >>>> >>>> Unfortunately I lost my changes, due to the fact, that I had to force >>>> quit TextMate. >>>> >>>> However the Theme is there. >>>> >>>> One useful addition, that I made, is to add support for zem_template, >>>> which is used to create the Textpattern plugins, that are running from >>>> cache. It helps to avoid Errors, styles comment blocks and special >>>> comment blocks as distinguishable lines and so forth. >>>> >>>> It has a very resting effect on the eyes. >>>> >>>> Give at a go, if you wish. >>>> >>>> >>>> regards, marios >>>> >>>> >>>> From tmtxpstuff at consking.com Sat Sep 22 19:37:24 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 22:37:24 +0300 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F55A24.4050402@gmail.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> Message-ID: <46F56EF4.5040608@consking.com> Whoops, forgot to attach the file, wasn't attached. One further mention, on why this Theme was baptized Texari. I view and work a lot with Text. With TextMate, Textpattern on Safari. So: Text + Safari = TextSafari = Texari. The Reborn thing has to do with the Language Grammar refactoring. regards, marios -------------- next part -------------- A non-text attachment was scrubbed... Name: Texari Reborn.tmTheme 2.zip Type: application/x-zip-compressed Size: 2153 bytes Desc: not available URL: From tmtxpstuff at consking.com Sat Sep 22 19:42:06 2007 From: tmtxpstuff at consking.com (marios) Date: Sat, 22 Sep 2007 22:42:06 +0300 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F55A24.4050402@gmail.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> Message-ID: <46F5700E.9080201@consking.com> Ray Slakinski wrote: > The attached screenshot does not show a highlighted line, here is a copy > of mine... keep in mind I changed the highlight color from what you have > to 'midnight' > I dragged down the opacity to 9% and moved it more into the blue greens. File is in the other mail attached. If there are any wishes to add support for other Languages, let me know. regards, marios > Ray > > > marios wrote: >> Ray Slakinski wrote: >> >>> I like this theme, although i had to change the highlight color to >>> 'Midnight' in order to see all the text on a line of php code. >>> >>> >> Hm, don't know why that is. Could be an opacity problem on the >> Forgroundcolor somewhere. >> >> I have attached a screenshot how I see a library function in either HTML >> PHP or Textpattern Language Scope. >> >> Did you get anything different then that ? And if not, could you tell me >> which scopes did create a problem for you ? >> >> From bmiller at luther.edu Sat Sep 22 19:51:17 2007 From: bmiller at luther.edu (Brad Miller) Date: Sat, 22 Sep 2007 14:51:17 -0500 Subject: [TxMt] Latex grammar and snippet or command In-Reply-To: <99FD449C-9396-4CFD-94EE-E37EB3ADF9BD@mac.com> References: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> <99FD449C-9396-4CFD-94EE-E37EB3ADF9BD@mac.com> Message-ID: Alain, Here is a command I wrote to run Python code that is in a lstlisting environment. Save: Nothing Input: Selected Text or Scope Output: show as tooltip Scope: source.python ------------------------------------------------ #!/usr/bin/env python import sys import string # find first non-blank line # determine indent # remove indent from rest of the lines. # run the code using doctest def allWhite(s): allWhite = True count = 0 for ch in s: if ch not in string.whitespace: allWhite = False return count count += 1 if allWhite == True: return -1 prog = sys.stdin.read() lineList = prog.split('\n') i = 0 nonWhite = allWhite(lineList[i]) while nonWhite < 0: i = i + 1 nonWhite = allWhite(lineList[i]) for i in range(len(lineList)): lineList[i] = lineList[i][nonWhite:] #print "
"
#print "\n".join(lineList)
tester = """
def _test():
   import doctest
   doctest.testmod(verbose=True,optionflags=doctest.NORMALIZE_WHITESPACE)
_test()
"""
exec  "\n".join(lineList) + tester

#print "
" ------------------------------------------------ -- Brad Miller Assistant Professor, Computer Science Luther College On 9/22/07, Alain Matthes wrote: > > > Le 22 sept. 07 ? 04:18, Charilaos Skiadas a ?crit : > > > On Sep 21, 2007, at 7:01 PM, Alain Matthes wrote: > > > >> hello:) > >> > >> I would like to know if in a macro we can use the latex grammar to > >> know for example if we are in an environment or in displaymath > >> etc... to adapt the command to this situation ? > >> > > If I understand your question, then yes, that's what scope > > selectors are for. > >> > > Thanks the idea is "when i'm in an environment like pspicture or > tikzpicture" to have a commmand to compile only the code between > > begin{tikzpicture} > ..... > end{tikzpicture} > > I know that is possible with emacs and this is very useful if you > works with emacs, idem for listings. > > Ruby is perhaps the best tool to make that like some examples in the > LaTeX Bundle ? Perhaps you know an example more simple ? > > Regards Alain > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From alain.matthes at mac.com Sat Sep 22 21:01:52 2007 From: alain.matthes at mac.com (Alain Matthes) Date: Sat, 22 Sep 2007 23:01:52 +0200 Subject: [TxMt] Latex grammar and snippet or command In-Reply-To: References: <9ABF2369-ED5C-4224-A4E9-7230D04E32CC@mac.com> <99FD449C-9396-4CFD-94EE-E37EB3ADF9BD@mac.com> Message-ID: <88945AF7-181C-4AED-AD2B-AFD28434C00B@mac.com> Le 22 sept. 07 ? 21:51, Brad Miller a ?crit : > Alain, > > Here is a command I wrote to run Python code that is in a > lstlisting environment. > > >> Thanks Brad for this example Regards Alain From cristi.baluta at gmail.com Sun Sep 23 10:02:34 2007 From: cristi.baluta at gmail.com (Baluta Cristian) Date: Sun, 23 Sep 2007 13:02:34 +0300 Subject: [TxMt] use textmate on more than one computer In-Reply-To: References: <1bd3d81e0709211933j294ce15ar2e11fd675ab8d75e@mail.gmail.com> Message-ID: <7285de060709230302k579d5753j24054227325b9ccf@mail.gmail.com> for me it works on three computers. On 9/22/07, Ben Alpert wrote: > > It should work. > > >From : > > Personal use: A license can be used on all computers owned by the > license owner or where the license owner is the primary user. > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -- Cristi www.ralcr.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From ray.slakinski at gmail.com Sun Sep 23 12:52:55 2007 From: ray.slakinski at gmail.com (Ray Slakinski) Date: Sun, 23 Sep 2007 08:52:55 -0400 Subject: [TxMt] New version of Texari Reborn Theme In-Reply-To: <46F56EF4.5040608@consking.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> <46F56EF4.5040608@consking.com> Message-ID: <46F661A7.1090409@gmail.com> I still find it hard to read, see new example marios wrote: > Whoops, forgot to attach the file, wasn't attached. > > One further mention, on why this Theme was baptized Texari. > > I view and work a lot with Text. With TextMate, Textpattern on Safari. > So: Text + Safari = TextSafari = Texari. > > The Reborn thing has to do with the Language Grammar refactoring. > > regards, marios > > ------------------------------------------------------------------------ > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate -------------- next part -------------- A non-text attachment was scrubbed... Name: Picture 3.png Type: image/png Size: 10142 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 249 bytes Desc: OpenPGP digital signature URL: From jacobolus at gmail.com Sun Sep 23 17:39:31 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Sun, 23 Sep 2007 10:39:31 -0700 Subject: [TxMt] Re: New version of Texari Reborn Theme In-Reply-To: <46F661A7.1090409@gmail.com> References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> <46F56EF4.5040608@consking.com> <46F661A7.1090409@gmail.com> Message-ID: Ray Slakinski wrote: > I still find it hard to read, see new example The problem here is that there is insufficient value (lightness) contrast between the colors: humans are great at distinguishing color with value contrast, and much worse when there is only contrast in hue or colorfulness. In this case, the scheme overall would benefit from having its colors be lighter: at the moment, they are of middle lightness, which means they don't contrast as well as they could with the black background. But whatever happens to the text colors, the highlight color here should be darker, because at the moment it is of near identical lightness to the text colors, and they therefore blend right together. From textmate at subtlegradient.com Mon Sep 24 15:05:12 2007 From: textmate at subtlegradient.com (Thomas Aylott) Date: Mon, 24 Sep 2007 11:05:12 -0400 Subject: [TxMt] TMTOOLS plugin In-Reply-To: <946A8953-BC6E-40CF-BF78-FC846E1C5EA0@subtlegradient.com> References: <946A8953-BC6E-40CF-BF78-FC846E1C5EA0@subtlegradient.com> Message-ID: <24A7EC9F-FFF6-430C-A7E3-C223586E61E9@subtlegradient.com> Hans-Joerg Bibiko bibiko at eva.mpg.de Thu Sep 20 07:43:29 GMT 2007 > Hi, > > Over the past years I wrote some very tiny code snippets in order to > save time while using TM. I copy&pasted it from one code to a new > command etc. Then I had the idea to put everything together in a > plugin to use my code snippets more flexible. > Ok, I did this. I took the idea of tm_dialog, Joachim M?rtensson's > completion menu, and me tiny code snippets. The result is the TMTOOLS > plugin. > > usage: > "$TMTOOLS" -[fsgiem] -p PLIST > f --extended-popup > s --set > g --get > i --insert > e --execute > m --play macro > > Each of the following commands can be used within any tmCommand/ > script written in bash, ruby, perl, etc. > > (tentative) LIST OF COMMANDS: > ----------------------------------------------- > Show as completion menu: > -TM's internal word list completion > -Word completion with Cocoa's spellchecker dictionaries of different > languages > (TM's internal word completion list is added before the > spellchecker's list :) > -File/Path Completion > > -Insert text > -Insert text as snippet > > Set: (also as batch) > -set word characters > -place the caret to > -select something within the document > -set tab size > -set soft tabs > -set soft wrap > -set the language/grammar by its name > -set show line numbers > -set font size > -set font name > -set bookmarks for lines > -set userdefault for a key > > -play a dynamic generated macro > > Get: > -get the _current_ text from the document > -get the XML representation of the document > -get the XML representation of the selection > -get the position under the caret > -get all bookmarks out the current document > -get all symbols > -is document edited? > -get font size > -get font name > -get current stylesheet > -get all opened files in a project > -get the default for a key > -get the head of the current line according to the caret > -get the tail of the current line according to the caret > -get the head of the current word according to the caret > -get the tail of the current word according to the caret > > Execute: (also as batch) > -reloadBundles > -select current scope > -run any macro, command, template, or snippet by its name > -open saveAs panel > -open open Panel > -open web preview > -open bundle editor > -open print panel > -center selection in window > -delete all bookmarks > -go to next/previous snippet field > > -convert a text according to unicode's mapping [(de)compose] > > > and some more... > > > One can do very nice things with TMTOOLS. > E.g., by myself I'm using very often > -go to next snippet field and show suggestions according the selected > text, select a suggestion, and go to the next snippet field > (It was always annoying to see only 'NSStringEncoding'. Now, if the > snippet field is 'NSStringEncoding' it shows me 'NSUTF8Encoding, > NSASCIIStringEncoding, NSJapaneseEUCStringEncoding, ...'. Or if the > snippet field is something like uft8|ascii|utf16, it gives me these > items as inline menu. ) > -create an HTML page out of my document, change the font size, and > open the web preview > -get all bookmarks, show a inline menu, and go to the selected > bookmark > -open a text document *.txt, set my grammar to a language which > highlights consonat clusters, hide line numbers > -open a text document *_jp.txt, set the font name to ForMateKonaVe > and size to 14pt, to input Japanese > -the chance to execute dynamic generated macros - very helpful ;) > -if you have a long text you can set bookmarks to line > 50,100,150,200,... > > To illustrate the syntax of such commands here some examples: > > play a macro: > "$TMTOOLS" -m -p '{ > commands = ( > {command = "moveWordRight:"; }, > {command = "moveWordLeftAndModifySelection:"; }, > {command = "moveWordLeftAndModifySelection:"; }, > {command = "moveWordLeftAndModifySelection:"; } > ); > }' $val > > set a grammar: > "$TMTOOLS" --set -p '{grammar;to="Objective-C++";}' > > set as batch: > "$TMTOOLS" -s -p '{ > batch=( > {grammar;to=Perl;}, > {wordchars;to="_$";}, <= this is very useful ;) > {caret;toLine=2;toColumn=2;}, > {selection;toColumn=end;} > ); > }' > > execute as batch: > "$TMTOOLS" -e -p '{ > batch=( > {command;name="Add Line Numbers to Document / Selection";}, > {command;name="Duplicate Line / Selection";}, > {macro;name="Move to EOL and Insert ?.?";} > ); > }' > > go to next snippet field and show according to its selection a inline > menu with suggestions: > "$TMTOOLS" -e -p '{nextsnippetfield;}' > "$TMTOOLS" -e -p '{command;name="ShowAsList";}' > > prepare a coloured print version of my document: > "$TMTOOLS" -e -p '{command;name="Create HTML From Document / > Selection";}' > "$TMTOOLS" -m -p ' > www.apple.com/DTDs/PropertyList-1.0.dtd"> > > > commands > > > argument > > action > replaceAll > findInProjectIgnoreCase > > findString > font-size: .*?px > ignoreCase > > regularExpression > > replaceAllScope > document > replaceString > font-size: 8px > wrapAround > > > command > findWithOptions: > > > > > ' > "$TMTOOLS" -e -p '{showwebpreview;}' > > > > convert the unicode mapping of the entire document: > IN=$(cat) > PLIST="{convert;what=\"$IN\";using="nfd";}" > "$TMTOOLS" -g -p "$PLIST" > > # allowed parameters for key 'using' > # > # nfd = decompose according to canonical mapping > # nfc = compose according to canonical mapping > # kd = decompose according to canonical compatibility mapping > # kc = compose according to canonical compatibility mapping > # > # see more at http://www.unicode.org/reports/tr15/ > > > > set the selection from the caret 4 chars back: > "$TMTOOLS" --set -p '{selection;length=-4;}' > > > > one has the line "This is rub|bish and" [| = caret]: > "$TMTOOLS" -g -p '{wordaftercaret;}' > gives you "bish" > > > Up to now this plugin is more or less a collection. I have to fixed > some error handlings, unify the output, etc. > > So, my question whether it would be worth to clean the code and > publish it. In other words: Is someone interested in such a plugin? > One has to mention that TMTOOLS depends on Allan's code. If he > changes the code maybe one has to adjust TMTOOLS' code as well. Then > Allan plans to include some of these commands in TM2. > > Any feedback? > > Cheers, > > Hans Sorry not to reply to this properly and destroy all threading. I've been having email issues. This all sounds extremely awesome and useful. Am I right in assuming that you'd be able to run that command periodically to get all this stuff out of textmate through the plugin without interrupting your workflow? What I've always wanted to be able to do is have an HTML Output window open and have it constantly update with all the TM_ variables. There's lots of stuff that you could use that for. You could watch the current document from the background and keep track of all the cursor positions where an edit was made and enable some sort of back/forward thing like in a browser. That's just one of the uses I can see for all this. Where is the code for this or is it all just theory at this point? Thanks. ?Thomas Aylott ? subtleGradient? From gerti-textmate at bitart.com Mon Sep 24 16:32:42 2007 From: gerti-textmate at bitart.com (Gerd Knops) Date: Mon, 24 Sep 2007 11:32:42 -0500 Subject: [TxMt] Project Drawer Groups keep collapsing Message-ID: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> Hi all, Every now and then my Project Drawer groups seem to collapse every time TM becomes the active application, which bugs me no end. Is the cause for that known? I can't seem to detect a pattern, it is fine for weeks, then there are days where it does that all the time. Thanks Gerd From bibiko at eva.mpg.de Mon Sep 24 17:14:20 2007 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Mon, 24 Sep 2007 19:14:20 +0200 Subject: [TxMt] TMTOOLS plugin In-Reply-To: <24A7EC9F-FFF6-430C-A7E3-C223586E61E9@subtlegradient.com> References: <946A8953-BC6E-40CF-BF78-FC846E1C5EA0@subtlegradient.com> <24A7EC9F-FFF6-430C-A7E3-C223586E61E9@subtlegradient.com> Message-ID: On 24.09.2007, at 17:05, Thomas Aylott wrote: > Sorry not to reply to this properly and destroy all threading. I've > been having email issues. > > This all sounds extremely awesome and useful. > > Am I right in assuming that you'd be able to run that command > periodically to get all this stuff out of textmate through the > plugin without interrupting your workflow? > Yes. > What I've always wanted to be able to do is have an HTML Output > window open and have it constantly update with all the TM_ > variables. There's lots of stuff that you could use that for. > This is no problem. Do you mean something like this: http://email.eva.mpg.de/~bibiko/dt/TMvars_lifeupdate.mov (ca. 812k) > Where is the code for this or is it all just theory at this point? On my Mac yet ;) Each mentioned command works. The 'only' thing to do is to CLEAN UP the code, make the syntax consistent, add some error and exception handlings. --Hans From seth at ilike-inc.com Mon Sep 24 17:40:28 2007 From: seth at ilike-inc.com (Seth Cousins) Date: Mon, 24 Sep 2007 12:40:28 -0500 Subject: [TxMt] Horizontal scrolling in project drawer? Message-ID: My project drawer used to scroll horizontally when I had several levels of folders open, now it trims letters from the middle of filenames. Why did this change and how can I change it back? I don?t recall changing anything in TM options and indeed I can?t find this as an option anywhere. I did get some Apple updates recently; from the archives it appears that string squishing is a behavior of the system tree control so it is possible that something changed underneath. Thanks for any ideas! Seth Cousins (p.s. Fairly new to TM, I?ve been using it for ~2 months and it?s the best GUI editor I?ve ever used.) -- iLike.?Are we musically compatible? Find out now at:?http://www.iLike.com/user/sethco -------------- next part -------------- An HTML attachment was scrubbed... URL: From textmate at subtlegradient.com Mon Sep 24 18:21:18 2007 From: textmate at subtlegradient.com (Thomas Aylott) Date: Mon, 24 Sep 2007 14:21:18 -0400 Subject: [TxMt] TMTOOLS plugin In-Reply-To: References: <946A8953-BC6E-40CF-BF78-FC846E1C5EA0@subtlegradient.com> <24A7EC9F-FFF6-430C-A7E3-C223586E61E9@subtlegradient.com> Message-ID: <8C209EAB-3F9D-48F1-98BE-C79A4A80B035@subtlegradient.com> On Sep 24, 2007, at 1:14 PM, Hans-J?rg Bibiko wrote: > On 24.09.2007, at 17:05, Thomas Aylott wrote: > >> Am I right in assuming that you'd be able to run that command >> periodically to get all this stuff out of textmate through the >> plugin without interrupting your workflow? > > Yes. > >> What I've always wanted to be able to do is have an HTML Output >> window open and have it constantly update with all the TM_ >> variables. There's lots of stuff that you could use that for. > > This is no problem. > > Do you mean something like this: > > http://email.eva.mpg.de/~bibiko/dt/TMvars_lifeupdate.mov (ca. 812k) > > >> Where is the code for this or is it all just theory at this point? > > On my Mac yet ;) Each mentioned command works. The 'only' thing to > do is to CLEAN UP the code, make the syntax consistent, add some > error and exception handlings. > > --Hans Oh yeah, that's awesome! Imagine the possibilities! Might it make sense to incorporate some of this stuff in the new Dialog 2? Ideally I'd like to make stuff with this that other people can use and expect them to have this stuff available by default. ?Thomas Aylott ? subtleGradient? From bibiko at eva.mpg.de Mon Sep 24 18:53:56 2007 From: bibiko at eva.mpg.de (=?ISO-8859-1?Q?Hans-J=F6rg_Bibiko?=) Date: Mon, 24 Sep 2007 20:53:56 +0200 Subject: [TxMt] TMTOOLS plugin In-Reply-To: <8C209EAB-3F9D-48F1-98BE-C79A4A80B035@subtlegradient.com> References: <946A8953-BC6E-40CF-BF78-FC846E1C5EA0@subtlegradient.com> <24A7EC9F-FFF6-430C-A7E3-C223586E61E9@subtlegradient.com> <8C209EAB-3F9D-48F1-98BE-C79A4A80B035@subtlegradient.com> Message-ID: On 24.09.2007, at 20:21, Thomas Aylott wrote: > > On Sep 24, 2007, at 1:14 PM, Hans-J?rg Bibiko wrote: >> On 24.09.2007, at 17:05, Thomas Aylott wrote: >>> Am I right in assuming that you'd be able to run that command >>> periodically to get all this stuff out of textmate through the >>> plugin without interrupting your workflow? >> Yes. >>> What I've always wanted to be able to do is have an HTML Output >>> window open and have it constantly update with all the TM_ >>> variables. There's lots of stuff that you could use that for. >> This is no problem. >> Do you mean something like this: >> http://email.eva.mpg.de/~bibiko/dt/TMvars_lifeupdate.mov (ca. 812k) >>> Where is the code for this or is it all just theory at this point? >> On my Mac yet ;) Each mentioned command works. The 'only' thing to >> do is to CLEAN UP the code, make the syntax consistent, add some >> error and exception handlings. >> > Oh yeah, that's awesome! > Imagine the possibilities! ;P > > Might it make sense to incorporate some of this stuff in the new > Dialog 2? > Ideally I'd like to make stuff with this that other people can use > and expect them to have this stuff available by default. Well, I do believe the new DIALOG is the wrong place. DIALOG is a plug-in for showing interactive dialogs to users. The TMTOOLS stuff belong to an other story. The new DIALOG will come out with an API using an other syntax. I think it would be the best to wait for DIALOG's final syntax. After that we can incorporate this syntax to TMTOOLS, and maybe it will become a default plug-in. If there's a real interest of such a TMTOOLS plug-in I will clean the code. Then we can put this plug-in to a new svn branch and improve it together. Furthermore we have to wait for Allan's opinion on that whether it makes sense because the entire code depends FULLY on Allan's code! --Hans From graham.ashton at gmail.com Mon Sep 24 19:15:20 2007 From: graham.ashton at gmail.com (Graham Ashton) Date: Mon, 24 Sep 2007 20:15:20 +0100 Subject: [TxMt] Project Drawer Groups keep collapsing In-Reply-To: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> References: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> Message-ID: <7438eebe0709241215s37de666au3ef85fe60b225e19@mail.gmail.com> On 24/09/2007, Gerd Knops wrote: > Hi all, > > Every now and then my Project Drawer groups seem to collapse every > time TM becomes the active application, which bugs me no end. Is the > cause for that known? I can't seem to detect a pattern, it is fine > for weeks, then there are days where it does that all the time. I can't explain it, but I can confirm that it happens for me too. I'm always using remote projects over NFS (so have no idea if that's relevant), and it's only my groups that collapse (directories are fine). Graham From post at typemytype.com Tue Sep 25 00:19:02 2007 From: post at typemytype.com (FB) Date: Tue, 25 Sep 2007 02:19:02 +0200 Subject: [TxMt] running python errors Message-ID: <7CA135CF-6007-4025-B6FA-60090330D9FA@typemytype.com> Hi i got this error when im trying to run a python script: csh: FDK.init: No such file or directory. /bin/bash: line 2: : command not found the python script is: import os print os im running osx10.4.10 python 2.4.4 anyone any ideas??? it would be nice to get it working :) thanks Frederik From alex.j.ross at gmail.com Tue Sep 25 04:23:16 2007 From: alex.j.ross at gmail.com (Alexander Ross) Date: Mon, 24 Sep 2007 21:23:16 -0700 Subject: [TxMt] running python errors In-Reply-To: <7CA135CF-6007-4025-B6FA-60090330D9FA@typemytype.com> References: <7CA135CF-6007-4025-B6FA-60090330D9FA@typemytype.com> Message-ID: Hi Frederik, > csh: FDK.init: No such file or directory. /bin/bash: line 2: : > command not found I think the problem is probably that you have something funny in your ~/.cshrc file. The error manifests, because older versions of the run command were using the `which` (which happens to be written for csh) command to find python. Try finding out what's wrong with your .cshrc or just get rid of it entirely. Previously, people have had incorrectly quoted environment variables. So maybe that is the case. Alternatively, you can switch your TextMate to "Cutting-Edge" updates, to get a more recent version of the Python bundle that no longer uses `which`. Another possibility is that you have some outdated version of the bundle in ~/Library/Application Support/TextMate/Bundles/ that is overriding the version distributed with TextMate in which case you should remove it. Did this help? ?Alex From post at typemytype.com Tue Sep 25 08:33:09 2007 From: post at typemytype.com (FB) Date: Tue, 25 Sep 2007 10:33:09 +0200 Subject: [TxMt] running python errors In-Reply-To: References: <7CA135CF-6007-4025-B6FA-60090330D9FA@typemytype.com> Message-ID: Hi Alex thanks a lot there where some old commands of the adobe FDK library in the .cshrc file. Once i removed them textmate was running like it should I just had to reinstall the FDK. gr Frederik www.typemytype.com Op 25-sep-07, om 06:23 heeft Alexander Ross het volgende geschreven: > I think the problem is probably that you have something funny in your > ~/.cshrc file. The error manifests, because older versions of the run > command were using the `which` (which happens to be written for csh) > command to find python. -------------- next part -------------- An HTML attachment was scrubbed... URL: From andre at bonhote.org Tue Sep 25 09:20:48 2007 From: andre at bonhote.org (=?ISO-8859-1?Q?Bonh=F4te_Andr=E9?=) Date: Tue, 25 Sep 2007 11:20:48 +0200 Subject: [TxMt] Textmate and Wordpress 2.3 Message-ID: <3388B397-74FC-40A7-AE7F-26EC0C44E903@bonhote.org> Hi! I am using wordpress 2.2 with utw and utw-rpc, toghether with textmate's blogging bundle and circlesix' autotag bundle. That's a really nice combination and I love working with it. Now, today Wordpress released version 2.3, with tag support. Any ideas on how to use this tag support with textmate? Thanks in advance! Andr? From bangersandmash at gmail.com Tue Sep 25 14:11:11 2007 From: bangersandmash at gmail.com (jeff newman) Date: Tue, 25 Sep 2007 10:11:11 -0400 Subject: [TxMt] OT: Latex cls files - where are they? Message-ID: Hello everyone, All of the discussion on this list about LaTeX made me curious. I've installed LaTeX on my MacBook and everything is moving along nicely (so far the Multimate->LaTeX seems like the best thing since sliced pickles!). However, I've run into a problem (and I'm pretty sure it's not a textmate problem, which is why I labelled this e-mail OT). I've downloaded the apa.cls from http://www.ilsp.gr/homepages/ protopapas/apacls.html but I cannot figure out which folder I should place it into for it to work properly. Can anyone help? Thank you in advance. -- j. From robin.houston at gmail.com Tue Sep 25 14:50:02 2007 From: robin.houston at gmail.com (Robin Houston) Date: Tue, 25 Sep 2007 15:50:02 +0100 Subject: [TxMt] OT: Latex cls files - where are they? In-Reply-To: References: Message-ID: <1b795e7b0709250750i2f857cd7qb4744707789d53b6@mail.gmail.com> See the MacTeX FAQ (http://www.tug.org/mactex/faq/), question 4. The short answer is that you can put it in ~/Library/texmf/tex/latex. You'll probably have to create that directory first. Robin From bmiller at luther.edu Tue Sep 25 15:02:12 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 25 Sep 2007 10:02:12 -0500 Subject: [TxMt] Latex bundle: Latexmk upgrade Message-ID: For those of you adventurous enough to be using the Latex bundle from the subversion repository I wanted to let you know that latexmk.pl has had a significant upgrade, as has the integration of latexmk with the Latex bundle. For those of you that do not know, latexmk is a perl script that runs latex/bibtex/makeindex at the appropriate times and places to make sure your document, and all citations, cross references, and index entries are up to date and properly typeset. The latest version of latexmk now supports more packages like multibib and some glossary packages, and seems generally better able to handle complex documents. The latex bundle is now smart enough to tell latexmk to use alternative versions of latex (xelatex for example) and is smart enough to tell latexmk to to generate a dvi file --> ps --> pdf when you are using pstricks or other packages. In addition any extra options you add in preferences or through a %!TEX directive are passed on to latexmk. Go ahead, check the box. Brad -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From bmiller at luther.edu Tue Sep 25 15:02:12 2007 From: bmiller at luther.edu (Brad Miller) Date: Tue, 25 Sep 2007 10:02:12 -0500 Subject: [TxMt] Latex bundle: Latexmk upgrade Message-ID: For those of you adventurous enough to be using the Latex bundle from the subversion repository I wanted to let you know that latexmk.pl has had a significant upgrade, as has the integration of latexmk with the Latex bundle. For those of you that do not know, latexmk is a perl script that runs latex/bibtex/makeindex at the appropriate times and places to make sure your document, and all citations, cross references, and index entries are up to date and properly typeset. The latest version of latexmk now supports more packages like multibib and some glossary packages, and seems generally better able to handle complex documents. The latex bundle is now smart enough to tell latexmk to use alternative versions of latex (xelatex for example) and is smart enough to tell latexmk to to generate a dvi file --> ps --> pdf when you are using pstricks or other packages. In addition any extra options you add in preferences or through a %!TEX directive are passed on to latexmk. Go ahead, check the box. Brad -- Brad Miller Assistant Professor, Computer Science Luther College -------------- next part -------------- An HTML attachment was scrubbed... URL: From cskiadas at gmail.com Tue Sep 25 20:00:27 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Tue, 25 Sep 2007 16:00:27 -0400 Subject: [TxMt] Latex bundle: Latexmk upgrade In-Reply-To: References: Message-ID: <9DA2B572-60F0-47FF-8938-5B5CC4FD6388@gmail.com> On Sep 25, 2007, at 11:02 AM, Brad Miller wrote: > Go ahead, check the box. After you update the bundle, that is ;) > Brad Haris Skiadas Department of Mathematics and Computer Science Hanover College From throw-away-1 at macromates.com Tue Sep 25 20:41:25 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 25 Sep 2007 22:41:25 +0200 Subject: [TxMt] Horizontal scrolling in project drawer? In-Reply-To: References: Message-ID: <336B6318-9754-4371-9CEE-2F73710B08BF@macromates.com> On 24/09/2007, at 19:40, Seth Cousins wrote: > My project drawer used to scroll horizontally when I had several > levels of > folders open, now it trims letters from the middle of filenames. > Why did > this change and how can I change it back? I didn?t change it: http://lists.macromates.com/pipermail/textmate/2006-June/010949.html From throw-away-1 at macromates.com Tue Sep 25 20:42:41 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Tue, 25 Sep 2007 22:42:41 +0200 Subject: [TxMt] Project Drawer Groups keep collapsing In-Reply-To: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> References: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> Message-ID: <4DFDA7C9-5E02-4571-ADE1-0232D2E92A58@macromates.com> On 24/09/2007, at 18:32, Gerd Knops wrote: > Every now and then my Project Drawer groups seem to collapse every > time TM becomes the active application, which bugs me no end. Is the > cause for that known? I can't seem to detect a pattern, it is fine > for weeks, then there are days where it does that all the time. It happens when the contents of the folder reference has changed in a way that makes TM reload the contents from disk. That would e.g. be if new files are added to the root of the folder reference, sometimes also if a date stamp is updated. From brett at circlesixdesign.com Wed Sep 26 00:06:38 2007 From: brett at circlesixdesign.com (Brett Terpstra) Date: Tue, 25 Sep 2007 19:06:38 -0500 Subject: [TxMt] Textmate and Wordpress 2.3 In-Reply-To: <3388B397-74FC-40A7-AE7F-26EC0C44E903@bonhote.org> References: <3388B397-74FC-40A7-AE7F-26EC0C44E903@bonhote.org> Message-ID: <89359E61-518A-445C-83F1-C916A36C88C0@circlesixdesign.com> I'll have to look at how they chose to implement tag support in 2.3. I fell behind in watching progress, so I'll see if I need to release a new version of UTW-RPC or just update autotag to work with the tag support... Brett On Sep 25, 2007, at 4:20 AM, Bonh?te Andr? wrote: > > Hi! > > I am using wordpress 2.2 with utw and utw-rpc, toghether with > textmate's blogging bundle and circlesix' autotag bundle. That's a > really nice combination and I love working with it. > > Now, today Wordpress released version 2.3, with tag support. Any > ideas on how to use this tag support with textmate? > > Thanks in advance! > > Andr? > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate From eric at uner.com Wed Sep 26 01:12:16 2007 From: eric at uner.com (Eric Uner) Date: Tue, 25 Sep 2007 20:12:16 -0500 Subject: [TxMt] Indenting after comments Message-ID: <44CEC072-136A-43C8-9311-41FDAB2BDCCB@uner.com> If I have a C comment such as: / **---------------------------------------------------------------------- ----- * xxxx *----------------------------------------------------------------------- ----- */ And I paste/type in some code right after this, textmate indents one character. I cant use cmd+{ to correct it because then all the indenting in the block I paste is incorrect. The only workaround I have found is to go to the beginning of the line after the comment block, type some garbage (e.g. qqqq) then paste the block after that. Any better suggestions? On a related note (loosely) the top of the block has a folding symbol next to it in the gutter, but no corresponding symbol at the end of the block. Comment folding would be great, but clicking on the symbol at the start of the block has no effect. Doc From mummer at whitefalls.org Wed Sep 26 07:53:32 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Wed, 26 Sep 2007 02:53:32 -0500 Subject: [TxMt] Indenting after comments In-Reply-To: <44CEC072-136A-43C8-9311-41FDAB2BDCCB@uner.com> References: <44CEC072-136A-43C8-9311-41FDAB2BDCCB@uner.com> Message-ID: <2F7158F8-EE88-4380-A96A-0C4DD43D6387@whitefalls.org> On Sep 25, 2007, at 8:12 PM, Eric Uner wrote: > If I have a C comment such as: > > / > **-------------------------------------------------------------------- > ------- > * xxxx > > *--------------------------------------------------------------------- > ------- > */ > > And I paste/type in some code right after this, textmate indents one > character. I cant use cmd+{ to correct it because then all the > indenting in > the block I paste is incorrect. > > The only workaround I have found is to go to the beginning of the line > after the comment block, type some garbage (e.g. qqqq) then paste the > block after that. > > Any better suggestions? ??V, control-command-v Paste without reindent. From hoever at gmx.de Wed Sep 26 08:45:39 2007 From: hoever at gmx.de (Carsten Hoever) Date: Wed, 26 Sep 2007 10:45:39 +0200 Subject: [TxMt] LaTeX Include Image not working Message-ID: Hello, after updating my LaTeX bundle with GetBundle the "Include Image" Drag command no longer works for me. Instead of giving me \begin{figure} (all the normal stuff in here) \end{figure when I drag an image from the drawer to the text, all I get is /tmp/temp_textmate.n4yQVj:3:in or /tmp/temp_textmate.Rd7QkI:3:in I have alreay tried jpg as well as png images (both worked well before), tried different LaTeX files and different folders for the images. Before updating everything worked fine! Any help appreciated! Bye, Carsten From tmtxpstuff at consking.com Wed Sep 26 13:13:54 2007 From: tmtxpstuff at consking.com (marios) Date: Wed, 26 Sep 2007 16:13:54 +0300 Subject: [TxMt] Re: New version of Texari Reborn Theme In-Reply-To: References: <46F51688.4090603@consking.com> <46F51CB0.4020201@gmail.com> <46F53A5B.5040305@consking.com> <46F55A24.4050402@gmail.com> <46F56EF4.5040608@consking.com> <46F661A7.1090409@gmail.com> Message-ID: <46FA5B12.9000107@consking.com> Jacob Rus wrote: > Ray Slakinski wrote: >> I still find it hard to read, see new example > > The problem here is that there is insufficient value (lightness) > contrast between the colors: humans are great at distinguishing color > with value contrast, and much worse when there is only contrast in hue > or colorfulness. In this case, the scheme overall would benefit from > having its colors be lighter: at the moment, they are of middle > lightness, which means they don't contrast as well as they could with > the black background. That is true. I'm not entirely happy myself with it. Now, the problem here from my point of view was this: I wanted to have a theme that plays as low in contrast as possible, preferably on a blackboard like color. ( The ones we had in school. ) with pastel like colors. ( The ones that mimic the chalk ones we had in school as well. ) Anything that has too much contrast, has a very tiring effect on the eyes. In fact, if I could get this right, it'll allow you to spend much more hours on screen. ( One reason I liked Thoma's Twilight Theme ) The tricky thing here is to find a balance of contrast between the text values and the background values. > > But whatever happens to the text colors, the highlight color here should > be darker, because at the moment it is of near identical lightness to > the text colors, and they therefore blend right together. Also true. Once I changed the background colors, I noticed that I've run in the opposite problem. Since I usually only use it for cutting and pasting, I didn't care about readability. > Apparently the color values have to change all together. I'll give it another overall shot, once I get the chance. regards, marios From cskiadas at gmail.com Wed Sep 26 14:39:59 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Wed, 26 Sep 2007 10:39:59 -0400 Subject: [TxMt] LaTeX Include Image not working In-Reply-To: References: Message-ID: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> The command was changed to provide a small dialog to choose how you want the image inserted. It sounds like for some reason this is not happening for you. Did you also update the global support directory? Haris On Sep 26, 2007, at 4:45 AM, Carsten Hoever wrote: > Hello, > > after updating my LaTeX bundle with GetBundle the "Include Image" > Drag command no longer works for me. > > Instead of giving me > > \begin{figure} > (all the normal stuff in here) > \end{figure > > when I drag an image from the drawer to the text, all I get is > > /tmp/temp_textmate.n4yQVj:3:in > > or > > /tmp/temp_textmate.Rd7QkI:3:in > > > I have alreay tried jpg as well as png images (both worked well > before), tried different LaTeX files and different folders for the > images. > > Before updating everything worked fine! > > Any help appreciated! > > Bye, > > Carsten > From bmiller at luther.edu Wed Sep 26 15:13:08 2007 From: bmiller at luther.edu (Brad Miller) Date: Wed, 26 Sep 2007 10:13:08 -0500 Subject: [TxMt] LaTeX Include Image not working In-Reply-To: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> References: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> Message-ID: Haris, I think the dialog was done on the branch along with the new latex template interface right? At least I don't have it in the latest version of the bundle that is not using your branch. I'm not sure that the GetBundle command is a good way to get the latex bundle since it puts the bundles ~/Library/..../Pristine Copy... and does not update the global support directory. That approach will certainly break the dependencies for latex as well as the symbolic link between the global support directory and the latex bundle directory. Brad -- Brad Miller Assistant Professor, Computer Science Luther College On 9/26/07, Charilaos Skiadas wrote: > > The command was changed to provide a small dialog to choose how you > want the image inserted. It sounds like for some reason this is not > happening for you. > > Did you also update the global support directory? > > Haris > On Sep 26, 2007, at 4:45 AM, Carsten Hoever wrote: > > > Hello, > > > > after updating my LaTeX bundle with GetBundle the "Include Image" > > Drag command no longer works for me. > > > > Instead of giving me > > > > \begin{figure} > > (all the normal stuff in here) > > \end{figure > > > > when I drag an image from the drawer to the text, all I get is > > > > /tmp/temp_textmate.n4yQVj:3:in > > > > or > > > > /tmp/temp_textmate.Rd7QkI:3:in > > > > > > I have alreay tried jpg as well as png images (both worked well > > before), tried different LaTeX files and different folders for the > > images. > > > > Before updating everything worked fine! > > > > Any help appreciated! > > > > Bye, > > > > Carsten > > > > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From cskiadas at gmail.com Wed Sep 26 15:18:37 2007 From: cskiadas at gmail.com (Charilaos Skiadas) Date: Wed, 26 Sep 2007 11:18:37 -0400 Subject: [TxMt] LaTeX Include Image not working In-Reply-To: References: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> Message-ID: <565B0765-567B-4CA4-BD1B-1192622BE745@gmail.com> On Sep 26, 2007, at 11:13 AM, Brad Miller wrote: > Haris, > > I think the dialog was done on the branch along with the new latex > template interface right? At least I don't have it in the latest > version of the bundle that is not using your branch. Ah right, I wonder whether I should move it to the trunk. So the OP's problem is different then. > I'm not sure that the GetBundle command is a good way to get the > latex bundle since it puts the bundles ~/Library/..../Pristine > Copy... and does not update the global support directory. That > approach will certainly break the dependencies for latex as well as > the symbolic link between the global support directory and the > latex bundle directory. > Don't know much about the GetBundle bundle, but if I recall correctly the recommendation was that it should only be used with bundles that do NOT ship with TM. Is that still the case? > Brad > > -- > Brad Miller > Assistant Professor, Computer Science > Luther College Haris Skiadas Department of Mathematics and Computer Science Hanover College From gerti-textmate at bitart.com Wed Sep 26 16:02:36 2007 From: gerti-textmate at bitart.com (Gerd Knops) Date: Wed, 26 Sep 2007 11:02:36 -0500 Subject: [TxMt] Project Drawer Groups keep collapsing In-Reply-To: <4DFDA7C9-5E02-4571-ADE1-0232D2E92A58@macromates.com> References: <9622CD1D-30C3-4D07-B7E8-2D7703DE5991@bitart.com> <4DFDA7C9-5E02-4571-ADE1-0232D2E92A58@macromates.com> Message-ID: <1016B992-4829-4A1A-BCFD-2C4737EF7205@bitart.com> On Sep 25, 2007, at 3:42 PM, Allan Odgaard wrote: > On 24/09/2007, at 18:32, Gerd Knops wrote: > >> Every now and then my Project Drawer groups seem to collapse every >> time TM becomes the active application, which bugs me no end. Is >> the cause for that known? I can't seem to detect a pattern, it is >> fine for weeks, then there are days where it does that all the time. > > It happens when the contents of the folder reference has changed in > a way that makes TM reload the contents from disk. > > That would e.g. be if new files are added to the root of the folder > reference, sometimes also if a date stamp is updated. > Also seems to happen every time I start & stop VPN... :-(( Probably because the DNS lookup for the (local) NFS server my project lives on changes or something like that. Highly annoying. Gerd From throw-away-1 at macromates.com Wed Sep 26 18:09:14 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 26 Sep 2007 20:09:14 +0200 Subject: [TxMt] LaTeX Include Image not working In-Reply-To: <565B0765-567B-4CA4-BD1B-1192622BE745@gmail.com> References: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> <565B0765-567B-4CA4-BD1B-1192622BE745@gmail.com> Message-ID: <4E0B9C78-1D7D-44EF-8F5A-C3016A959DAF@macromates.com> On 26/09/2007, at 17:18, Charilaos Skiadas wrote: > [...] > Don't know much about the GetBundle bundle, but if I recall > correctly the recommendation was that it should only be used with > bundles that do NOT ship with TM. Is that still the case? Yes, that is still the case, and GetBundle should not have shown the LaTeX bundle at all. Also, GetBundle will show bundles only a at version corresponding to the user?s Support folder, to avoid having him get bundles that have dependencies on a newer Support folder. For default bundles the user should probably either checkout the full repository and remember to keep it updated, or let the bundle he wants to update, replace the bundle shipped with TextMate, as explained here [1] for the SQL bundle. Generally though only if the maintainers of the bundle says that this is okay, and they should only say so, if they know they did not introduce any Support dependencies since latest release of TextMate. [1]: http://macromates.com/blog/2007/textmate-156/ From hoever at gmx.de Wed Sep 26 18:12:14 2007 From: hoever at gmx.de (Carsten Hoever) Date: Wed, 26 Sep 2007 20:12:14 +0200 Subject: [TxMt] LaTeX Include Image not working In-Reply-To: <565B0765-567B-4CA4-BD1B-1192622BE745@gmail.com> References: <228FA7F8-B3C7-4E5F-9371-A79085F779E8@gmail.com> <565B0765-567B-4CA4-BD1B-1192622BE745@gmail.com> Message-ID: <88FD14D0-2671-4590-95E5-949EB0AFE1D0@gmx.de> Am 26.09.2007 um 17:18 schrieb Charilaos Skiadas: >> I'm not sure that the GetBundle command is a good way to get the >> latex bundle since it puts the bundles ~/Library/..../Pristine >> Copy... and does not update the global support directory. That >> approach will certainly break the dependencies for latex as well >> as the symbolic link between the global support directory and the >> latex bundle directory. >> > Don't know much about the GetBundle bundle, but if I recall > correctly the recommendation was that it should only be used with > bundles that do NOT ship with TM. Is that still the case? > Thanks Haris and Brad, your thoughts about GetBundle pointed me in the right direction as I didn't know about its shortcomings. Just thought of it as a convenient solution. Nevertheless, I deleted all bundles (I kept a copy of my personal stuff, though) and did a proper svn checkout. Now everything works fine (at least until now ;-) ). Bye, Carsten From ryan.abernathey at gmail.com Wed Sep 26 18:15:13 2007 From: ryan.abernathey at gmail.com (tretlo) Date: Wed, 26 Sep 2007 11:15:13 -0700 (PDT) Subject: [TxMt] No Bundle Key-Bindings Working Message-ID: <12905238.post@talk.nabble.com> Hello, I searched extensively, but my problem seems so basic that I didn't find anything... No key bindings for any bundles work at all. This is very frustrating, because bundles are supposedly one of the best parts of TextMate. The menu key bindings work, but not bundles. For instance, the "Documentation for Tag" command in the html bundle: ^H. When I press this key combination while editing an html document, the previous character is deleted and nothing else happens. I followed the advice here (http://macromates.com/wiki/Troubleshooting/KeyBindings) and decided to try the Key Codes application. Here is the result: Characters:  Unicode: 8 / 0x8 Keys: ^H Key Code: 4 / 0x4 Modifiers: 2359553 / 0x240101 I don't have any special custom key bindings set up anywhere. Any advice? What am I doing wrong? Thanks! -- View this message in context: http://www.nabble.com/No-Bundle-Key-Bindings-Working-tf4523602.html#a12905238 Sent from the textmate users mailing list archive at Nabble.com. From throw-away-1 at macromates.com Wed Sep 26 18:19:01 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 26 Sep 2007 20:19:01 +0200 Subject: [TxMt] Indenting after comments In-Reply-To: <44CEC072-136A-43C8-9311-41FDAB2BDCCB@uner.com> References: <44CEC072-136A-43C8-9311-41FDAB2BDCCB@uner.com> Message-ID: <4743D241-D7BC-408A-BCE3-BEA5E835208F@macromates.com> On 26/09/2007, at 03:12, Eric Uner wrote: > If I have a C comment such as: > > / > **--------------------------------------------------------------------------- > * xxxx > *---------------------------------------------------------------------------- > */ > > And I paste/type in some code right after this, textmate indents one > character. I cant use cmd+{ to correct it because then all the > indenting in > the block I paste is incorrect. It does? I tried that in C++ mode, and I don?t seem to get additional indent. > [...] > On a related note (loosely) the top of the block has a folding > symbol next > to it in the gutter, but no corresponding symbol at the end of the > block. > Comment folding would be great, but clicking on the symbol at the > start > of the block has no effect. The default grammar is set to fold on /** and stop on **/. So you would need to add another * for the stop marker of your comment, then it should fold. E.g.: /** * This comment folds **/ From throw-away-1 at macromates.com Wed Sep 26 18:28:36 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 26 Sep 2007 20:28:36 +0200 Subject: [TxMt] No Bundle Key-Bindings Working In-Reply-To: <12905238.post@talk.nabble.com> References: <12905238.post@talk.nabble.com> Message-ID: <76C8B00C-83C9-459E-8D95-9B3FF42807CC@macromates.com> On 26/09/2007, at 20:15, tretlo wrote: > [...] > I don't have any special custom key bindings set up anywhere. > > Any advice? What am I doing wrong? Are you using a standard keyboard? If not, try to unplug re re-plug it or reset the adapter or similar. Also, is this a new problem, or have you never been able to use the key shortcuts? From throw-away-1 at macromates.com Wed Sep 26 19:07:02 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 26 Sep 2007 21:07:02 +0200 Subject: [TxMt] post_id should not be casted to an int in the blogging module In-Reply-To: References: Message-ID: <0232B139-847C-4071-BAD2-D53627F6B45E@macromates.com> On 18/09/2007, at 23:20, Nicholas Pi?l wrote: > [...] the blogging bundle is casting the post-id to an INT it is > causing problems when i try to edit a post with a post id that > contains anything besides digits. > [...] > I hope this adjustment will find its way to all happy cutting-edge > TextMate users worldwide ;) I applied your change, thanks. From throw-away-1 at macromates.com Wed Sep 26 19:46:18 2007 From: throw-away-1 at macromates.com (Allan Odgaard) Date: Wed, 26 Sep 2007 21:46:18 +0200 Subject: [TxMt] [PATCH] Graphviz bundle : Generate Graph In-Reply-To: References: Message-ID: <180EF549-5CC6-46C7-82C0-F8BD48B04FF5@macromates.com> On 16/09/2007, at 19:41, Guillaume Carbonneau wrote: > Hi, this is a patch including a command to generate a graph using > the dot command so you don't need the Graphviz gui program in OS X. > You will need to have the dot command in your system. To do so, > compile graphviz or get it from macports like so : > [...] Applied, thanks. I made a few changes: o require_cmd dot to output error when user does not have dotty o use TMPDIR for temporary files (falls back to /tmp when unset) o work with untitled buffers (the generated temporary filename was wrong) o escape HTML in potential errors A minor problem is that with no input dot does not give an error. One could test the date of the generated PDF, but probably not worth it. From textmate at skurfer.com Wed Sep 26 21:06:56 2007 From: textmate at skurfer.com (Rob McBroom) Date: Wed, 26 Sep 2007 17:06:56 -0400 Subject: [TxMt] drag command for inserting links to local files In-Reply-To: <8B29A9EB-1C49-4861-918C-37CE94812935@macromates.com> References: <0931BE40-5BA9-4B76-BC11-3C219BB13743@skurfer.com> <8B29A9EB-1C49-4861-918C-37CE94812935@macromates.com> Message-ID: <7A3F7B32-A563-4B7C-BC6F-9132B173ABEE@skurfer.com> After a long delay (been busy with work stuff), I've taken some time to work on this Drag Command according to suggestions. To refresh your memory, this command lets you drag a file into an e- mail message and have a link to the file on your web server inserted (instead of sending it as an attachment). On May 11, 2007, at 5:06 AM, Allan Odgaard wrote: > On 9. May 2007, at 22:54, Rob McBroom wrote: > >> I created this a while back, but I had forgotten about it until a >> recent discussion of Drag Commands. > > Anyway, for this bundle item I have two comments: > > 1) it doesn?t find my fully qualified domain name, so we need: > a) a note about how the user can set it up!?! > b) a fallback variable or so for the domain name You can now set TM_FQDN to your machine's fully qualified domain name to override whatever `hostname` and `domainname` return. There is a comment about this in the command's source. > 2) would be nice if it allowed to copy files not in ~/Sites or / > Library/WebServer/Documents to be copied to some ?temporary? > folder of either location. That way, we can drag arbitrary files to > the letter, not just those already located in the right location. The command now handles files in either `/Library/WebServer/Documents/ ` or `~/Sites/` correctly, but I didn't implement the "copy from any location part" because of the following concerns. 1. The temporary location would need to be created if it didn't exist. I don't know about you, but I would be irritated if a bundle item created new directories without asking. Perhaps the temp folder's name could be set in a TM_ variable and if it doesn't exist, the command does nothing? Or outputs some warning text? 2. Would the temporary location be a sub-directory of `/Library/ WebServer/Documents/` or `~/Sites/`? Or would the proposed TM_ variable from #1 just contain the whole path? 3. The copy operation could take a long time. (I'm guessing too long in some cases.) This could be solved by hard-linking instead of copying, but that only works if the operation involves a single filesystem. Is it possible to insert the link text and let the copy operation continue in the background (on the assumption that by the time you send your message and someone reads it, the file will be there)? > I think currently it should be limited to text.mail. Done. -------------- next part -------------- A non-text attachment was scrubbed... Name: Mail Link.tmDragCommand Type: application/octet-stream Size: 1212 bytes Desc: not available URL: -------------- next part -------------- --- Rob From textmate at skurfer.com Wed Sep 26 21:28:21 2007 From: textmate at skurfer.com (Rob McBroom) Date: Wed, 26 Sep 2007 17:28:21 -0400 Subject: [TxMt] SmartyPants references in the Markdown bundle Message-ID: Hello. It looks like `SmartyPants.pl` is still hard-coded in these commands. Markdown.tmbundle/Commands/Markdown preview.plist Markdown.tmbundle/Commands/MultiMarkdown Preview.tmCommand Markdown.tmbundle/Commands/?? Convert Document:Selection to HTML.plist Markdown.tmbundle/Commands/?? Convert Document:Selection to LaTeX (Memoir).plist Markdown.tmbundle/Commands/?? Convert Document:Selection to LaTeX.plist Markdown.tmbundle/Commands/?? Convert Document:Selection to PDF.plist Markdown.tmbundle/Commands/?? Convert Document:Selection to RTF.plist Markdown.tmbundle/Commands/?? Generate Output and open in Browser.plist If someone gets a chance, can they be updated to use "$ {TM_SMARTYPANTS:-SmartyPants.pl}" instead? Thanks. --- Rob From textmate at skurfer.com Thu Sep 27 03:18:44 2007 From: textmate at skurfer.com (Rob McBroom) Date: Wed, 26 Sep 2007 23:18:44 -0400 Subject: [TxMt] SmartyPants references in the Markdown bundle In-Reply-To: References: Message-ID: <2119429C-A031-4460-8DA6-4E090192832B@skurfer.com> On Sep 26, 2007, at 5:28 PM, Rob McBroom wrote: > If someone gets a chance, can they be updated to use "$ > {TM_SMARTYPANTS:-SmartyPants.pl}" instead? Maybe I spoke too soon. It's probably fine (better even) to use SmartyPants when the eventual output is PDF, for example. It's just the commands that generate HTML that you may one day have to view/ edit where SmartyPants should be optional (in my opinion), but if the consensus is that the commands should all be consistent, I won't argue. --- Rob From devlist at samuraicoder.net Thu Sep 27 12:10:58 2007 From: devlist at samuraicoder.net (Takaaki Kato) Date: Thu, 27 Sep 2007 21:10:58 +0900 Subject: [TxMt] Double-byte spaces not distinguishable Message-ID: <9D0E7C13-4B0B-49A1-B9C5-207DEFD2DD56@samuraicoder.net> Hi, Is there a way to find or colorize double-byte space that in the document? I've been using a double-byle language, called Japanese with TextMate. The problem I encounter every now and then is to mistakenly type double-byte spaces where they, as they are treated as strings, are now allowed. At this time, there's no way to distinguish double-byte spaces and single-byte spaces in the document window. I guess there would be a way to find the space by grep and highlight it adding scope in language grammars. Right? Anybody? Takaaki -- Takaaki Kato http://samuraicoder.net From bibiko at eva.mpg.de Thu Sep 27 12:40:20 2007 From: bibiko at eva.mpg.de (Hans-Joerg Bibiko) Date: Thu, 27 Sep 2007 14:40:20 +0200 Subject: [TxMt] Double-byte spaces not distinguishable In-Reply-To: <9D0E7C13-4B0B-49A1-B9C5-207DEFD2DD56@samuraicoder.net> References: <9D0E7C13-4B0B-49A1-B9C5-207DEFD2DD56@samuraicoder.net> Message-ID: <7521871F-0D3F-4CD2-B0DD-91E5AC2FA261@eva.mpg.de> On 27 Sep 2007, at 14:10, Takaaki Kato wrote: > Is there a way to find or colorize double-byte space that in the > document? I've been using a double-byle language, called Japanese > with TextMate. The problem I encounter every now and then is to > mistakenly type double-byte spaces where they, as they are treated > as strings, are now allowed. > > At this time, there's no way to distinguish double-byte spaces and > single-byte spaces in the document window. > > I guess there would be a way to find the space by grep and > highlight it adding scope in language grammars. Right? Anybody? > Well, there are several ways to handle this. The easiest would be to replace all '?' with ' ' before save the file or do something with the file. If you want to see these double byte space you can add this in a language grammar under 'patterns': { match = '[^?]*(?)[^?]*'; captures = { 1 = { name = 'meta.character.DBSpace'; }; }; }, and finally you can add an element within TM's preferences > Fonts & Colors called 'DBSpace' with the scope selector 'meta.character.DBSpace' and set the background color (BG) to what ever you like. The next idea would be to create a snippet with a single ASCII SPACE and bind it to a key equivalent SPACE. ja mata, Hans From eric at uner.com Thu Sep 27 16:32:46 2007 From: eric at uner.com (Eric Uner) Date: Thu, 27 Sep 2007 11:32:46 -0500 Subject: [TxMt] Indenting after comments In-Reply-To: <20070927120029.1EBE479E8@comox.textdrive.com> References: <20070927120029.1EBE479E8@comox.textdrive.com> Message-ID: <7A4B91C7-3A78-4563-9E39-EE2831432EC9@uner.com> On Sep 27, 2007, at 7:00 AM, textmate-request at lists.macromates.com wrote: >> If I have a C comment such as: >> >> / >> **------------------------------------------------------------------- >> -------- >> * xxxx >> *-------------------------------------------------------------------- >> -------- >> */ >> >> And I paste/type in some code right after this, textmate indents one >> character. I cant use cmd+{ to correct it because then all the >> indenting in >> the block I paste is incorrect. > > It does? I tried that in C++ mode, and I don?t seem to get > additional indent. It does indeed - and the mode is C++. In the code you pasted you removed the leading spaces. Try /**-------- (space)* (space)*/ Then you will see what I mean. I posted a file and window captures to my site: http:://www.uner.com/sample.cpp http:://www.uner.com/beforepaste.tiff http:://www.uner.com/afterpaste.tiff >> On a related note (loosely) the top of the block has a folding >> symbol next >> to it in the gutter, but no corresponding symbol at the end of the >> block. >> Comment folding would be great, but clicking on the symbol at the >> start >> of the block has no effect. > > The default grammar is set to fold on /** and stop on **/. So you > would need to add another * for the stop marker of your comment, > then it should fold. > > E.g.: > > /** > * This comment folds > **/ > That does not fold for me either. The problem is the leading space. So in the file I uploaded, sample.cc, if you take out the leading space on line 13 then the comment folds. -------------- next part -------------- An HTML attachment was scrubbed... URL: From mummer at whitefalls.org Thu Sep 27 18:55:49 2007 From: mummer at whitefalls.org (Michael Sheets) Date: Thu, 27 Sep 2007 13:55:49 -0500 Subject: [TxMt] Indenting after comments In-Reply-To: <7A4B91C7-3A78-4563-9E39-EE2831432EC9@uner.com> References: <20070927120029.1EBE479E8@comox.textdrive.com> <7A4B91C7-3A78-4563-9E39-EE2831432EC9@uner.com> Message-ID: <7002E1B0-C6B6-4D5A-8A5B-721BC280D25C@whitefalls.org> On Sep 27, 2007, at 11:32 AM, Eric Uner wrote: >> The default grammar is set to fold on /** and stop on **/. So you >> would need to add another * for the stop marker of your comment, >> then it should fold. >> >> E.g.: >> >> /** >> * This comment folds >> **/ >> > > That does not fold for me either. The problem is the leading space. > So in the file I uploaded, sample.cc, if you take out the leading > space on line 13 then the comment folds. The start/end markers for foldings must have the same indent, the folding pattern isn't even checked if they don't. So his removal of the space was intentional. From Matthieu.Dubois at psp.ucl.ac.be Fri Sep 28 10:45:51 2007 From: Matthieu.Dubois at psp.ucl.ac.be (Matthieu Dubois) Date: Fri, 28 Sep 2007 12:45:51 +0200 Subject: [TxMt] problem installing the mail bundle Message-ID: <9C2F2F17-90DC-4A5A-87D4-1FAFA915406F@psp.ucl.ac.be> Hi , I encounter problems in installing the R bundle. I followed the steps in the textmate doc. However, when running : svn co http://macromates.com/svn/Bundles/trunk/Bundles/R.tmbundle I obtain the following error message: svn: Can't convert string from 'UTF-8' to native encoding: svn: R.tmbundle/Commands/Plots?\226?\128?\166.tmCommand and when double clicking on the R bundle (in Application Support/ TextMate/Bundles), this error message appears: The bundle ?R.tmbundle? does not contain the required ?info.plist? file (or that file is corrupt) and can therefore not be installed. I nevertheless able to install other bundles ... Any help would be appreciated. Regards, Matthieu Matthieu Dubois Ph.D. Student Cognition and Development Lab Catholic University of Louvain 10, Place Cardinal Mercier B-1348 Louvain-la-Neuve - Belgium E-mail: Matthieu.Dubois at psp.ucl.ac.be Web: http://www.code.ucl.ac.be/MatthieuDubois/ -------------- next part -------------- An HTML attachment was scrubbed... URL: From robin.houston at gmail.com Fri Sep 28 11:36:53 2007 From: robin.houston at gmail.com (Robin Houston) Date: Fri, 28 Sep 2007 12:36:53 +0100 Subject: [TxMt] problem installing the mail bundle In-Reply-To: <9C2F2F17-90DC-4A5A-87D4-1FAFA915406F@psp.ucl.ac.be> References: <9C2F2F17-90DC-4A5A-87D4-1FAFA915406F@psp.ucl.ac.be> Message-ID: <1b795e7b0709280436w2df58902kd4665c55e5f14bb0@mail.gmail.com> On 28/09/2007, Matthieu Dubois wrote: > I obtain the following error message: > > svn: Can't convert string from 'UTF-8' to native encoding: See section 5.7.2 of the TextMate manual: http://macromates.com/textmate/manual/bundles#setting_lc_ctype Robin From guerom00 at gmail.com Fri Sep 28 14:04:26 2007 From: guerom00 at gmail.com (guerom00) Date: Fri, 28 Sep 2007 07:04:26 -0700 (PDT) Subject: [TxMt] =?utf-8?q?=5BLaTeX=5D_Entering_greek_letters_=E2=80=9C?= =?utf-8?b?w6AgbGEgTWF0aGVtYXRpY2HigJ0=?= Message-ID: <12941222.post@talk.nabble.com> Hi everyone, I use a lot Mathematica and I am so used to the way to type greek letters? Here is how it works, it's very simple : ? First press Esc ? Then press, e.g., the letter ?p? ? press once again Esc and the ?p? you just typed is replaced by Pi Of course, you see the generalization to the other Greek letters. The thing is that, writing a LaTeX document, I often find myself reaching to the Esc key just to realize that nothing happens and that I'm NOT in Mathematica :-D So, what do you think ? Would it be possible to implement this way of entering greek letters in TextMate ? Thanks in advance :-) -- View this message in context: http://www.nabble.com/-LaTeX--Entering-greek-letters-%E2%80%9C%C3%A0-la-Mathematica%E2%80%9D-tf4534729.html#a12941222 Sent from the textmate users mailing list archive at Nabble.com. From neil.baylis at gmail.com Fri Sep 28 18:18:35 2007 From: neil.baylis at gmail.com (pixpop) Date: Fri, 28 Sep 2007 11:18:35 -0700 (PDT) Subject: [TxMt] Context menu: Help me get my mind around this... Message-ID: <12905094.post@talk.nabble.com> I'm attempting to use TM for my most common development tasks, but haven't got my head around it yet. Can someone point me at the right place to find documentation about the following: Task 1: I work on a code base of about 50,000 lines of ordinary C code, spread over about 30 files. Most of what I do is cut, paste, search, make. I want to add some functions to the context menu. First, I want a function that would take me to the definition of the item under the cursor. E.g., if it's a function, open a window containing the prototype, or otherwise show me the prototype. If it's a constant, take me to the header file where it's defined. Second, I want a function that will find references to the symbol under the cursor. I don't want it to find definitions or comments, just any chunk of code that actually uses the symbol. This would be some variant of the 'Use Selection For find', but as a context menu item. Task 2: I want to add an item to the context menu that will do the following: save any dirty files, then run the makefile of the project. If there are any errors, take me to the place in the source file that contains the first error. This would be something like the Command-B, but as a context menu item. Also, when I tried using Command-B, it attempted to build the code using Xcode. I just want it to run the makefile in a shell and show me the errors. I would also want to -- View this message in context: http://www.nabble.com/Context-menu%3A-Help-me-get-my-mind-around-this...-tf4523563.html#a12905094 Sent from the textmate users mailing list archive at Nabble.com. From toby.gee at ic.ac.uk Fri Sep 28 22:46:39 2007 From: toby.gee at ic.ac.uk (Toby Gee) Date: Fri, 28 Sep 2007 17:46:39 -0500 Subject: [TxMt] Problems with Textmate and Skim for LaTeX previewing Message-ID: <24047045-C106-4049-90EC-9FA89AFC00C7@imperial.ac.uk> Hi, I have a first generation Intel Mac, and I never managed to get pdfsync to work with Textmate and PDFView. I've now updated to Skim and the latest Textmate, and the situation has got worse! Now if I re- TeX a document, I'm taken to Skim, but I don't see the latest version of the document; the only way for me to see this is to close the window in Skim, and then click "View in Skim" in the Typeset & View window. pdfsync takes to me Skim, but not to the current position, and pdfsync from Skim does nothing. Any ideas? Thanks, Toby From n.kobschaetzki at googlemail.com Sat Sep 29 05:17:07 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Sat, 29 Sep 2007 07:17:07 +0200 Subject: [TxMt] Problems with Textmate and Skim for LaTeX previewing In-Reply-To: <24047045-C106-4049-90EC-9FA89AFC00C7@imperial.ac.uk> References: <24047045-C106-4049-90EC-9FA89AFC00C7@imperial.ac.uk> Message-ID: <851C1A34-1FD2-49D7-9AC6-F4C32824767B@googlemail.com> On Sep 29, 2007, at 12:46 AM, Toby Gee wrote: > I have a first generation Intel Mac, and I never managed to get > pdfsync to work with Textmate and PDFView. I've now updated to Skim > and the latest Textmate, and the situation has got worse! Now if I > re-TeX a document, I'm taken to Skim, but I don't see the latest > version of the document; the only way for me to see this is to > close the window in Skim, and then click "View in Skim" in the > Typeset & View window. pdfsync takes to me Skim, but not to the > current position, and pdfsync from Skim does nothing. Any ideas? I have here only the latest SVN-co of the LaTeX-Bundle and therefore I can only say what the settings are for those which are working for me: In the LaTeX-Preferences (it's a new part of the menu of the bundle) I have set: Default-engine: pdflatex and Viewing in Skim, Show PDF automatically In the Skim-preferences I have set under sync: Check for file changes Preset: TextMate a cmd-shift-click in Skim brings me to Textmate Show in PDFViewer(Skim) ctrl+alt+cmd+o brings me to the corresponding part in the file in Skim (or rendering the file) In the tex-file itself I'm using of course \usepackage{pdfsync} I hope that helps. Niels From devlist at samuraicoder.net Sat Sep 29 06:56:18 2007 From: devlist at samuraicoder.net (Takaaki Kato) Date: Sat, 29 Sep 2007 15:56:18 +0900 Subject: [TxMt] Double-byte spaces not distinguishable In-Reply-To: <7521871F-0D3F-4CD2-B0DD-91E5AC2FA261@eva.mpg.de> References: <9D0E7C13-4B0B-49A1-B9C5-207DEFD2DD56@samuraicoder.net> <7521871F-0D3F-4CD2-B0DD-91E5AC2FA261@eva.mpg.de> Message-ID: On Sep 27, 2007, at 9:40 PM, Hans-Joerg Bibiko wrote: > > On 27 Sep 2007, at 14:10, Takaaki Kato wrote: >> Is there a way to find or colorize double-byte space that in the >> document? I've been using a double-byle language, called Japanese >> with TextMate. The problem I encounter every now and then is to >> mistakenly type double-byte spaces where they, as they are treated >> as strings, are now allowed. >> >> At this time, there's no way to distinguish double-byte spaces and >> single-byte spaces in the document window. >> >> I guess there would be a way to find the space by grep and >> highlight it adding scope in language grammars. Right? Anybody? >> > > Well, there are several ways to handle this. > The easiest would be to replace all '?' with ' ' before save > the file or do something with the file. > > If you want to see these double byte space you can add this in a > language grammar under 'patterns': > > { match = '[^?]*(?)[^?]*'; > captures = { 1 = { name = 'meta.character.DBSpace'; }; }; > }, > > > and finally you can add an element within TM's preferences > Fonts > & Colors called 'DBSpace' with the scope selector > 'meta.character.DBSpace' and set the background color (BG) to what > ever you like. > > The next idea would be to create a snippet with a single ASCII > SPACE and bind it to a key equivalent SPACE. > Thanks Hans, The highlighting works. I'm pretty surprised to see the simple grep matching. I was expecing some difficult grep to grab the spaces. I'm not supresseing every double-byte spaces because double-byte spaces should be allowed in Japanese strings. Takaaki -- Takaaki Kato http://samuraicoder.net From lists at visualchutzpah.com Sat Sep 29 19:53:27 2007 From: lists at visualchutzpah.com (Saul Rosenbaum) Date: Sat, 29 Sep 2007 15:53:27 -0400 Subject: [TxMt] HTML To Markdown functionality Message-ID: <05AEC7E5-F292-4CD2-91C0-A4CD65C1F031@visualchutzpah.com> Howdy; I found this great HTML to Markdown converter online http://milianw.de/projects/html2text/ any one have the chops to turn that into a TextMate Command? I know that's I'd love it, and I'm sure I'm not the only one. tia s.i. rosenbaum From jacobolus at gmail.com Sat Sep 29 19:57:05 2007 From: jacobolus at gmail.com (Jacob Rus) Date: Sat, 29 Sep 2007 12:57:05 -0700 Subject: [TxMt] Re: HTML To Markdown functionality In-Reply-To: <05AEC7E5-F292-4CD2-91C0-A4CD65C1F031@visualchutzpah.com> References: <05AEC7E5-F292-4CD2-91C0-A4CD65C1F031@visualchutzpah.com> Message-ID: Saul Rosenbaum wrote: > I found this great HTML to Markdown converter online > http://milianw.de/projects/html2text/ > any one have the chops to turn that into a TextMate Command? > I know that's I'd love it, and I'm sure I'm not the only one. Try dragging an html file into a markdown document ;) From n.kobschaetzki at googlemail.com Sat Sep 29 20:05:05 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Sat, 29 Sep 2007 22:05:05 +0200 Subject: [TxMt] Blogging-Bundle again Message-ID: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> Hi! Fortunately the blogging-bundle is working for me again (fetching and posting), only the category-snippet is not working. When I use it I get the following error: /tmp/temp_textmate.XHi7MM:4:in `require': No such file to load -- / Users/nik/Library/Application Support/TextMate/Support/lib/dialog.rb (LoadError) from /tmp/temp_textmate.XHi7MM:4 I'm using the actual svn-co and the support-folder and so on is up to date as well. Any ideas? Niels From lists at visualchutzpah.com Sat Sep 29 22:20:27 2007 From: lists at visualchutzpah.com (Saul Rosenbaum) Date: Sat, 29 Sep 2007 18:20:27 -0400 Subject: [TxMt] Re: HTML To Markdown functionality In-Reply-To: References: <05AEC7E5-F292-4CD2-91C0-A4CD65C1F031@visualchutzpah.com> Message-ID: <959AC6CF-9097-4E75-B00F-1D12EB94E522@visualchutzpah.com> Okay - so I'm a little embarrassed, it never occurred to me to try that. Thanks!, TextMate never fails to amaze me.. On Sep 29, 2007, at 3:57 PM, Jacob Rus wrote: Saul Rosenbaum wrote: > I found this great HTML to Markdown converter online > http://milianw.de/projects/html2text/ > any one have the chops to turn that into a TextMate Command? > I know that's I'd love it, and I'm sure I'm not the only one. Try dragging an html file into a markdown document ;) ______________________________________________________________________ For new threads USE THIS: textmate at lists.macromates.com (threading gets destroyed and the universe will collapse if you don't) http://lists.macromates.com/mailman/listinfo/textmate Saul Rosenbaum Visual Chutzpah --------------------------------- Strengthening Brands Through Illustrated Images And Interactive Design VISIT US ON THE WEB web: http://www.visualchutzpah.com email: lists at visualchutzpah.com illos: http://www.saulrosenbaum.com blog: http://www.saulrosenbaum.com/blog --------------------------------- From bmiller at luther.edu Sat Sep 29 22:48:34 2007 From: bmiller at luther.edu (Brad Miller) Date: Sat, 29 Sep 2007 17:48:34 -0500 Subject: [TxMt] Problems with Textmate and Skim for LaTeX previewing In-Reply-To: <851C1A34-1FD2-49D7-9AC6-F4C32824767B@googlemail.com> References: <24047045-C106-4049-90EC-9FA89AFC00C7@imperial.ac.uk> <851C1A34-1FD2-49D7-9AC6-F4C32824767B@googlemail.com> Message-ID: On 9/29/07, Niels Kobsch?tzki wrote: > > On Sep 29, 2007, at 12:46 AM, Toby Gee wrote: > ... > > In the LaTeX-Preferences (it's a new part of the menu of the bundle) > I have set: > Default-engine: pdflatex > and Viewing in Skim, Show PDF automatically > > In the Skim-preferences I have set under sync: > Check for file changes If you are using a recent version of the Latex bundle from subversion you can uncheck this box. The bundle now uses a short Applescript to tell skim when to refresh. This is more reliable and more efficient than having Skim look for changes itself. Brad Preset: TextMate > > a cmd-shift-click in Skim brings me to Textmate > Show in PDFViewer(Skim) ctrl+alt+cmd+o brings me to the corresponding > part in the file in Skim (or rendering the file) > > In the tex-file itself I'm using of course \usepackage{pdfsync} > > I hope that helps. > > Niels > > ______________________________________________________________________ > For new threads USE THIS: textmate at lists.macromates.com > (threading gets destroyed and the universe will collapse if you don't) > http://lists.macromates.com/mailman/listinfo/textmate > -------------- next part -------------- An HTML attachment was scrubbed... URL: From n.kobschaetzki at googlemail.com Sun Sep 30 10:13:03 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Sun, 30 Sep 2007 12:13:03 +0200 Subject: [TxMt] Re: Blogging-Bundle again In-Reply-To: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> References: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> Message-ID: On Sep 29, 2007, at 10:05 PM, Niels Kobsch?tzki wrote: > Fortunately the blogging-bundle is working for me again (fetching > and posting), only the category-snippet is not working. When I use > it I get the following error: > > /tmp/temp_textmate.XHi7MM:4:in `require': No such file to load -- / > Users/nik/Library/Application Support/TextMate/Support/lib/ > dialog.rb (LoadError) > from /tmp/temp_textmate.XHi7MM:4 > > I'm using the actual svn-co and the support-folder and so on is up > to date as well. > Any ideas? Problem solved. I don't know how or why but the Category-command got moved to my personal bundle. I moved it back to the blogging-bundle and now it opens at least the dialog to choose the blog but after that I get the following error: /usr/lib/ruby/1.8/xmlrpc/client.rb:403:in `call': XMLRPC::FaultException (XMLRPC::FaultException) from /tmp/temp_textmate.iJaByg:47 from /tmp/temp_textmate.iJaByg:46:in `call' from /Users/nik/Library/Application Support/TextMate/Support/lib/ progress.rb:36:in `call_with_progress' from /Users/nik/Library/Application Support/TextMate/Support/lib/ progress.rb:32:in `call' from /Users/nik/Library/Application Support/TextMate/Support/lib/ progress.rb:43:in `call_with_progress' from /Users/nik/Library/Application Support/TextMate/Support/lib/ progress.rb:40:in `dialog' from /Users/nik/Library/Application Support/TextMate/Support/lib/ progress.rb:40:in `call_with_progress' from /tmp/temp_textmate.iJaByg:46 I tried to delete the bundle and checked it out but the error is the same. Any help appreciated :) Niels From n.kobschaetzki at googlemail.com Sun Sep 30 10:17:22 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Sun, 30 Sep 2007 12:17:22 +0200 Subject: [TxMt] [SOLVED] Re: Blogging-Bundle again In-Reply-To: References: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> Message-ID: On Sep 30, 2007, at 12:13 PM, Niels Kobsch?tzki wrote: > On Sep 29, 2007, at 10:05 PM, Niels Kobsch?tzki wrote: > >> Fortunately the blogging-bundle is working for me again (fetching >> and posting), only the category-snippet is not working. When I use >> it I get the following error: >> >> /tmp/temp_textmate.XHi7MM:4:in `require': No such file to load -- / >> Users/nik/Library/Application Support/TextMate/Support/lib/ >> dialog.rb (LoadError) >> from /tmp/temp_textmate.XHi7MM:4 >> >> I'm using the actual svn-co and the support-folder and so on is up >> to date as well. >> Any ideas? > > Problem solved. I don't know how or why but the Category-command > got moved to my personal bundle. I moved it back to the blogging- > bundle and now it opens at least the dialog to choose the blog but > after that I get the following error: > > /usr/lib/ruby/1.8/xmlrpc/client.rb:403:in `call': > XMLRPC::FaultException (XMLRPC::FaultException) > from /tmp/temp_textmate.iJaByg:47 > from /tmp/temp_textmate.iJaByg:46:in `call' > from /Users/nik/Library/Application Support/TextMate/Support/lib/ > progress.rb:36:in `call_with_progress' > from /Users/nik/Library/Application Support/TextMate/Support/lib/ > progress.rb:32:in `call' > from /Users/nik/Library/Application Support/TextMate/Support/lib/ > progress.rb:43:in `call_with_progress' > from /Users/nik/Library/Application Support/TextMate/Support/lib/ > progress.rb:40:in `dialog' > from /Users/nik/Library/Application Support/TextMate/Support/lib/ > progress.rb:40:in `call_with_progress' > from /tmp/temp_textmate.iJaByg:46 > > I tried to delete the bundle and checked it out but the error is > the same. Ok. Now it is finally solved - just yesterday I changed the password of the blog and therefore the bundle "couldn't" login. Btw. is there anyway to change the password which TextMate accesses within TextMate or would there be a possibility to add a command which allows typing in the password if the username/password- combination is wrong? Changing the passwords in Keychain Access is kinda annoying ;) Niels From sven.axelsson at gmail.com Sun Sep 30 10:26:28 2007 From: sven.axelsson at gmail.com (Sven Axelsson) Date: Sun, 30 Sep 2007 12:26:28 +0200 Subject: [TxMt] PHP Bundle Validate Syntax Message-ID: Having upped my PHP version to 5.2.4 I realized that the Validate syntax command in the Textmate PHP bundle gets text from both stdout and stderr. Don't know if it was like that with previous PHP version, but the fix is simple. change result = `#{ENV['TM_PHP'] || 'php'} -d display_errors=on -l` to result = `#{ENV['TM_PHP'] || 'php'} -d display_errors=on -l 2> /dev/null` in the Validate syntax command I also found it useful to add a similar command for ZendCodeAnalyzer. Create a new command with Save: Current document, Input: Entire document, and Output: Show as tool tip containing this code: #!/usr/bin/env ruby require ENV['TM_SUPPORT_PATH'] + '/lib/textmate' result = `#{ENV['TM_ZCA'] || 'ZendCodeAnalyzer'} #{ENV['TM_FILEPATH']} 2>&1` puts result.gsub(/^.*\(line (\d+)\)/, 'line \1') TextMate.go_to :line => $1 if result =~ /line (\d+)/ In this case we do want both stderr and stdout, but they are in the wrong order, so 2>&1 fixes that. Perhaps this is useful for someone. -- Sven Axelsson From amagine at telus.net Sun Sep 30 18:50:52 2007 From: amagine at telus.net (Mars Sjoden) Date: Sun, 30 Sep 2007 11:50:52 -0700 Subject: [TxMt] (no subject) Message-ID: Hello, I have found very limited XML editing applications that are affordable for the Mac. I am wondering if there is a good XML (.xsd, .xml, xhtml, ect) bundle or even a really nice Theme for reading said XML files? Thank you! From mailinglists at geeksrus.com Sun Sep 30 20:20:59 2007 From: mailinglists at geeksrus.com (Steven W Riggins) Date: Sun, 30 Sep 2007 13:20:59 -0700 Subject: [TxMt] [SOLVED] Re: Blogging-Bundle again In-Reply-To: References: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> Message-ID: <2CD03A34-C13B-45B1-A8E8-953FADA8BC9C@geeksrus.com> I actually gave up on the blogging bundle, simply because the wonderful Mars Edit 2.0 supports editing in TextMate without any other tricks. So I can start a new post, edit posts, and use Mars Edit which is VERY FAST to WordPress, edit in MarsEdit OR TextMate, and post from Mars Edit. Works wonderfully. From n.kobschaetzki at googlemail.com Sun Sep 30 20:55:28 2007 From: n.kobschaetzki at googlemail.com (=?ISO-8859-1?Q?Niels_Kobsch=E4tzki?=) Date: Sun, 30 Sep 2007 22:55:28 +0200 Subject: [TxMt] [SOLVED] Re: Blogging-Bundle again In-Reply-To: <2CD03A34-C13B-45B1-A8E8-953FADA8BC9C@geeksrus.com> References: <31AAADE7-D817-481A-B6BA-6DB204063E83@googlemail.com> <2CD03A34-C13B-45B1-A8E8-953FADA8BC9C@geeksrus.com> Message-ID: <50474D77-745C-4B24-8CFB-3482FB432862@googlemail.com> On Sep 30, 2007, at 10:20 PM, Steven W Riggins wrote: > I actually gave up on the blogging bundle, simply because the > wonderful Mars Edit 2.0 supports editing in TextMate without any > other tricks. > > So I can start a new post, edit posts, and use Mars Edit which is > VERY FAST to WordPress, edit in MarsEdit OR TextMate, and post from > Mars Edit. I do not blog very often and for that paying an additional $30 when TextMate gives me exactly what I want (except of problems appearing rarely - and the last posted problem was at least partly my fault) - no way Niels