With TM2 nice and stable at release candidate 23, and with a major feature of TM being bundles of user-built snippets and commands, it would be much appreciated to have a UI for editing bundles.
Just supporting
1. Drag snippets between existing folders and
2. Right click “create new folder”
Alongside the existing make new, copy UUID and show in Finder features these two would be a major advance in usability.
Even if it was restricted to user-managed bundles (if the concern is to much product support from breaking updates to centrally managed bundles in the first instance).
Hi,
Programming for R (stats package) the user often wants to select a whole function (usually in order to execute it in R)
my fun <- function(param,..){
# your code
}
cmd-shift-B will select the next-out level of brackets, and, if repeated, will eventually select the outer-most brackets. But to execute the function, one needs to select the whole of that first line of the function definition.
Is there a command to do that?
the command would function like repeated executions of cmd-shift-B until the there is no outer bracket to find, then expand the selection to include ^ of the first line
Is it possible to get a TextMate 1.5 syntax coloring theme into TextMate 2.0, and if so, how?
Jerry
P.S. Just wondering why there is no theme editor in TM2.
Hello,
My end goal is that I want to tell textmate to ignore some directories (or include) when finding files using “Open Quickly”
I skimmed the source code and saw that I might be able to use some kind of settings:
static std::map<std::string, NSString*> const map = {
{ kSettingsExcludeDirectoriesInFileChooserKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeDirectoriesKey, kSearchExcludeDirectoryGlobsKey },
{ kSettingsExcludeFilesInFileChooserKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeFilesKey, kSearchExcludeFileGlobsKey },
{ kSettingsExcludeInFileChooserKey, kSearchExcludeGlobsKey },
{ kSettingsExcludeKey, kSearchExcludeGlobsKey },
{ kSettingsBinaryKey, kSearchExcludeGlobsKey },
{ kSettingsIncludeDirectoriesKey, kSearchDirectoryGlobsKey },
{ kSettingsIncludeFilesInFileChooserKey, kSearchFileGlobsKey },
{ kSettingsIncludeFilesKey, kSearchFileGlobsKey },
{ kSettingsIncludeInFileChooserKey, kSearchGlobsKey },
{ kSettingsIncludeKey, kSearchGlobsKey },
};
However, I don’t know where I would set these. I believe there may me some kind of file I can place at my project root to define these, but I’m unable to determine what the name of this file should be or the format of the file.
Any help would be appreciated.
Thanks!
1. Use app "Check for Upgrade" to upgrade to RC 20/21/22, Cmd+F to bring up
Find dialog window, unable to display/type non-English characters (such as
Chinese, Japanese) in Find and Replace text box, have to un-focus input
area to show the characters. No problem for English characters.
2. Manually upgrade by downloading RC 20/21/22 from Github, and replace
existing TextMate.app in Applications. Cmd+F (or select Find... from Edit
menu) will not bring Find dialog window.
Rolled back to RC 19, solved the problem.
--
Sent from my mobile. Ignore the typos unless they're funny.
--
--
Sent from my mobile. Ignore the typos unless they're funny.
Hi all,
There is some problems with expressions in f-strings in the Python bundle.
One is that escape-completion does not work inside them at all.
The other is that syntax highlighting often fails. For example for these:
f"{2 * 37}"
f'{person["name"]}'
f"{'Eric Idle'}"
In neither of these f-strings the braces or expressions are highlighted.
Does anybody know how to fix these? I guess it’s just some small adjustments to the syntax bundle but it’s a rather daunting list of regular expressions in there.
F-strings are a great enhancement to Python and it could be great to have them probably supported.
I have created issues on https://github.com/textmate/python.tmbundle/issues/ for both problems.
Best regards,
Tuk
I have a bundle for linting JavaScript and I'm having trouble figuring out
how to handle JavaScript embedded in HTML. Currently, I'm expecting that
the `source.js` refers to a full file. This creates an issue since
`source.js` is also part of the scope when JavaScript is embedded in HTML,
causing my bundle to lint a full HTML document. Is there a way to configure
the bundle to ignore embedded JavaScript, or to dynamically switch to
linting only the embedded JavaScript?
This the bundle: https://github.com/ryanfitzer/eslint.tmbundle
Hi All,
Sorry for troubling you.
I am trying to build TextMate from source, since I would like to add couple of features, key bindings etc.
I have done literally everything as specified on this page:
https://github.com/textmate/textmate#readme
I have downloaded latest XCode online tools on my latest patched version of macOS Mojave.
Also, I see that Apple has upgraded my Ruby to the version 2.3.
However, anytime I run:
./configure && ninja
I get the following output:
———————————
rm /Users/sinisa/razno/zez/textmate/Frameworks/SoftwareUpdate/fixtures/secret.pem
bin/gen_build:487:in `rename': No such file or directory @ rb_file_s_rename - (build.ninja~, build.ninja) (Errno::ENOENT)
from bin/gen_build:487:in `atomic_write'
from bin/gen_build:567:in `block in <main>'
from bin/gen_build:538:in `chdir'
from bin/gen_build:538:in `<main>'
./configure: line 99: 19128 Segmentation fault: 11 ninja Frameworks/encoding/src/frequencies.capnp.h
./configure: line 100: 19179 Segmentation fault: 11 ninja Frameworks/plist/src/cache.capnp.h
bin/create_default_bundles_tbz: line 21: 19193 Segmentation fault: 11 ninja "$bl”
—————————
What should I do ????
Many, many thanks in advance …….
--
Sincerely,
--
Sinisa Milivojevic <sinisa(a)cytanet.com.cy>
MySQL Developer
Larnaca, Republic of Cyprus
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ /
/ /|_/ / // /\ \/ /_/ / /__
/_/ /_/\_, /___/\___\_\___/
<___/ www.mysql.com
Hi All,
I’m currently preparing my new machine to replace my old MacBook Air 2015 as a development machine. My new machine is a Mac Mini 2018.
I’m unable to save files in TextMate (the editor I do all my code in). Got the following error :
The document “untitled.txt” could not be saved
Please check console output for reason.
I don’t see nothing special in the console log. I tried all the steps in https://alexwlchan.net/2016/05/os-x-hates-textmate/ to no avail.
Anyone has any idea?
Thanks,
Yann Bourdeau
yann.bourdeau(a)noviflow.com
Hi,
Please forget about my previous mail. I have solved my issue after finding it was working on another user account.
I had a bundle modification on callback.document.Export instead of callback.document.will-save to trim the trailing white space.
Thanks
Yann
Hi All,
I am looking for someone that can merge the pull request below.
The grammars of Textmate is used by Github.
Sadly the grammar for the Scheme language colors square brackets red (as an
error),
and there are lots of Scheme implementations that allow squares.
That makes it jarring to read source files on Github.
A kind soul has found the error, fixed it and submitted a pull request.
Unfortunately the grammars don't live in the main Textmate repo,
so pull request are easily missed. This one is a couple of years old.
It would be greatly appreciated by the Scheme community, if this could be
merged.
Thanks in advance.
https://github.com/textmate/scheme.tmbundle/pull/9
/Jens Axel Søgaard
Default is "ruby 2.3.7p456"
>
> Today's Topics:
>
> 1. Re: Bundle support plist broken on Mojave (Philippe Huibonhoa)
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 30 Jan 2019 20:54:44 -0800
> From: Philippe Huibonhoa <phuibonhoa(a)gmail.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Bundle support plist broken on Mojave
> Message-ID:
> <CABF6MVzbki=T+-DZ18Sg1AmJA+K2Jw7=WoYHDG+buNo+H9jHOg(a)mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Does Mojave still have Ruby 1.8 available? I have bundle files
> referencing /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
> but that directory does not exist. I'm not sure how to proceed, since this
> does break some functionality.
>
> On Sat, Dec 15, 2018 at 12:29 AM Jacob Carlborg <doob(a)me.com> wrote:
>
>> On 15 Dec 2018, at 09:13, Allan Odgaard <mailinglist(a)textmate.org> wrote:
>>
>> The problem is that many bundle commands need ruby 1.8, so the bundle
>> support code needs to remain compatible with 1.8 as well.
>>
>> This is support code has been written by a dozen different people over
>> several years, I have no plans of rewriting it all to be compatible with
>> both ruby 1.8 and 2.x, which in itself is not a fun excercise, not even
>> sure we can make the plist extension compatible with both versions of ruby
>> without switching to a version written entirely in ruby.
>>
>> Understandable. I?ve been wanting to completely re-implement the support
>> code with support for 2.0 now for a while. But I?ve never prioritized it.
>>
>> My advice: If you want to use ruby 2.x for your custom commands, don?t use
>> the support code.
>>
>> Yeah, in fact, most of my commands are written in Ruby 2.0 but one of them
>> is using Ruby 1.8 to be able to use the completion window.
>>
>> In this case I see now that TextMate.detach is simple enough to copy to
>> the bundle and remove the dependency on TextMate::UI.
>>
>> In retrospect we probably shouldn?t have made a ?shared support?
>> directory, at least not without much much stricter discipline, as now we
>> have a ton of legacy stuff that is pretty difficult to get rid of, because
>> we have no idea about which third party bundles rely on it.
>>
>> The support code, at least the Ruby code, could be implemented as a
>> separate gem. Then it could be versioned like any other gem. I have a
>> bundle [1] where the whole Support directory is organized as a Ruby gem. It
>> uses Bundler and several gems as dependencies. The gems are bundled
>> directly in the Support directory and included in the Git repository. This
>> works out quite nicely.
>>
>> [1] https://github.com/jacob-carlborg/GitLab.tmbundle/tree/master/Support
>>
>> --
>> /Jacob Carlborg
>>
Hi,
a simple question, but I cannot find ;)
When moving your cursor via arrow keys over a (HTML) tag, the corresponding
beginning or ending tag is highlighted in yellow! So I assumed TM is able to
select and / or change the tags at once.
But unfortunately I cannot find the command. Hope someone can help me.
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hello
I am new to Textmate and grammars syntax but i want to fix a bug with a grammar used by GitHub for highlighting of SaltStack files.
The grammar in question is this one ( https://github.com/saltstack/atom-salt/blob/master/grammars/yaml.cson ) and the problem is comments that span multiple lines don't get handled correctly so i fixed the regexp but the more i looked at the problem i don't think any comments are really being handled as the grammar expects because of an "include" that's overriding the local comment definition.
As i said, i'm no Textmate/Grammar expert but with some fumbling around i think the problem occurs due to a repository entry that calls:
{
'include': 'source.python'
}
This external grammar file has its own agenda when it comes to comments and lines matching the "#" type pattern. I think this included grammar is taking priority over the patterns/captures defined in the above .cson file. I believe it might be this pattern ( https://github.com/textmate/python.tmbundle/blob/master/Syntaxes/Python.tmL… ).
If i comment/delete the 'include': 'source.python' from the "jinja-control" repository then my regexp change works and comments look as expected.. but obviously I've crippled the other highlighting brought with the python include.
So at this point i'm stuck. I have no idea how the order or precedence works and how i should resolve this conflict ?
Can someone explain please why the include is doing this and whats the way for me to ensure my local definitions to be enforced ? I tried moving my pattern to the top of the .cson, tried to make the regexp more explicit and increase the name depth in case any of those were the magic but no luck.
thank you.
Hello everyone,
I would like to start contributing to TextMate development. Are there any guidelines that I can use to get familiar with the codebase or where would be a good starting point for making sense of the codebase, since it is fairly mature.
Best,
Farhan
In rc.22 have we removed the document proxy icon so classically part of document based apps?
That's always been one of the most Mac things and TM's support of it has always been a blessing.
Also, looks like Bundle Editor window's drawer is a victim of deprecation with dark mode ...
... time to move to split views ¯\_(ツ)_/¯
The Git commit dialog is slightly broken in the latest release, 2.0-rc.22. In the table view showing all change or untraced files it says “Button” on each line between the checkbox and the icon. I’ve attached a screen shot below. This occurs on macOS High Sierra but now on Mojave.
--
/Jacob Carlborg
With the latest update of TextMate, 2.0-rc.22, the text color of a selected item in the Open Quickly dialog is black. I guess it’s supposed to be white. This makes it a bit difficult to read on the blue background.
Running on macOS High Sierra. It has the correct color on Mojave, both in light and dark mode.
--
/Jacob Carlborg
Hi. Let's say I have 3 commands and they all use `callback.document.will-save` as semantic class. What is the order of execution? or How can I set the order? In my experience, the last created command runs first. I'm not quite sure about it. I've been trying to improve my Python formatter bundle. I have some tasks to do in order. Couldn't figure out exactly the execution order of it.
Thanks
---
Uğur "vigo" Özyılmazel
https://github.com/vigohttps://gitbook.com/@vigohttp://ugur.ozyilmazel.com | @vigobronx
http://devpod.org | @podcastmaster
http://gelistiriciyiz.biz | @gelistiriciyiz
On Wed, Nov 28, 2018 at 5:00 AM <textmate-request(a)lists.macromates.com>
wrote:
> I do a lot of find using the "In Folder" setting.
>
> The only easy way to bring it to the from is cmd-F, but this re-sets the
> "In: <where>" dropping down to the default, which is document.
>
Does cmd-shift-F work for you? That should set the window to "In:
{Project}". There is a Find in Folder menu command, as well, which doesn't
have a default keybinding, but that's easy to change in the Keyboard System
Preferences.
Today I noticed that clicking the SCM icon in the bottom right of the
file browser no longer does anything (it used to filter the view to
include only those files with a specific SCM status). Maybe this is
related to the recent changes in the file browser?
Everything else regarding SCM (using Git in my case) still works as
expected, including the SCM badges on the icons in the file browser.
Using TextMate 2.0-rc.14
Cheers,
Stefan
I’ve noticed in some cases the file browser doesn’t show the files within a folder when that folder is expanded. Navigating inside that folder shows the files and when I navigate back the files are visible again.
--
/Jacob Carlborg
Greetings from the South :-)-O,
I occasionally want to pipe JSON (or XML, or other formats) like
csvjson file.csv | mate -
It does display the file but as plain text.
How can I make TextMate2 figure this out by itself? Or from the command
line (mate -t JSON - does no do that)? Or where can I read this up?
greetings, el
--
Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar)
el(a)lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 /
Bachbrecht, Namibia ;____/
The rc.19 update reset quite a few of the TextMate preferences. For example:
* All variables I’ve added are gone
* The side the file browser is shown on reset
* Same with the command output window
* TextMate thinks the shell support is not installed
These are a few things I’ve just noticed.
--
/Jacob Carlborg
TextMate version: 2.0-rc.15
macOS Sierra: 10.12.6 (I also see this behavior on Mohave)
List of source files overlap the title bar when scrolled:
[image: Screenshot 2018-11-13 12.10.34.png]
(Sorry if this is a duplicate. My last attempt to send seemed to fail, but I can’t be sure it didn’t get through.)
In recent versions of various Apple programs, including Safari, Preview and iBooks, when you go into full screen mode, the sidebar hides itself until you roll over the edge of the screen with the cursor. I sometimes use Textmate on a laptop with a relatively small screen, and increasingly use it in split-view mode on my iMac, and in those cases things get a bit cramped, so it would be nice if the file browser in Textmate behaved in the same way.
I had thought that I remembered when the Apple programs started doing this that I read about it being trivial to implement if you were using auto-layout, but I’ve Googled it and done a cursory search in the developer docs, and it seems I imagined this, so perhaps this is an unreasonable request, in which case, dismiss it from your minds.
And yes, I know that lots of people really hate this behaviour, so if it could be implemented at all, it would need to be one of those things you need to use defaults write to enable.
Thanks for considering my suggestion.
Nigel
(I’m also sorry if I’ve asked this before, put it down to failing memory in old age if I have.)
I’ve created a new theme by adopting the theme Mac Classic that is shipped with TextMate. The original Mac Classic is a light theme, this new theme is adopted for the dark mode setting in macOS Mojave.
Since I’m not a designer I took an engineering approach to creating this theme. I took the basic colors for background, foreground and similar from Xcode. Then I wrote a script that parses the Mac Classic theme file, extracts the colors, converts the colors to HSB and adjusts the saturation and brightness. Then it writes the new colors back to an a new file. I then did some tweaks manually for some colors. I think it turned out pretty good. The theme is available here [1].
[1] https://github.com/jacob-carlborg/mac-classic-dark
--
/Jacob Carlborg
The rc.15 build has the file bowser with new source list style. The color of a selected item in the file browser can be quite difficult to see sometimes (depending on what’s behind the window). I’ve included three screen shots, from TextMate, Xcode and Finder. The location of the selection was the same for all application (the same thing behind the window). What’s behind the window is my desktop with a blue color. In the TextMate screen shot it’s the “package.d” file that is selected.
This is on macOS 10.13.
--
/Jacob Carlborg
By default TextMate won’t show hidden files (files starting with a dot) in the file browser. It’s possible to configure TextMate to show some of these files anyway, I’ve done that for files like .travis.yml. When doing a project wide search it won’t search those files, even though they’re visible in the file browser. Is that a bug, missing feature or an additional setting?
--
/Jacob Carlborg
I noticed that the bottom right and left corners of the TextMate main window is not rounded any more. I think this happened in the rc.14 release. The problem occurs on High Sierra but not on Mojave.
--
/Jacob Carlborg
An idea for a minor feature would be to be able to set a light and dark editor theme. When the OS appearance change it would change to a matching theme for the editor.
This was just and idea I had, would be pretty low on the priority list.
--
/Jacob Carlborg
I just updated to TextMate rc.14, which contains the overhauled file browser. I would really like if the "source list” style could be brought back.
--
/Jacob Carlborg
Is there a way to make * include hidden files in Find All dialog?
Currently I have to use {.*,*} to get the needed result but it's not very convenient to type that every time I do a search.
Another nice little tweak would be to search * instead of using the last glob pattern when you leave the glob field empty. And even better would be to make this default pattern configurable. That way I could've just emptied the glob field when I want to search {.*,*}
Thanks.
Sometimes when I'm working on a project and jump between branches TM suddenly stops scrolling to the current file when I press "Go to current file" (⌃⌘R) even though the file gets selected.
This is happening for a few months already. I usually fix this by restarting TM, but it's not the best workaround since I lose all the undo history.
Am I the only one getting this? Or I'm just the only one getting annoyed by this?
Hi,
This is starting to bug me. I think this started after I tried using the CTags bundle, but a while back the symbol selector on the bottom-right of each window is populated with the full text of the current file instead of the actual syntactic symbols. Any pointers on how to fix this?
Thanks
I recently read this post [1] where it shows how to define a regular expression (using the PCRE) syntax that looks very much like a proper grammar. A reduced example for the post looks like this:
/
(?(DEFINE)
(?<addr_spec> (?&local_part) @ (?&domain) )
(?<local_part> (?&dot_atom) | (?"ed_string) | (?&obs_local_part) )
(?<domain> (?&dot_atom) | (?&domain_literal) | (?&obs_domain) )
)
^(?&addr_spec)$
/x
The three capture groups “addr_spec”, “local_part” and “domain” would be the grammar rules. It uses the (?&name) syntax to refer to another subgroup. TextMate does not support that syntax but supports the following syntax: \g<name>, which the documentation refers to as Subexp call [2]. This syntax seems to have the same semantics. (DEFINE) is something that seems to be PCRE specific and basically means that the following patterns will not be tried to match. It basically gives a place to define subpatterns. I didn’t find anything corresponding in the TextMate regular expression syntax but defining an optional group can be used as a workaround.
Here’s an example where I tried this technique to match a module declaration in the D language:
(?:
(?<module_declaration>(?<module>module)\s+\g<module_fully_qualified_name>\s*;)
(?<module_fully_qualified_name>\g<module_name>|\g<packages>\.\g<module_name>)
(?<module_name>\g<identifier>)
(?<packages>\g<package_name>|\g<package_name>\.\g<packages>)
(?<package_name>\g<identifier>)
(?<identifier>\w+)
)?
\g<module_declaration>
This is exactly according to the specified grammar [3] and it seems to be working as expected. Not sure if the optional group workaround causes some performance implications.
This technique seems like it could be a viable alternative to supporting variables in the TextMate grammar as has been discussed before. What’s missing from this to make it really useful would be something like (DEFINE) in PCRE and a place in the TextMate grammar to place generic patterns used in multiple rules, like a pattern for identifiers.
[1] https://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.ht… <https://nikic.github.io/2012/06/15/The-true-power-of-regular-expressions.ht…>
[2] https://macromates.com/manual/en/regular_expressions <https://macromates.com/manual/en/regular_expressions>
[3] https://dlang.org/spec/grammar.html#ModuleDeclaration
--
/Jacob Carlborg
I've used Whitesmith bracing style for *decades*, and had it kinda-sorta working in TM 1.5.x, though not perfectly. Now I've lost those old settings and for the life of me can't figure out how to get it even close in 2.0. There's clearly something fundamental that I'm missing, but I've spent hours on this off and on over the past few months, and I'm guessing that someone who really understands the rules (and regex) better than I, could get me on the right path in short order. I'd definitely appreciate it.
For those (unfortunate souls) who are not familiar with Whitesmith:
http://en.wikipedia.org/wiki/Indent_style#Whitesmiths_style
Also, just as a general suggestion, it seems like it would be really helpful to have just a handful of "packaged" example indentation rules for the small handful of common bracing styles, i.e. Allman, K&R, Whitesmith, maybe Gnu. Of course it wouldn't be perfect for everyone, but it could be really helpful as a starting point. If you know of such a set of examples, please point me to them (yes, I've looked). Thanks!
Dear all,
Since I moved to a new laptop, I noticed a strange behavior with text-selection in TextMate version 2.0-rc.4 (on Mac OS 10.12.6).
Whenever I have a a text-file open in TextMate 2 and click outside of the window (to activate a terminal window, switch to another program, click on a menu item etc.), this ‘click’ will change my selection in the currently opened file.
So, instead of directly deactivating the window, it still takes the action as input for text-selection.
This is of course very annoying, as it constantly changes my selected text / moves the active line etc. without my intention.
It does not always happen, and does not replicate consistently.
Somehow it seems to depend on the time between my last action in the active textmate window and clicking outside of the textmate window.
Is this known behavior and is there a way to fix it?
Thank you!
I use Textmate to prepare material for classes I teach. Most of what I do
is to write explations formatted with Github version Markdown. When OS 10
came out the formatting failed to produce the styled image. Has anyone else
had this problem?
—Lewy
--
Sent from my icebreaker in the Bering Strait
I've been trying the public beta of macOS Mojave and noticed there are two issues with colors in TextMate.
* With a window open, and the File Browser visible, the color of the vertical line on the left side of the gutter view is darker than the one of the right side. On High Sierra these have the same color.
* When viewing a autocomplete popup/window from a bundle, that is a bundle that is using "TextMate::UI.complete". When selecting an item/row the foreground color doesn't change to white. This makes it a bit difficult to read the text. The same thing happens when selecting an item/row in the bundle editor.
These issues both appear in light and dark mode.
Since the application looks different compared to High Sierra, won't that be considered a bug in the operating system?
--
/Jacob Carlborg
HI:
I installed textmate a few evenings ago and it appeared to be working, but then I went to Finder to preview some Matlab files (.m) and when I clicked on them in the Finder Window Preview Panel (not to be confused with Preview the app), it shows the text that is in the file, but NOT like it used to. Instead of the normal OS-X white background and black text, it shows the text in the same colors and format as TextMate! (Black background, white and drab brown and green text for quoted text etc. ).
How did this happen, in that all I did was install TextMate from the download link.
I’m not feeling a warm fuzzy when an application I install that modifies an operating system function and appearance, when I’m not thinking it should.
Thanks!
Herbert U. Fluhler
256-651-5673 [C]
The feature of wrapping comments (even when line wrap is off) doesn’t work well with my work flow.
Suggestion: Add a preference to not do this.
Otherwise a question: Is there a way to turn this off?
There may be some uses for the Touch Bar in TextMate. (Rather than the dumb things some apps are doing, like adding a button for italic, when cmd-I is so near to hand).
1. Display the current inner-most scope on the touch bar.
2. Button for folding
3. Buttons for bookmark Set, Next, & Prev
3. Perhaps buttons for
1. ^⇧⌘-P (show scope (maybe touching the displayed scope does this)
2. ^⌘-T (select bundle item)
New feature: Add a field to bundle items to allow devs to mark them to show in the Touch Bar?
Best, tim
Hi:
Does anyone know how to input latex math equations in Markdown to be viewed in pdf? For example, I typed $$x_{t}^{h} = 2.3$$ in the Markdown file but the pdf preview does not show the typeset math equation.
Any help would be appreciated.
Tao
Hi,
I’m using TM 2.0-rc.10 on macOS 10.13.6
I bumped into a very rare case which is not handled correctly by TM.
TM can not handle cases when the very first character within a document is a lonely combining (diacritical) character as eg ́ U+0301. I know this should not happen but it can (while copying from other apps or using input methods which aren’t set up correctly, …)
To reproduce this issue you can do the following:
• open a new doc in TM
• open “Character Viewer”
• search for “combining”
• insert ́
Then type some characters and try to
• Select All
• navigate with arrow keys (eg ← many times)
• delete the this first character
• apply some basic text manipulation (from Bundles)
• etc.
Sometimes this character is responsible for crashing TM.
As I said, it’s a very rare case and it’s not urgent but it would be nice if TM can handle that case :)
Cheers, Hans
Hello !
Some time ago I posted a SO question about an [issue](https://stackoverflow.com/questions/50412613/scopeattributes-with-mu… <https://stackoverflow.com/questions/50412613/scopeattributes-with-multiple-…>) I encountered while running both the Strip-Whitespace-On-Save and Ensure-Newline-At-EOF bundles (the latter being the recently added one).
Since that question didn't gather any feedback, maybe I'll have more luck here, hence the "repost".
The gist of the issue is that either 1) couldn't read the manual hard enough to find the correct syntax to use, 2) scopeAttributes really are limited to 1 (which I didn't expect when I spec-ed the attribute thingy in the SWOS bundle).
Thanks for your time !
Regards,
Etienne Samson
--
samson.etienne(a)gmail.com
I use an XHTML template language for my web applications that allows me to
define my own tags such as <s:embed>...</s:embed>. I set the language for
these files to HTML so that embedded stylesheets, scripts, etc. are
formatted correctly.
With HTML bundle update yesterday, these custom tags are now highlighted as
errors with the scope invalid.illegal.unrecognized-tag.html
This has worked great for me for at least the last eight years at least.
This new behavior is rather annoying.
Is there a way that I can avoid the HTML bundle flagging these custom tags
as errors?
Hi y’all.
Are there any plans to bundle a more recent Ruby version in the app?
Ruby 2.5.1 is the latest.
Ruby 1.8.7 ships with the app.
The Ruby Core team has long ago stopped supporting 1.8.x.
They currently only support (security fixes, etc) Ruby 2.3 - 2.5 (and 2.6 preview).
Thanks
Shane
Hello there,
I've been using a tooltip based linter for a while, and recently
occationally the tooltips seem to be sticking around. Has anything changed
with that API, intentionally or otherwise?
Is there a way to clear these tips without relaunching the app?
The follow steps are what I feel might cause the issue, but does not
reproduce regularly. Not sure how to help debug except describe that I
think Save a "lintable" file, switch tabs via the keyboard, then switch
again (possibly switch back?).
I'm using callback.document.did-save, callback.document.did-open as a
trigger, maybe its an edge case of $DIALOG tooltip
and callback.document.did-save or callback.document.did-open?
Thanks for looking,
Graham
--
Thanks,
Graham P Heath
In Hyperlink helper command "Lookup Word / Selection on Wikipedia and link" is broken
Error is
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Mende… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Mend… (RuntimeError)
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open'
from Lookup Selection on Wikipedia and link:19:in `getWikiEntries'
from Lookup Selection on Wikipedia and link:31:in `getWikiDef'
from Lookup Selection on Wikipedia and link:37
Hi,
Under Mojave, applescripts from Textmate to R.app have broken.
I thought this would be fixed by adding TextMate and R.app to the apps allowed to control my computer
(prefs: security: privacy: accessibility)
But seems not. This repro script runs properly from terminal
osascript -e 'tell application "R" to cmd "2+2" '
But from textmate, the script below activates R.app, but doesn’t execute cmd in R…
Any thought?
This is the script of the TM command I use to send the selection to R.app
#!/usr/bin/env bash
# input is selection or document
rawText="`cat`"
curDir=''
if [[ ${#TM_DIRECTORY} -gt 0 ]]; then
curDir="$TM_DIRECTORY"
fi
osascript -e 'on run(theCode)' \
-e 'tell application "R" to activate' \
-e 'if (item 2 of theCode) is not "" then tell application "R" to cmd "setwd('\''" & (item 2 of theCode) & "'\'')"' \
-e 'tell application "R" to cmd (item 1 of theCode)' \
-e 'end run' -- "$rawText" "$curDir"
Hello again,
I've got indentedSoftWrap configured and enabled for json with the
following config:
indentedSoftWrap = {
match = '(\A[ \t]*)';
format = ' ⏎$1';
};
Which works, and I've been enjoying it, but I'm wondering if the special
character could go on the next line?
Right now I've got
{
"someLongKey": "with some really long value that just keeps ⏎
going and going",
}
but I'd like to see
{
"someLongKey": "with some really long value that just keeps
↘︎ going and going",
}
I tried altering the format, but was unsuccessful in getting anything to
appear on the next line.
Thanks,
Graham
--
Thanks,
Graham P Heath
I think I've mentioned this before, but I do wish it were fixed so I'm mentioning it again. Sometimes the global Find dialog shows (correctly) that my search text occurs on a certain line of a certain file but doesn't show the occurrence. In this screen shot, the first two occurrences are listed but the found text is at the end of the line whereas what we are being shown is the start of the line.
The occurrences listings are not horizontally scrollable so there seems no way to learn the context.
As the third line shows, this does work sometimes. It's a great feature and I've come to rely on it, so I do wish it worked all the time.
m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 11! http://shop.oreilly.com/product/0636920107408.do
iOS 11 Fundamentals! http://shop.oreilly.com/product/0636920107415.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hi all,
I've a strange encoding issue.
By default TM uses UTF-8 LF endoding.
When a file contaings spectial charaters, and one edit this file in an other
texteditor, TextEdit, save this file and open in TM again, the encoding
becomes Chinese GB18030.
How to reproduce:
Create in TM a new file with content:
"some text with some special characters: é ü à"
Save this file UTF-8 and LF encoding.
close file
open file in TextEdit and add a new line with some text, save
Reopen the file in TM => now encoding is Chinese GB18030
Does any body have a clue what is hapening? It is special character related!
macOS 10.13.4
TM 2.0 rc9
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
1. Open ⌘⇧-T window
2. Open a file that takes some time to syntax highlight
Expected: newly opened file highlights, and function window populates
Obtained: Spinning wheel of death
Alternative repro
1. Open a file that takes some time to syntax highlight
2. Open ⌘⇧-T window (you probably have a few seconds to do this)
Expected: Function window populates with function list
Obtained: Spinning wheel of death
Version: 2.0-rc.7.
Hello,
I am working on a publication with Language Science Press. and I have
problem compiling the template. I am running Textmate version 2.0-rc.4
on OSX 10.13.4. I have recently upgraded to MacTex 2018. The problem is
that no pdf is created from Textmate. It is a bit odd.
I would like to ask if someone here can try to compile
Language-Science-Press' monograph template which can be downloaded from
here <http://langsci-press.org/templatesAndTools>. (or the directlink
<https://github.com/langsci/latex-skeletons/raw/gh-pages/monographskeleton.z…>).
It works with other editors like Texshop as well as from the command
line. But not with Textmate. On the other hand, I can compile other .tex
files with Textmate. So I am a bit lost as to why this is happening.
Best
Christian
ps: I have tried some general things from a previous discussion in this
mailing list _and they worked fine__for me_:
After that I translated the following document:
\documentclass{article}
\begin{document}
Test
\end{document}
in TextMate without any problems. Could you please try the following:
1. Create a new file in TextMate
2. Paste the LaTeX code from above into the document
3. Save the file in the folder `Downloads` using the name `Test.tex`
4. Open Terminal
5. Enter the following commands:
cd ~/Downloads
latexmk -pdf Test.tex
6. Does the command `latexmk -pdf Test.tex` print any error messages?
7. Does the folder `Downloads` contain the PDF file `Test.pdf`?
I’ve recently moved to a new machine (an iMac Pro), and have successfully installed Texlive 2017 and TextMate. When I use other LaTeX editors, I can successfully typeset LaTeX files, but not when I use TextMate. I typeset in the old fashioned dvips->ps->pdf way, and the problem I seem to be having is with the ps2pdf utility, that finishes the conversion of the file from postscript to pdf. The error message says that this utility has run too many times. When I view the postscript file that is created during this process, it looks fine and I can get Preview (and Skim) to translate it into a pdf.
Because other editors can typeset fine, I’m thinking that there is something wrong with the way that TextMate calls the ps2pdf process on my machine. Has anyone experienced this problem?
Thanks in advance,
Kyle Johnson
Both are system, macOS, limitations for QuickLook.
For the second point, I believe, and I’m sure someone here will correct me, the images and videos that are supported formats (that is handled natively by macOS, don’t seems to have this issue. If the image or video format requires/relies on external app’s quicklook abilities then those will exhibit the same behavior.
Best,
Farhan
> On Mar 25, 2018, at 4:08 PM, Christian Rosentreter <karibu(a)gmx.net> wrote:
>
> * It cuts off files at a certain amount of lines. This wouldn't be so bad by itself, but there
> is zero visual indication that the displayed text is cut off (something like a special coloured
> ellipsis symbol at the end, or something)
>
> * if the system is under load (say something else, e.g. a raytracing application, is using 100%
> CPU) I only get the spinning indicator in the QL window and it never manages to actual display
> the text. It is as the TextMate QL generator runs with such low priority it doesn't get a share
> of CPU by the OS. Other file types (images, even videos) don't seem to share the same problem.
Hi,
I have a command (copied below) which grabs the paths of the selected items in the Finder, and inserts them into a textmate doc.
I'd like to do some post-processing of the result (replace e.g. replace "/Users/.*/" with "~", and strip trailing return character.
How does one take the resulting string from a script, and process it, say, in php or bash. or should I just work on post-processing theList in applescript?
Thanks!
#!/usr/bin/env bash
osascript -e 'tell application "Finder"
set theFiles to selection
set theList to ""
repeat with f in theFiles
set theList to theList & "\"" & POSIX path of (f as alias) & "\","
end repeat
return theList
end tell'
Revert to RC7. RC8 has this breakage trying to deal with files that
have no extensions.
--
Marc Wilson
msw(a)cox.net
On Thu, Mar 22, 2018, at 6:13 AM, Rob McBroom wrote:
> After the last update, I noticed some garbled Quick Look previews in
> my Downloads folder.>
> I’m pretty sure it results from this commit:
> https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…> As you can see form the image, it doesn’t seem to affect all files,
> but I would argue that no application should claim Quick Look support
> for every file in existence.>
> --
> Rob McBroom
> http://www.skurfer.com/
>
>
> _________________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
Yes. I’ll second this. Having the same issue. Is there a better way to resolve the issue, as it is stated in the commit message?
Best,
Farhan
> On Mar 22, 2018, at 9:13 AM, Rob McBroom <mailinglist0(a)skurfer.com> wrote:
>
> After the last update, I noticed some garbled Quick Look previews in my Downloads folder.
>
> <Screen Shot 2018-03-22 at 9.06.59 AM.png>
>
> I’m pretty sure it results from this commit:
>
> https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…
>
> As you can see form the image, it doesn’t seem to affect all files, but I would argue that no application should claim Quick Look support for every file in existence.
>
> --
> Rob McBroom
> http://www.skurfer.com/
After the last update, I noticed some garbled Quick Look previews in my
Downloads folder.

I’m pretty sure it results from this commit:
https://github.com/textmate/textmate/commit/fd827fb8179cd74e553680d605d2172…
As you can see form the image, it doesn’t seem to affect all files,
but I would argue that no application should claim Quick Look support
for every file in existence.
--
Rob McBroom
http://www.skurfer.com/
Hi all -
Something's gone wonky with my Javascript bundle (and only that one, as far as I can tel)l. Every time I hit cmd-/ to comment/uncomment some text, it uses an unindented block comment instead of the double-slash single line comment I expect. ("/* */", rather than "// ")
So:
" this line"
becomes
"/* this line*/"
when what I want and expect is
" // this line"
I suspect this has to do with some way I've edited the language bundle incorrectly. Does anyone know
A) how I could fix this particular issue, or
B) how I could remove all my changes to the Javascript bundle and revert simply to the repo version?
Cheers,
Evan
I’m been starting to use go-to-definition commands more and more in TextMate. One thing that would be really nice is if there was a way to navigate back to the location where I invoked go-to-definition. I quite often look up the source code of a symbol that I’m using with the help of go-to-definition and then need to get back to where I was coding. If go-to-definition opens a new file it’s pretty easy to get back to the previous location by just closing the newly opened file. But if the definition is in the same file it’s not that easy to get back. One idea would be set a mark when go-to-definition is invoked, then use Jump To Next/Previous Mark. The problem with that is that there might be different marks, like marks set by compiling the code. These marks will now interfere with go-to-definition marks. It’s also quite difficult to build up a stack, allowing to navigate backwards and forwards with these marks. Since navigating between marks will, I think, in the order they’re located in the document, not the order they were created or any other user defined order.
Ideally this would be a built in feature in TextMate, making it possible to navigate backwards and forwards regardless if the “mate” command, the Jump to Line or any other feature was used to navigate the code.
--
/Jacob Carlborg
Hi all,
I can’t push/pull using the Mercurial bundle, I get the following error:
“abort: no suitable response from remote hg!” (In a tool tip.)
It works fine on the command line and other commands, like commit and diff, works fine from TextMate.
Any ideas about how to debug this?
Cheers,
Tuk
macOS 10.13.1
I've also tried changing the shebang of gen_html to so it uses ruby 2.4.2 (from Homebrew) and the result is the same. Anyone else hitting this? Any workaround?
[266/740] Generate ‘/Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html’…
FAILED: /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html
bin/gen_html > /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html~ -h Applications/TextMate/templates/header.html -f Applications/TextMate/templates/footer.html Applications/TextMate/about/Contributions.md Applications/TextMate/references.md && mv /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html~ /Users/dfelicia/build/TextMate/Applications/TextMate/TextMate.app/Contents/Resources/Contributions.html
/System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:861:in `eval': (erb):18: syntax error, unexpected &, expecting end-of-input (SyntaxError)
; ></p>
^
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:861:in `block in result'
from /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib/ruby/2.3.0/erb.rb:862:in `result'
from bin/gen_html:29:in `expand_tpl'
from bin/gen_html:114:in `block in <main>'
from bin/gen_html:114:in `open'
from bin/gen_html:114:in `<main>'
[275/740] Compile xib ‘Applications/TextMate/resources/English.lproj/MainMenu.xib’…
ninja: build stopped: subcommand failed.
I tried completely cleaning up, and also worked around the annoying ns/ns.h issue that was previously reported to this list, but the results is the same:
rm -rf ~/build
rm -rf ~/github/local/textmate
cd ~/github/local
git clone https://github.com/textmate/textmate.git
cd textmate
git submodule update --init
sed -i.bak 's%<ns/ns.h>%"/Users/dfelicia/github/local/textmate/Frameworks/ns/src/ns.h"%g' /Users/dfelicia/github/local/textmate/Frameworks/OakFoundation/src/OakFoundation.mm
./configure
ninja
Hi,
I'm trying to fix the textmate2 port in MacPorts. It fails to build on OS X 10.10 and earlier, and I think the reason is that the code uses Objective-C lightweight generics, a feature introduced in the 10.11 SDK. So I would like to instruct the build to use the 10.11 SDK, but I can't figure out how to do that. Usually I would set environment variables:
CFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
CPPFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
CXXFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
LDFLAGS='-Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
OBJCFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
OBJCXXFLAGS='-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk'
But textmate's configure script isn't an autotools one and it doesn't appear to honor these environment variables. So how can I tell the build system I want to use a different SDK? I see that the configure script explicitly passes CC and CXX to bin/gen_build. Do I need to modify the configure script to also explicitly pass the other environment variables or is there an easier way that doesn't involve modifying the build system?
Dear all,
When parsing large amount of text from textmate2 to the terminal, it sometimes happens that strange parsing errors occur.
Line breaks, white space, or symbols are arbitrarily not send correctly to terminal.
For example; this line in textmate:
col <- ifelse(…
ended up like this in terminal:
col <col <cse(...
Hence, whenever I want to run multiple lines of code, I end up with errors, which makes it very difficult to work with textmate in combination with terminal.
I use the following command to parse the selected text to the terminal:
#!/bin/bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && . "${TM_SUPPORT_PATH}/lib/bash_init.sh"
rawText="$(cat | sed 's/ / /g;')"
#rawText="`cat`"
osascript -e 'on run(theCode)' \
-e 'tell application "Terminal" to activate' \
-e 'tell application "Terminal"' \
-e 'do script theCode in window 1' \
-e 'end tell' \
-e 'end run' -- "$rawText”
Thanks for any help and advice!
Dear TextMate,
Hello,
I can't find the advanced preferences menu indicated in the document below.
https://manual.macromates.com/en/saving_files.html
Where is it? Should I do something special to show it up? I am using
TextMate version 2.0.
Thank you
Hi,
is there a way to show git changes in the gutter (next to the line numbers)?
In the file browser you can see the changes of files, but it would be nice
you can also see the changes next to the line numbers in the gutter.
== Feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hi all,
I’ve been a loyal TM1 user for years who has resisted migrating to TM2 because I was waiting for key features like live, editable HTML preview. (I’m still on Firefox 56 too, so a bit of a plugin addict.)
A few restarts after migrating to High Sierra I noticed a "Software Update" prompt in TM1. (I’m now running 1634.) I thought that was odd as I assumed development had ceased on TM1, and am curious what that is.
I’ve also read that Apple will soon disallow 32-bit applications in a future MacOS update. Am I right in assuming that will force me to use TM2?
Since I’m a bit out of the loop about active TM development these days, has anyone added the ability to view and/or edit HTML in a live Web preview?
Thanks for any advice!
jon
Hi all, I am new to TextMate, and not sure if it's appropriate to ask a
question about embed language here.
I have a language needs to embed JSON language syntax highlight. However,
unlike most languages to have an specific identifier to mark the embed
language scope like Markdown:
```json
{"hello": "world}
```
Here, for markdown language, the begin is ```json, and the end is ```. The
contents between begin and end are real JSON.
However, in my own language I just treat a line starts the { and [ as a
JSON, since they are the begin characters of a valid JSON. And for my case,
the end is the empty line. So the difference is that the matched line of
begin regex also should be treat as the JSON language so that I can include
source.json. But I don't know how to achieve this.
Thanks in advance.
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hi,
is there a quick way to transform for instance
[Role, User, UserRole, SourceAddress, BulkMessage, Message, SingleSMSTemplate, Company, Contact]
into
[
Role,
User,
UserRole,
SourceAddress,
BulkMessage,
Message,
SingleSMSTemplate,
Company,
Contact
],
?
(In this case it's Python but it could be more or less any language.)
I do this so often manually, there must be a better way?
Thanks,
Tuk
Hello,
I absolutely love the feature introduced in TM 2 with Lion: being able
to reopen all the windows [1] after any expected or unexpected events
(rebooting, upgrading, crashes, ...).
What I miss in TextMate though is reopening the windows in the same
desktop where they were before closing the app.
I often have up to 100 files opened at the same time, spread across a
number of desktops and I only reboot the OS about once in a month. But
after every reboot or TM upgrade, I need to sort the windows manually
again which is a bit annoying.
Terminal windows open in exactly the same desktop where they were
closed, the web browser (Chrome) sadly doesn't respect that, about
other software I don't care. I would really love it if TextMate would
remember in which desktop the windows were last opened and reproduce
the exact state after relaunch. I don't know how difficult it would be
to implement that change though.
What do others think about it? Should I enter the feature request in
the tracker?
Thank you,
Mojca
[1] https://support.apple.com/en-us/HT204005
Hi all,
Having received some TeXLive updates recently, I am now unable to use cmd-R in TextMate to typeset. Whichever .tex I try (in this case Reason. tex), I just get
Command latexmk -pdf -f -r /tmp/latexmkrc -r '/Users/robertmilton/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/config/latexmkrc' Reason.tex exited with status 127
Is anyone else having this problem, or does anyone know how to fix it?
Regards
Robert
When I use Find In Project, the Replace and Replace & Find buttons are now
always grayed out. So that feature is completely unavailable to me.
Am I doing something wrong? Has something changed in TextMate regarding
this? Anyone else having this problem.
Hello,
Every so often the UI will hang. This is a new development and has started about a week or so ago. I don’t think anything has really changed on my end. It occurs when moving my text cursor around or when bringing up the find window. I’m sure there are other things that cause it to occur, but I can’t think of them at the moment. It doesn’t happen every time but it happens enough to be annoying.
Any help would be appreciated.
Thanks!
Hi all,
I have found (I think) an intermittent problem with the find panel in TextMate. I’m using 2.0-rc.4. What is happening is that the next button of the find panel always find (stay) on the same text search in the source instead of going to the next text selection. I’m using it for editing C Code.
Like I said is very intermittent, it happens only sometime in 1 in 40 each time I use the search function. Maybe I just not found out what is triggering this behaviour.
Thanks,
Yann Bourdeau, M.Ing.
Senior Software Developer
438-499-4607
yann.bourdeau(a)noviflow.com
I knew there was a reason I subscribed to this list—I’m not a power user; but once every few months a tidbit like this comes along. Thank you. I found the default response confusing and annoying. But no doubt others like this feature. Nice to know we have choices.
Greg
> Curt Sellmer <sellmerfud(a)gmail.com <mailto:sellmerfud@gmail.com>> wrote:
>
> You can change this default behavior by quitting TextMate and using the
> following command in Terminal:
>
>
> defaults write com.macromates.textmate alwaysFindInDocument 1
>
>
> When you restart TextMate it will always perform the find in the Document
> even if there is current a selection.
Apologies for the self-promotion but I thought this may be interesting to some of you. I’ve seen Atom and Sublime Text linting plugins and I was wanting something similar for TextMate so wrote my own plugin:
https://github.com/MikeMcQuaid/Linter.tmbundle
Give me a shout if you like this or have feedback. If there’s enough interest I’d like to try and submit this to be an official TextMate plugin in future.
Thanks!
Mike McQuaid
http://mikemcquaid.com
I see the file in ./Frameworks/ns/src/ns.h, perhaps that framework needs to be built first?
I am sure I can haxor it to work, but would rather not get onto that slippery slope, have been using mate for like 9 years now, and there are some things I would like to fix in 2.0rc4 or at least test to see if they are fixed in master.
Output:
UpLk Prod[textmate] $ ./configure && ninja
rm /Users/gplayer/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem
bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777
[1/1] Generate ‘build.ninja’…
bin/gen_build:477: warning: Insecure world writable dir /Applications/microchip/xc16/v1.22/bin in PATH, mode 040777
ninja: no work to do.
ninja: no work to do.
[1/9] Compile ‘Frameworks/OakFoundation/src/OakFoundation.mm’…
FAILED: /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o
xcrun clang++ -include /Users/gplayer/build/TextMate/Shared/PCH/prelude.mm -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.9 -funsigned-char -D'NULL_STR="\uFFFF"' -DREST_API='"https://api.textmate.org"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -IShared/include -fcolor-diagnostics -DNDEBUG -Os -flto=thin -I"/usr/local/opt/libressl/include" -I"/usr/local/include" -fvisibility=hidden -std=c++14 -fobjc-abi-version=3 -fobjc-arc -fobjc-call-cxx-cdtors -o /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o -MMD -MF /Users/gplayer/build/TextMate/Frameworks/OakFoundation/src/OakFoundation.o.d -I/Users/gplayer/build/TextMate/include Frameworks/OakFoundation/src/OakFoundation.mm
Frameworks/OakFoundation/src/OakFoundation.mm:3:9: fatal error: 'ns/ns.h' file not found
#import <ns/ns.h>
^
1 error generated.
[8/9] Compile ‘Frameworks/updater/src/updater.cc’…
ninja: build stopped: subcommand failed.
hyperlink helper has been broken for some months
Failure running “Lookup Selection on Google and link” gets a forbidden redirect, “Lookup Selection on Wikipedia and link”.fails:
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Obitu… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Obit… (RuntimeError)
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open'
from Lookup Selection on Wikipedia and link:19:in `getWikiEntries'
from Lookup Selection on Wikipedia and link:31:in `getWikiDef'
from Lookup Selection on Wikipedia and link:37
Hi,
I'm using a bundle that runs a node process on save to run eslint, but now I've found a strange case where a certain piece of invalid javascript causes TextMate to crash.
From what I understand from the crashlog there's something going wrong in JavaScriptCore, which causes TM to crash. (crashlog "Anonymous UUID" A6388CF6-BEC3-74D3-1176-D1710B8004B0 (is this usable?))
I can imagine that even when a subprocess fails, TM should not crash?
The particular bundle is my modified version of the javascript-eslint bundle <https://github.com/koenpunt/javascript-eslint.tmbundle/tree/js/>. The problematic code is (and can be used to reproduce the crash):
switch (true) {
case 'background':
}
default:
}
– Koen
Sent from Mailspring (https://link.getmailspring.com/link/local-6f2fd5cb-35f7@Ks-MacBook-Pro-2.lo…), the best free email app for work
I recently purchased a new Mac. I copied Textmate along with the
Application Support folder over from my old Mac.
Everything works fine. I noticed that at the top of each editing window is
a button called "Add License".
When I click this button it Shows my Name and my License. However the
License textbox is greyed out and the "Add License" Button is disabled.
Is there a way that I can re-enter my license so that this button goes away?
There was this, which Infininight said is being patched, but I wasn’t
clear whether it was a fix in a bundle (looks like it is), or whether it
was in core.
13:01 mwilson: allan: https://twitter.com/_nb/status/91112623863850598914:05 allan: Infininight: are you seeing ↑
14:05 allan: I’m not on 10.13 yet
14:05 allan: and I can’t really think of what’s causing that…
14:16 Infininight: allan: hmm, not even sure how you would trigger a dialog like that if you wanted to?14:17 Infininight: outside of using tm_dialog that is
14:24 Infininight: ok, found the issue; will get a copy of 10.3 to fix
00:34 gina has joined (~gina(a)_192.30.252.41_)
00:34 gina: [bundle-support.tmbundle] infininight pushed 1 new commit to master: https://git.io/vdTxi00:34 gina: bundle-support.tmbundle/master 6e6188a Michael Sheets: Update ruby support for High Sierra...00:34 gina has left ()
--
Marc Wilson
msw(a)cox.net
On Mon, Sep 25, 2017, at 11:22 PM, Andrew Cohen wrote:
> Are there any known issues with Textmate on 10.13 or is it safe to
> upgrade? Are there concerns with APFS, for example?>
>
> Thank you,
>
> * -Andy*
>
> _________________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
Thank you. Now makes sense why they aren’t consistently created. Sometimes I do edit with files on my hard drive and then sync them to the flash card. (I had started to edit on the card to avoid the added step of ensuring syncing).
I’ll think about revising my workflow, particularly since others have to look at my flash drive from time to time. I’m still adjusting to working on Windows and some other complications of the project.
Greg
>
> I think the the technical term is "AppleDouble" files.
>
> https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats <https://en.wikipedia.org/wiki/AppleSingle_and_AppleDouble_formats>
>
> They get created anywhere the underlying filesystem doesn't provide resource forks, or extended attributes (which is mostly anything not HFS+). Since TextMate uses those extended attributes to stash some relevant (like the cursor location), this causes them to appear more frequently.
>
> If you're using git, you should definitely setup a global exclude file with a few of those macOS-specific patterns. See https://www.gitignore.io/ <https://www.gitignore.io/> for some helpful ones.
>
> Another way would be to edit your project on an HFS+ drive* ? you'll get those pesky .DS_Store anyway, but at least the ._ files shouldn't appear.
> * I'm only suspecting you do, since AppleDouble files are unneeded on HFS+.
>
> Regards,
> Etienne Samson
> ————
> TextMate is using extended attributes, which were introduced in 10.4 (I think) and which are also stored in doubles on filesystems that don't support them natively.
>
> -Martin
Matt
Thanks for the response. I never noticed these files before. Are they created by TextMate, because I don’t see them anywhere else. Or are they created when load the thumb drive on the Windows machine? From the linked discussion in another response I gather it’s TextMate storing some other information, but they don’t always seem to be created. Does TextMate need them or use them? I ask because maybe I don’t want to delete them.
I see them also using Transmit (an ftp app).
Greg
> On Sep 24, 2017, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> This is not a TextMate question. It's just how Macs work. Those are resource forks, which Windows can't comprehend. See for example https://superuser.com/questions/851373/hide-macs-dot-underscore-files-on-a-… <https://superuser.com/questions/851373/hide-macs-dot-underscore-files-on-a-…>
>
> m.
>
>> On Sep 23, 2017, at 9:48 AM, Greg <web(a)web.knobby.ws <mailto:web@web.knobby.ws>> wrote:
>>
>> Is TextMate adding files with a leading period and underscore in front, for example, ?._styles.css"?
>>
>> I?m using TextMate for a class that mostly Windows and all these extra files show up when I?m on Windows as well as other apps which show invisible files. This doubles the apparent number of files.
Is TextMate adding files with a leading period and underscore in front, for example, “._styles.css"?
I’m using TextMate for a class that mostly Windows and all these extra files show up when I’m on Windows as well as other apps which show invisible files. This doubles the apparent number of files.
Greg
I know that you can rig TextMate 2 to trim trailing space on save by
editing the Text -> Converting / Stripping -> Trim... bundle by
changing the semantic class (or creating a whole new bundle). It works
well, but I was wondering if there are any plans to add this as an
option in the preferences (with a checkbox, etc.) for convenience?
It's a rather common one to have that's found on most other editors
I've seen, and it would be super cool to not have to mess with the
bundles for such a basic thing.
Kind regards,
- g
Hi all,
This might be a stupid question: Is there a way in TextMate 2 to cut, and then uncut(paste), the current line with 2 keystrokes? I.e, similar to the nano commands ‘Ctrl-k’ and ‘Ctrl-u’? As opposed to: select the current line, cut, then paste.
Thanks in advance.
Promote away. Thank you.
> On Sep 18, 2017, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Subject: [TxMt] Linting functionality for TextMate
> Message-ID: <D0C4F4EF-1C59-4999-A842-E8646270D387(a)me.com <mailto:D0C4F4EF-1C59-4999-A842-E8646270D387@me.com>>
> Content-Type: text/plain; charset=utf-8
>
> Apologies for the self-promotion but I thought this may be interesting to some of you. I?ve seen Atom and Sublime Text linting plugins and I was wanting something similar for TextMate so wrote my own plugin:
>
> https://github.com/MikeMcQuaid/Linter.tmbundle <https://github.com/MikeMcQuaid/Linter.tmbundle>
>
> Give me a shout if you like this or have feedback. If there?s enough interest I?d like to try and submit this to be an official TextMate plugin in future.
>
> Thanks!
>
> Mike McQuaid
> http://mikemcquaid.com <http://mikemcquaid.com/>
Works here, as they say.
--
Marc Wilson
msw(a)cox.net
On Sun, Sep 17, 2017, at 11:09 AM, George McGinley Smith wrote:
> Yes, it's supposed to pop out the changes in the commit. Do you have
> customisations in your Git bundle? I also had the same issue and
> reverting to the default bundle fixed the issue for me.>
> On Sun, 17 Sep 2017 at 19:56 Matt Neuburg <matt(a)tidbits.com> wrote:
>> When you do Command-Y and Log, and the commits are listed with plus
>> buttons at their left, are those plus buttons supposed to _do_
>> something, like show the diff? They don't.>>
>> m.
>>
>> --
>> matt neuburg, phd = http://www.apeth.net/matt/
>> pantes anthropoi tou eidenai oregontai phusei
>> Programming iOS 10! http://shop.oreilly.com/product/0636920055235.do>> iOS 10 Fundamentals! http://shop.oreilly.com/product/0636920055211.do>> RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
> _________________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
I'm getting the following error from the LaTeX documentation command:
Traceback (most recent call last):
File "/Users/tim/Library/Application Support/TextMate/Managed/Bundles/LaTeX.tmbundle/Support/bin/texdoc.py", line 223, in <module>
shell=True).strip()
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command 'texdoc %' returned non-zero exit status 1
The command source code is:
#!/usr/bin/env bash
[[ -f "${TM_SUPPORT_PATH}/lib/bash_init.sh" ]] && \
. "${TM_SUPPORT_PATH}/lib/bash_init.sh"
. "${TM_SUPPORT_PATH}/lib/webpreview.sh"
html_header 'Package Documentation'
echo '<p><small>Hint: Cursor on package name shows doc for package.
Otherwise show package doc browser.</small></p>'
texdoc.py
My environment is
OS high Sierra beta
Has anyone else tried out the High Sierra beta and experienced performance
issues with the Quick Look plugin?
When I put a folder full of .h and .m files into Icon view in Finder, Quick
Look started taking up 100% CPU. Seems like there must be some infinite
loop, but I haven't investigated the root cause yet.
Jacob
when I type a quote or a left paren when using the fortran bundle, it automatically inserts a matching quote or paren and leaves the cursor between it and the one i typed myself.
i can see that some users will love this and find it very useful. if just find it annoying and a nuisance. i notice that this “helpful” behavior is not present in Plain Text, but I’d like to use the fotran bundle, just without the automatic addition of matching quotes and parens.
there was nothing obvious in the details of the fortran bundle, so I’m asking for help on how to manage this.
thanks
bill
I recently upgraded to State 15 and am using an older Stata bundle that worked with Stata 14. I am trying to understand how to make Textmate 2 run Stata 15 from within the Stata bundle, but am having trouble figuring it out.
Hello
Just wondering about the likelyhood of getting
https://github.com/textmate/git.tmbundle/pull/36 merged? I have been
running with local delta updates since creating that PR but have recently
run into issues which removing my customisations has fixed, rather than
having to go through and re-update the bundle, if we could get this merged
that would likely solve 80% of my required changes as it's one of my more
frequently used git commands.
Thanks,
George
I think TextMate’s bundle index should include a RuboCop bundle.
Disclaimer: I wrote a RuboCop bundle myself, and there are at least
three more that I know about:
1) https://github.com/mrdougal/textmate2-rubocop
2) https://github.com/goyox86/rubocop-tmbundle
3) https://github.com/fazibear/Rubocop.tmbundle
4) My bundle: https://github.com/noniq/RuboCop.tmbundle
1) and 2) seem stale (last commit in Nov resp. Dec 2014). 3) and 4) are
actively maintained.
One of the differences between 3) and 4) is that 3) supports different
gutter marks for different severities, while 4) only uses a generic
warning mark. On the other hand, 3) seems to only ever work on the
current file, while 4) uses the filebrowser selection (if any, similar
to the Git bundle for example).
In
https://github.com/textmate/ruby.tmbundle/pull/99#issuecomment-296400597
ff. there was discussion if the Ruby’s bundle already existing “Validate
Syntax” command should be changed / extended to use RuboCop (if present)
– this could be an alternative to adding an “official” RuboCop bundle.
Happy to hear your opinions!
Stefan
Looking at the code, TextMate appears to start with a list taken from
“Find in Folder Globs.default”, which doesn’t exist, so it falls
back to hard-coded defaults.
I find myself adding the same patterns to almost every project so I’d
like to change the defaults.
Is there a way to set that via `.tm_properties` or do I just have to add
a key named “default” to `com.macromates.TextMate.plist` manually?
Thanks.
--
Rob McBroom
http://www.skurfer.com/
Hi,
This week I installed Textmate 2.0 beta, and I am still learning a lot. One of the things I found myself wishing for was the ability to change some features of the themes I found most to my liking. Google got me to pages such as this (https://manual.macromates.com/en/themes <https://manual.macromates.com/en/themes>), referencing "Preferences → Fonts & Colors”, which I can’t find in Textmate; perhaps the manual does not apply to the version I installed?
Is there any (GUI-based much preferred) way of building a theme (modifying an existing one) in my installation? If not, should I perhaps uninstall Textmate and install an earlier version? If so, which?
Thank you.
Nicolae
I know it’s hard to keep old webpages up but it would be helpful if a banner could be put up on the TM 1 pages with a link to TextMate 2 info. The linked page looks “official,” so even more important. I’m far from a power user and am discouraged from exploring TM when I run into these pages without knowing which version they apply to.
Near top of page might be something like: “This page is about TextMate version 1. For TextMate 2 documents check <here> For the status TextMate 1 and 2 read< here>.” Probably should be stuck to top of page in case the link puts someone part way down the page.
> On Jul 22, 2017, at 6:00 AM, textmate-request(a)lists.macromates.com wrote:
>
>> (https://manual.macromates.com/en/themes <https://manual.macromates.com/en/themes> <https://manual.macromates.com/en/themes <https://manual.macromates.com/en/themes>>), referencing "Preferences ? Fonts & Colors?, which I can?t find in Textmate; perhaps the manual does not apply to the version I installed?
>
> That link applies to TextMate 1.
Hi there,
I upload generally the new versions of lftp with ‘brew'. But it is able to install this morning only the version 4.7.7
(Command in a the terminal of a Mac : 'brew install lftp’ - with link problems but it is easy to fix it)
Do you know of this new version is now included in ‘brew' and how I can find it?
Tkx
--
Bernd J.
I recently started to notice that the HTML output window often (not
always) no longer automatically scrolls down when new output is appended
(eg. from a build task thats running for several seconds).
Anyone else noticing this?
Stefan
Hello all,
I'm looking to fix up the old TextMate Python Jedi completion bundle.
The docstring viewer command returns this error.
Setting or variable 'fontName' not found
Traceback (most recent call last):
File "Docstrings for word", line 10, in <module>
completion.show_docstrings()
File "/Users/myaccount/Library/Application Support/TextMate/Pristine Copy/Bundles/python-jedi.tmbundle/Support/completion.py", line 132, in show_docstrings
font_name = subprocess.check_output([tm_query, '--setting', 'fontName']).rstrip() or "Menlo-Regular"
File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 573, in check_output
raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['/Applications/TextMate.app/Contents/Resources/tm_query', '--setting', 'fontName']' returned non-zero exit status 69
This is because the CLI command says no such key exists.
/Applications/TextMate.app/Contents/Resources/tm_query --setting fontName
Setting or variable 'fontName' not found
Is there a modern alternative to fontName?
Or, even better, a reference for that and other keys?
thanks!
JJ
Hi Josh,
(I apologize for my replies to be attached to the wrong places in the thread. I have just figured out how to turn off the digest format. Please bear with me until the changes take effect.)
> Thanks for pointing this out! I agree that in 2017 we should
> be taking security seriously. I'd love to learn though, what
> are some good ways to set up vetting and security policies?
Off the top of my head:
1. Create an organization on GitHub, and move the repo there. Or maybe get another GitHub organization (TextMate?) to adopt it. This ensures that in the long run, more than one single person has the power to grant or revoke _Owner_ and _Maintainer_ privileges.
2. You have already mentioned a very effective measure: make it a policy to not allow `sha256 :no_check` without good reason. For TextMate bundles, this means in practice: always pin your Cask to a release; in cases where upstream does not issue releases or tags, pin the Cask to the latest commit instead; do not point to nightlies, or to upstream `head`; in case users really want it, create a separate tap for nightlies within the same GitHub organization.
3. On GitHub, enable forced reviews for any commit on the master branch; also, tick the box that says this actually covers anyone’s commits, including the owner’s. Configure the GitHub repo so any single maintainer has veto rights against merging. Make regular audits to ensure these setting are still in place.
4. Have two maintainers at the very least, and grant them the _Maintainer_ privilege to make #3 technically possible.
5. In the `url` stanza, do not allow domains where the maintainer can’t reliably determine who has control over the domain. For example, if the author of `Foomatic.tmbundle` offers their releases only via a Dropbox link, maintainers will not be able to keep track of authenticity as updates get released.
6. Do not be afraid to refuse a Cask if it fails to meet those standards for whatever reason.
7. On the GitHub organization level, grant the _Owner_ privilege to at least one more maintainer. Not only does this help keep the organization alive in case the original owner fails to be responsive, or fails to fulfill their duties, it also allows for quick reaction in case another owner’s account be ever compromised.
8. Speaking of compromised: enforce that anyone with _Maintainer_ or _Owner_ status have two-factor authentication enabled for their GitHub accounts. Make regular audits to ensure everyone continues to comply.
9. Check the contributions of anyone before you grant them _Maintainer_ status on the GitHub organization. Ensure that a person is trustworthy before you grant them _Owner_ status on the GitHub organization.
10. When creating or reviewing a Cask, make sure it contains a line that says e. g.,
# downloads.example.com was verified to be a canonical download
# site at the time it was first introduced to this Cask
On each update, double-check whether the `url` stanza still points to the same domain name as the one in the comment.
11. On each update, download the payload from the given source, and verify the updated SHA256 matches the downloaded file. (It’s OK to automate this.) When generating the hash, never use plain HTTP to download the file if it’s also available via HTTPS from the same source.
12. Use common sense before you grant anyone commit access or other privileges.
Regards!
Claudia
Hi,
> Homebrew wants to own /usr/local as if nothing else is there.
That’s what Homebrew _used_ to do. These times are long gone.
(FULL DISCLOSURE for anyone who’s late to the party: Caskroom member here, with a few ties to the Homebrew project.)
I have also used MacPorts, and I see how you prefer the `/opt` approach. Homebrew has come a long way to play as nice with everyone as MacPorts does today. Homebrew now lives exclusively in `/usr/local/Homebrew`. It installs packages into `../Cellar` and `../Caskroom`, and occasionally into `/opt` if it makes more sense. Anything else in `/usr/local` is free for anyone. I believe that for a package manager, this behavior is adequately modest.
If you’re unsatisfied with the fact that Homebrew puts individual things into `/usr/local/bin` and under `/usr/local/lib`, then you might want to consider that the FHS has made them for exactly that purpose. Package managers on most Unix-ish OSes keep some stuff inside `/usr/local/bin` and `/usr/local/lib` because that’s what those directories were made for.
With `brew link`, Homebrew invites all and any software to make use of its infrastructure, such as creating and maintaining symlinks for you so your software won’t have to. That’s purely optional though; anyone is free to completely ignore Homebrew, and have their software do its thing anywhere at their own discretion, and that includes `/usr/local`.
> Many package managers do not really have strong vetting
> or security policies. Homebrew is one of those.
This is actually a quite important point you’ve made; I wish more people were aware of this!
You are mostly correct, The Homebrew project is one of those package managers for a reason. Homebrew doesn’t want to be a software discovery service. Instead, it wants Homebrew users to make their own informed decisions as to whether they want to install a particular package or not.
If `foobinator` is a known spyware, but at the same time notable and popular enough that users want a `foobinator` formula to be in Homebrew, then in Homebrew that formula be.
The bottom line for users is: Do your homework before you decide to trust a particular software, with or without Homebrew. Homebrew wants that decision to be up to you, and only you.
That said, Homebrew does have vetting processes in places. Not only does it support GnuPG signatures, it also enforces SHA256 hash verification for all formulas who include such a hash, which most formulas do. Whenever a formula needs to be updated, the tap maintainer double-checks that it still points to the same trusted upstream domain. The maintainer also downloads the payload from that trusted source, and verifies the updated SHA256 matches the downloaded file. This is not to make any guarantees that the software is safe to use. It is for you to be sure that you’re installing the exact same thing the tap maintainer has personally downloaded from an official source of the upstream package.
Speaking of trust, my impression so far is that contributors are vetted quite carefully before they are granted commit access. Even when such access is granted, the project’s GitHub repos enforce reviews before anything gets merged into master branches, which are also the branches that get released to the public. Recently, the Caskroom organization has introduced a policy that requires every maintainer to use 2FA for their GitHub account.
Of course, none of all those measures will guarantee 100 % security. Nor will any of it withstand any sufficiently sophisticated attack. But it’s enough to make me personally feel very safe using Homebrew and all its official taps. (CAUTION: as I have already stressed a number of times, the `claui/textmate` tap is NOT an official Homebrew tap, and will probably never be.)
> I am just not sure unmanaged homebrew github repos is the thing.
I can’t think of a reason for anyone to use an unmanaged tap. It absolutely needs to be properly maintained.
Until some individual or organization is going to step up and adopt the tap, or we as a community figure out that a Homebrew tap might not fit our bill at all, I’ll gladly continue to help maintain it in the meantime as my time allows. Needless to say, I’m committed to the same standards and degree of diligence as I’d expect from any maintainer of a source from which I download and install executable software.
What the repo needs most right now is more contributors and more maintainers. It needs people to add content so it becomes actually useful, and make people try it out. More maintainers means that we’d have forced reviews enabled for the entire master branch similar to the official taps, including veto rights for every maintainer. This is very important for security; as of right now, the repo is not safe to use because it requires users to trust me personally. Being a sole maintainer means nobody can guarantee that every commit, including my own, gets actually reviewed.
> I would like to hear more before people just jump on the convenience.
I fully agree, and I’m looking forward to discuss this further.
Regards,
Claudia
> ------------------------------
>
> Message: 2
> Date: Fri, 7 Jul 2017 16:19:42 -1000
> From: ???????
> To: TextMate users
> Subject: [TxMt] Re: Bundle Management improvements?
> Message-ID: <7CC8A118-F7C5-4318-A814-54636955B8B2(a)gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> I am actually trying to avoid using homebrew.
> There are lots of great things in homebrew but a few flaws are definitely the assumptions
> about the path and also the total lack of vetting.
> Homebrew wants to own /usr/local as if nothing else is there.
> Mac Ports on the other hand is a bit more careful to use an uncommon path in /opt and that
> is pretty valuable to me.
>
> Many package managers do not really have strong vetting or security policies. Homebrew
> is one of those.
> Mac Ports is also not great at that.
>
> It would be great if there were more guarantees than just whatever is on github and visible
> to homebrew.
>
> A directory of sorts to work with would be great but I feel like this is clearly a modern
> and missing feature, I am just not sure unmanaged homebrew github repos is the thing.
> I would like to hear more before people just jump on the convenience.
>
>
> > On Jul 7, 2017, at 12:02, Lewis Overton >
> wrote:
> >
> > I use Textmate and Brew. Linking them sounds good.
> >
> > On Tue, Jul 4, 2017 at 11:03 AM, Ryan Fitzer >
> wrote:
> > > To install a tmbundle, you?d run:
> > >
> > > $ brew tm install arduino
> > > If more than three people find this useful, I?ll be happy to piece together a small PoC.
> >
> > This would extremely useful. I use Homebrew for so much already. Having it for bundles
> would a huge benefit.
> >
> > Ryan
> >
> > On Jul 4, 2017, at 1:51 AM, Claudia Pellegrino >
> wrote:
> >
> > Hi,
> >
> > The features that stand out to me immediately are: [?] CLI searching and installing.
> > Caskroom member here. With our recent integration into Homebrew last year, I think
> Homebrew now brings to the table a big part of what would be needed to manage TM bundles
> via CLI today.
> >
> > In fact, anyone is free to create an (unofficial) Homebrew tap for TextMate bundles.
> A tap is just a GitHub repo, e. g. github.com/textmate/homebrew-bundles .
> It would contain a number of package files, which essentially point to the individual
> download URLs of the tmbundles.
> >
> > This is what the user would do once to tap into the repo:
> >
> > $ brew tap textmate/bundles
> > To search for plugins, you?d run:
> >
> > $ brew tm search arduino
> > ==> Exact Match
> > tm-arduino
> > To install a tmbundle, you?d run:
> >
> > $ brew tm install arduino
> > If more than three people find this useful, I?ll be happy to piece together a small PoC.
> >
> > Regards,
> > Claudia
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
> >
> > _______________________________________________
> > textmate mailing list
> > textmate(a)lists.macromates.com
> > http://lists.macromates.com/listinfo/textmate
>
Hi,
The features that stand out to me immediately are: […] CLI searching and installing.
Caskroom member here. With our recent integration into Homebrew last year, I think Homebrew now brings to the table a big part of what would be needed to manage TM bundles via CLI today.
In fact, anyone is free to create an (unofficial) Homebrew tap for TextMate bundles. A tap is just a GitHub repo, e. g. github.com/textmate/homebrew-bundles. It would contain a number of package files, which essentially point to the individual download URLs of the tmbundles.
This is what the user would do once to tap into the repo:
$ brew tap textmate/bundles
To search for plugins, you’d run:
$ brew tm search arduino
==> Exact Match
tm-arduino
To install a tmbundle, you’d run:
$ brew tm install arduino
If more than three people find this useful, I’ll be happy to piece together a small PoC.
Regards,
Claudia
Hello じょいすじょん,
I have pieced together a small proof of concept and put it online for anyone to try: https://github.com/claui/homebrew-textmate
Feedback and pull requests welcome.
Regards!
Claudia
HI!
I’ve installed JSLintMate and am trying to use it on the JS for my Rails project. I’ve tried to turn off complaints about “$” and “document” being undefined, but can’t seem to do so. I’ve tried with a “.jshintrc” resource file, and also with inline configuration. My inline configuration currently looks like:
/* jshint undef: false, unused: false */
// global $, document
…
I read in the docs that single-line comments work as well as open-close comments, so I tried both formats.
Not only did it not turn off all messages regarding undefined and unused variables, but it also did not turn them off for “$” and “document”. Does anyone have an idea why?
In case it helps, the messages look like:
JSHint found problems:
‘$’ is not defined. line 3
$(document).ready(function() {
‘document’ is not defined. line 3
$(document).ready(function() {
…
I have several desktops ("Spaces" in Apple marketing parlance), typically with a few Terminal and TextMate windows on each. When I open a file (whether using File > Open… or the `mate` CLI), it often opens a tab in a TextMate window on another desktop, so I have to hunt through my desktops, detach the tab, and drag it back to the desktop I was originally using.
Is it possible to change this behavior, so TextMate always opens the file in a window on the current desktop?
- Kurt
Hi,
I tried uninstalling and reinstalling, but the OCaml bundle does not work:
- I can't select the OCaml language
- I doesn't appear in the Edit Bundles menu.
The /Users/louisabraham/Library/Application Support/TextMate/Managed/Bundles/OCaml.tmbundle folder exists and looks fine.
Has anybody the same problem?
Thanks,
Louis Abraham
Is there any option or defaults setting which allows me to drag a TM tab
out of the TM window (onto desktop for example) and have it work as if
you're trying to 'Move Tab to New Window'
I'm probably imagining it, but I feel like you could do this at one point.
Not a huge issue, as I can see I can assign a keyboard shortcut for it, it
just seems a little odd that it always treats dragging as the file contents
Thanks
When I am using TextMate to edit a LaTeX file, I find that command+Z (i.e., undo) no longer works. Rather than undoing something, it moves the cursor to about the middle of the document I am working on.
Anyone else having this behavior?
I’m using TexMate 2.0-rc.7 on 10.12.5.
Kyle
How can I send code from a source .R file to a Rdaemon window?
Or is this not how Rdaemon is intended to be used? Is it intended to be used ad hoc within a TextMate window for tasks such as simple calculations?
Many thanks
Ross
Hi all,
Like many of us, I suspect, I’ve got core bundles (like markdown, regex etc.) that I have customised with new snippets and commands, or just just tweaks to language.
I’d like extricate my code from these, so that
1. I can let TM2 easily update the mainstream bundle
2. I can control my mods
3. From that base of clarity, I can submit generally-useful changes back to the widely used central repo.
Are there any solutions to
1. Diffing the pristine bundle with my dirty copy?
2. Exporting modified snippets and commands to my personal repo
Ideally, the UUID exported commands would be entered into the plist of my personal repo, perhaps under “exported from <bundlename> as a menu name.
Hope others have had this problem and solved it :-) Otherwise bit of a manual trek in store for summer :-)
Best, tim
Hi,
I’ve noticed for a while that if you load a file that takes a while to syntax highlight and prompty press "⌘⇧T” (the function browser), textmate spins the beachball, becomes unresponsive and never seems to come back (hard crash out).
best, tim
Would be unfortunate if MiniTest isn’t supported in Rails since it appears that many Rails developers use TextMate, and Minitest is the default testing framework.
(Not to take away from RSpec, it is popular. I started with MiniTest and since I’m a Newbie I’m reluctant to add more confusion by changing testing methods.
Am I right in understanding that the Ruby on Rails bundle has the testing baked in and doesn’t use the version installed on the users computer?
More info on the change and background:
Rake commands have been changed to Rails commands. This was done to avoid confusion (no way to tell whether to use rake or rails). https://github.com/rails/rails/issues/18878
Overview of Rails 5 changes: https://www.youtube.com/watch?v=OaDhY_y8WTo
A Guide to Testing Rails Applications — Ruby on Rails Guides <http://guides.rubyonrails.org/testing.html>
>
> Rails 5 uses `rails` instead of `rake` for everything, including running
> tests.
>
> I may look into this if I find some time, but unfortunately all Rails
> projects I?m working on use RSpec instead of Test::Unit, so this is not
> really a problem for me personally and thus rather low-priority ?
>
> (On a side note: the RSpec bundle works fine with Rails 5 :-)
>
>
> Stefan
>
> Am 17.03.17 um 09:05 schrieb Koen Punt:
>> What's the problem with rake?
>>
>> Koen
>> On Mar 16 2017, at 11:47 pm, Greg <web(a)web.knobby.ws> wrote:
>>
>> I usually use the command line for testing (I?m more or less a
>> newbie to testing), but thought I?d try staying in TextMate, but see
>> it's still using Rake.
>>
>> I wish I could help, but I?m already in over my head.
>>
>> Greg
I usually use the command line for testing (I’m more or less a newbie to testing), but thought I’d try staying in TextMate, but see it’s still using Rake.
I wish I could help, but I’m already in over my head.
Greg
I'm hoping a TM dev could point me in the right direction of where TM's
inode caching takes place please?
I'm struggling to find it, but I think it might be one of the sources of my
issues using TM on a mounted remote filesystem
Quite often, if I change git branch on the remote filesystem (done via ssh
cmdline) it can end up with TM 'quick open' opening a completely different
file. This issue persists until the volume is unmounted and remounted.
I'd like to compile a custom TM which disables inode caching if possible
Thanks
Hello Ed, All,
None of my previous theories worked out, but I think I’ve had a break
through on this.
I can trivially reproduce it now by switching between iTerm2 and TextMate,
very quickly. Finder might work too, but I’ve been using iTerm. The key
seems to have less to do with which app, and more to do with how fast. My
machine is slow which may make the problem worse.
What I do know is if I reset my configs to their defaults (by removing
~/Library/Application Support/TextMate), this problem is eliminated. Adding
folders back one at a time TextMate still works until I add the
Session/Info.plist back.
I’ve attached my info.plst and made a video of what I see while I’m working
on this; https://youtu.be/C0nyIr5_dTQ
Ed, does removing this file do anything for you?
Everyone; Does this make any sense? Does anyone know where to begin solving
this bug? I sure don’t.
Thanks,
Graham Heath
On February 15, 2017 at 7:48:39 AM, Ed Wong (scampy(a)me.com) wrote:
Graham, I don’t have Diff Gutter enabled, just the standard line numbers,
folding arrows, bookmarks in the gutter.
Ed
On 14 Feb2017, at 3:56 PM, Graham Heath <graham.p.heath(a)gmail.com> wrote:
Thanks for the answers. What all is happening here is still a mystery but
I’ve got an update;
I’ve now had 24 hours without incident. My current theory is this relates
to SCM Diff Gutter, as after disabling it I haven’t seen the issue, but
thats just a theory. I’m re-enabling Emmet today, and I’ll add my linters
tomorrow.
Ed, do you have SCM Diff Gutter, or anything adding icons to your gutter?
Thanks,
Graham Heath
On February 10, 2017 at 9:08:03 PM, Ed Wong (scampy(a)me.com) wrote:
1: have more than a few TextMate windows or tabs open?
Usually many windows with many tabs. Some windows are minimized (those that
I’m not actively working on at the moment).
2: have a customized window bar title?
Yes - full document path.
3: have expensive to render documents?
A few files with > 5000 lines but generally < 1500 lines of PHP, ObjC,
HTML, JS or CSS. Some customizations done to PHP bundle and Mac Classic
theme.
4: SCM integration?
Git on some projects.
Hope this helps.
Ed
On Feb 10, 2017, at 5:33 PM, Graham Heath <graham.p.heath(a)gmail.com> wrote:
This continues to happen to me a few times a day, exclusively in TextMate.
Some days are worse, maybe better after a reboot, but thats not for sure.
Some more theories for you Ed, and anyone else :)
Do you …
1: have more than a few TextMate windows or tabs open?
2: have a customized window bar title?
3: have expensive to render documents?
4: SCM integration?
Here’s what I’m thinking _might_ be happening for each of these. Hopefully
one of these sparkles for someone.
1) TM is confused about what tab / window should have focus, and fails to
pick one.
2) I have a pretty complex stack of replacements to build my window title,
perhaps one of these replacements has a edge case that causes an error
3) TM may be selecting the right tab, but the selection doesn’t happen in a
reasonable time and aborts
4) The timing between focus and TM failing to select a tab seems related to
when the title bar updates when SCM is working
I’ve been experimenting with disabling plugins and add ons. Today I’m going
to try disabling the SCM plugin :(
If that doesn’t work I guess I’ll build TM and see what I can find. Short
of building it, there’s not a way better debug this issue, is there?
Thanks,
Graham Heath
On February 1, 2017 at 7:05:23 AM, Ed Wong (scampy(a)me.com) wrote:
Hi Graham,
My TM setup is pretty basic. No plug-ins, Shell Support installed, Git
support sometimes depending on the project.
I think Allan may be right though as I’ve seen this behaviour with Safari
and Finder as well so it could be an general OS issue.
Ed
On Jan 31, 2017, at 10:23 PM, Graham Heath <graham.p.heath(a)gmail.com> wrote:
Allan, I’m sorry to say, that this is behavior that I associate with
TextMate, not the os at large. I will keep an eye out for it and let you
know if I change my mind. But, as you’ll see below, I don’t really blame
your code either, I’m just wondering whats causing it. Its so erratic that
its probably not something simple.
Jacob, Ed, and others; Do you have any plugins? I haven’t done the full
reset, but I have disabled things that I feel might be offending. Its too
early to say, but I wonder if a plugin might be triggering when the app
gets focus, but something isn’t going quite right.
Tossing this on the pile; I’m using a early 2013 mbp that does seem to have
issues with apps hanging or freezing fairly often, so maybe whatever’s
causing that, is causing this.
Thanks,
Graham Heath
On January 14, 2017 at 11:44:42 PM, Allan Odgaard (mailinglist(a)textmate.org)
wrote:
On 14 Jan 2017, at 5:54, Graham Heath wrote:
> I’m regularly experiencing a bug where TextMate seems to receive
> partial
> focus. The title bar will appear to be selected, but the tabs never
> come
> into focus […]
This issue has existed with macOS for as long as I can remember, and I
have seen it for other apps as well, though it is visually much more
obvious with TextMate because of the tabs bleeding into the title bar.
I do not think the issue is with any of my code, since window management
is not the responsibility of the individual app and I am not aware of
code in TextMate that could affect this.
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com
http://lists.macromates.com/listinfo/textmate
_______________________________________________
textmate mailing list
textmate(a)lists.macromates.com
http://lists.macromates.com/listinfo/textmate
Hi all,
since a few days, my textmate2 commands using ruby won’t start and just yield an error :
env: ruby18: Permission denied
I can’t recall any major change in my system recently.
Has anyone an idea?
David Bourguignon
All of a sudden I have *.pyc files showing up in my project drawer. I have
not changed any textmate config files or application versions.
I am using 2.0_b10, but have also tested 2.0_rc4.
I have also restarted my computer. I am using OSX 10.12.3.
I am using the default config values for inclusion and exclusion:
*/Applications/TextMate2.0_b10.app/Contents/Resources/Default.tmProperties*exclude
= "{*.{o,pyc},Icon\r,CVS,_darcs,_MTN,\{arch\},blib,*\~.nib}"
include = "{*,.tm_properties,.htaccess}"
binary = "{*.{ai,bz2,flv,gif,gz,icns,ico,jpg,jpeg,m4v,nib,o,pdf,
png,psd,pyc,rtf,scssc,swf,tar,tbz,tgz,tif,tiff,zip},Icon\r}"
I’ve hit a bug when using “Comment Line” in Terraform documents,
although it only occurs on certain lines.
# Steps to reproduce
1. Install the Terraform bundle. TextMate > Preferences > Bundles >
Terraform.
2. Create a file called "~/Desktop/example.tf" and change the document
syntax to "Terraform".
3. Enter the following contents in the file (between the '===' bars):
===
variable "aws_region" {
default = "us-east-1"
}
===
Note that line 4 contains whitespace, although the exact whitespace
chars seem to be arbitrary.
4. Place the cursor as follows:
a) At the start of line 1
b) Select all of line 1
c) Select all of line 4 (whitespace)
d) At the start of line 4.
After each, press ⌘+/ to Toggle Comment.
# Expected results
a/b) Line 1 will be commented out.
c/d) Line 4 will be commented out.
Note: in Terraform syntax, a comment is denoted by /* ... */
# Actual results
d) Works correctly.
All of a)-c) result in 'Failure running “Comment Line”.', with different
errors:
a) Comment Line:140:in `<main>': undefined method `to_a' for
"\u0000variable \"aws_region\" {":String (NoMethodError)
b) Comment Selection:140:in `<main>': undefined method `to_a' for
"variable \"aws_region\" {\n":String (NoMethodError)
${0:}
c) Comment Selection:140:in `<main>': undefined method `to_a' for "
\n":String (NoMethodError)
${0:}
Broadly similar – it just seemed a little odd that it doesn’t also
affect the case where your cursor is on a line containing whitespace.
# Environment
* macOS 10.12.1 (16B2657)
* TextMate version 2.0-rc.7
* ruby 2.0.0p648 (2015-12-16 revision 53162) [universal.x86_64-darwin16]
I'm using Textmate on Yosemite 10.10.15
The AS3 bundle has been updated for TM2 and I have that one installed
Each line I type adds an extra indent to the one before, where they should line up
If I delete the extra indent and start typing it just adds the indent again
I have two installs of TM2 both on Yosemite 10.10.5 and each one displays the same behaviour.
I tried another bundle (I forget which – maybe python) and the indent behaviour was normal.
How can I work out where the error is and how to trouble-shoot it, please?
Hi Allan and others,
Lately there hasn't been any (public) development of TextMate.
So I'm wondering if there's an update to be expected anytime soon?
I'm currently expecting performance issues with tab switching, closing, and
opening (CMD+T) of files. Is this a known issue, or how can I investigate what
is causing this?
– Koen
Sent from [Nylas Pro](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-294f3511-5e38/0?redirect=https%3A%2F%2Fnylas.com%2Fnylas-
pro%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the most powerful
email app for work
I’ll try using another email address for TextMate. Although I don’t have trouble with any other emails.
⌃⇧⌘F
⌃⌥⌘G
⇧⌥⌘F
⇧⌥⌘G
We’ll see how this comes across in the two emails. And a copy bcc’d to other addresses on the same server.
I’m guessing not many have this problem. BTW I’m on 1and1..com
Greg
> On Feb 24, 2017, at 8:01 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 2
> Date: Fri, 24 Feb 2017 11:01:21 -0500
> From: Per Olofsson <magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>>
> To: textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>
> Subject: [TxMt] Re: textmate Digest, Vol 105, Issue 22
> Message-ID:
> <1487952081.2030038.891782960.07379631(a)webmail.messagingengine.com <mailto:1487952081.2030038.891782960.07379631@webmail.messagingengine.com>>
> Content-Type: text/plain; charset="utf-8"
>
> On Fri, Feb 24, 2017, at 10:52 AM, Greg wrote:
>
>> Why the question marks?
>
>
>
> Something between the mailing list and you appears to be having
> Unicode issues:
>
>
> http://lists.macromates.com/textmate/2017-February/040275.html <http://lists.macromates.com/textmate/2017-February/040275.html>
>
>
>
> --
>
> Per Olofsson
>
> magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>
>
>
>
>
>
I'm on my third attempt on switching from TM1, but this time it's
actually going pretty smooth. One thing has me stumped though, there's
no keyboard shortcut for Replace & Find? I checked the commit history
and it was reassigned to Replace in f39ac28, leaving Replace & Find
shortcutless. There doesn't seem to be many options left for F and G (is
there a way to bring up a list of all active bindings?), but adding one
for Replace & Find would make my life a lot easier.
Thanks,
--
Per Olofsson
magervalp(a)fastmail.fm
Why the question marks?
Greg
> On Feb 24, 2017, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Message: 3
> Date: Fri, 24 Feb 2017 03:40:10 -0500
> From: Per Olofsson <magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>>
> To: textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>
> Subject: [TxMt] Re: Missing keyboard shortcut for Replace & Find
> Message-ID:
> <1487925610.1055419.891365096.02F0D25F(a)webmail.messagingengine.com <mailto:1487925610.1055419.891365096.02F0D25F@webmail.messagingengine.com>>
> Content-Type: text/plain; charset="utf-8"
>
> On Thu, Feb 23, 2017, at 10:36 PM, Allan Odgaard wrote:
>> On 23 Feb 2017, at 14:59, George McGinley Smith wrote:
>>
>>> It means please add it to TextMate ?
>>
>> But using what key equivalent?
>
> Is there a way of getting a definitive list of all active keyboard
> shortcuts? As far as I can tell the only free ones are:
>
> ???F
> ???G
> ???F
> ???G
>
> With my short fingers they're all two handed, but I find ???G is by far
> the easiest to type.
>
> Personally I use Replace & Find a lot more than I see myself using Find
> All, and I'd argue for giving back Replace & Find ??F and relegating
> Find All to something like ???F, but that's largely colored by my recent
> switch from TM1.
>
> --
> Per Olofsson
> magervalp(a)fastmail.fm <mailto:magervalp@fastmail.fm>
>
Hi, all, if you are not interested in the Modelica system definition and
simulation language, you can stop here ;-)
I have been looking for a TextMate bundle that supported Modelica —see,
for instance, http://openmodelica.org—, and could not find one, but I found
a SublimeText version, and instructions on how to create a TextMate one.
If you are interested, you might want to look for
https://github.com/juandesant/Modelica.tmbundle
Cheers,
Juande.
--
Juande Santander-Vela
System Engineer (Science Data Processor/Telescope Manager)
Square Kilometre Array/SKA Organisation
Jodrell Bank Observatory, Lower Withington
Macclesfield SK11 9DL, United Kingdom
Hi
I have to use a new MacBook Pro at work (a mixed blessing). It has a virtual real ESC key. I find this really awkward when typing Actionscript and using autocomplete. I need a real key (for tactile feedback).
I would like to use the § key at the top left as it is nearest to where the ESC key should be.
I have found and looked at KeyBindings.dict but cannot work out which is the correct key mapping to edit to get what I need.
I can see "$\033" = "previousCompletion:" , but not anything for 'nextCompletion'.
Is it best to attempt this here or at Bundle level??
Thank-you for any ideas, please
Simon
Hey there,
I’m regularly experiencing a bug where TextMate seems to receive partial
focus. The title bar will appear to be selected, but the tabs never come
into focus.
Please see https://imgur.com/a/ePa4j for screenshots.
In this "half focus" mode I can select, enter and delete text, but not
select, copy, paste or do many other things. Cmd-c and Cmd-v both cause the
system bell to ding. I can switch focused TextMate windows, but the "half
focus" window title bar remains focused, and the tabs never get selected.
I still haven’t found a reliable way to reproduce this.
I have 2 theories about what is happening;
1) Its related to some ongoing process, such as a linter still running
in the background or the code highlighting for complex code. This seems
relevant because I work some days without encountering the issue, others I
run into it many times. Its possible that the offensive days I have more
windows, or a more difficult to parse file open.
2) Its related to multiple displays. I’m on a MBP15in from early 2013
with a display hooked up over thunderbolt or hdmi. It does seem that its
much easier to reproduce this bug with a second display.
Perhaps there’s a combination of 1 and 2?
For a while I was switching between apps to get "full focus"; Switch from
Chrome to TextMate (get "half focus"), switch to Finder, switch to Chrome,
switch to TextMate (get "full focus").
Seems that if no one else is having the issue, its probably #1 and related
to my custom bundles.
Whatever the cause, hiding TextMate with Cmd+H and restoring it seems to
cause "full focus" reliably.
Is this making sense? Is there anything I can do to help debug?
This weekend I’ll try reverting to defaults and see if that helps. In the
mean time, what do you all think?
Thanks a million,
Graham Heath
Hello *,
not sure if this is a TM problem/feature at all; but I found it there, so …
Using TM 2.0-rc.4 and Skim 1.4.26 (100) on El Capitán 10.11.6, I have an odd phenomenon concerning search strings: they persist over several programs.
Example: In TM, I type something into the “Find:” field of the search dialogue, say “test123”. Then I change to Skim, and typing Cmd-F there I see “test123”. Same effect in the other direction (search words from Skim appear in TM-search), same if I use one of the search dialogues in Skims side panes. Also same with the mail search in Apple Mail.
I find this “feature” highly annoying. Is this some new Finder thing (I skipped from 10.6.8 directly to 10.11.x) or is it some TM thing? How can I disable it?
Thanks for all hints!
-Moss-
--
Debugging? Klingons do not debug. Our software does not coddle the weak.
-- not by Peter Dyballa (as he vows)
Hello.
Does anybody experience random selections while clicking on tabs or other
textmate windows (like search dialog) on Sierra?
I can't find reproducible sequence of events, but it is quite annoying.
Sometimes when I click on other tab text in the current tab gets selected
as if shift-clicked somewhere above the current view area.
I’ve been working with some old html that is moving to a markdown-based site.
Textmate has a neat feature where if you drop an html file onto your markdown window, its contents are pasted… as markdown! (neat!).
Question/feature request:
1. Can we have a “convert from html" command in markdown?
2. Is there an option on the html processor to [give](normal) links instead of [bibliography][1]
[1] Style links?
Currently in TextMate, it’s possible to implement completion using a bundle command. This can be invoked using a keyboard shortcut. Some IDE’s have implemented something like dot completion, that is, when a dot is typed the dot will be inserted in the text and a completion list will be shown. Some editors will even show this completion list for most characters that are typed.
In TextMate it’s possible to set the key equivalent of a bundle command to a dot, the problem is that the dot will then not be inserted in the text. It’s also possible to manually write out a dot in the bundle command. The problem with that is that the dot is not actually in the text buffer when accessing it in the bundle command. This will most likely not work because whatever is parsing the source code to generate the completion expects the dot to actually be there.
Is this something that can be implemented in TextMate, perhaps as a semantic class? Ideally it should be configurable to support any character, ideally more than one. Example, for many languages a dot is what’s needed, but for the C, C++ and Objective-C an arrow (->) would be necessary as well. Just to be clear, I’m only talking about a new way to trigger a bundle command, not implementing the actually completion.
--
/Jacob Carlborg
Hi,
The Hyperlink helper: "Lookup Word / Selection on Wikipedia and link" appears to be broken?
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:174:in `open_loop': redirection forbidden: http://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Consc… -> https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=Cons… (RuntimeError)
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:132:in `open_uri'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:518:in `open'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:30:in `open'
from Lookup Selection on Wikipedia and link:19:in `getWikiEntries'
from Lookup Selection on Wikipedia and link:31:in `getWikiDef'
from Lookup Selection on Wikipedia and link:37
I'm not sure if this is a known issue, or if it is only Python, but the Jump to Symbol window has trouble properly displaying Python functions & methods that have multi-line parameter lists.
A function heading like this
def makeWeek(geo=AMERICAS,
post_by=STAFF_TYPE,
staff_types=[],
start=S_0630_AM,
end=E_0730_PM
):
Shows up in the Jump to Symbol window's table as
def makeWeek(geo=AMERICAS, post_by=STAFF_TYPE...)
Aligning the parameter names' leading edges with the opening parenthesis tends to work better with Python linters in this situation, but kind poorly for the Jump to Symbol window.
My way to quickly ge to the bottom of a document is to select it all and then right-arrow to place the cursor at the last character in the document.
For some time now, this doesn’t always work: Often one ends up some-way down, but not at the bottom. Repeating 2-4 times needed to get to the bottom.
It seems to occur when line wrap is on, and the document contains long lines (i.e., text paragraphs)
Perhaps something is a bit off in the algorithm for scrolling the page when lines are wrapping?
Best, tim
Hi all -
I keep a lot of functions folded in my normal workflow. This usually works fine, but when a non-TM program changes a file, (usually switching branches in Git from a client or command line) the folding settings aren't updated and I end up with strange folding in the middle of a line that may throw off everything in the file.
This isn't a huge problem (and I bet if I always used TM's source control plugin, this would be handled automatically, right?) but I wonder if there's any way to just tell TM "hey, forget all the folding in this file". One might think that cmd-opt-0 (Un/fold All Levels) would do this, but it seems to toggle all the folds without scanning the syntax to see if the fold locations are valid. Anybody know how to just delete all folding for a given file? As it is, I have to scan through big files, looking for hidden '...' glyphs.
I see this most often in Python, which has weird folding behavior, but I've also seen it in Objective C & Javascript, which should have much simpler folding grammars since they're {}-delimited.
Cheers,
Evan
Hi,
For creating web templates I use Xdebug. In Xdebug you can set
`txmt://open/?` in order to open the file with the error in TM. On previous
versions of Safari (< 10.0.2) TM opens without any problems. But now (>
10.0.2) Safari every time ask if it may open TM: see screenshot:
http://feek.d.pr/V1pH
Is there a way to disable this pop-up? I cannot find any settings in Safari.
Or is it maybe related to a "unsigned developer"?
how to reproduce: just paste `txmt://open/` into Safari.
I use TM 2.0-rc.4 on OSX 10.11.6
Regards,
Feek
--
View this message in context: http://textmate.1073791.n5.nabble.com/Safari-10-popup-when-opening-a-txmt-o…
Sent from the textmate users mailing list archive at Nabble.com.
Hi all,
I have found that I had to finally learn to create Commands in a TM Bundle to move beyond what snippets alone can do (even though they have such a brilliantly simple syntax...)
Is there any canonical listing of values to use Semantic Class hooks?
Also I couldn't find it in the docs, but realized by reading other examples, the way to get the whole document text reliably is to read stdin in a script, then write to stdout.
It might be really great stuff to get documented for everyone.
Finally, what is the recommended flow for managing & sharing bundles?
Certainly, putting changes into Github would be ideal where possible.
But here are two use cases I have.
In my workplace we have stuff we cannot share outside, but we would like to share and maintain a group repo internally to grow up some TM Bundles.
I also sometimes need to work on multiple systems.
I'd like to understand the best way to sync or centralize and update bundles.
What are the best practices with this?
Hi there, I’m currently working on updating an old plugin (EditorConfig — https://github.com/mr0grog/editorconfig-textmate) and it needs to be able to trim the trailing whitespace from lines. I’m currently doing this by getting the OakDocument’s `content` property, editing it, and setting it back, but that can cause selections to move around (not really surprising).
To address selections, the most straightforward method I could find was to use `OakTextView accessibilityAttributeValue:
NSAccessibilitySelectedTextRangesAttribute` (and the associated setter), like so:
NSString *content = [document performSelector:@selector(content)];
NSMutableArray<NSValue *> *selections =
[textView accessibilityAttributeValue:NSAccessibilitySelectedTextRangesAttribute];
//
// do some stuff to manipulate `content` and `selections` here...
//
[document performSelector:@selector(setContent:) withObject:content];
[textView accessibilitySetValue:selections forAttribute:NSAccessibilitySelectedTextRangesAttribute];
This works great with normal selections, but I had expected column selections to show up as multiple selections here. However, they show up as a single contiguous selection from the starting column on the first row of the selection to the ending column on the last row of the selection. That means that, by the end of this operation, any column selections become normal contiguous text selections.
Is there any straightforward way to get and set column selections from a plugin, where I can’t easily mess with the C++ objects? Is there a better way I should be approaching this whole operation in the first place? (I recognize that my approach above might not be great, but couldn’t find anything else workable; I tried poking at OakTextView’s `filterDocumentThroughCommand` method, but had trouble with it since it requires arguments that are C++ types).
Thanks for any advice,
-Rob
Hi all,
I wished to enable spell checking for comments in source languages.
I edited the settings items in the source bundle, enabling spelling for my scope.
This worked (yay), but I realised it would be better to stash this in my private bundle, not fork the main source.tmbundle.
So I reverted the scope as a first step to making a new settings item. The bundle is now marked as delta, and that isn’t right.
SO I deleted the is delta key. That was a mistake: Now I have an item labeled “untitled” that is empty, and no spellcheck enable setting item.
Try reinstating the delta key, and setting to false. No worky.
Try reverting the bundle: you can’t unselect it.
Deleted the bundle and installed from in TM2: still has my untitled item and no. Must be buried in an invisible cache..? Where…
Curse :-)
Email list: How do you really revert a core bundle to base?
tim
PS: It would be GREAT to have a revert to default right-click action for TM bundles, which cleared invisible caches etc… Or make the grayed out source bundle tick function as a togglle; click it, and it throws a dialog asking “really revert to base source bundle (bundle cannot be deactivated, only reverted)?” then does that.
PS: Feel free to improve this stack overflow answer so others can share this knowledge.
http://stackoverflow.com/questions/41565216/how-do-i-get-textmate-2-to-enab…
PPS: bit of a hot mess of 10-year old TM1 info and partial TM2 info on the interweb at present: we should try and clean up where possible now everyone is moving to TM2 beta
t
>> Prerequisites listed include Boost.
>>
>> My question is:
>> What is the recommended way to build/install Boost for TextMate
>> building?
>
> Using homebrew is the easiest, this should take care of all
> prerequisites:
>
> brew install ragel boost multimarkdown hg ninja capnp
> google-sparsehash libressl
>
>> Using Homebrew, boost has additional options and they seem possibly
>> valuable but also potentially problematic.
>
> TextMate only use a few header-only libraries from boost, so I don?t
> think any of the options have any effect on TextMate.
Ah. I didn't even think to survey the header includes.
Thanks it's exactly what I wanted to know!
I might run it through Doxygen to get a list easily going forward.
Thanks!
JJ
Hi,
Since yesterday evening, pasting to pastie.org <http://pastie.org/> does not work anymore.
It is not the usual error 503 service unavailable, but there are 2 possible errors:
There was a problem pasting your text, pastie.org responded with 522 Origin Connection Time-out
There was a problem pasting your text, pastie.org responded with 400 Bad Request
Am I the only one? Or did pastie change their endpoint?
Thanks,
Louis
Hi,
There are quite some commands that when invoked result in an error. The error
itself is correct in a way, but most of the time not very helpful, and I think
they can be avoided by adding some preconditions to these commands.
Take for example "Browse Annotated File (Blame)"; when running without having
a file open or selected in the filebrowser, it displays the following error:

