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.
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
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
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