Hello fellow maters,
A while ago we had a command that would align statements at their =
signs…
Would it be possible to incorporate that feature into the table-
macros fo LaTeX? So that the tables cells are aligned at the & signs?
And possibly make a command out of this that would re-format existing
tables?
just wondering if anyone feels like it ;)
Dan
…in his final stages of actually beating that thesis writing monster…
Hello everybody,
I am almost sure that this has been discusse on the list some time
ago, but I did not find anything right now.
For my Ph.D. dissertation, I am working with a LaTeX document which
is split up to many small files, one for each chapter.
I am using the TM_LATEX_MASTER variable which is set as a project
preference, and which points to the master document.
Now I would like to do the following: In order to print only a single
chapter of my dissertation I would like to use another central
document which ignores the TM_LATEX_MASTER variable. It should be
part of my project, however.
Is it possible to set the TM_LATEX_MASTER to a different value only
for this file?
TeXShop allows setting the main document by putting something like
%!TEX root = ../main.tex
at the beginning of a document. Does something like this exist in TM
as well?
(I know that I could also use the includeonly command, but that does
not work too well, since I also would like to change some things in
the central document for this specific file.)
Thanks in advance,
best regards
Matthias
--
Matthias Damm
mad(a)macpla.net
PGP key: http://macpla.net/MatthiasDamm.asc
PGP fingerprint: CED3 6074 7F7D 3148 C6F3 DFF2 05FF 3A0B 0D12 4D41
hi.
i made a command which converts textile-code to html (duh!). and
back (yeah!). well not really. what it does is embedding the
textile-content within a html-comment and on revert it ditches all
the html and just returns the comment.
i made this command because i think textile is a really fast way of
producing formated content (i know you're there, markdown-fans!).
but the problem is, the files don't stay editable. with textile,
that is. so now i can save an html-file with embedded textile and it
is ready for presentation and i can come back at any time and edit
the same file without having to keep a copy of the textile-file.
i'm a bad coder. i didn't manage to use the entire document rather
than the saved file as input. perhaps s/o else can help.
here's the code:
-------------------------------------------------------------
if [[ `head -1 $TM_FILENAME` == '<?xml version="1.0" encoding="utf-8"?
>' ]]
then
TEXTILEBEGINSAT=`grep "begin textile code" -n $TM_FILEPATH |\
awk -F ":" '{print $1}' `
DOCUMENTHASLINES=`wc -l $TM_FILEPATH | awk '{print $1}'`
LINES=`calc $DOCUMENTHASLINES - $TEXTILEBEGINSAT`
cat $TM_FILEPATH |\
tail -$LINES |\
grep -v "end textile code-->" | grep -v "</body></html>"
else
if [[ -z $TM_FILENAME ]]
then title="Textile Preview"
else title="${TM_FILENAME%.*}"
fi
{
. "$TM_SUPPORT_PATH/lib/html.sh"
htmlHeader "$title" '<style type="text/css">
body {
background-color: #eee;
}
.contents {
background: white;
font-family: Verdena, sans-serif;
font-size: 13px;
border: 1px #888 solid;
padding: 0 1em;
}
</style>'
beginTag div 'contents'
cat $TM_FILEPATH | "$TM_SUPPORT_PATH/bin/Textile.rb"
endTag
echo "<!-- begin textile code:"
cat $TM_FILEPATH
echo
echo "end textile code-->"
htmlFooter; }
fi
--------------------------------------------------------
the command uses "input: none" and "output: replace document" and
"scope selector: text.html.textile".
it would also be nice, if the command could change the scope to html
and back to textile. is this possible?
regards, niko.
--
____________________________
niko dittmann <ni-di(a)web.de>
____________________________
The Blogging bundle is really nifty, apart from one small problem –
it doesn't want to set the date to anything other than Right Now when
used with WordPress 2.04.
If I add a Date: header and change the date to some point in the
future the post still shows with the current time and I have to edit
the date through the WordPress interface.
I don't know whether it's WordPress or the bundle that's causing this
- can anyone help?
BTW, is it particularly easy to add extra fields? I'd quite like to
add support for the event end time field for the EventCalendar plugin
(http://blog.firetree.net/2006/07/21/eventcalendar-31-beta/)
Thanks
--
JY
Currently we have tab triggers, key commands, and drag commands as
ways of activating commands in TextMate. It would be very useful to
be able to trigger commands when a file is saved, activated, or
deactivated in the ui as well (there may be others but these are the
ones that came to my mind). One example of where this would be
useful is saving a GTD project file and having it automatically
update a conext file with any necessary changes.
What do others think of this? Allan, how difficult would something
like this be?
Matthew
Hi,
Currently, trying saving a Pascal file shows a save dialogue whose
field is "untitled.p". However, this ".p" extension doesn't seem to
be associated *well* with TextMate.
TextMate has a icon for Pascal document, but ".p" files don't show up
with TexMate doc icons. After some trial and errors, I found that
".pas" is associated with TextMate, showing a proper icon.
By supporting ".p" as a Pascal file as well, I don't bother to
associate thsese files with TextMate each time, using Get Info and
Change setting with "Open With...".
Takaaki
I have an action "@tum GPC-Daten/w√§ssrig mit nach hause nehmen"
which cannot be marked as done via the html-list of nextactions (set
its mark).
Btw, the odd symbols were an umlaut which either got killed somehere
in the GTDAlt bundle.
Yeah, I know, those guys with the weird keyboard layouts… ;)
Dan
I know textmate documents are usually just plaintext, however I have
a military client who wants to know if textmate documents have any
tracking in them, like microsoft word? For example every word
document contains a serial number.
He just wanted to be confident that textmate DOES NOT do anything
like this to protect privacy.
I assume it doesn't, but i just wanted to doublecheck.
Thanks!
can anyone explain why this definition in the perl language bundle
includes the newline as part of the comment?
line_comment =
{ name = 'comment.line.number-sign.perl';
match = '#.*$\n?';
};
it causes weird things in the mason bundle i use, where if a line of
perl includes a comment, textmate assumes the following line is also
perl, when it frequently is not.
% if ( $something ) { # something is up
<p>hi, something is up!</p> textmate thinks this line is perl and
the syntax highlighting is wrong
% }
if i want to change the line_comment pattern, but not miss any future
updates that might come with the perl bundle, what is the right way
to go about it?
---
michael reece :: software engineer :: mreece(a)vinq.com
I am sending the patch I have created for the css language definition
to the list for anyone who is interested to check out. I am also
including an example of why I created it. The example saved as
a .css.rb file and can be executed with cmd-R in TextMate to produce
the resulting css file in the same folder.
I have tried every possible way I can think of to do this without
changing the CSS language definition and don't believe it is
possible. If someone can do it, I would love to learn! :)
There is a post from Allan here: http://comox.textdrive.com/pipermail/
textmate/2006-April/009943.html that says this kind of thing may be
supported in 2.1 at the earliest, but for now it is not possible.
Enjoy!
Matthew
The example:
#!/usr/bin/env ruby
require 'erb'
css = <<HERE #css
<% width = 50 %>
#header
{
/* the header is twice as wide as the content */
width: <%= width * 2 %>px;
}
.some_content, .some_other_content
{
width: <%= width %>px;
}
HERE
File.open(__FILE__.sub(/\.rb$/, ''), "w") do |file|
file.puts ERB.new(css, 0, '%<>').result
end
HERE
File.open(__FILE__.sub(/\.rb$/, ''), "w") do |file|
file.puts ERB.new(css, 0, '%<>').result
end
The patch:
7d6
< { include = '#ruby'; },
12d10
< { include = '#ruby'; },
64d61
< { include = '#ruby'; },
69,70c66
< patterns = (
< { include = '#ruby'; },
---
> patterns = (
73c69
< }
---
> },
80d75
< { include = '#ruby'; },
138,148d132
< ruby =
< { name = 'source.ruby.embedded.css';
< begin = '<%+(?!>)=?';
< end = '%>';
< patterns = (
< { name = 'comment.line.number-sign.ruby';
< match = '#.*?(?=%>)';
< },
< { include = 'source.ruby'; },
< );
< };
Hi,
I recently got interested in starting to learn ruby. Since then I
have done a few things. I have installed the newest ruby (1.8.4) to
my /usr/local/bin/ . I also learned about TextMate, so I went and
downloaded it. I played around with it and noticed that i could run
the ruby script within textmate using Run Script. However, when I do
this, i get two errors. One is /bin/bash: line 3: cat: command not
found. This is at the beginning. After it says program exited
normally, it says /bin/bash: line 8: rm: command not found. Also, it
doesn't show any of the script as having run normally (didn't output
anything). Does anyone know whats wrong? Thanks!
I am not a computer programmer, but want to create a language for
mysel;f as part of a bundle. I have made some progress, but there's a
code being used here and I can't figure out what it means.
I am referring to what comes after the word match, i.e.
match = '[_]([^\\_ ]|\\.| .[^\\])*[_]';
match = '^[^\t].*((\.|\-|\?|\:|\;|\,)\s*)';
or
match = '\/\/\s*.*$';
Is there a website somewhere that might help me to decode this?
Thanks.
--
Lawrence Goodman
lawrencegoodman(a)gmail.com
Check out my blog: http://goodmanorama.blogspot.com
Does anyone have a copy of the TM bundle for Liquid mentioned here:
http://blog.leetsoft.com/2006/03/16/liquid-textmate-bundle
The site it links is down and my attempt at a bundle is amateurish at
best :P If you've got a copy, can you send it to me off-list? Much
appreciated!
--
Stephen Caudill
http://exdolo.com/
I have made a small addition to the css language definition that
allows for embedding ruby code in the css. I would like to
contribute this addition to the bundle and am not sure of the
appropriate way to do so. Can anyone fill me in on the best way to
submit bundle updates to the community?
Thanks,
Matthew
Hey all,
i'm in search of a * GOOD * xhtml indenter that's to say indenting
like :
<a href="..."
onclick="..."><img src="..."
alt="..."
title="..."/></a>
and not (* BADLY *) like :
<a href="...">
<img src="..." .../>
</a>
because in that case blank spaces are added ...
if it doesn't exists, is it simple to write a "snippet" (never done) ?
best
Yvon
Is there anyway to recover a file lost when TextMate crashed? I was
submitting a post using the blogging bundle. When it asked for the
name of the post, I tried to scroll up in the document to see my
paragraph. After that, TextMate would not respond at all. I could not
get back to that dialog box or access the document.
Since I had just copied all the text, I thought it was safe to Force
Quit TextMate. After restarting TextMate I was shocked to find my text
was not on the clipboard. Now, I am desparate to recover that file.
I've checked in /Users/JN/Library/Caches/TextMate for any files, but
didn't have any luck. Anyone else have any ideas where TextMate might
store a file that is being edited but is not currently saved?
Maybe I missed this in the release notes, but TM used to reopen all
my working files when I launched it, and now it doesn't.
I'm searching the help and release notes to no avail... has this been
disabled?
Cheers,
--
Josh DiMauro
josh(a)metacarpal.net
http://blog.metacarpal.net
When trying to use the "Fetch Post" command in the Blogging Bundle I
get this error...
/usr/lib/ruby/1.8/xmlrpc/parser.rb:469:in `parseMethodResponse':
Missing return value! (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/metaweblog.rb:31:in `getRecentPosts'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:541:in `fetch'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:540:in `popen'
from /Library/Application Support/TextMate/Support/lib/progress.rb:
11:in `call_with_progress'
from /Library/Application Support/TextMate/Bundles/Blogging.tmbundle/
Support/lib/blogging.rb:540:in `fetch'
from /tmp/temp_textmate.0T31h8:3
TextMate 1.5.2 (1183)
WordPress 2.0.3
Using the Blogging Bundle that's in SVN as of this morning
burn http://mad@burn.madworld.com/xmlrpc.php?rsd
Any ideas?
Thanks,
Madison
I tried adding the following comment to the blog with no luck:
once again - you are my hero!
I hadnt really been using "wrap selection as link" before today...
One thing that caught me though -- can you grep the selection for
http, and/or edit the snippet to be:
<a href="http://${1:`
# if the clipboard contains a single line, let's use that
export __CF_USER_TEXT_ENCODING=$UID:0x8000100:0x8000100
if [[ $(pbpaste|wc -l) -eq 0 ]]
then pbpaste|sed 's/&/&/g'
else echo http://site.com/
fi
`}">${TM_SELECTED_TEXT:Link text...}</a>
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hi,
Is there any way to specify the language of a file from the mate command?
I'm using mate in the middle of shell pipe lines so there isn't any
filename to pick up on.
The simplest example is "svn diff | mate". While I can set the
language to diff, that becomes the default for all piped in text, so
"cat README | mate" will use the diff language instead of plain text.
Am I missing something very obvious? (mate -h doesn't appear to show
anything relevant).
cheers,
mick
Perhaps I'm doing this wrong, but I'm trying to figure out a way to do
wrap text using the command-ctrl-shift-w shortcut while preserving my
code formatting.
If i have this:
<ul>
1
2
3
4
</ul>
then select my prospective list items, command-ctrl-shfit-w, and i get this:
<ul>
<li> 1</li>
<li> 2</li>
<li> 3</li>
<li> 4</li>
</ul>
but i'd really like this:
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
is this possible? is there any "special" way to select text so that
i'm just selecting the items i want and not the formatted-related tabs
or spaces? or is there yet a better way?
--
eric
If you have spelling checking as you type on is there anyway to get
the popup menu with the suggested spelling corrections (and other
context related stuff) without having to use the mouse?
Googling hasn't shown up anything for Tiger in general, but I would
be happy with something just in Textmate.
Thanks,
Dave.
Another ridiculously easy question that apparently I cannot solve
myself. :-/
I have the canonical "Hello World" program in a window:
#!/usr/bin/newlisp
(println "hello world")
I can run this by Select All followed by Execute Selection Inserting
Result easily enough, but I have spent some time looking for a more
straightforward Run or Execute command that just needs one
keystroke, but with no success. I may be bringing a BBEdit-way of
looking at things...
--
(<http://newlisper.blogspot.com/>)
Hi there. I've started trying out TextMate as a possible replacement
for BBEdit. It's really nice. I have a couple of questions that I've
not yet been able to find answers to in the help.
The opening parenthesis flashes quickly when I cursor forward over
the matching closing parenthesis. It doesn't appear to do it for the
other three cases: (the four being forward/backward : opening/
closing). Also, the flash is too quick and not very easy to see. Is
there a way of changing the behaviour in a bundle or is it part of
the UI that can't be changed...?
Also, how do I change the Select Enclosing Brackets menu command to
be ⌘B - I keep on getting some whistle when I forget that the
default is ⇧⌘B.
thanks - hope these questions aren't too easy for you :-)
--
(<http://newlisper.blogspot.com/>)
I can't find a decent looking theme that I really like. What I am
wondering is what's the easiest way to get the entire list of scopes
for a particular language?
I want to start with PHP, and work my way to xml, sql, etc.
Regards,
Eric
First, upon posting a new article, I got an error that this line (510
of blogging.rb) was trying to mod a frozen string:
filename.sub!(/\.[a-z]+$/, '') if filename
Commenting that line out, I still got a 301 error from the script.
I'm pointing it to
http://myusername@mydomain/backend/xmlrpc
Anyone have any answers? Thanks,
Ben
Hi,
I've been wondering if there's a list for all the bundle names and
brief explanation.
I use svn to get all the bundles from the repository, and, finding a
new bundle, I'm like, "What's this bundle for?". I google often, but
some of them don't seem to be programming/scripting-related.
I, of course, filter bundles I don't use, but there might be some
bundles I might want to use. No one knows what each bundle is for. It
would be great if there's a wiki for this purpose. As the number of
bundles increases, I feel the need for a list or something.
Brief explanation and official webpage for the language and script
(if any) would be useful.
There's a wiki of a list for bundle requests, but I don't find a list
of existing stuff.
If anybody is up for this task, I'll join by doing what I know and
find on the web. If anybody's interested, please let me know.
Takaaki
Hi guys,
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.
So if there happends to be any grammar-editors unaware of this
obviousity, just thought I'd let them know.
And for a suggestion to the bundle editor and help, this feature
might be nice to mention as a hint (eg. by the help button in bundle
editor). A tip of the day maybe: "Did you know that you can call the
'Edit in TextMate...' input manager also inside TextMate's bundle
editor. This should make language grammar editing much easier." or
smtn...
Sorry if this is plain obvious to anyone else...
>> Does the blogging bundle work with proxy servers, and if so, what
>> do I have to configure/change (shell variables in TM?) to make it
>> work correctly?
>>
>
> Support would need to be added for this. There is a Ruby Proxy class,
> so it might not be that difficult -- if you are familiar with Ruby,
> you may want to give this a shot yourself :)
I only had to do a small change in order to make the blogging bundle
work with proxy servers. Attached you find the patch for the file
blogging.rb, which is located in the Support/lib folder of the
Blogging.bundle. The patch is for the Blogging.bundle included in
revision 1183 of Textmate.
I changed the new2(...) method to set the proxy and added a text
about "how to configure proxy settings" to the template text for the
Blogging.bundle config file (com.macromates.textmate.blogging.txt).
To enable proxy support, you have to set and enable the TM_HTTP_PROXY
environment variable (host:port of proxy server) in the Textmate
preferences (Advanced->Shell Variables). If the variable is not set
or disabled, the Blogging.bundle still works fine. So the patch
should not break anything for non-proxy users.
A more elegant solution could read the proxy from the network
settings for the current "Location" (configured in "System
Preferences->Network"), but I haven't found out yet how to read these
settings from ruby.
Please review / change / improve these modifications, so the
Blogging.bundle with proxy support could soon be available in future
Textmate updates. :-)
Marc
--
Marc Brogle - M.Sc. in Computer Science - Research Assistant
Institute of Computer Science and Applied Mathematics
University of Bern, Neubrueckstr. 10, CH-3012 Bern, Switzerland
http://www.iam.unibe.ch/~brogle Phone/Fax: +41 31 631 8668/3261
Hey all,
in all of my projects i've a folder dist having a symlink to "/
Applications", this makes any search too slow, obviously.
then i wonder if their is no automatic way telling TM not to have
this symlink ???
(i know how to remove manually the reference to)
best,
Yvon
as some of you might know, I'm becoming more and more… sight-
challenged. is there a way to increase caret width (which ATM is just
1 pixel) within textmate?
ciao,
domenico
I am wondering if TextMate has any kind of emacs-like 'set mark' feature.
I found an old list msg that indicated it did not in 2004:
<http://one.textdrive.com/pipermail/textmate/2004-October/000938.html>
but it looks like it was in the pipe, though I haven't run down any
newer info.
(I can see that my cocoa keybinding of 'ctl-space' to 'set mark' does
not work even though most of my key bindings are preserved in
textmate).
Hello, I'm a recent TextMate convert (from vim...)
I don't seem to be able to set up TM to handle tabs the same way.
Here's the relevant snippet from my vimrc:
set tabstop=8 " Leave default for printing etc
set softtabstop=4 " But use spaces between real tabs
set shiftwidth=4
set noexpandtab " Use 'real' tabs (^I) when
possible
This works great, real tabs (^I) are left alone at the usual 8
spaces, however I
like to indent my blocks by 4 at a time. This tells vim to use a
real tab if it
can, and "pad out" with spaces at the end if the current indent isn't
a multiple
of 8. Here's what it looks like in vim:
<?php$
$page = new PageController($
'shop.tpl',-$
array($
> 'showAds' => FALSE,$
> 'icon'> => 'shop'),$
'Online Store');$
$page->render();$
?>$
If I configure TM to use soft tabs at 4, then all my previous code
looks wrong
because it sets hard tabs to 4 as well. If I set it to 8, then my
existing code
looks fine but I'm not getting my desired softtab indent of 4.
This is a pretty annoying problem for me because I have hundreds of
thousands of
lines of code formatted this way :( Kind of ironic since I did it
this way to
maximize compatibility!
I guess what I'm looking for is the ability to set soft tab size
independantly
of hard tab size - the former to 4, the latter to 8. Is this possible??
(I suppose if there's no other option, I could convert all tabs to 8
spaces in
all my files. However I like using tabs because it cuts down on file
sizes a
tiny bit. )
Thanks,
Skye
Hello,
I've set up my blog's xmlrpc url in the blog settings. When I try to
"fetch post" I receive the following error:
ruby: No such file to load -- jcode (LoadError)
I've searched the list archives and the help file and don't see any
mention of this... I also curl'd the header and received a HTTP/1.1
200 OK, so the url is fine.
Any help would be appreciated.
Thanks,
jeremy
With much help from Allan and Michael I've redone the Dawn theme to bring it
inline with the official scopes being applied in a rampage to the bungle
syntaxes at the moment. You can grab it here ->
http://www.grayskies.net/attachment/Dawn.tmTheme and hopefully some people
will have nasty things to say about it so I can improve it.
David
I've updated this command to make it a bit more robust, and to deal
with a couple of important cases. The first is aliasing, since R help
pages are grouped into sets of closely related functions. So now if
you run the script on ".C" you should get "Foreign", etc., like in the
R app. The second is non-local links: the script will now play nice
with http/ftp links in R help pages. I've assigned a key equivalent of
⌘⌥? -- I don't think this clashes with anything in the source.r
scope...
It's probably worth putting this in the R bundle at this stage
(someone with repos access...?). Please let me know if you have any
issues!
Cheers,
Jon
On 14/07/06, Alan Schussman <alan(a)schussman.com> wrote:
> On Jul 14, 2006, at 1:24 PM, Jonathan Clayden wrote:
>
> > On 14/07/06, Ana Nelson <nelson.ana(a)gmail.com> wrote:
> >
> >> Once you open an R help page in this way, the hyperlinks don't work.
> >> Anyone know if it's possible to fix that?
> >
> > Back to Ruby! This is a little quick and dirty, but it seems to
> > work fine:
> >
>
> Very cool, Jonathan and Ana. I had been sending help commands to R
> itself, but that usually meant my R window came to the front along
> with the help window. This allows one to keep R out of the way until
> it's wanted. (And the links work, which is great.)
>
> -Alan
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate(a)lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate
>
[Tiger 10.4.7 on MacBook Pro]
After launch, I move the Textmate window to my second display,
working and saving files. What I would like to have happen the next
time I open Textmate is for it to remember that it was open on the
second display and open there. I can't seem to find any setting to
allow this.
Other apps, including Netnewswire and iCal do this. If the second
display is not present when they load, they simply load on the
primary display.
Thanks for your help.
Regards,
-Bob
I'm going to take a stab at writing this one up this weekend, but
before that I'm wondering if anyone else would find this useful or has
already done similar (or knows of an even more productive way...).
I've usually got a handful of colors that I use throughout a
stylesheet; I'd say around 3-6 and that's about it. I'm thinking that
a tab-complete on hex color values already in your stylesheet would be
ridiculously helpful. so 'border-bottom: 1px solid #[tab]' would spit
out a menu of all the colors already in your stylesheet as hex values.
Even more sick would be identifying each item with their color
somehow, either by coloring the menu items (would suck w/ whites,
greys) or providing a box colorized next to each item indicating that
color. Would this be feasible?
Thoughts or suggestions would be great.
--
eric
Hi. I adore texmate to death but I'm trying to get more automation out
of it. I know that there's a keyboard shortcut to close the last
previously opened tag, but is it possible get TM to close all the tags
on the current line you're working on? So i can be writing
<li><a><span> and with a keystroke or two get </span></a></li>.
Also, I can't seem to find anything related to automatically wrapping
text in html tags. E.g. selecting a few blocks of text and
automatically wrapping them in <p> tags. BBedit has its nice HTML bar
where you can do this kind of thing in a few clicks, but i've always
found it a bit clunky
Thanks for any input.
--
eric
When I type "date" in TM and pressed option + R which should executes the command, but somehow TM poped up a little tip window saying "Didn't Find Xcode Project File, You may want to set TM_XCODE_PROJECT variable"
I have not done any TM setup or setting, just dragged TM.app to applications folder.
Can anyone give me some help on this, do I need any setup before being able to execute command in TM?
I have tried accessing Sereniki: TextMateSetupTutorial, but it seems the link isn't working, searched in google no luck, could anyone give me some help on this, I really appereciate your help. Thank you!
Sorry for my poor English
_______________________________________
YM - 離線訊息
就算你沒有上網,你的朋友仍可以留下訊息給你,當你上網時就能立即看到,任何說話都冇走失。
http://messenger.yahoo.com.hk
I have a couple commands that insert a comment in my code for fixes
made in our software... They useually look like:
// [eric] date - comment text
Since the last 2 updates, it seems to have stopped working. The
error I get is below:
> shell-init: could not get current directory: getcwd: cannot access
> parent directories: No such file or directory
The command is simply:
> // [eric] `date +%m/%d/%Y` - $1
Any reason that would occur?
Regards,
Eric
The blogging bundle works like a charm, when I use if from home
(without a proxy) with Wordpress 1.5. It really is a great bundle for
Textmate!
Unfortunately when I use the blogging bundle at the university (where
I need to go via a proxy to connect to the Internet), I get the
following error message:
/usr/lib/ruby/1.8/timeout.rb:42:in `new': execution expired
(Timeout::Error)
from /usr/lib/ruby/1.8/net/protocol.rb:83:in `connect'
from /usr/lib/ruby/1.8/net/protocol.rb:82:in `timeout'
from /usr/lib/ruby/1.8/timeout.rb:55:in `timeout'
from /usr/lib/ruby/1.8/net/protocol.rb:82:in `connect'
from /usr/lib/ruby/1.8/net/protocol.rb:64:in `initialize'
from /usr/lib/ruby/1.8/net/http.rb:430:in `open'
from /usr/lib/ruby/1.8/net/http.rb:430:in `do_start'
from /usr/lib/ruby/1.8/net/http.rb:419:in `start'
... 7 levels...
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:540:in `popen'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/
progress.rb:11:in `call_with_progress'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/
Blogging.tmbundle/Support/lib/blogging.rb:540:in `fetch'
from /tmp/temp_textmate.nKslYr:3
Does the blogging bundle work with proxy servers, and if so, what do
I have to configure/change (shell variables in TM?) to make it work
correctly?
Best regards and thanks
Marc
--
Marc Brogle - M.Sc. in Computer Science - Research Assistant
Institute of Computer Science and Applied Mathematics
University of Bern, Neubrueckstr. 10, CH-3012 Bern, Switzerland
http://www.iam.unibe.ch/~brogle Phone/Fax: +41 31 631 8668/3261
Hi there,
Is there a bundle for the wikipedia syntax? I tried Standard ML, YAML,
Markdown, multi markdown, and none of them seem to grok wikipedia source
code.
Hej everyone,
I just stumbled over this:
The path to the .tex file looks like this
/Users/chris/Aka Flieg/D38/file.tex
Using “Show in TeXniscope (pdfsync)” in Textmate works but it does
not the other way around. So when I cmd-click
in TeXniscope nothing happens. The console.log says:
2006-07-20 08:51:52.788 open[7515] No such file: /Users/chris/Aka
Flieg/D38/txmt:/open?url=file:/'/Users/chris/Aka Flieg/D38/
file.tex'&line=48
Is there a way to change the editor argument in TeXniscope ("txmt://
open?url=file://%file&line=%line")?
Thanks
Christoph
~~~~~
Christoph Biela
cbiela(a)gmail.com
I'm having some problems using the Blogging bundle with typepad. I had
managed to get it working but now I seem to be getting this error
whenever I try and contact the server to fetch a post.
/usr/lib/ruby/1.8/xmlrpc/parser.rb:98:in `dateTime': wrong
dateTime.iso8601 format (RuntimeError)
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:538:in `tag_end'
from /usr/lib/ruby/1.8/rexml/parsers/streamparser.rb:26:in `parse'
from /usr/lib/ruby/1.8/rexml/document.rb:171:in `parse_stream'
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:722:in `parse'
from /usr/lib/ruby/1.8/xmlrpc/parser.rb:462:in `parseMethodResponse'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:410:in `call2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in `call'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/metaweblog.rb:31:in
`getRecentPosts'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:541:in
`fetch'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:540:in
`popen'
from /Applications/TextMate.app/Contents/SharedSupport/Support/lib/progress.rb:11:in
`call_with_progress'
from /Applications/TextMate.app/Contents/SharedSupport/Bundles/Blogging.tmbundle/Support/lib/blogging.rb:540:in
`fetch'
from /tmp/temp_textmate.M7wcXA:3
My settings for the Blogging bundle look something like this:
# Blogging Weblog List
# Enter a weblog name followed by the endpoint URL
# Weblog Name URL
Blog Name http://username@www.typepad.com/t/api#000001
Any ideas? I'm guessing the TypePad API is returning something unexepected?
Cheers
Steve
This me be a stupid question and/or not possible, but I come up
against this a lot....
As a php guy, I use the "if" snippet which, of course, has tab stops.
The problem is that there is no way of triggering another snippet --
"$_" for example, with first "getting out of" the if.
Am I missing something obvious?
--
dc
-----
David Clark
Web Specialist
Institute for Community Inclusion (http://www.communityinclusion.org/)
david.clark(a)umb.edu
(617) 287-4318
Hi there!
When I run "typeset & view" in Latex mode or try to open any bundle's
documentation I always get nothing but an empty window. I have
deleted my prefs and 'reinstalled' TextMate from the .dmg but still
get the same stuff. Are there any caches I should empty? Any other
thoughts?
Any help is greatly appreciated!
Gregor