>
> ---------- Forwarded message ----------
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Cc:
> Date: Fri, 04 Apr 2014 08:42:30 +0700
> Subject: [TxMt] Re: Strange clipboard bug
> On 4 Apr 2014, at 5:43, Carpii UK wrote:
>
>>
>> Finally if someone could explain how to correctly reply to a reply using
>> this mailing list, that'd be much appreciated. I'm finding the email
>> interface to this list just a little archaic.
>>
>
> If you have subscribed to this list you will get an email that you can
> reply to, just like normal email.
>
> If you are using some (third party) web interface then I don't know what
> their procedure is.
>
>
Thanks, I'll give this a try...
The emails I get are in daily digest format, so it wasn't clear which bits
I need to leave intact so the mailing list can thread it.
Using tm 2.0-alpha.9529 and OSX 10.9.2
I've had this a few times, where I am coding and I cut a short piece of
text, and immediately repaste it elsewhere.
But instead of pasting the clipboard, it pastes the single word
"AMQPChannel" in its place. This seems to be something related to RabbitMQ,
although I don't understand much else about why it would occur.
Any suggestions?
Does textmate embed rabbitMQ, or could it be related to a bundle?
Finally if someone could explain how to correctly reply to a reply using
this mailing list, that'd be much appreciated. I'm finding the email
interface to this list just a little archaic.
Thanks
When running cmd+r (Typeset & View) I get the following message:
This command requires ‘kpsewhich’ which wasn’t found on your system.
The following locations were searched:
/usr/texbin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/opt/X11/bin
/usr/texbin
If ‘kpsewhich’ is installed elsewhere then you need to set in Preferences
→ Variables to the full path of where you installed it.
In Preferences --> Variables I have created a PATH which the definition:
/usr/texbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
I have quite and opened TM. Same thing.
Any help would be appreciated.
--
View this message in context: http://textmate.1073791.n5.nabble.com/After-Maverick-Update-TM2-No-Longer-F…
Sent from the textmate users mailing list archive at Nabble.com.
Steps to reproduce:
open the attached file will cause textmate crash.
no matter use command line:
mate Packet.c
or File -> Open to open this file.
maybe something to do with utf8 text.
the crash log is also upload automatically by the software: https://api.textmate.org/crashes/232914
Expected result:
it shouldn’t crash!
Actual result:
crash!
Environment:
OS version----mac osx 10.9.2
TextMate version---mate 2.6 (2014-03-31 revision 9529) or TextMate 2.0-alpha.9529 is the latest version available—you have version 2.0-alpha.9529.
Hardward—macbook air 2012 Mid 11-inch
I've deleted related files in ~/Library/ and test the default setting, It still crash, so I’m sure it’s a bug of Textmate itself, not bundles.
Hi,
since I'm working with larger documents it would be nice if any user event (keyDown, museDown, etc.) could cancel the while/for-loop to find the matching bracket. [maybe in selection.cc - method: find_enclosed_range]
A simple example:
- take a file 1.2 MB and 50000 lines [plain text]
- select all
- press ( to wrap the selection into ()
- locate caret right of the first (
- move caret to the left
- it takes ca. 10 secs before TM accepts the next user event
Kind regards, Hans
PS Sorry for the sent crash report caused by an error which I did while trying something out. Is there a way to avoid sending such reports after compiling TM by myself?
Hi,
I'm using quite often the wonderful Clipboard History functionality but …
since I see the improvements to be able to work with larger text files, I'm also copying larger text chunks (from 1MB to 5MB) across documents and applications resp. If I do this the Clipboard History (in conjunction with TM) becomes unresponsive and I've to kill TM. I also can't delete the Clipboard History due to the fact that I've to open window in beforehand. The only chance is to delete the Clipboard History physical files.
I wonder if one could improve it a bit. Here some thoughts:
- make it possible to delete the Clipboard History from outside that window (maybe in conjunction with the chance to delete only those entries which are large than xy kBytes)
- make it possible to terminate the opening of the window if the size is too large
To avoid such unresponsive behaviour in generell
- one also could think of to restrict the size of an entry which should be stored, i.e. let's say store only the clipboard content if the size is less than xy kBytes [I think this is the easiest way]
- or if the Clipboard History is called load into the TableView only "a preview or head" (only the first 10 kBytes or so - and which can be hold in a different DB) of the stored items and if the user starts searching the search will be performed outside of the TableView (in file/database)
Is not an urgent issue but … ;)
Kind regards,
Hans
Hello, I am running Textmate 2 on Mavericks. When I try to use the Go
To View e got the error message below. Any ideas?
/Users/flujan/Library/Application
Support/TextMate/Managed/Bundles/Ruby on
Rails.tmbundle/Support/bin/go_to_alternate_file.rb:10:in `require': no
such file to load -- rails_bundle_tools (LoadError)
from /Users/flujan/Library/Application
Support/TextMate/Managed/Bundles/Ruby on
Rails.tmbundle/Support/bin/go_to_alternate_file.rb:10
--
Fernando Lujan
Hi,
an tiny issue. I've already my USERNAME's bundle. I pressed CMD+N, selected "New Bundle", and a new bundle was created, BUT the placeholder strings for naming the new bundle were not evaluated, i.e.
Bundle: ${TM_FULLNAME/^(\S+).*$/$1/}’s Bundle
Name: $TM_FULLNAME
Contact: $GZ_EBG13_RZNVY
Cheers,
—Hans
Hi all
I have some .Rnw files with in-line R code, like this:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua \Sexpr{mean(mtcars$hp)}.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat \Sexpr{mean(mtcars$mpg)}. Duis aute irure
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum \Sexpr{mean(mtcars$wt)}.
I¹m wondering if its possible to do two things:
1. Place cursor inside a Sweave expression then run the code contained
within that expression to R app. So if I place the cursor anywhere between \
and } in any of the three Sweave expressions above, the code within that
expression would be run in R app. For example, if I place the cursor between
³h² and ³p², then this would be ran in R app: mean(mtcars$hp)
2. Select any text and run any R code within the selected text to R app. So
if if select the entire text above, three lines of code would be run in R
app: \Sexpr{mean(mtcars$hp)}, \Sexpr{mean(mtcars$mpg)} and
\Sexpr{mean(mtcars$wt)}
Thanks
Ross
If I go in to the save dialog and SHIFT+CMD+S and select another
"Desktop", I seem to be able to save files.
Seems like a pointer got messed up with the most recently-used
location? Initially, I was attempting to direct the save to another
folder on my Desktop, that's when I first encountered problems.
FYI.
Forrest
I am on OSX Mavericks 13.1.0 Darwin Kernel (64-bit). I just downloaded
the latest Alpha, opened a new window to create a file. When I go to
save it to the desktop, it goes nowhwere. I exited the application and
tried this again, same results.
FYI
Forrest
Hi all,
I am new to text mate 2. I download a version, and it seems that it can only open one file at a time. I want to know if it support creating a project like an IDE? Or it will support it in the future? Thank you.
Best wishes,
Xu Zhou
Hello,
There seems to be a recent change in the way braces/brackets are indented when put on their own line in PHP. Previously (in the last stable release I believe), if I typed:
function test($variable)<return>
{<return>
That would extend to:
function test($variable)
{
<insertion point here>
}
It would appear that with 2.0-alpha.9515, the same keystrokes cause the opening brace to indent, as such:
function test($variable)
{
<insertion point here>
}
In the Javascript context, the behavior has not changed and the braces are still at the same indent level as the function declaration.
Is this by design? Is there a setting that I can change to return PHP to the previous behavior?
Thank you,
Jay
Hi all,
There have been for a short while an addition to the go to file command (cmd+T) that was allowing to filter to methods too by adding a ‘@‘
For the short time it worked, I found that really useful.
Is there any plan for adding that back, or history why it’s not possible or not a good idea ?
Cheers,
David
If I press Fn + backspace, the character to the right of the cursor is
deleted. Is there a keyboard shortcut to insert one space to the right of
cursor?
Thanks
Ross
I edit/write/manipulate a lot of XML files and I'd like to create a simple way to use XPath for searching/selecting in the current document. Ideally, I'd open a textfield akin to the "Incremental Search" (CTRL+S) field and just write the expression, hit enter and the results would open in a "Web Preview" window.
I can get the durrent document's contents and do the XPath stuff, but I don't know how to hi-jack (if at all possible) the Incremental Search bar, or create something that worked similar.
Any clues for how to approach that?
An alternative way would be to just open a $DIALOG, asking for the XPath expression and then do the processing - but I can't see a $DIALOG command that lets me do that (read input)...
--
Chriztian
Hi all,
First time poster. I had a question regrading the lineHighlight property.
I.e for having a theme set a background colour to the current line in
TextMate 2. I haven't been able to get it to work.
Will this feature be implemented? If yes, is there a releated feature/bug
reference number that one can track, or an ETA?
Thanks in advance.
Best Regards,
S.P.
Lets say I have this abbreviation:
RSPB
Can I make a command which, when I select ³RSPB² and hit a keyboard
shortcut, will replace ³RSPB² with ³Royal Society for Protection of Birds²?
Thanks
Ross
Oooh, this sounds like a bundle targetted to use with the OSX Mail.app. I might just have to leap to TM2.
Is there a description of its features somewhere?
jon
> Date: Tue, 04 Mar 2014 20:20:06 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: Mail bundle font setting
I use the Mail.bundle for editing my posts to usenet groups, usenet posts seem to look a lot like mail.
If the message I am posting contains quoted text the display is terrible. However I change my font settings the quoted text only changes size, I don't seem to be able to change the font used. I can't find anything in the Mail bundle that relates to font to change this. My usual font (coding and posting to usenet) is Andale Mono Regular (with Antialiasing off), here's the abomination I'm faced with if there is quoted text in my message:
Any ideas where this is set, so that I can change it?
--
Justin C, by the sea.
>
> Perhaps some of the invisible spaces should just be rendered as-is
> (without a substitution), I translated them to visible code points only
> because invisible characters have a tendency to cause hard to diagnose
> problems for end users, but this might be limited to non-breaking space,
> which can easily be typed by accident without noticing.
That would be great. I suggest to show those invisible characters when
"View > Show Invisible Characters" is activated. Although in the current
behaviour of that feature, the original text remains untouched. But if you
include `SpaceCharacters` in "Invisible Characters", then showing them needs
shifting of parts of the original texts to fit the representor of the
invisible characters in place of those zero-widths chars. I guess this is
not
a big problem because those characters are not so common in usual texts, and
when they are there, and the user wants to see "Invisible Characters", I
guess
he wants to see them even if the texts are shifted.
Other Invisible characters I suggest to be shown in "Show Invisible
Characters"
mode:
* Left-to-right mark (U+200E)
* Right-to-left mark (U+200F)
* These: https://www.cs.tut.fi/~jkorpela/chars/spaces.html
On Thu, 06 Mar 2014 "Allan Odgaard" wrote:
> The Mail bundle is actually from the early days of TextMate 1.x
Yes, it was invaluable to me as it allowed me to quickly process emails with macros like "Dear {firstname}" and embedded snippets.
That said, I do realize it was a bit of a hack and Mail.app has changed much since then. Does TM2 support a version of Edit in Textmate?
> its
> grammar could be useful if TextMate is setup as external editor for an
> email client that support external editors (where it then has keys to
> increase/decrease quotation level, reformat (quoted) paragraphs, etc.).
Hmm, do you know any email clients for Mavericks that support this?
> it was introduced here:
> http://blog.macromates.com/2006/textmate-tricks/#edit_in_textmate_from_appl…
That post also introduced editable Web Preview, another essential part of my toolkit (and another reason I've been nervous to leave TM1). Is there a TM2 equivalent?
You can probably tell that I want to use TextMate for everything on my computer. Thanks to Allan and everyone else who's contributed to this indispensable workhorse!
jon
For the placeholder of special characters (<U+XXXX>s), the bidirectional
category of placeholders should match the bidirectional category of the
original character. Although I guess almost all of those special characters
which are represented by <U+XXXX> belongs to Boundary_Neutral class.
For example, here you can see what has happened when I've replaced 2 spaces
with Zero-width non-joiners:
[image: تصویر درون برنامهای 1]
Here is the textual version, which is rendered correctly in my browser
(Chrome 33):
(متن راست به چپ)
(متن راستبهچپ)
Properties of U+200C: http://unicode.org/cldr/utility/character.jsp?a=200C
I'm interested in working on it and submitting a pull request, if you
accept this semi-feature-request and specify which solution is preferred. I
have a workaround suggestion: replacing them with some symbolic characters,
for example ⦿ for null, ↩︎ for line separator, ╵ for zero-width space, ╽
for zero-width non-joiner, ╈ zero-width joiner, ...
Best regards
Reza
Hi,
I've just installed textmate (version 2.0-alpha.9515) on a mac running OS X Version 10.8.5.
Whenever I execute a command written in Ruby in textmate (for example, Duplicate Line, or Typeset & View in the Latex bundle), I obtain an error. The error message is
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError)
from Duplicate Line / Selection:9
in the first case and
Failure running “Typeset & View (PDF)”. Typeset & View (PDF):4: undefined method `+' for nil:NilClass (NoMethodError)
in the second case. This occurs both with keyboard shortcuts and when selecting the command from a menu. Snippets and other shortcuts work.
I don't use Ruby (I use textmate mainly for Latex), so I'm a bit of a loss here. Any help would be appreciated. I searched for posts on similar problems but didn't find any.
Best,
Markus
Tim Bates wrote:
> https://github.com/jessegrosjean/quickcursor
>
> Textmate should just include this, as it rocks for using TextMate as external editor for, for instance, an mail.app :-)
> I use it 10 times a day, I?d estimate.
Thanks--I currently use QuickCursor in TM1. That said, the old Edit-in-Textmate remembered formatting properties like quote indentation, which made it easier to parse email messages, color-code the syntax, and so forth. The old Edit-in-Textmate also saved changes every time you hit Command-S; QuickCursor's changes don't render in Mail until you close the window, and sometimes those changes are lost (say, when multitasking from one window to another).
Still, I appreciate the recommendation, because I'm assuming from your message that QuickCursor works with TM2. As mentioned previously, the other functionality keeping me in TM1 is the ability to edit in Web Preview. Does anyone do that in TM2?
jon
Not entirely sure how to reply to the mailing list via email, hopefully
this will work...
Subject: [TxMt] Re: Disabling entire bundles doesnt persist
From: "Allan Odgaard" <mailinglist(a)textmate.org>
> When you disable the item and save, TextMate should create the following
file:
> ~/Library/Application Support/Avian/Bundles/AppleScript.tmbundle/info.
plist
> Does that file appear on your disk?
Hm, I just noticed what was actually happening is instead of updating
AppleScript bundle, it was silently creating a new AppleScript
2.tmbundle, AppleScript
3.tmbundle etc.
> Additionally it updates the index, which is located at:
> ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
> You can check the date of that file. You can also try to quit TextMate,
remove the index, and then relaunch, that will make TM generate a new index.
Thanks, this fixed my problem.
I deleted the index and when TM relaunched, the unwanted bundles are hidden
and disabled in Bundle editor.
I guess it somehow got out of sync
I open the bundle editor, select a bundle (such as AppleScript), and then
untick 'Enable this item'
I then hit CMD-S to save, and at this point AppleScript disappears from the
Bundle menu (which is what Id like to happen)
However, on quitting TM and relaunching, the AppleScript bundle is enabled
once again.
Using build build 2.0-alpha.9515
Is this a known issue, and is there a workaround?
Thanks
Let's say I'm working in a .R file on this block of code:
mtcars_sub <- subset(mtcars, cyl == 6)
mtcars_lm <- lm(mpg ~ disp, mtcars)
summary(mtcars_lm)
I highlight the block of code and send it to the R console. Following this,
I then edit the code block (predictor added to model), so it becomes:
mtcars_sub <- subset(mtcars, cyl == 6)
mtcars_lm <- lm(mpg ~ disp + wt, mtcars)
summary(mtcars_lm)
Can I send the edited code block to the R console, using a keyboard
shortcut, without having to go back and highlight it? This feature is
implemented in RStudio and is something I miss after having switched to
TextMate.
Thanks
Ross
Thanks Rob that was it.
I changed disableIndentCorrections from ‘1’ to ‘emptyLines’ in the Python bundle and it has reverted to the old behaviour.
{ disableIndentCorrections = 'emptyLines';
indentOnPaste = 'simple';
}
Pretty sure I have was using default settings before.
—
Iain
> On alpha.9517 the auto indentation seems to have changed that if you
> leave a blank line after a function TextMate will keep indenting
> subsequent lines.
>
> def boo():
> """docstring for boo"""
> pass
>
> print <— this line is automatically indented unless you use ⌘[
>
> I had a look in the Python bundle and the language grammar is
> unchanged. Am I missing a setting somewhere to revert to the old
> behaviour?
From the release notes…
> It is now possible to set the `disableIndentCorrections` to
> `emptyLines`. This will disable the indent corrections only when
> typing on empty lines, which has been made default for HTML.
I’m sure it has something to do with that, though it doesn’t sound
like anything should change (outside of HTML) if you were still using
default settings. Then again, if you were using default settings, the
behavior you’ve noticed would not be new. (I disabled it a long time
ago.)
I’m using “emptyLines” now just to see if there’s a benefit.
Before, I was using “:true”. I haven’t figured out the difference
yet.
--
Rob McBroom
http://www.skurfer.com/
On alpha.9517 the auto indentation seems to have changed that if you leave a blank line after a function TextMate will keep indenting subsequent lines.
def boo():
"""docstring for boo"""
pass
print <— this line is automatically indented unless you use ⌘[
I had a look in the Python bundle and the language grammar is unchanged. Am I missing a setting somewhere to revert to the old behaviour?
—
Iain
Let's say I have R open and i¹m editing a .R filewith TextMate. In my .R
file I have a line of code like this:
lm(mpg ~ drat, mtcars)
Is it possible to set up a keyboard shortcut, which when pressed whilst an R
object was selected, would send that object to the R console inside a
function.
For example:
I select 'mpg', press COMMAND + OPTION + L, and this object would be run in
the R console as: length(mpg)
I select mtcars', press COMMAND + OPTION + S, and this object would be run
in the R console as: summary(mtcars)
I select 'lm(mpg ~ drat, mtcars)', press COMMAND + OPTION + P, and this
object would be run in the R console as: plot(lm(mpg ~ drat, mtcars))
Thanks
Ross
So I just read on slashdot about GitHub's Atom editor: http://atom.io Yay
cross platform, etc, etc, but nothing that's going to turn my head from
TextMate obviously. Nice to know that others are seeing the light,
however, right?
And then I saw this gem in its up-front feature list:
- Import TextMate grammars and themes
Oh hello there...
In my new AsciiDoc bundle, I've still got a major problem which was one of the reasons I wrote my own bundle - in other words, my attempt to solve this problem by rewriting this bundle from scratch didn't work.
The problem is manifested in various guises, but one of the main ways is that when I scroll up in a long document, the window hesitates for about a second before showing the new window-full of text.
I have come to suspect that this is because of indented soft wrapping. I do not have any indented soft wrapping, and I do not see any indented soft wrapping, and I do not *want* any indented soft wrapping, but various indications lead me to believe that other bundles are trying to impose it upon me in some contexts.
I could try to find all of these contexts and give their scopes different names, but what I would *really* like to do is shelter my main scope (text.asciidoc) from all imposed indented soft wrapping. In other words, I just want to turn this feature OFF. I believe that this will greatly assist the text window in rendering.
How do I do that? I see how to specify what indented soft wrapping *is* for some scope, but is there a setting that just says NO to all indented soft wrapping? Can I say indentedSoftWrap = :false?
(Note that I want to keep soft wrapping; this is a marked-up text bundle, so it has paragraphs that need to soft wrap. But I want to relieve the layout engine of _all_ **indented** soft wrapping, as I believe this is causing the layout engine to suffer greatly.)
Thanks - m.
PS We were just starting to talk about this in an earlier thread when I interrupted the flow, by talking about the problem of a GUI to handle things like this. But now I'm sorry I did that, because I never got to hear the answer. :)
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Is it possible to force specific links in the HTML output window to open
in the default browser (instead of the HTML output window itself)?
Background info: I have a Rails project where the testsuite already
creates a dump of the HTML page for each failed feature spec. Now I’m
trying to extend RSpec’s TextMateFormatter to include links to these
files. Works so far, but I need to open the saved HTML pages in my
default browser so that I have my usual developer tools around for
debugging.
(A possible workaround is of course to drag the link to the browser’s
dock icon. Just being able to click the link would be easier, though.)
Stefan
When I hit Command R in a .py file, I get
warning: Insecure world writable dir /Users/coldrick/Library/Application
Support/TextMate/Managed/Bundles in PATH, mode 040777
Why?
Best regards,
David
When removing the argument of an autocompleted block and pressing return will result in multiple carets spread over 3 lines. (see attached video). Anyone else noticed this behavior? Maybe also in other languages/grammars?
Koen
Hello Textmate list,
I am trying to understand why the knitr.tmbundle is not showing all the
commands in the bundle menu as shown below:
[image: Inline image 1]
It's missing a few commands there, such as "Knit in R". You can try it out
yourself by installing it:
$ cd ~/Library/Application Support/Avian/Bundles
$ git clone git@github.com:lcolladotor/knitr.tmbundle.git
Note that https://github.com/lcolladotor/knitr.tmbundle is forked from
https://github.com/fonnesbeck/knitr.tmbundle as I tried to fix some other
minor issues (uuid conflicts with SWeave bundle, ^< shortcut for "insert
code chunk" macro). The original repo is
https://github.com/textmate/sweave.tmbundle
The menu is incomplete regardless of whether the SWeave bundle is installed
or not.
I tried playing around with the .plist file after reading
http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-text…
leading
to https://gist.github.com/9077862 but that didn't work either.
Any tips on how to fix the menu will be greatly appreciated! Right now the
only thing that comes to mind is using the Bundle creator GUI and re-making
the commands, but that sounds like the last option to take.
I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.
Thank you,
Leonardo
Leonardo Collado Torres, PhD student
Department of Biostatistics
Johns Hopkins University
Bloomberg School of Public Health
Website: http://www.biostat.jhsph.edu/~lcollado/<http://bit.ly/LColladoTorres>
Blog: http://lcolladotor.github.io/ <http://bit.ly/FellBit>
In a .Rnw (Sweave) file, if I go to Bundles > latex > TeXcount, I get the
following in the pop up box:
[l;3lm!!! Encountered }without corresponding { !!![Om
[l;3lm!!! Encountered }without corresponding { !!![Om
[l;3lml!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3 lm!!! Encountered iwithout corresponding {. !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for S !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for S !!![Om
[l;3lml!! Reached end offile while waiting for }. !!![Om
However, TeXcount works fine in a .tex file. So it looks like the problem
occurs because the .Rnw contains R code.
Is there a way to get TeXcount working in a .Rnw file?
Thanks
Ross
I was measuring the character length of a line using the ‘line:column’ indicator in the bottom left corner of a TM 2 window until I had a reason to doubt its accuracy. I used the count words command to confirm. I have a line with 153 characters, and the ‘line:column’ indicator reads ‘157’ with the cursor at the end (which I would expect to mean there are 156 characters before the cursor). See attached. Why might this be?
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
The notion that I might be able to build TextMate on my own machine is so cool that I thought I'd give it a try. I got a very long way (thanks to the wonderful instructions at the github site) but when the actual moment came to do some compiling, we choked up:
[1/1] Generate ‘build.ninja’…
[3/993] Compile ‘Shared/PCH/prelude.mm’…
FAILED: '/Applications/Xcode51-Beta5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -isysroot "/Applications/Xcode51-Beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" -funsigned-char -D'NULL_STR="\uFFFF"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-address-of-temporary -IShared/include -fcolor-diagnostics -DNDEBUG -Os -fvisibility=hidden -std=c++11 -stdlib=libc++ -fobjc-abi-version=3 -fobjc-arc -Xclang -fobjc-default-synthesize-properties -fobjc-call-cxx-cdtors -x objective-c++-header -o /Users/mattneuburg/build/TextMate/Shared/PCH/prelude.mm.gch -MMD -MF /Users/mattneuburg/build/TextMate/Shared/PCH/prelude.mm.gch.d -I/Users/mattneuburg/build/TextMate/include Shared/PCH/prelude.mm
error: unknown argument: '-fobjc-default-synthesize-properties'
Is this just because I've installed the Xcode 5.1 beta? Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Citation completion is not working for me in child .tex files. The child
.tex file is in a different folder to the parent .tex file and also the .bib
file. But even if I move everything into the same folder it doesn¹t work.
Is there a way to get citation completion working in a child file?
Thanks
Ross
Make a Markdown document like this (ignore the equal signs, they are just to show you the boundaries of the document content)
===
* One
* Two
Three
===
The Markdown bundle marks "Three" as markup.raw.block. This is wrong. As you'll see if you preview the document, it is the second paragraph of the second-level markup.list.unnumbered.
To make things worse, the bundle turns off wrapping in markup.raw.block, so if "Three" is a long paragraph, now you can't read it because it runs off the right side of the window.
m.
PS Granted, nested lists in Markdown are annoying and incoherent; this is one of the main reasons why I use kramdown instead. Nevertheless, the syntax coloring and wrapping should try not to get in the way of constructing one's document.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work.
How do I change the size of the displayed heading in Markdown mode?
Hello,
I looked around for quite some while now, but everything I found online did
either not apply for TextMate 2 any more or did just not help me to solve my
problem.
I am using:
- OSX 10.9 (latest updates installed)
- TeXLive 2009 (now also 2013)
- latest LaTeX bundle (reinstalled just before)
What happens:
- I open a file that compiles just fine from terminal using pdflatex in
TextMate 2.
- I hit command+r
- The HTML output window opens ans says (twice in different font size, one
on top of other): "Error: Could not open to check for packages." And in a
second line it continues: "This is most likely a problem with
TM_LATEX_MASTER".
- The main TextMate window then also said: "Failure running 'Typeset&View
(PDF)'. Command returned status code 1."
Some more info:
- I do try to compile a simple file, no includes or imports... So I guess I
do not need TM_LATEX_MASTER, do I?
- The LaTeX bundle is set up to use pdflatex.
- Using "defaults write com.macromates.textmate latexDebug 1" does not cause
any additional outputs within TextMates GUI, nor in the Console.
What else did I try:
- I completely reset all TextMate settings (by deleting several folders and
files as suggested somewhere in the net) -- this changed a LOT, my TextMate
was certainly not the same any longer... but error remained the same.
If anybody has ANY idea what the most likely totally braindead and stupid
thing is that I do not see... please let me know... you'd be my personal
hero and I will worship you for weeks... ;)
Thanks,
Florian
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-2-LaTeX-Error-Could-not-open…
Sent from the textmate users mailing list archive at Nabble.com.
I’d like to highlight conflict markers (“<<<<<<< HEAD”, “=======”, …)
across all file types.
I created a small bundle with an injection grammar for this, but it only
works correctly for plain text. It seems that in most source grammars
other rules take precedence (e.g. in Ruby “=======” has the scope
“keyword.operator.assignment.ruby”) and therefore the injection grammar
won’t get applied.
Is there any way to solve this?
Stefan
As you probably know, I'm trying to write a new AsciiDoc bundle from the ground up. When I created this bundle, my tmLanguage file was named untitled.tmLanguage even though I have entered AsciiDoc in the bundle editor as the name of the language grammar. My question is, how can I rename this file asciidoc.tmLanguage? (If I do it directly in the Finder, TextMate simply loses track of the file altogether and thinks I no longer have a language grammar.) m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com