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