Does anyone know of a style formatting plugin for TextMate? I'd like an
automated way to configure TextMate for Google Style
<https://code.google.com/p/google-styleguide/>.
--
Cheers,
Andrew Pennebaker
Hi All,
Long time textmate user, but at some point in the last two months I've lost
the ability to compile latex in pdflatex, which causes problems when I try
and run \includegraphics{something.pdf}. (I get a "Cannot determine size of
graphic (No BoundingBox)" error).
I've set default engine to pdflatex in preferences, but the button on the
typesetting page is always "latex", and the .log file starts with:
This is pdfTeX, Version 3.14159265-2.6-1.40.15 (TeX Live 2014) (preloaded
format=latex 2014.5.25) 26 FEB 2015 23:38
(note the preloaded format is latex, not pdflatex).
If I go to preferences > Bundles it shows the latex bundle was updated five
days ago.
Everything works fine if I compile in TeXShop.
Suggestions?
I am trying to copy the content of a FileMaker webviewer and paste it into
Textmate so I can save it as an HTML file. The problem is that (OSX 10.8.5)
will only let me paste from my clipboard as (simple text, or rich Text) but
not as HTML.
It does the same thing if I try to copy and paste from Safari, FireFox or
Chrome.
Is there a way to do this in OSX?
Save the key elements of the preferences window state between uses and
TextMate launches:
Window location and size
Pane size
Active pane
Selected item within a pane (where appropriate)
Can anyone think of others?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Feature-Request-Persistent-Preference…
Sent from the textmate users mailing list archive at Nabble.com.
Tao,
You might look into the capabilities of ghostscript. It should be installed with your LaTeX install (MacTeX or equivalent), but if not, you can install it using Homebrew via brew install gs. Specifically, ghostscript should install a utility called ps2pdf that (IIRC) produces clean PDF files from an input EPS.
FYI, the following MWE worked on my system using TextMate 2.0-beta6.8. Note that the order in which graphicx and epstopdf are loaded is important.
\documentclass{article}
\usepackage{graphicx,epstopdf}
\begin{document}
A sample figure:
\begin{figure}[h]
\centering
\includegraphics[width=.9\textwidth]{Figures/sample.eps}
\caption{caption}
\label{fig:sample}
\end{figure}
\end{document}
–
Dustin Wheeler
mskblackbelt(a)me.com
On February 18, 2015 at 07:00:10, textmate-request(a)lists.macromates.com (textmate-request(a)lists.macromates.com) wrote:
Question about converting eps files to pdf files on the
fly. (Tao Zha)
Hi:
The latest TextMate ( version 2.0-beta.6.8) no longer convert eps files to pdf files automatically when I use pdflatex. I got the error message like:
------------------------
Document Class: amsart 2009/07/02 v2.20.1
!!! Error: Writing to gs failed, signal 5
Latex Error: ./tableindustry.tex:199 Package pdftex.def Error: File `Figures/outfigpaper_prices-eps-converted-to.pdf' not found.
• Including: Figures/outfigpaper_ratios2GDP-eps-converted-to.pdf
————————————
In my preamble of my Latex file, I specify
\usepackage{epstopdf}
The previous TextMate version works for me by automatically creating the file "outfigpaper_ratios2GDP-eps-converted-to.pdf", but the latest version gives me the above error message.
Can anyone help me?
Thank you very much,
Tao Zha
Hi all,
Are there any plans to add code fold guides to TextMate 2 (as shown here:
http://darwinsantos.com/sublime_screen.png)?
I know a workaround to get a similar effect is to use "Show Invisible
Characters". Though the problem with this is that a lot of files written by
others lack proper tab indentation.
Any other workarounds to get a similar effect?
Many thanks,
S.P.
When is it expected that TextMate 2 will untangle from TextMate 1 in the
Application Support folder? Right now we have the Avian folder along with
the TextMate folder and as best I can tell TextMate 2 uses some things from
both folders. That's confusing and messy.
Is there anyone left using TextMate 1 *and* TextMate 2?
Bob
--
View this message in context: http://textmate.1073791.n5.nabble.com/Consolidation-of-TextMate-Application…
Sent from the textmate users mailing list archive at Nabble.com.
Hi there,
I am having some serious problem with Textmate 2 in Mac Yosemite. I am typing my thesis in Latex. All of a sudden Textmate 2 stopped showing any error for undefined commands. Let me give you an example, lets say I need to write $\alpha$, but mistakenly I typed $\apha$ in the .tex file. When I compile it with Textmate, it does not show any error as in `Undefined Control Sequence’, it says 0 Error in the log window and just skips the part of $\apha$ in the pdf. This is a very serious problem for me as I am typing my thesis I am likely to make many such typing mistakes and if these goes undetected in the compilation then that’s a huge problem for me! Could you please tell me how to solve this problem? This thing didn’t happen before, I have been using Textmate 2 in Yosemite for around 6 moths now without any problem until today. Following are the sample codes I used to recreate the problem:
\documentclass[12pt]{amsart}
\usepackage{amssymb, amsmath}
\date{}
\begin{document}
\title{Error Testing}
\maketitle
I want to write $\alpha$ but mistakenly if I write $\apha$ and complie it with Textmate $2$, on the log window it does not show any error as `Undefined control sequence' and on the PDF it just skips the part where it has $\apha$.
$\slpha$ $\alphabeta$
\end{document}
Thanks,
Omprokash Das
Hello,
I was using Textmate 2.0 beta 6.8, and suddenly, I received this error when
I invoked latex tidy:
Can't locate YAML/Tiny.pm in @INC (you may need to install the YAML::Tiny
module) (@INC contains: /Library/Perl/5.18/darwin-thread-multi-2level
/Library/Perl/5.18 /Network/Library/Perl/5.18/darwin-thread-multi-2level
/Network/Library/Perl/5.18 /Library/Perl/Updates/5.18.2
/System/Library/Perl/5.18/darwin-thread-multi-2level
/System/Library/Perl/5.18
/System/Library/Perl/Extras/5.18/darwin-thread-multi-2level
/System/Library/Perl/Extras/5.18 .) at /usr/texbin/latexindent line 20.
BEGIN failed--compilation aborted at /usr/texbin/latexindent line 20.
I use tidy often, and it usually works. I am sure I used it earlier today
without incident.
Further, I also suddenly received the error "Command returned status code
1." for Typeset and view (PDF) when I compiled a latex file. The file uses
the mtpro2 fonts, which, when disabled, allowed the file to compile again,
but this is the first time this has happened. I did compile the file with
the fonts enabled earlier today.
Thank you for any help.
Best wishes,
Anthony Pulido
Are there plans to make TextMate’s “chrome” (file pane, tabs, etc.) theme-able? I’d like the fonts in the file pane to be smaller and the background to be darker.
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’m new to TextMate 2 grammar definitions and am trying to add a Markdown regex to identify a Markdown fenced code block like this one:
```
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
end
```
I built this regex:
{ name = 'markup.raw.block.markdown';
begin = '(^|\G)([`]{3})';
end = '(^|\G)(^[`]{3})';
},
Which hits the starting ``` but misses the ending one. Probably because it thinks the second one is the start of a new code block rather than the end of the last one.
TextMate tangles me up some because it looks at just one line at a time for regex matches. Looked at it that way, each of the ```s is exactly the same!
What would the proper regex be?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have Panic Sans (nearly the same as Menlo) picked as my display font. Everything in the editor uses that font. Except markup.raw.block.markdown!
I didn’t do it, or at least I don’t know that I did. What else in my bundles, configuration, or defaults could be doing that?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I’d like a file menu command to revert a file to its previously saved state, discarding all current changes.
Or is that already somewhere that I missed?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a custom Markdown grammar that I inject into the official Markdown grammar with an injection selector of L:text.html.markdown and it works fine. That custom grammar defines the starting content of a markdown file between -{3} and -{3} as YAML.
I have a custom YAML grammar that I inject into the official YAML grammar with an injection selector of L:source.yaml and it also works fine. That custom grammar defines runs of entity.name.value.yaml.
But my custom YAML injection does not work in Markdown. I wanted my injected custom YAML to be injected into Markdown, but it’s not. I guess injecting into YAML is not picked up when YAML is injected into Markdown. :(
Is that how it is expected to work?
Is there another way to get injections to work on top of injections like this:
Custom YAML -> YAML -> Markdown
Or do I have to fork the YAML grammar?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
My .tm_properties file has this line:
excludeDirectories = "{$excludeDirectories,assets,bin,images,logs,node_modules,cache}”
and it works. Too well.
Not only does it exclude projectroot/images (which is what I wanted), but it excludes projectroot/user/pages/images, too.
How do I restrict excludeDirectories to only a top level folder?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have a .tm_properties file in the root of my project folder that contains these lines:
excludeInFolderSearch = "{$excludeInFolderSearch,assets,bin,cache,images,logs,node_modules, config.codekit, composer.lock}"
excludeInFileChooser = "{$exclude,$excludeInFolderSearch}”
That doesn’t hide the folders logs, cache, etc. from the file pane.
Do I have the syntax wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com
I have ~/Library/Application Support/TextMate synced between two computers
via Dropbox (Mackup). Today, when I launched 2.0-beta 6.8 for the first
time, com.macromates.TextMate.preview segfaults, and does so for every
subsequent launch.
Console shows this prior to the crash:
TextMate[11231]: CoreData could not fulfill a fault for '0xff880002b
<x-coredata://47E84A6D-2744-440D-ABA2-CE0276F6DD6C/PasteboardEntry/p16354>'
When I remove Library/Application Support/TextMate/ClipboardHistory.db*, it
can start again.
-MinRK
I use the app Oyster on Mac to edit and debug regexs. It works nicely, but doesn’t properly predict what TextMate will do with a regex. Something that works in Oyster, does not in TextMate.
Has anyone using Mac found a regex editor that predicts TextMate?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com <http://www.bobrockefeller.com/>
I’m attempting to match the leading - characters in a Markdown list such as this:
---
What were the key things that drove me to make a switch?
- No Database -- you
- Tremendous Support -- the
- Sane Folder Structure -- everything
- Rapid Development -- there
- Blog Post Folders -- granted
- Asset Pipeline -- Grav
- Twig — yes
—
The regex that isn’t working looks like this:
{ name = 'text.html.markdown.list';
match = '(?<=\n)-(?= )|(?<!.)-(?= )';
},
What did I get wrong?
Bob
-------------------
Robert J. Rockefeller
Richmond Hill, GA
www.bobrockefeller.com <http://www.bobrockefeller.com/>
I just came across this because I have script called 'crypt'.
The Avian bundle has command with a scope selector
'attr.rev-path.crypt' which seems to trigger on any file called
'crypt' and prompts me to enter a password so that the file can be
encrypted.
I can easily disable this, but was just curious as to why it is there
in the first place.
Now we are in beta phase, I’ve stumbled a couple of times recently having multiple cursors and having commands fail, as this is not supported yet.
Not sure if this is tricky or not to enable.. I could see it could be, if a command does things that step on what the other “copies” are trying to do. Perhaps a “multiple-selection safe” button in the snippet or command to enable cases where the author thinks it should be as straight-forward as typing into a multiple selection (like, for instance, tag completion) would get this feature off the ground?
t
Is there any documentation of changes needed to convert 1.5 bundles to work with 2.0? I dragged the 1.5 bundle to TextMate 2 and it asks if I want to install it. Click OK and nothing seems to happen. The bundle is not installed and no errors on the screen or in the log.
Thanks,
John DeSoi, Ph.D.
Continue works on relaunch of TM here. And then I selected check on next relaunch and it went from, I think, two upgrades behind to beta 8. No problem her. On rMBP with up to date OS X.
Good luck.
Greg
> On Feb 4, 2015, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Date: Tue, 3 Feb 2015 18:34:09 -0800
> From: Matt Neuburg
> Subject: [TxMt] TextMate prompts for nonexistent update, interface has
> gone nutty
>
> I am getting a dialog asking me to update TextMate, but when I check for updates, there are none:
>
> But that's not the worst part. I click Continue, and the interface has gone crazy: the gutter is suddenly black, and it isn't using my preferred font any more. It's as if all my preferences had been overthrown. m.
Timfong88(a)gmail.com
Sent from phone
On Tue, Feb 3, 2015 at 6:39 PM -0800, <textmate-request(a)lists.macromates.com> wrote:
Send textmate mailing list submissions to
textmate(a)lists.macromates.com
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.macromates.com/listinfo/textmate
or, via email, send a message with subject or body 'help' to
textmate-request(a)lists.macromates.com
You can reach the person managing the list at
textmate-owner(a)lists.macromates.com
When replying, please edit your Subject line so it is more specific
than "Re: Contents of textmate digest..."
Today's Topics:
1. TextMate prompts for nonexistent update, interface has gone
nutty (Matt Neuburg)
----------------------------------------------------------------------
Message: 1
Date: Tue, 3 Feb 2015 18:34:09 -0800
From: Matt Neuburg
To: TextMate users
Subject: [TxMt] TextMate prompts for nonexistent update, interface has
gone nutty
Message-ID: <56DB986A-328A-487E-8948-E38DA272DE8D(a)tidbits.com>
Content-Type: text/plain; charset="us-ascii"
I am getting a dialog asking me to update TextMate, but when I check for updates, there are none:
But that's not the worst part. I click Continue, and the interface has gone crazy: the gutter is suddenly black, and it isn't using my preferred font any more. It's as if all my preferences had been overthrown. m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 8! http://shop.oreilly.com/product/0636920034261.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hello,
I am super new to posting to lists in general, so please excuse any
breach of etiquette.
I love TextMate, and have been a faithful user since way back. It
lacks for nothing, as far as I'm concerned, but I do have one
question.
Currently, I am using the Text bundle to trim trailing spaces on save.
The settings are like this:
Semantic Class: callback.document.will-save
Save: Nothing
Input: Document
Format: Text
Output: Replace Document
Format: Text
Caret Placement: Heuristic
This works beautifully. The only issue I have is that no matter where
I am in the document, after save my cursor (caret) is placed at the
very end of the document, and the document is scrolled to that point.
In a longer file, with frequent saves, I have to scroll back and find
my place every time.
I tried different options for Caret Placement and for Output (in the
bundle), but the result remains the same.
My question is twofold: is there something else I could be doing, and
also I'm curious if there are any plans to change this behavior (or
make trimming a built-in option, so to speak), to where the view
doesn't scroll? Seems like this is a common option to want to have.
Thank you!
- g
Hi,
I've noticed that selecting enclosing typing pairs is broken for HTML when
an open tag spans several lines. ie:
<div>*
<p id="paragraph"
class="content">
</p>
</div>
If you place the caret at * and select the enclosing typing pairs, the
selection closes at </p> rather than </div>. It doesn't happen however for
self closing tags:
<div>
<input id="field"
class="form-field"/>
</div>
I've looked into the HTML bundle but I'm not sure the typing pairs
references there are the culprit for this.
Could someone point me in the right direction to fix this issue? I'd be
glad to open a PR once I get it working.
Thanks!
Hi,
I bumped into a problem while checking the R bundle.
There's a command which outputs HTML source to display the result within TM's HTML output window.
If I start TM and execute this command everything will be displayed correctly. Then I close the HTML window, I modify some code, and invoke the same command again to come up with an HTML output window I only see the spinning wheel and a blank window. After ~30s the HTML window displays the correct picture.
I was able to narrow down the problem and attached is a test environment (as a tmCommand). The problem is a non-existing CSS resource. If you invoke this command for the very first time, the HTML output window machinery simply ignores the non-existing CSS file and displays the content correctly. Fine. If you re-invoke the same command the HTML output keeps blank for half a minute. If you then delete the 4th "echo"-line containing R.css everything works perfectly.
Here the test code
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
echo "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">"
echo "<html><head><title>R: Phonetic algorithms</title>"
echo "<meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\">"
echo "<link rel=\"stylesheet\" type=\"text/css\" href=\"R.css\">"
echo "</head><body>"
echo "TEST"
echo "</body><html>"
******************************************************
Hans-Joerg Bibiko
Max Planck Institute for Evolutionary Anthropology
Department of Linguistics
Deutscher Platz 6 phone: +49 (0) 341 3550 341
D-04103 Leipzig fax: +49 (0) 341 3550 333
Germany e-mail: bibiko [at] eva.mpg.de
******************************************************
I noticed something strange while trying to record a simple macro. When replaying the macro, it skips some steps, especially when there is text selected in between.
Steps to reproduce:
- Open a buffer with the following content:
tm foo
tm bar
- Move to the beginning and hit "Start Recording"
- Select the first word with ^w
- Type "textmate" (or anything else, doesn't matter)
- Hit "Stop Recording"
- Move to the beginning of the line
- Hit "Replay Macro"
Result:
On the second line, "tm" is selected, but the text has not changed. If you try to save the macro you see the content of it and will notice that the macro was at least recorded correctly.
Workaround:
Rolling back to the last normal release (2.0-beta.6) fixes it and replaying works again.
When I try to run run these two commands:
LaTeX > Insert > Citation based on current word
TODO > Insert TODO List
I¹m getting a dialogue box with this message:
Failure running ³Citation Based on Current Selection². interpreter failed:
No such file or directory.
Anyone know what the problem is?
Ross Ahmed
Ecologist
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
I occasionally get log output such as that I've posted below. The pdf is
not updated, but both the dvi and ps file are correctly compiled. TeXShop
correctly compiles using pdflatex. Occasionally latexmk will decide to use
pdflatex and everything will work correctly. I don't really know what's
happening with ps2pdf and what it means by "stable files" and I'm not sure
if this error is caused by a bug in latexmk or maybe some error in the
configuration info given to latexmk by textmate.
Does the latex bundle have any control over whether latexmk uses pdflatex
or regular latex?
-Jim
p.s. Here is that log file, with the latexmk messages:
Latexmk: This is Latexmk, John Collins, 11 Nov. 2012, version: 4.35.
Latexmk: applying rule 'latex'...
This is pdfTeX, Version 3.1415926-2.5-1.40.14 (TeX Live 2013
Processing: Practice Midterm 1 copy.tex
Document Class: exam 2011/05/22 Version 2.4 by Philip Hirschhorn
Document Class: article 2007/10/19 v1.4h Standard LaTeX document class
Output written on "Practice Midterm 1 copy.dvi" (6 pages, 17724 bytes).
Complete transcript is in Practice Midterm 1 copy.log
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'dvips'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
0 Errors 0 Warnings in this run.
Latexmk: applying rule 'ps2pdf'...
Latexmk: Maximum runs of ps2pdf reached without getting stable files
Latexmk: Did not finish processing file 'Practice Midterm 1 copy.tex':
Latexmk: applying rule 'ps2pdf'...
Latexmk: Errors, in force_mode: so I tried finishing targets
Tell Skim to refresh '/Users/Starx/Dropbox/Mathematics/LaTeX
Projects/Math307Win15/Practice Midterm 1 copy.pdf'
Command latexmk -pdfps -f -r /tmp/latexmkrc -r
'/Users/Starx/Library/Application
Support/Avian/Bundles/latex.tmbundle/Support/config/latexmkrc' 'Practice
Midterm 1 copy.tex' exited with status 12
Thanks Allan, the error message when I try to “Show Todo list” is:
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- /Users/rramcharan/Library/Application Support/TextMate/Managed/Bundles/TODO.tmbundle/Support/todo.rb (LoadError)
from /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require’
> On Jan 23, 2015, at 7:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Send textmate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of textmate digest..."
>
>
> Today's Topics:
>
> 1. todo bundle (Rodney Ramcharan)
> 2. Re: todo bundle (Allan Odgaard)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 22 Jan 2015 19:19:43 -0500
> From: Rodney Ramcharan <rodney.ramcharan(a)gmail.com>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] todo bundle
> Message-ID: <BA4D8BF9-C9DA-4FB8-8FAA-DE8466AB6E27(a)gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Sorry to trouble you with this since I know it?s been addressed but I can?t to figure out the answer. My todo bundle no longer works with the upgrade to yosemite,
> and my path variable is defined as "$PATH:/usr/local/bin:/usr/local/bin? in the preferences tab. Is there something else I need to do. Again, many apologies for the silly question.
> Best,
> Rodney
>
Sorry to trouble you with this since I know it’s been addressed but I can’t to figure out the answer. My todo bundle no longer works with the upgrade to yosemite,
and my path variable is defined as "$PATH:/usr/local/bin:/usr/local/bin” in the preferences tab. Is there something else I need to do. Again, many apologies for the silly question.
Best,
Rodney
There is a nice little Show Web Preview function. Problem is as sweet as it is when doing actual development you have to keep re-executing the shortcut to invoke it. This make seance for something like the external browsers refresh feature, but the internal preview should really be synchronized. Ie as changes are make they show in the preview immediately(or ofter a few seconds of inactivity or a save operation maybe for performance reasons.)
Would it be possible to some how combine the diff highlighting with the
highlighting of a source code? I know that it's possible to insert other
grammars in a grammar but I was thinking of a general solution that
doesn't require changing every existing grammar to add diff support.
It would be really cool if it would be possible to recognize each file
(if multiple files in a diff) and highlight it according to the file
extension.
--
/Jacob Carlborg
Hi All,
Thanks so much for textmate. It has been my happy coding home since I
switched to OSX about 8 years ago.
I've been trying out textmate 2, and I really like it with the exception
of two glitches that I haven't been able to figure out.
The first is that I can't get cmd-t to work happily with expandrive.
cmd-t seems not to find files in a given folder until I open that
particular folder in the file browser sidebar. I can option-click the
main folder to get it to open every folder, and this works initially,
but it the files disappear from cmd-t after some period, so I have to
repeat the option-click or manually browse through the file interface to
open the file. I'm a keyboard guy, and I really miss just being to hit
cmd-t and type in a file name to open a file.
Any ideas for how to fix this? I don't mind much something a little
kludgy like having to option-click the parent folder each time I sit
down to a coding session, but having to do so every 20 minutes or,
worse, having to manually navigate the file browser interface for files,
is harshing my happy coding juju.
Secondly, I retain a habit of searching using ctl-s from my previous
long run with emacs. In Textmate 2, ctl-s is difficult to use because
it does not wrap by default. I can just use cmd-f instead, but I mostly
using the find function to navigate around source files, and I
aesthetically dislike popping up the giant find and replace box just to
do basic quick navigation. Is there any way to change ctl-s back to
doing a wrapped search?
Thanks again for a great tool!
-hal
--
Hal Roberts
Fellow
Berkman Center for Internet & Society
Harvard University
>Could you please change `refresh_viewer.scpt` by adding a `display alert`
Ren,
I actually did some checking along those lines before I got your message.
I used a notification instead of a display alert, but the result is that
the "TeXShop" block of code is definitely not being executed. Never the
less, deleting the tell block from that code will still stop TeXShop from
opening. I noticed you had to delete the tell block and not just the code
within the tell block. Some online searching led me to the following which
seems likely to be the root of the problem:
http://stackoverflow.com/questions/12431811/how-to-make-applescript-not-aut…
Apparently the script should be compiled so that Skim and TeXShop are not
both automatically opened. I am not sure why Angelo and I seem to be the
only ones having this issue. If the above is correct then this behavior
should happen to everyone.
-Jim
I notice this long time ago but I though that it will be fixed at some point,
but looks like it won’t.
Most of the shortcuts are not working when I have Russian keyboard layout active.
Some of them do work though. For example ⌃W selects the word but it won’t select
the next occurrence of the word.
⌃⇧K and ⌃⇧D and many others though don’t work at all.
I think that everything that resides in the upper menu works with any layout,
everything else works only when using English layout for me.
Hi,
I guess this question has already been answered, but I cannot find the
answer, and Google does not help:
How to enable these alternative edition modes in Textmate 2.0?
Thanks,
Manu
I like to use Soft Wrap. I also like to Use Window Frame as the Wrap Column. In other words, I like to wrap the text to the window.
How can we, completely independent of this, display a vertical line at a given column?
I can't do this with "Show Wrap Column" because it is connected to my Wrap Column setting. If I set that to 80, my Use Window Frame goes away.
Hiya Everybody,
I’m trying to group commands in a bundle, and to create directions for others on how to do so. Unfortunately I’ve been unable to successfully move a single bundle item.
I feel like I’m very close, and I wonder if anyone could tweak these steps to make it work.
Please and thanks!
How to move, order or group bundle items in a TextMate 2 Bundle?
** Disclaimer: This does not work**
It seems that it is a manual process of editing a info.plist, using uuidgen on you script to generate the correct uuid for the info.plist.
http://textmate.1073791.n5.nabble.com/Submenus-in-bundles-and-the-info-plis…
But others indicate this is less than successful.
http://superuser.com/questions/405782/is-it-possible-to-rearrange-commands-…
This is what is suggested by all the research I could find (Linked below). I'm leaving it here in hopes that someone can more easily find the missing piece and improve it. I've even sent a copy along to the TextMate Mailing List to see if they can find the flaws.
First back up your bundle. Then using XCode's plist editor, open your bundle's info.plist.
Creat this structure if you dont already have it.
1. Right click -> Add Row -> "mainMenu".
2. Change "mainMenu"'s type to Dictionary.
3. Create nested items "submenus", "items", and "excludedItems", changing "submenus" and "excludedItems" to "Dictionary" and "items" to Array as you go
4. Open Terminal.app and run the command `uuidgen`
5. Copy the output. (from now on called [UUID#1])
6. Create a new item under "submenus", naming it by pasting [UUID#1]
7. Change [UUID#1]'s type to Dictionary.
8. Add a child to [UUID#1] named "name", set its value to "Network Scripts" (or whatever)
9. Add a child to [UUID#1] named "items", set its type to Array
10. Add items using the (+) button, each item is a UUID from your commands. To get this UUID, open the command's file in TextMate. If you try to Open the .tmCommand file directly TextMate will complain, "The bundle item [Bundle Item]; is already installed".
a) You can simply open the Commands folder, and textmate won't mind opening the files from the file drawer.
or
b) or `mate ~/Library/Application Support/Avian/Bundles/[Your Bundle]/Commands/[Your Command].
11. When the file is open find these lines. You're string will be different but formatted the same.
<key>uuid</key>
<string>8E9BA0D3-E282-4516-8565-E920EA98C898</string>
This is the UUID for your command. Now known as [UUID#2]
12. Go back to the info.plist, in step 9 you created a "items" array, add [UUID#2] to the array.
13. Add [UUID#2] to a “ordering" (type Array) object on the root of the xml.
14. Repeat 10 - 13 to add multiple items.
15. Save.
Graham P Heath
Hi All,
While writing a grammar for programs written in the Racket language, I
have stumbled upon a problem.
In Racket #| starts a multiline comment and |# ends it.
The problem is that multiline comments can be nested:
#| a comment #| still a comment |# even
more comment |#
Here is my non-working attempt:
repository:
multilinecomment:
begin: \#\|
end: \|\#
name: comment
contentName: comment
patterns:
- include: "#multilinecomment"
name: comment
- match: ([^\|]|\|(?=[^#]))*
name: comment
The intent of the match patterns are:
"#multilinecomment" A multiline comment can contain another multiline comment.
([^\|]|\|(?=[^#]))*
The meaning of the subexpressions:
[^\|] any characters not an `|`
\|(?=[^#]) an `|` followed by a non-`#`
The entire expression thus matches a string not containg |#
Is it possible to match nested multiline comments correctly?
--
Jens Axel Søgaard
Sorry for the delayed response.
I use Typeset & View so the changes I made to latex_watch.pl must then be
irrelevant. Fyi, I never thought there was ever a problem with the
refresh_viewer script. I always thought that the problem was that the
script was being called from elsewhere with the wrong viewer supplied as a
parameter. I could not track down where it's called from (I know very
little about bundles) so my workaround was to just rewrite the script to
open Skim regardless of what viewer it's given as a parameter. I mentioned
this only because it pinpoints the code that is opening TeXShop, and hence
might have been helpful information for debugging the issue, though that
may now be unnecessary:
As suggested I reset to defaults and then installed the LaTeX bundle
again. The Bundles -> LaTeX -> Preferences... command stopped functioning
but TeXShop no longer opens when type setting. After several restarts the
Preferences command has resumed functioning and the TeXShop issue remains
fixed. This means that currently all my issues have been resolved. Thanks!
-Jim
> On Jan 7, 2015, at 3:22 AM, textmate-request(a)lists.macromates.com wrote:
> Date: Wed, 7 Jan 2015 09:21:10 +0100
> From: Carsten Hoever <hoever(a)gmx.de <mailto:hoever@gmx.de>>
>
>> This is a from a file from Strava generated on an iPhone.
>>
>> Is there a way to convert it to gpx?
>
> I don't think you will get any useful answers here, as this is not a Textmate specific problem. But since I am at it: have you considered simply exporting the activity from Strava as GPX? There are even automatic services for doing that (tapiriik) if you don't want to do it manually. In case you have more questions I suggest you reply to my e-mail address and not the TxMt list.
>
> Regards,
>
> Carsten
Oops, senior moment. Wrong group. But thank you for the suggestions, I’ll look at tapriniik. I guess my search was too narrow. I didn’t see how to export from Strava. I thought it should do it, but wasn’t seeing it. Will look harder. I just got the paid membership to see how it handled heart rate data, although have had a little used free account for some time.
Greg