Or the scm gutter; when deleting or renaming a folder outside of TextMate, but
which is currently open in TextMate, then after deleting closing one of the
tabs displays the following error:

I think all these kinds of errors have to be solved at bundle level, but like
to hear some opinions before I start opening pull requests.
– Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-aa207fc5-447b/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.
Prerequisites listed include Boost.
My question is:
What is the recommended way to build/install Boost for TextMate building?
Using Homebrew, boost has additional options and they seem possibly valuable but also potentially problematic.
Sadly, Boost doesn't ship in parts, even though it can be used linked to in independent parts (mostly).
brew says this about Boost:
$ brew info boost
boost: stable 1.63.0 (bottled), HEAD
Collection of portable C++ source libraries
https://www.boost.org/
Not installed
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/boost.rb
==> Dependencies
Optional: icu4c
==> Requirements
Optional: mpi
==> Options
--c++11
Build using C++11 mode
--universal
Build a universal binary
--with-icu4c
Build regexp engine with icu support
--with-mpi
Build with MPI support
--without-single
Disable building single-threading variant
--without-static
Disable building static library variant
--HEAD
Install HEAD version
==> Caveats
Building of Boost.Log is disabled because it requires newer GCC or Clang.
I tried:
brew install --c++11 --with-icu4c --with-mpi boost
I know macOS has its own ICU, but I also know Apple prefers people build against their own ICU if they need direct ICU support.
MPI wanted to build its own gcc and then I got a warning about gcc's dependency on a different C++ being a potential issue using boost with clang.
(seems insane to me)
"Warning: boost dependency gcc was built with a different C++ standard library (libstdc++ from clang). This may cause problems at runtime."
MPI adds these dependencies:
gmp, mpfr, libmpc, isl, gcc
Bundle commands support autoRefresh, but the option isn't exposed in the
bundle editor.
Is this a known issue or an intentional limitation of the bundle editor?
– Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-1313e4da-5a74/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.
Hi guys,
I guess this is primarily of interest to Rene Schwaiger. A long time ago we discussed LaTeX Tidy, \labels and code folding. I love everything about LaTex Tidy except for the fact that it puts \labels on a separate line to \begin or \end, so when I use code folding all I see is a list of \begins, \ends, \sections and the like, without a \label in sight. Rene pointed me to latextidy.pl, which was the help I needed, and I hacked the file so the code now ends
$string =~ s/({[^}]*}[ \t]*)(\n[ \t]*)((\[[^\]]*\][ \t]*)*(\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*)*)\n?[ \t]*/$1$3$2/mg;
$string =~ s/((\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*)+)(\n[ \t]*)(\\end{[^}]*})/$4$1$5/mg;
$string =~ s/(\\section.*(\\label[ \t]*(\[[^\]]*\][ \t]*)*{[^}]*}[ \t]*))(\S)/$1\n$4/mg;
$string =~ s/(?<=\S)[ \t]*(?:\n[ \t]*){0,2}(\\section)/\n\n\n$1/mg;
$string =~ s/(?<=\S)[ \t]*(?:\n[ \t]*){0,1}(\\subsection)/\n\n$1/mg;
print $string;
I’ve been using this for a while now and it has proved fairly reliable. I’ve allowed for optional arguments on \labels, labels pinned to \end (for captioned environments), and insert blank lines before \sections and \subsections. Now when I code fold I see not just the environments but their \labels, which mean something to me.
This message is intended in the spirit of giving back. Please feel free to ignore this hack, or try it out, change it, whatever.
Regards
Robert Milton
Hey
I'm occasionally experiencing smaller performance hickups in TM. Writing a
line of code, there's a short delay before the input appears; delay is maybe
in the range of half a second. It's infrequent enough not to be really
bothersome, but ideally, I'd like to know the cause.
It could in fact be some (too expensive) regexes I defined in my customized
language grammars, but I can't say for sure right now.
That's why I was wondering: is there a relatively simple way I can profile
TM/TM processes, in order to find out if it is in fact my own grammar rules
causing these hickups, or if it's something else?
--
View this message in context: http://textmate.1073791.n5.nabble.com/Occasional-performance-hickups-when-e…
Sent from the textmate users mailing list archive at Nabble.com.
I often see in my "Open Recent" menu the full path to a file and the same
file is repeated several times in the menu. It makes the menu quite large
and a bit hard to read. See attached screenshot.
In this case I had just created a new text file and saved to it about a
dozen times.[image: Inline image 1]
Dear All:
I am unable to typeset a latex file using the latest TextMate version with Skim. I can typeset the text file first time, but cannot typeset it with subsequent changes to the text file. Can you help me resolve this obvious bug?
Thanks,
Tao
Hi all
I’ve updated TextMate to version “2.0-rc.4”. Since updating to this version, several Keyboard Maestro macros that are triggered by keyboard shortcuts have stopped working. The problem appears to be because the new version of TextMate has introduced some new keyboard shortcuts. For example, I have a Keyboard Maestro macro that is triggered by the keyboard shortcut Shift + CMD + O. But in the new version of TextMate, this keyboard shortcut is assigned to “Open Recent Project”. Is there are way I can stop Shift + CMD + O triggering “Open Recent Project” in TextMate?
Ross
I haven’t been using this command. But tried it with RC3 and I stopped looking at 30k files. Is it looking at my entire drive. The files are beyond scope that I have open, they might be in scope of folders I’ve opened. Ah, I now guess I see what’s going on. I Cmd-T on an untitled, unsaved file. Guess this is an unintended consequence.
OT: I’m surprised to see in this modern era, question marks in place of apostrophes, and things like "seeing the ?T + ? issue with.” In case this gets munged on the way, in Mail on my up to date Mac this has a question mark in front of the T and another question mark following the plus sign.
Greg
> On Nov 19, 2016, at 4:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> In rc.3 the main thread is stalled until the list has updated with the
> currently open files,
Hi,
Congratulations on reaching the significant milestone of RC1 on Textmate2. Unfortunately a bug has crept in in this release.
In the attached video, I press Cmd+T followed by Enter to switch between the current and previous files. The first time, I wait for the list to appear before pressing Enter, and it works as expected. The 2nd, 3rd and 4th times I quickly press Cmd+T followed by Enter before the list appears – the dialog closes but the previous file is not loaded. On the 5th time, I wait before pressing Enter again, and it works.
Clearly the problem is probably caused by the number of files. Prior to RC1, the list appeared instantaneously, but additional files filled in the list later. Is it possible to go back to that behaviour which has worked well for many years?
Regards,
Jonathan Monahan
Hi,
It happens often that after I move a file to another directory, textmate
doesn't handle the updated path to the file.
See this screen recording: http://recordit.co/3sdYVDOcF8
When I open the file, it still opens the file from the old path, where it no
longer exists, and thus results in an empty document.
– Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz/loc
al-28028436-6279/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4dG1h
dGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail client.

