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
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 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 disappeared. (well at first nothing happened until I reinstalled TM and deleted Application Support)
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 disappeared. (well at first nothing happened until I reinstalled TM and deleted Application Support)
Hi all,
the [Emmet plugin](https://emmet.io) crashes since the latest test builds of
TM v2.0-rc.22.
The developer is aware of this issue, but unfortunately no fix till now.
Could someone here tell what the changes in TM are what could break the
Emmet plugin? So I can give the developer a hint :)
A crashlog can be found here: https://feek.d.pr/98mGNP
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
It would be nice if the Align Assignments command absorbed the smart code from the align bundle, which appears moribund (?), but which is much smarter about alignments.
https://github.com/mads379/align.tmbundle
I notice that after updating to 2.0-rc.25 and 2.0-rc.26, file permissions revert when saving a file. I presume this has to do with the new atomic save engine. E.g., a file which previously had -rwxr-xr-x permissions reverts to -rw-r--r-- after saving. I assume this is a bug?
# chmod 755 bin/resman.cli.php
# ls -l bin/resman.cli.php
-rwxr-xr-x@ 1 q staff 10184 Jul 8 01:01 bin/resman.cli.php
(Edit and save the file in TextMate 2.0-rc.26)
# ls -l bin/resman.cli.php
-rw-r--r--@ 1 q staff 10184 Jul 8 01:01 bin/resman.cli.php
Quinn
I just installed the public beta of macOS Catalina. I’ve noticed that the TextMate icon is missing in the Dock. It’s showing a generic application icon instead.
--
/Jacob Carlborg
Hi,
Dumb question for a 12-year user of Textmate (we missed the 10-yer anniversary, it seems: happy birthday TM!), but…
How is the project folder determined? Specifically, I’ve got a tab open which is in a folder marked in the filebrowser (^⌥⌘-D) as the project folder (at least ) it’s ticked in the little drop down menu (see image).
But… If I ⇧⌘-F (find in project), the Dropbox folder is selected… What determines what is set when one used command-shift-F?
In general, I’d appreciate if anyone has pointers to a decent tutorial on how to use project folders.
I have a command I'm trying to create that pastes multiple lines of code,
the problem is sequential lines are not indented properly. If my command
pastes 1, 2, 3 on newlines for example, I'll get something like this:
def foo
1
2
3
end
since I invoke my command from the proper indenting (2 spaces over), but
the following lines are not indented at all. Is there a recommended way to
fix this?
Thanks!
Are people using TextMate with Dark Mode? I see some issues with reading
text (find input text is black until unfocused, then changes to white), but
also curiously the icons in the outline view are also missing.
[image: Screen Shot 2018-10-04 at 8.04.30 PM.png]
I have a bundle command implemented in Ruby that uses TextMate.detatch. The tm/detach.rb requires ui.rb which requires plist.bundle. Loading the plist bundle crashes with a segmentation fault. The issue occurs on Mojave but not on High Sierra. I’m using "/usr/bin/env ruby20” as the Ruby for running the command. The command is available here [1].
[1] https://github.com/textmate/d.tmbundle/blob/master/Commands/Start%20DCD.tmC…
--
/Jacob Carlborg
Is there a hidden preference, modifier key, or some other way to make
“Jump to Selection” put the current line at the top of the window
instead of in the center?
Actually, one or two lines of context above the current line would be
even better. Like what `less -j4 file.txt` would do.
Thanks.
--
Rob McBroom
Hi,
I have started to use Homebrew's Perl and its CPAN to avoid having to
mess with the Macs Protection mechanism.
The CPAN libraries/modules are installed under ~/perl5 necesstitting to
run
PERL_MM_OPT="INSTALL_BASE=$HOME/perl5" cpan local::lib
and adding this to the end of ~/.profile
eval "$(perl -I$HOME/perl5/lib/perl5 -Mlocal::lib=$HOME/perl5)"
which sets
PERL_MB_OPT='--install_base "/Users/el/perl5"'
PERL_MM_OPT=INSTALL_BASE=/Users/el/perl5
(in my case).
I have set TM_PERL to /usr/local/bin/perl and when I run a perl program
wit CMD-R it works, unless I use a CPAN module when I get this message
(under TextMate, but NOT from the command line):
Can't locate DBI.pm in @INC (you may need to install the DBI module)
(@INC contains: /Users/el/Library/Application
Support/TextMate/Managed/Bundles/Perl.tmbundle/Support
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /Users/el/Downloads/epplog.pl line 4.
BEGIN failed--compilation aborted at /Users/el/Downloads/epplog.pl line 4.
When I add this to the front of the script
BEGIN {
$WHOAMI = getpwuid($<);
$LOCALPERL5 = "/Users/$WHOAMI/perl5/lib/perl5";
push @INC, $LOCALPERL5;
} ## end BEGIN
use lib "/Users/$WHOAMI/perl5/lib/perl5";
it runs under TextMate.
If I run Tidy I get this message
Can't locate Perl/Tidy.pm in @INC (you may need to install the
Perl::Tidy module) (@INC contains:
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/site_perl/5.28.1
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1/darwin-thread-multi-2level
/usr/local/Cellar/perl/5.28.1/lib/perl5/5.28.1
/usr/local/lib/perl5/site_perl/5.28.1) at /usr/local/bin/perltidy line 2.
BEGIN failed--compilation aborted at /usr/local/bin/perltidy line 2.
which disappears if I prefix the above BEGIN/Use block into
/usr/local/bin/perltidy (which works from the command line).
I have tried to set TM_PERLTIDY to /usr/local/bin/perltidy but makes no
difference.
Does anyone have an idea what I must set to be able not have to use the
BEGIN/use block any longer (for both issues)?
greetings, el
--
Dr. Eberhard W. Lisse / Obstetrician & Gynaecologist (Saar)
el(a)lisse.NA / * | Telephone: +264 81 124 6733 (cell)
PO Box 8421 /
Bachbrecht, Namibia ;____/
Hello,
I am trying to make a snippet that adds ^{$1} associated to the ^ key
equivalent.
But ^ is a dead key on my french keyboard, and I can't seem to assign it in
the bundle editor.
Any idea?
Best,
S.
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
I’m running the latest RC 2.0-rc.15. I’ve only noticed this since I've installed this version.
When I move between tabs (either by clicking on tab or using Option-Command left, right arrows) sometimes the page scrolls up by 1 to 3-4 lines each time. But once it does this scrolling then it will do so every time I come back to that tab.
I’m not sure how TM handles window draws but there seems to be a miscalculated line offset between a buffered text image that gets shown when the window first shows and then an actual redraw of lines afterwards. I’ve noticed in some cases a clipped portion of the window being shown first and then the remaining page showing but the clipping is off so the text appears to move downwards. Sorry I haven’t looked into the code to get a better idea of what’s happening with window draws.
Ed Wong
Hi Folks,
I'be had a recurring problem with one file. For some reason when TextMate
reads the film from disk it somehow corrupts the tail of the file. I've
attached two images of the corrupted and original versions. I've done a bit
of digging and have observed the following.
1. It only appears to happen for this one particular file (weird).
2. When I first launch Textmate and then open this file it appears
corrupted in Textmate but not when I use "tail" in the command line (i.e.,
the file is corrupted in TextMate's memory but not on disk).
3. If I close the (apparently) corrupted file and re-open it, the file is
now not corrupted.
4. If I save the file to disk then it is saved in corrupted form (oops).
5. If I delete ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
before launching TextMate then the file is not corrupted.
6. I ran Apple's debug (reboot+D) to check my memory and it reported no
errors.
7. I'm running TextMate 2.0-rc.23 on macOS 10.14.4
Any suggestions would be most appreciated,
Cheers,
Leo
[image: fig-01.png]
[image: fig-02.png]
Hello everyone,
Does somebody successfully build TextMate 2 for Mac OS X Tiger?
I forgot I had to purchase a license for the 1.5.x version. Thing I do not want to do at the moment.
Best,
Umberto
I know there’s a semantic class for when a document is open: "callback.document.did-open”. Is there a corresponding semantic class for when a document is closed? Or even better when a project is closed. I know that TextMate technically doesn’t have a concept of projects. I would like to stop a completion daemon.
I had a look in the TextMate source code but I couldn't find anything
--
/Jacob Carlborg
The Ruby bundle currently supports reformatting a file with RuboCop
(“Reformat Document”), and checking the document’s syntax using `ruby -wc.
So far there is no support for automatically checking (or maybe even
reformatting) a file everytime it is saved.
For RuboCop, there are (at least) four stand-alone RuboCop bundles
providing additional features:
* https://github.com/fazibear/Rubocop.tmbundle
* https://github.com/mrdougal/textmate2-rubocop
* https://github.com/goyox86/rubocop-tmbundle
* https://github.com/noniq/RuboCop.tmbundle (Disclaimer: This bundle
was written by me).
Recently various alternatives to RuboCop emerged, especially:
* https://github.com/testdouble/standard (uses RuboCop internally, “No
configuration“)
* https://github.com/samphippen/rubyfmt (autoformatting only,
optimized for speed)
Both tools are still pre-1.0, but actively developed.
I’d like to add support for both standardrb and rubyfmt to TextMate.
However, I’m not yet sure about the following questions:
* Should the Ruby bundle be extended to support these? Or should one
or more stand-alone bundles be created?
* What would be the best way to tell TextMate which (if any) linting /
formatting tool it should use for a given ruby file or project?
Any thoughts?
s.
Hi y’all.
A while back, I bought the domain: textmate.app
I had hand wavy plans for a manual/documentation/book site. But when I’m honest with myself, I’m probably not going to ever make that.
So, would the open source projects / MacroMates / Allan like to have the domain for free? If so, I can coordinate with whomever to transfer from my registrar to yours.
If not, that’s fine too. I can just let it expire.
Best
Sb