I would like to set up to do offline blogging (Wordpress) from Textmate, but
have run up against a problem.
When I go to "Setup Blogs" to set up my blog, I should get a modifiable
template where I can enter my blog-specific information which will then go
and fetch my posts. Problem is that when I try to do this and call the
template, nothing happens. Instead, I just have a blank text file.
What's wrong? Is the template missing? If so, how do I get a new copy?
Thank you.
--
View this message in context: http://www.nabble.com/Problem-with-%22Setup-Blogs%22-function-in-Blogging-b…
Sent from the textmate users mailing list archive at Nabble.com.
I Just upgraded to TeXLive 2008 and I am experiencing some problems
when previewing in Skim.
In the Typeset & view Window I get the following error message:
Application 'Skim' not running sh: /Applications/Skim.app/Contents/
Resources/displayline: No such file or directory
I already checked some earlier mails about this kind of problem and
found that
earlier the code in texMate.py had
Contents/Resources/displayline
but Skim was changed and needs
/Contents/SharedSupport/displayline
When I check my texMate.py
I already have the correct code there.
I do not understand where the wrong line of code comes from.
Skim starts an displays my files. I just would like to get rid of the
error message.
I have another problem also:
Forward search i.e. selecting text in TextMake and finding the
corresponding spot in Skim, does not work.
Neither selecting Show in PDF Viewer (pdfsync) nor pressing Ctrl-Alt-
Apple-O does anything.
I do have Skim 1. 2 (38), TeXLive 2008 ad TextMate 1.5.8 (1496)
--
Erich Neuwirth
Didactic Center for Computer Science and Institute for Scientific
Computing
University of Vienna
It happens to me in plain text mode (the default new document).
>> Hi,
>>
>> My 1.5.8 (1496) quits each time I try this:
>>
>> Open a blank document.
>> Type opening brace i.e. {
>> TM inserts closing brace i.e. }
>> Press Ctrl+k to kill closing brace
>> Press backspace to get rid of opening brace
>> TM crashes.
>>
>> This seems to happen only if I used Ctrl+k to delete the closing
>> brace.
>> If I place the cursor to the right of } and press backspace,
>> everything works fine.
>>
>> Is this a known problem?
>
> In every language, or just one?
Hi,
My 1.5.8 (1496) quits each time I try this:
Open a blank document.
Type opening brace i.e. {
TM inserts closing brace i.e. }
Press Ctrl+k to kill closing brace
Press backspace to get rid of opening brace
TM crashes.
This seems to happen only if I used Ctrl+k to delete the closing brace.
If I place the cursor to the right of } and press backspace, everything
works fine.
Is this a known problem?
Thanks,
Abhi
Hi there,
I'm experiencing a bug with the latest TM build (1496). It happens on
two different computers (both running 10.5.5)
Scenario:
- you have a project open
- it has some subfolder
Steps:
- open a file in the project
- save it on a subfolder, with the same name, by using "Save as..."
- (focus on a different program to make TM refresh the project)
- try to open the original file -- FAIL
Bonus points:
- use the terminal to rm the newly created file and watch TM go nuts
(specially if you have enabled the "Save files when focus is lost")
Is it just me, or should I report it as a "proper" bug?
--
Ale Muñoz
http://sofanaranja.comhttp://bomberstudios.com
Hi, all.
I teach programming and a student really stumped me with this one. His
program was generating a file with a space at the end of the name,
like this: "test.txt ". I could not open this file with TextMate, only
with OpenOffice. TextMate shows the file in the project drawer but
when you click on it nothing happens. I finally figured it out by
going to a terminal window and displaying the directory with a ls -a.
It showed this up as "test.txt\ " and it started making sense. I could
then track down the bug in my student's code.
Is this a known thing? I searched the list archives but didn't see this.
Thanks,
-Eric
I have a new Mac Pro, and for some reason PHP validation won't work at
all on it. I'm using a migrated user account from a Tiger machine, and
I suspect that might be the problem, but I can't figure out what is
setting it on the wrong path.
If I create a new test account, everything works perfectly in it. The
default PHP command is used for validation, and errors are properly
displayed.
I have tried setting and deleting the TM_PHP variable. I have created
and destroyed a .MacOSX/environment.plist. I can't find anything else
that would explain this on the web or this list. Any ideas?
Thanks,
Walter
Out of curiosity[1], what would happen if two bundles "claimed" the
same language? Would Textmate only use one? How would it pick?
(Assume there are conflicting items; ie. language syntax definitions.)
-Neil.
PS. Well, okay, not entirely just "out of curiosity"; I'm asking
because I'm thinking of "redoing" (or at least extensively modifying)
some bundles.
Is there already a known solution for correctly indenting multi-line lists,
so that the elements properly align with each other, e.g. in Python:
myList = [firstElement,
SecondElement] # 'f' and 'S' align
myDict = {key1:value1,
key2:value2} # the two 'k' align
It seems the lack of fine control over indentation in Textmate is already
well known; I was just wondering if there is any commonly accepted
(interim?) solution.
Thanks!
Abhi
Hi everyone :)
Don't want to complain or anything but it seems to me like a legitimate
question : is TextMate still in development ?
Apart from v. 2.0, it seems like there is no 1.x update anymore…
Thanks in advance for any insights :)
--
View this message in context: http://www.nabble.com/Future-development---tp20688730p20688730.html
Sent from the textmate users mailing list archive at Nabble.com.
I've just discovered the Plain Text Wiki bundle [1], and I'd like to
improve the grammar by including the markdown language, so that the
pagename scopes are just added on to markdown.
Currently, the language grammar looks like this:
{ scopeName = 'text.html.markdown.wiki';
comment = 'TODO: Get nesting to work correctly.
Currently, the links are only picked up outside of paragraphs.';
fileTypes = ( 'txt', 'markdown', 'mdown', 'markdn', 'md' );
patterns = (
{ include = '#delimited'; },
{ include = '#camelcase'; },
{ include = 'text.html.markdown'; },
);
repository = {
camelcase = {
name = 'markup.other.pagename.camelcase';
match = '[A-Z][a-z]+([A-Z][a-z]*)+';
};
delimited = {
contentName = 'markup.other.pagename.delimited';
begin = '\[\[';
end = '\]\]';
};
};
}
This includes the markdown grammar, but breaks everything else that is
in a paragraph.
I'm fairly sure I'm missing something simple, but can anyone help me out?
Cheers,
Matt
[1]: http://interconnected.org/home/more/2007/05/textmate-wiki/
PS. I've made a fork at:
http://github.com/mattfoster/plaintextwiki-tmbundle/ if anyone's
interested.
--
Matt Foster | http://hackerific.net
Hi,
there is a new “GetBundles” release available.
svn checkout:
export LC_CTYPE=en_US.UTF-8
mkdir -p ~/Library/Application\ Support/TextMate/Bundles
cd ~/Library/Application\ Support/TextMate/Bundles
svn co http://svn.textmate.org/trunk/Review/Bundles/GetBundles.tmbundle
osascript -e 'tell app "TextMate" to reload bundles'
svn update:
export LC_CTYPE=en_US.UTF-8
cd '~/Library/Application Support/TextMate/Bundles/GetBundles.tmbundle'
svn up
osascript -e 'tell app "TextMate" to reload bundles'
or simply:
http://email.eva.mpg.de/~bibiko/downloads/textmate/GetBundles.tmbundle.zip
“GetBundles” runs on MacOSX 10.4.x and MacOSX 10.5.x ppc/intel.
“GetBundles” is rewritten entirely. Here are the four main changes:
• it uses a cache file from textmate.org which will be generated by a
script that runs once a day on textmate.org to collect available data
from TM's svn repositories, from github.com, and includes private
hosted bundles (Cache File lists 346 bundles. Last modified date: Thu
Nov 20 11:00:03 UTC 2008)
• the installation of a bundle will be done by TextMate (the same
procedure when you double-click at a tmbundle in Finder)
• it updates TextMate's “Support Folder” automatically –if
needed– before it installs a bundle
- this update of TextMate's “Support Folder” will be always stored
in ~/Library/Application Support/TextMate/Pristine Copy/Support
- if there is no /Library/Application Support/TextMate/Support folder
it will create a symbolic link to Pristine's one
> this means:
- if you has already checked out TextMate's “Support Folder” TM
will use this one regardless of “GetBundles'” update
- this makes it possible that an user can use its own “Support
Folder” and s/he is responsible for its update
- if you like to use Pristine's “Support Folder” simply rename or
delete /Library/Application Support/TextMate/Support and update it by
using “GetBundles'” > Gear Menu > Update “Support Folder”
• “GetBundles” now displays the status (installed, there's an
update available etc.) of locally installed bundles
All activities, warnings, and errors are written into “GetBundles'”
Log file. You can open it by pressing ⌥⇧⌘L or “Gear Menu” >
Show Log.
The help file was updated but is still under constructions.
Furthermore you cannot update a bundle if this bundle is under
revision control (svn/git). You can delete/rename that bundle and use
“GetBundles” to reinstall it, or use svn/git (the “Info Window”
of a bundle shows the shell command(s)).
The underlying script is rather complex thus “GetBundles” needs
your help to fix problems, bugs, insufficiencies, speed, update
status, including the GUI design (Leopard and Tiger uses different
GUIs) and misspelled or wrong English messages etc.
I'd be appreciate to get any kind of feedback in order to improve it
further.
Kind regards,
--Hans
PS If you know more TextMate bundles hosted on private sites which are
worth to be listed in “GetBundles” please mail me the URL. I'll
then maintain the server file for private hosted bundles.
Hi,
Is there a 'Documentation for Word' function for Smarty (like the one
in the PHP bundle).
Both the PHP and Smarty manual look pretty much alike so it should not
be that hard to do?
Mvh Christoffer Winterkvist
---------------------------------------
oprah(a)noodlemantra.eu
This is very strange. I recently lost the Next Completion (esc) and
Incremental Search (ctrl+s) keybindings in TextMate. Lost as in nothing
happens when typing them. I recently updated to bleeding edge, i.e. 1.5.7
(1474). I can see the bindings in KeyBindings.dict in TextMate.app, but
maybe the file is corrupt somehow. Adding the non-functional bindings to a
local KeyBindings.dict in Application Support/TextMate makes them work
again. Am I the only one with this problem?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
Hi,
** apoloigies if you're reading this again, posted it as a reply to
other topic, rather than new message.... idiot. :-(**
Having a small problem changing the HTML wrapping setup to accommodate
php docblocks.
I use alt-cmd-[ to reformat my code, and it (unsurprisingly) resets
docblock comments to
/**
* A comment
**/
However, I like my coments to fold!
I've tried changing the HTML language to cope with this, but I can't
quite get it to work. I can get
/**
* A comment
**/
to fold with :
foldingStartMarker = '(?x)
(<(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|style|
script|ul|ol|li|form|dl)\b.*?>
|<!--(?!.*--\s*>)
|^<!--\ \#tminclude\ (?>.*?-->)$
|<\?(?:php)?.*\b(if|for(each)?|while)\b.+:
|\{\{?(if|foreach|capture|literal|foreach|php|section|strip)
|\{\s*($|\?>\s*$|//|/\*(.*\*/\s*$|(?!.*?\*/)))
|^\s*/\*\*\s*$ # added for folding docblocks
)';
foldingStopMarker = '(?x)
(</(?i:head|body|table|thead|tbody|tfoot|tr|div|select|fieldset|
style|script|ul|ol|li|form|dl)>
|^(?!.*?<!--).*?--\s*>
|^<!--\ end\ tminclude\ -->$
|<\?(?:php)?.*\bend(if|for(each)?|while)\b
|\{\{?/(if|foreach|capture|literal|foreach|php|section|strip)
|^[^{]*\}
|^\s*\*\*/\s*$ # added for folding docblocks
)';
But can't seem to get the two spaces before the ** on the last line to
take.
Is there some trick with the regex I'm missing, or can I change the
behaviour of alt-cmd-[ ?
TIA
R
--
Richard Dyce MA (Cantab.) MBCS MIET
--
Richard Dyce MA (Cantab.) MBCS MIET
Hi all,
I'm was having trouble running Applescripts with the Applescript
bundle since upgrading to a new computer at work (recent TextMate
install). After upgrading the support Folder to the latest in the SVN
repo, I now get the following error when running applescripts:
Running “A Simple Script.scpt”…
0:1: syntax error: A unknown token can’t go here. (-2740)
I assume that the error is from the bundle incorrectly passing
arguments to the command line, and I was wondering if I could get some
help figuring things out. Oh, yeah and the scripts do run...
My TextMate Version is Version 1.5.7 (1474)
Bundles & Support: At revision 10820
Thanks.
Faun
Can anyone help with a command that would convert the case of selected
text as well as replaced spaces with underscores?
So, for instance:
This is a Title -> this_is_a_title
As a complete beginner in TextMate, I'm not sure how to create a
command to do this.
Any help would be greatly appreciated.
Best,
Michael R.
(For Easy Reference: http://ticket.macromates.com/show?ticket_id=4EFB31A8)
I wanted to bring up this ticket to find out if there was any news or
plan or even intent to address it.
Needless to say, I would really like to see it implemented. (You
should see some of my notes/outlines that I make in Textmate; with an
outline 6 tabs deep, it gets pretty messy when the line wraps around...)
Sincerely, and ever hopeful,
Neil.
Folks,
I wasn't aware that there is a cutting edge version of the cutting
edge version.
I just downloaded that and installed it (a little bit against the
"never change a running system" theory).
TM and latex compilations still work fine, but I get an error message
now, which I don't know what it means:
/Users/clausman/Library/Application Support/TextMate/Support/lib/tm/
process.rb:125: warning: Insecure world writable dir /usr/local/bin in
PATH, mode 040777
Does either of you have any pointers?
Thanks for your help,
Claus
On 19-Nov-08, at 12:09 PM, textmate-request(a)lists.macromates.com wrote:
> Message: 4
> Date: Tue, 18 Nov 2008 21:36:09 +0100
> From: Alex Ross <tm-alex(a)rosiba.com>
> Subject: [TxMt] Re: Latex bundle troubleshooting II
> To: TextMate users <textmate(a)lists.macromates.com>
> Message-ID: <D64FBDD2-B3B6-4F0C-91CF-E5D584E8F3DA(a)rosiba.com>
> Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
>
>
> On Nov 18, 2008, at 9:14 PM, Guido Governatori wrote:
>
>>
>> On 19/11/2008, at 4:58 AM, Alex Ross wrote:
>>
>>>
>>> On Nov 18, 2008, at 5:40 PM, Achilleas Lazarides wrote:
>>>
>>>> Hello again,
>>>> Seems I am still having some trouble with the latex bundle.
>>>> Basically, the first time I attempt to typeset after launching
>>>> textmate, I
>>>> get:
>>>>
>>>> ==================================================
>>>> The current PATH is:
>>>>
>>>> /usr/bin
>>>> /bin
>>>> /usr/sbin
>>>> /sbin
>>>> Please add the directory containing ?kpsewhich? to PATH in
>>>> TextMate's Shell
>>>> Variables preferences.
>>>>
>>>> Alternatively, the PATH can be retrieved from Terminal but this
>>>> requires a
>>>> relaunch:
>>>> (button to perform this operation)
>>>> ==================================================
>>>>
>>>> Now as a matter of fact the correct path is present in my shell
>>>> variables in
>>>> textmate's preferences (in "shell variables" under "advanced"), as
>>>> opposed to
>>>> just /usr/bin, /bin and sbin as mentioned in the message;
>>>> furthermore, it is
>>>> already in my usual PATH. If I do click on the button, it quits and
>>>> restarts
>>>> and everything is ok. Checking the preferences, a new PATH var has
>>>> been added,
>>>> containing my shell path. This addition occurs even if the exact
>>>> same path
>>>> variable is already present in textmate's preferences.
>>>>
>>>> If I now quit and restart textmate, the same process is repeated,
>>>> and a new
>>>> path variable added to the preferences before I can typeset
>>>> (identical to the
>>>> other ones already there), and everything works after that, until I
>>>> quit
>>>> again, and so on.
>>>>
>>>> This did not happen before I updated my latex and support bundles.
>>>>
>>>> Maybe I'm just being thick, but I can't see what is going on, and
>>>> this is
>>>> starting to get annoying. Any ideas?
>>>
>>> Update TextMate to bleeding edge by ?+Click (Option+click) the
>>> ?Check for updates?? button in TextMate's Software Update
>>> preference pane.
>>>
>>
>> I had the same problem and updating to the cutting edge did not
>> help.
>> I had to include /usr/texbin in the path in ~/.MacOSX/
>> environment.plist
>
> Updating to cutting edge is not enough. You have to ?+Click (Option
> +Click) the ?Check now? button in the Software Update prefpane.
> This downloads a special TM build that corrects a bug with the way
> TextMate puts Shell Variables into the environment. After this,
> setting ?PATH? in the Shell Variables section of preferences is
> enough.
>
> ?Alex
The show current scope shortcut (ctrl+shift+p) is not working for me in
TextMate and has not done so for a long time. Using Gerd Knops excellent
KeyBindingsEditor shows no such binding in TextMate. The system dictionary
binds it to moveUpAndModifySelection: which is indeed the action I get in
TextMate. Anyone knows what's up with that?
--
Sven Axelsson
++++++++++[>++++++++++>+++++++++++>++++++++++>++++++
>++++<<<<<-]>++++.+.++++.>+++++.>+.<<-.>>+.>++++.<<.
+++.>-.<<++.>>----.<++.>>>++++++.<<<<.>>++++.<----.
hi there,
I've made this feature request for improving the latex bundle and got
a reply that maybe the user discussion list would be more appropriate.
So here it is:
pstricks remains extremely useful and pdflatex seems to be the future
of LaTeX, although it does not support pstricks directly.
There is a simple and elegant way of having then coexist, which is to
use the pst-pdf package, which defines a new environment to wrap
pstricks figures. However, this now requires that we compile the ps
and pdf parts separately as follows:
latex <file.tex>
dvips -Ppdf -o <file-pics.ps> <file.dvi>
ps2pdf -dAutoRotatePages=/None <file-pics.ps> <file-pics.pdf>
pdflatex <file.tex>
This is properly documented in
http://tug.org/PSTricks/main.cgi?file=pdf/pdfoutput
The LaTeX bundle should be extended with a new test to see if the
pst-pdf package is loaded and perform the steps above, removing the
.ps file after the last step.
Has anyone been able to extend the latex bundle with a way to handle pst-pdf?
Thanks
Denilson
Hi,
I've one Mac (10.5.5) where HTML CodeCompletion does produce the
following error:
sh: : command not found
/Users/Wolfgang/Library/Application Support/TextMate/Support/lib/ui.rb:
86:in /bin/bash: -c: line 0: unexpected EOF while looking for matching
`''
/bin/bash: -c: line 2: syntax error: unexpected end of filemenu'
from /Users/Wolfgang/Library/Application Support/TextMate/Support/
lib/ui.rb:81:in /bin/bash: -c: line 0: unexpected EOF while looking
for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of filemenu'
from /Users/Wolfgang/Library/Application Support/TextMate/Support/
lib/codecompletion.rb:213:in /bin/bash: -c: line 0: unexpected EOF
while looking for matching `''
/bin/bash: -c: line 2: syntax error: unexpected end of fileinitialize'
from /tmp/temp_textmate.bx693a:3:in
What's going wrong on this machine?
Wolfgang
On 17 Nov 2008, at 04:36, Allan Odgaard wrote:
> For reasons unknown to me, your setup has TM pick the Support folder
> included with TM rather than the one you svn checkout.
Aha! It turns out that my .bash_profile was setting both
TM_SUPPORT_PATH and TM_PLUGIN_PATH for some reason. Those lines have
been there a while, perhaps a very early version of TM or some plugin
required that?
Anyway, I commented out those two lines and TM is now using the
correct support folder and I can once again run perl scripts!
Thanks so much for helping to track this down,
- d