Hi,
Congrats with RC1. Unfortunately, my bundles are messed up. I lost a
number of my shortcut commands that I have always worked with. I lost my
RSpec bundle functionality, which I managed to restore by manually
reinstalling the bundle from Github.
Is there something I must do/should have done to keep my bundles working
as they have done before? I did accept the request to move the bundles
to the new structure when I restarted Textmate, but that hasn't helped.
Some guidance on this topic would be very helpful.
Thank you!
Pascal
Hi,
As a follow up to the problems with my bundles: the shortcut for
duplicate line is not working anymore: it clears the whole file now
instead. I have checked if there are any conflicting shortcut keys in
the "Select bundle item" menu, but there aren't any. Any thoughts,
because this is very annoying.
Thank you!
Pascal
I seem to be ending up with two TM dock icons quite a bit lately, not 100%
sure but it seems to coincide with when I accept a LiveUpdate.
No causing me a problem but I just wonder if this is normal? Feels like it
might be a bug that nobody has yet reported....
Getting the following when system submitting a crash report:
Internal Server Error
PDOStatement::execute(): SQLSTATE[HY093]: Invalid parameter number: no
parameters were bound
Hi,
I remember something about customizable tab titles, but couldn't find what I
was looking for in the archives.
So here's the question; there's a windowTitle property for .tm_properties, but
is something like that also possible for tab titles? Because I'm currenty
working on a project with a lot of identical named files:
My tabs currently look like this:

