Has anyone seen this situation (see screenshot). `Quit TextMate` is not selectable, with nothing apparent to block the quit: no open windows or dialogs. This happened once yesterday, and once a few weeks ago. 🤔
TextMate v2.0
macOS 10.14.6
Hello,
I've recently updated to Mojave and I noticed that a TextMate theme I
use called iPlastic doesn't allow a transparency for the background. For
the same background setting in High Sierra the background now is solid.
I've tried modifying the theme directly in the Bundle editor and tried
different color codes for the background entry, which was
background = '#EEEEEEEB';
before the OS update, but I haven't been able to add any transparency.
Does anyone have suggestions?
Angelo
Hi,
Is there a function to make TextMate 2 opens a certain file type using a specific theme? e.g. there is the default theme and then you can set TM to open html files using another theme.
Best, u
PS:
I need it!! I do not know why only few Text Editors have this feature…
Hello,
I would like to change the highlighted part to the same (pink) color of the rest.
What I have tried by now (all day) is by adding a new grammar and then change the color in the theme.
I tried many things like this one:
{
name = 'meta.new-line';
match = '\}\n.’;
}
[cid:99DEEF18-FC21-4A16-8AC7-0F38A367FAB0@home-life.hub]
[cid:00EDC7C9-E951-40B0-BE0F-DC45FB718038@home-life.hub]
Anyway, finally my idea is to make each block ( {...} ) of a different color.
I hope this is the correct place to post about this; the TextMate GitHub
repo doesn't seem to let anyone add issues. This setting:
defaults write com.macromates.TextMate.preview disableTabAutoClose
-bool YES
...is being ignored by RC 29, 30 and 31 (if not earlier, I didn't try).
The last "mainstream" release appears to be RC10, which works fine.
The setting is absolutely vital to me, so I'd really love to see this
issue fixed. In the mean time I'll stick to RC10.
To be honest, I'm surprised it isn't the default. This is of course just
a subjective opinion! For me, having tabs close and lose tab ordering
and positioning is quite destructive to workflow, especially when
working in projects with large numbers of files. I have to go scrolling
up and down in the file browser trying to relocate something I'd opened
for reference but has now closed again. The behaviour feels rather
arbitrary / random too; the threshold depends on window dimensions, so
it isn't very user-predictable. I never remember to right-click and
choose "Sticky"; it's not something I've ever had to do in any other
text editor or IDE, so it's just not in my muscle memory.
Has there been any consideration to using the current macOS system-wide
tab bar instead? This "compresses" tabs when the tab bar gets full &
automatically expands tabs towards the side of the tab bar most recently
selected (at least in Finder or Safari, but maybe Apple implemented
special subclasses and this isn't out-of-box Cocoa behaviour). If it's
good enough for web browsers, where having very large numbers of tabs
open is common, it's hopefully good enough for a text editor too. The
"hide if overflowing" behaviour, if it were kept, could then become
opt-in instead of opt-out. While other editors seem to be adopting
Sublime's "temporary tab" approach, I've never been sure I like it; and
going with the best-practice OS X core system approach has always felt
like the TextMate ethos.
--
TTFN, Andrew Hodgkinson
Find photos, software, music and more at my home site, Bandcamp and
GitHub:
https://pond.org.uk / https://pondnz.bandcamp.com /
https://github.com/pond
Hello,
I've noticed that sometimes files that are not empty sometimes appear so
when I open them in TextMate. If I close and reopen them, they still appear
blank. If I open them in TextEdit, they don't appear empty. The problem
goes away, though, when I quit TextMate and reopen it.
This is a little inconvenient, because I sometimes have several files open
and then have to close and reopen all of them, too.
Would anyone know how to have the file open properly without having to quit
TextMate?
Thank you and best wishes,
Anthony V. Pulido
Hi Quinn,
Perhaps this issue is related to this bug report (opened over a year ago) for the bundle: https://github.com/hiltmon/Gist.tmbundle/issues/13
Best,
Farhan
> On Sep 20, 2019, at 8:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Send TextMate mailing list submissions to
> textmate(a)lists.macromates.com
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.macromates.com/listinfo/textmate
> or, via email, send a message with subject or body 'help' to
> textmate-request(a)lists.macromates.com
>
> You can reach the person managing the list at
> textmate-owner(a)lists.macromates.com
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of TextMate digest..."
> Today's Topics:
>
> 1. Background transparency no longer works in 2.0 (Sam Scherer)
> 2. Gist.tmbundle - tlsv1 alert protocol version (Quinn Comendant)
> <mime-attachment>
> <mime-attachment>
> _______________________________________________
> TextMate mailing list
> TextMate(a)lists.macromates.com
> https://lists.macromates.com/listinfo/textmate
I have been using the Gist.tmbundle from https://github.com/hiltmon/Gist.tmbundle, but today I tried to create a public Gist and got this error. Anybody know if this is a quick fix? The bundle hasn't had updates to its repo in 5 years, so it may be dead.
Thanks,
Quinn
-------------------------------------------------------
/Users/quinn/Library/Application Support/TextMate/Bundles/Gist.tmbundle/Support/bin/gistmate.rb:368:in `api_post_request': undefined method `code' for nil:NilClass (NoMethodError)
from /Users/quinn/Library/Application Support/TextMate/Bundles/Gist.tmbundle/Support/bin/gistmate.rb:203:in `create_temp_gist'
from /Users/quinn/Library/Application Support/TextMate/Bundles/Gist.tmbundle/Support/bin/gistmate.rb:177:in `create_from_selection'
from Gist from Selection:5
Received exception: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version
At line 586 in ‘http.rb’ (inside method ‘connect’)
At line 586 in ‘http.rb’ (inside method ‘connect’)
At line 553 in ‘http.rb’ (inside method ‘do_start’)
At line 542 in ‘http.rb’ (inside method ‘start’)
At line 1035 in ‘http.rb’ (inside method ‘request’)
At line 364 in ‘gistmate.rb’ (inside method ‘api_post_request’)
At line 38 in ‘progress.rb’ (inside method ‘call’)
At line 38 in ‘progress.rb’ (inside method ‘call_with_progress’)
At line 67 in ‘progress.rb’ (inside method ‘call’)
At line 67 in ‘progress.rb’ (inside method ‘call_with_progress’)
At line 22 in ‘ui.rb’ (inside method ‘dialog’)
At line 42 in ‘progress.rb’ (inside method ‘call_with_progress’)
At line 360 in ‘gistmate.rb’ (inside method ‘api_post_request’)
At line 203 in ‘gistmate.rb’ (inside method ‘create_temp_gist’)
At line 177 in ‘gistmate.rb’ (inside method ‘create_from_selection’)
At line 5 in ‘TextMate_command.44v9Kk’ (top level)
I’d really like TextMate to support the Language Server Protocol for
code completion, navigation etc. for various languages (in my case
primarily Ruby, but LSP as such is language-agnostic).
To be honest, I don't have any clue (yet) what exactly needs to be done.
However, there’s a already a vast amount of editors supporting LSP (see
https://langserver.org/#implementations-client ) and I’m quite sure that
investigating some of these implementations would give hints about how
to add LSP support to TextMate.
Is there anyone else interested in this topic? Maybe we could team up?
s.
Hi Phil,
Don't know the status of the Bundle Editor, but I had the same issue with menu items in my own tmBundles and whipped up a quick (drumroll...) tmBundle to help me with that. Not a full Bundle Editor, but available right away.
https://github.com/persquare/BundleMenuEditor.tmBundle
Hope that helps,
Per
On September 18, 2019 at 12:33 PM, Phil Molyneux <molyneux(a)pobox.com> wrote:
Now that TextMate is at version 2.0 could I ask what the status of the Bundle editor is ? A lot of functionality that was available in v1.x is missing — for example:
(1) Moving an item from Other Actions to Menu Actions (eg BibDesk Completion)
(2) Moving items within a menu
(3) Creating submenus
(5) Deleting an item
(6) Inserting a separator in a menu
Phil
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Phil Molyneux E: molyneux(a)pobox.com
T: 020 8549 0045
M: 07885 426 323
71 Deacon Road, Kingston upon Thames KT2 6LS
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
TextMate mailing list
TextMate(a)lists.macromates.com
https://lists.macromates.com/listinfo/textmate
I'm sorry to lose the feature where there was a pref to keep the tabs from appearing above the project browser. I'm not used to having to reach way over to the side, and I find the tab above the browser confusing visually. m.
If you create an empty file with no file extension (on your desktop for
example), then right click it, OSX/Finder offers various app choices to use
to 'Open With..'
A lot of other text and code editors appear in this list (Atom, Visual
Code, Sublime Text), but TextMate does not
It would be very useful if TM would register itself with OSX in the same
way.
I guess there's some way to do this manually, but if so, I haven't found it
yet
Hello,
I'm running TextMate version 2.0-rc.27.
It seems that I'm no longer able to edit files that are not owned by
me by using `sudo mate` or plain `mate`.
Steps:
1. Run `sudo mate /etc/hosts`
2. Enter my username and password in the terminal
3. Make a change
4. Save the file
Expected: The file is saved with the new contents
Actual: an error modal is show with the following contents:
Title: The document “hosts” could not be saved.
Body: Failed replacing hosts with
/var/folders/w8/0pc0dw1d4zd9knf_qm4ls1bc0000gn/T/TemporaryItems/(A
Document Being Saved By TextMate)/hosts: You don’t have permission to
save the file “hosts” in the folder “etc”.
So far I have tried:
- Granting "Full Disk Access" to TextMate in System Preferences ->
Security & Privacy -> Privacy
- Uninstalling and reinstalling `mate`
Please let me know if there's any more information I can provide.
Thanks!
Hello list,
when opening (existing) files from Terminal.app using the `mate` command, it occasionally (but not always) takes a fairly long time (more than 5secs) to open the file in TextMate. TM in all these instances is already running, but doesn't necessarily have any open windows.
This is for small files (e.g. 30 short lines of code), so it cannot be the file size making a difference. If I open the files directly through TM's File -> Open... menu, no such delay happens.
During such a delay, if I click on the already running TM in the dock to activate it, the desired document that `mate` is trying to open immediately appears.
If I close the document and retry immediately afterwards, then no delay seems to exist for a while. Swap also doesn't seem to be an issue, my swapfile has size 0 on a 32GB Macbook Pro, with 16GB free. If TM hasn't been activated in a while (even though supposedly running according to the Dock dot) then this seems more likely.
It seems to be the communication / connecting between mate and TM that causes this delay somehow. I've tried removing and reinstalling the `mate` command.
This is on TextMate version 2.0-rc.10, but is not new behavior, I've seen this for quite some time.
Does that sound familiar to anyone or have any diagnosis tips?
Thanks,
Daniel.
(I just asked this to irc so sorry for the duplicate)
I'm looking for guidance on how to change the javascript grammar so it'll
syntax highlight both, e.g., "if (...)" and "if(...)". Currently, only the
former works, and I believe this is for most control statements, e.g., if,
for, while, etc.
In java, for example, both work, and I tried to compare the grammars to
make my own edits, but found them too complicated and different, and
anything I tried didn't work.
Any guidance would be appreciated.
Thanks-
Robert
Hi,
Does anybody have problems with pushing to the remote repositories on Github?
What I see:
Pushing to remote source 'origin' for branch 'master'
Output:
fatal: could not read Username for 'https://github.com': Device not configured
This is the latest TM 2.0-rc.27 on OSX 10.14.6 (18G87). Configuration is set as before (user.name, user.email, github.user).
Yesterday late I’ve been pushing quite a lot and had no problems. Very weird, hence my question.
Of course, Github desktop works fine, I wonder...
Rob J Goedman
goedman(a)icloud.com
Hello everyone,
Who can explain me what these settings are for?
Specifically: Scope Selector, Key Equivalent, Tag Trigger options.
I’m in “Edit Bundles… > Themes”
[cid:AC15C356-0CB2-46DA-BB4D-71356BD035FC@home-life.hub]
Best, u
I have been playing with the touchbar support in texmate and have noticed
the following.
If I set bookmarks in my document the touchbar buttons with up/down
chevrons will correctly take me to the previous or next bookmark
respectively.
However, if I make a change to the document and save it. I now get a
change marker showing that it is different than what is in the git
repository. That is to be expected.
But now the up/down buttons on the touchbar stop at all of the git markers
as well as the bookmarks. Is this by design?
It makes jumping back and forth between a couple of bookmarks painful if
there are a lot of edits in the file.
I can still hold down the fn button and use F2/Shift F2 to achieve this,
but that sort of defeats the purpose of having the nifty touch bar buttons.
I think `ruby “file”` can be slow too. Don’t know if it’s related
> On Jul 18, 2019, at 5:00 AM, textmate-request(a)lists.macromates.com wrote:
>
> Re: `mate <file>` from Terminal is occasionally very slow to
> open <file> in TextMate
Hey all,
I tried to pull a new patch from master and found an error;
./configure && ninja
rm
/Users/heathg/build/TextMate/Frameworks/SoftwareUpdate/fixtures/secret.pem
ninja: error: build.ninja:17: loading '/build.ninja': No such file
or directory
include $builddir/build.ninja
^ near here
ninja: error: build.ninja:17: loading '/build.ninja': No such file
or directory
include $builddir/build.ninja
I did a `git bisect` and narrowed it down to b42cbb1f.
I don't know if I missed a memo (obviously it was still building for
Allan :) ) or if this is a bug.
I unblocked my self by reverting the commit locally.
Thanks,
Graham
Thank you Matt. That did it.
My knowledge hadn’t gone beyond Preferences and Application Support. Learned something today. Will I remember it tomorrow?
> On Jul 24, 2019, at 22:09, textmate-request(a)lists.macromates.com wrote:
>
> Date: Wed, 24 Jul 2019 22:09:35 -0700
> From: Matt Neuburg <matt(a)tidbits.com <mailto:matt@tidbits.com>>
> To: TextMate users <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
> Subject: [TxMt] Re: Keyboard gone crazy in TM 2.0-rc.10
> Message-ID: <34E15DA4-6383-4318-B99B-CC1EEF22A1B8(a)tidbits.com <mailto:34E15DA4-6383-4318-B99B-CC1EEF22A1B8@tidbits.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Yes, it?s in Caches. m.
>
> --
> matt neuburg, phd = http://www.apeth.net/matt/ <http://www.apeth.net/matt/>
> pantes anthropoi tou eidenai oregontai phusei
> Programming iOS 12! http://shop.oreilly.com/product/0636920208662.do <http://shop.oreilly.com/product/0636920208662.do>
> iOS 12 Fundamentals! http://shop.oreilly.com/product/0636920208655.do <http://shop.oreilly.com/product/0636920208655.do>
> RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html <http://www.apeth.com/RubyFrontierDocs/default.html>
>
>> On Jul 24, 2019, at 10:07 PM, Greg <web(a)web.knobby.ws <mailto:web@web.knobby.ws>> wrote:
>>
>> Matt
>>
>> Maybe that?s what started it, but I wiped the app and ~/Library/Application Support/TextMate and the problem persists. Is the cache elsewhere?
>>
>>> On Jul 24, 2019, at 05:00, textmate-request(a)lists.macromates.com <mailto:textmate-request@lists.macromates.com> wrote:
>>>
>>> Message: 2
>>> Date: Tue, 23 Jul 2019 11:18:45 -0700
>>> From: Matt Neuburg <matt(a)tidbits.com <mailto:matt@tidbits.com>>
>>> To: TextMate users <textmate(a)lists.macromates.com <mailto:textmate@lists.macromates.com>>
>>> Subject: [TxMt] Re: Keyboard gone crazy in TM 2.0-rc.10
>>> Message-ID: <7C4A3A59-3EE9-47CC-9D79-2C12782E679A(a)tidbits.com <mailto:7C4A3A59-3EE9-47CC-9D79-2C12782E679A@tidbits.com>>
>>> Content-Type: text/plain; charset=utf-8
>>>
>>> This could be irrelevant but I've got a point of similarity, namely, I have a bundle command and instead of doing what it was supposed to do, it deleted all the text in the file.
>>>
>>> I discovered that TextMate had mysteriously decided that my bundle command was empty. It had "reverted" to default settings and no code content.
>>>
>>> Well, the default setting is that the output should replace the entire text of the file. There was no code so the output was nothing, and thus nothingness replaced the text of the file.
>>>
>>> Fortunately I had a backup of the bundle. I had a very hard time getting TextMate to release its memory of the bad bundle but eventually by deleting the cache and restarting I was back in business. Very unnerving.
>>>
>>> m.
>>>
>>>
>>>> On Jul 23, 2019, at 9:04 AM, Greg <web(a)web.knobby.ws <mailto:web@web.knobby.ws>> wrote:
>>>>
>>>> I assume I did something, but, for example, Cmd-/ deletes all the text in a file (as if Cmd-A, delete)
>>>>
>>>> I?m using Ruby 2.6.3 and it?s a Rails project.
>>>>
>>>> If I open a .txt file via File>Open the page flickers twice and then it?s blank. If I Cmd-Z twice the text returns.
>>>>
>>>> I normally use Keyboard Maestro, but turned off the engine and it still happens.
>>>>
>>>> I reinstalled TextMate and deleted ~/Library/Application Support/TextMate/ and also the two prefs files.
>>>>
>>>> This reinstall helped with the initial problem the in general the clicks were ignored. I couldn?t edit Preferences.
>>>>
>>>> Cmd-S deletes everything on a page too.
>>>>
>>>> What did I do. I?m not thinking it?s a fundamental TM problem because my laptop is fine.
>>>>
>>>> I first noticed this when I tried to do a Cmd-/ in a Ruby file and the whole page di