Hi!
Now I sit at my laptop because my other computer is right now not
available, my blog is set up here exactly (at least I think so) like
at my working-computer and if I use the cat-Snippet from the blogging
bundle I get the following behaviour and error:
TextMate tries to contact the blog for fetching the items and then I
get the error
/usr/lib/ruby/1.8/xmlrpc/client.rb:403:in `call':
XMLRPC::FaultException (XMLRPC::FaultException)
from /tmp/temp_textmate.xQsjEh:27
from /tmp/temp_textmate.xQsjEh:24: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.xQsjEh:24
Any help appreciated
Niels
Hi,
I am trying to follow this approach in the latex-help file:
In the case where what is expected is a label, then pressing escape
will similarly offer all matching labels from the TeX document.
Depending on your naming conventions, this could for instance offer a
list of all theorems: If the labels for theorems are all of the form
thm:labelname, and you have included the colon (:) in the list of
word characters in TextMate’s preferences, then pressing escape when
the caret is right before the closing brace in \ref{thm} will offer
as completion options all labels corresponding to theorems.
If there are many matching completions, it is often more convenient
to use the pull-down-list versions of the commands, which are
triggered by ⌥⎋.
I do have ":_" (just a colon and an underscore, no quotations)in the
preference pane as Word Characters. Is this ok or do they need to be
separated / in quotations / ... ?
Neither pressing <escape> nor <escape> + <alt> while the caret is
right in front of the closing bracket in latex mode, doesn't do
anything.
Now, I looked into the bundle editor, into the latex bundle in my
installation:
1) <escape> is the key equivalent for bibdesk completion
2) <alt>+<escape> is the key equivalent for "Citation based on
Current Word / Selection" AND for "Label Based on Current Word /
Selection" --- this seems a little weird to me. Is this how it should
be originally? Or have I changed this accidently at some point?
I remember a time when hitting <escape> (I think) actually has
worked and I used "eqn:" and "fig:" for labeling and referencing
equations and figures, respectively. Should the difference between
<alt>+<escape> and <escape> only that <alt>+<escape> should offer a
pull-down list and hitting <escape> multiple times would move through
the possible choices?
Is this something that got changed over the releases (I am working
with cutting edge)? That leads me to another question: when a bundle
gets updated in the bundle repository... do those changes get updated
in each new (cutting edge) release or would I check them out and
update them as I would with any other "default" bundle?
Thanks for your help,
Claus
Hello:)
1) I know that my use of Latex is different from the majorities of
the users because I create especially packages. I need to have a
really different completion. I need for example :
newcommand
renewcommand
RequirePackage
newcounter
setcounter
stepcounter
newlength
etc..
for xkeyval
define@cmdkey
define@boolkey
presetkeys....
for ifthen
ifthenelsee etc....
etc...
I would like to know the good way to obtain this
Is it necessary that I modify LateXCommandCompletions.rb ?
2) But I do not understand why in the LateXCommandCompletions.rb,
there are words like pi, Pi, lim etc ... words with 2 or 3 letters ?
Which is the interest to complement these words?
greetints alain
Hi,
I'm just trying to work out how to open a recent file from within the same
project. Eg have files open in project A, close file X, then want to be
able to get a list of recently closed files in the that project which in
this case would have file X on top?
Using the Open Recent doesn't seem to offer this?
Tks
Greg
I don't think there's a default multi-select nib for tm_dialog yet,
is there? I used one that I had already created for this, so if it's
out of place please switch it out. This should be up to date with
the latest specs, the DIALOG environment variable and the previous
fallback mods to the cat command. The nib is included and should
reside in the nibs folder in the same bundle folder as blogging.rb.
Thanks,
Brett
I hope I am sending this correctly. I need assistance with the Blogging Bundle of TextMate.
Per the very helpful video I found on the site, I setup the bundle for my WordPress login. After I completed the setup, I made sure I saved it. When I attempted to Fetch Blog and entered my password for the site, I got the below error message and nothing was received:
Received Exception:HTTP error: 301 No Post are Available
I even attempted to send a blog up to my site and got, basically, the same error message.
I was using WordPress 2.0.6 when I first attempted and decided to upgrade WordPress last night to 2.1.2 (mainly because I need to also) to see if that would fix the problem, it did not.
Thank you ahead of time for your assistance.
I have been using TM for quite a while, and one of my most-used
features is the PHP syntax validation. Immediately after the latest
update (to 1.5.5 (1368)) this stopped working. Instead, I see the
following lines in place of the error / success readout:
dyld: ruby Undefined symbols:
_rb_attr_get
_rb_attr_get
_rb_ll2num
_rb_num2ll
_rb_string_value
I have tried updating Ruby to 1.8.6, and downgrading it to 1.8.4. I
have deleted and downloaded a new copy of TM. Nothing helps. I am on
10.3.9 + all patches.
Has anyone else seen anything like this?
Thanks,
Walter
I don't know if I'm using TextMate in a strange way, but: I have an HTML
blogging project open with a couple of root folders, and each of those
folders have one sub-folder for archive purposes. Every now and then I like
to archive posts from the main folder into the sub-folder, but when I do
this the sub-folder unfurls - and I really don't want this to happen. Is
there any way to stop it? A preference I can check somewhere? Why does it
open in the first place; is this behavior useful to some other workflow or
language?
Thanks for any thoughts
- david
I was getting the wrong auto-close \end{...} tags when I pressed
apple-option-. in my LaTeX document.
The problem turns out to be caused by a bug (or design flaw) in the helper
script "$TM_SUPPORT_PATH/bin/checknest.rb", which only recognises a single
delimeter per line: in a few places I have a short environment on a single
line.
I have applied the attached patch to my copy. I admit that I haven't tested
it especially thoroughly, but it seems to work for me.
I hope this is useful.
Robin
I have started using Textmate for editing c source but seem to be
unable to customize the indentation rules to match our code convention
Here is an example of I need indentation to work
void example_function()
{
short i, n = 10;
for (i = 0; i < 10; i++)
{
do_something(i);
}
do_completion();
}
I would even be happy to do without the regular c indentation rules,
and have tried overriding them with empty patterns, but I still have
a problem when I type the semi-colon to complete the do_completion()
line as this line will get auto-indented to match the indent level of
the loop block.
Thanks in advance for any help with this.
Simon