But if it could be possible to include the name of parent directory, that
would make it usable.
Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-eb0dadc9-7075/0?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4
dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=), the extensible, open source mail
client.
Hey all,
I've been having this issue for a while now where the global find window
doesn't search .hbs (Handlebars) files. It's now occurring too with .elm
files. There's nothing in my .tm_properties that would suggest anything
like this:
windowTitle = "$TM_DISPLAYNAME – $TM_DIRECTORY (git: $TM_SCM_BRANCH)"
excludeInFolderSearch =
"{$excludeInFolderSearch,$extraExcludes,dist,node_modules,deps}"
excludeInFileChooser =
"{$excludeInFolderSearch,$extraExcludes,dist,node_modules}"
And the global find is matching all file extensions. Not sure where else to
look here, anyone know what I'm doing wrong?
Thanks!
Hello,
I cloned https://github.com/textmate/textmate <https://github.com/textmate/textmate> to my Mac, then successfully built and ran it.
But when I copy the binary to another Mac, it cannot be launched because of missed dylibs.
I compared linked dependencies with public Beta version and detected the following difference:
/Applications/TextMate.app/Contents/Frameworks/plist.dylib:
@rpath/plist.dylib (compatibility version 1.0.0, current version 1.0.1)
@rpath/cf.dylib (compatibility version 1.0.0, current version 1.0.1)
@rpath/io.dylib (compatibility version 1.0.0, current version 1.0.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1258.1.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.1.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1226.10.1)
vs
/Users/vadim/build/TextMate/Applications/TextMate/TextMate.app/Contents/Frameworks/plist.dylib:
@rpath/plist.dylib (compatibility version 1.0.0, current version 1.0.1)
@rpath/cf.dylib (compatibility version 1.0.0, current version 1.0.1)
@rpath/io.dylib (compatibility version 1.0.0, current version 1.0.1)
/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation (compatibility version 150.0.0, current version 1348.15.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 307.4.0)
/usr/local/lib/libcapnp--no-undefined.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/local/lib/libkj--no-undefined.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1238.0.0)
Apparently that another Mac does not have capnp and kj in /usr/local/lib/.
Maybe you can hint why these dylibs are linked and why the paths are absolute? 🙏
Thanks in advance,
Vadim
P. S. This is my first request, and I submitted it to the IRC channel because not sure where to look for help, sorry for duplication.
I use the pdflatex option and view in Skim. Ever since I installed macOS Sierra, when I typeset my latex file, the page in the created pdf file no longer corresponds to the location in the latex file. In fact, the opened page is where the last opened page is. I would appreciate your help with any solution to this problem.
Tao
Hi,
I’m running TextMate 2.0-beta.12.26 on OSX El Capitan (10.11.6)
I ran into the following issue today:
While going through some code refactoring, I changed a couple of files, but I forgot to save one of these files (so it showed up half transparant in the file list sidebar).
I then modified the name of the folder which contained that open file (I did that in TextMates file list sidebar). The project is in a git repo by the way.
After that I moved focus to another program (I’ve got TextMate set to automatically save on focus lost) but TextMate then switched to the open file, presenting me a modal sheet “No parent folder for <filename>. Do you wish to create a folder at <previous_name_of_renamed_folder>” with buttons ‘Cancel’ and ‘Create Folder’.
None of these buttons are reacting to mouse clicks, space bar or return keys. Due to the sheet being modal, my only recourse is to force quite TextMate.
After relaunching TextMate, I found the file in the renamed folder (without the unsaved changes I made to it).
I made the changes again, saved this time, changed the file name and then changed the folder name.
On focus lost showed me the same modal sheet again! (after which I had to force quite TextMate again).
Now when I open this project in TextMate, it opens in the tab containing the above file, with the new contents, but with the *old* name. The file list sidebar shows the new name.
As soon as I move focus elsewhere, it shows me the unresponsive modal sheet (with the old file name in the error message!), so I’m actually kind of stuck now…
Best regards,
Bas
Hi,
I recently created a [TextMate bundle][] for [ABNF][]. The [RFC][] that describes the current version of ABNF explicitly states that the standard uses CRLF (Carriage Return + Line Feed) for line endings.
[TextMate bundle]: http://github.com/sanssecours/ABNF.tmbundle
[ABNF]: http://en.wikipedia.org/wiki/Augmented_Backus–Naur_Form
[RFC]: https://tools.ietf.org/html/rfc5234
TextMate already supports different line endings in the “Save Dialog”. This works quite well, as far as I can tell. We can also explicitly tell TextMate to always use specific line endings via “Preferences” → “Files” → “Line Endings”. If we set this option to “CRLF” then TextMate adds the entry
lineEndings = '\r\n'
to the global properties file `Global.tmProperties`. However, in both the current development version of TextMate (2.0-beta.12.26), and the lastest normal release (TextMate 2.0-beta.12.4), this feature does not seem to work as expected:
---
# Steps to Reproduce
1. Set line Endings to “CRLF” in “Preferences…”
2. Create a new file via `mate test.txt`
3. Enter the following text in the new document
line 1
line 2
4. Check the line endings via the command `file test.txt`
# Expected Result
The `file` utility displays the following output:
test.txt: ASCII text, with CRLF line terminators
# Actual Result
The `file` utility displays the following output:
test.txt: ASCII text
---
Maybe I am doing something wrong here?
I would also expect that the default “Save Dialog” reflects the line ending option currently set via “Preferences…”. This seems not to be the case. If I save a new document via `⇧` + `⌘` + `S`, TextMate always shows “LF” as default option for line endings. Again, maybe this might be a problem with my expectations on how the system works.
After this long introduction :o) here is my feature request. It would be very nice if it would be possible to set scope- and file-specific line endings. For example, I want to create a new “Settings” item set to the scope `source.abnf` that contains the following code:
{ lineEndings = '\r\n'; }
The “TextMate Settings” grammar currently marks `lineEndings` as invalid key. I suspect this feature is currently not available/implemented? If this is correct, then please consider this a (low priority) request to add this feature.
Kind regards,
René
I'm on OS 10.12.1, TM2 (12.26) and Skim 1.4.22 as viewer. Syncing pdf to source works, but not source to pdf. I looked at Skim's user list but couldn't find a solution. I wonder if something has to be done to the LaTeX bundle to restore this ability? Or is it an Apple 10.12 problem and I should wait for an Apple fix....
--Gildas