More weirdness (in addition to page blanking multiple time s day)... files appear empty (empty window, line 1 only, no characters...).
Quick look at file on disk: yep, all there.
I do a lot of find using the "In Folder" setting.
A hassle is that actions often move the Find window to be not frontmost.
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.
If possible, I'd love this behavior to change to leave things as they were. Preferably even between open/close of the Find window, but certainly when the only actin of cmd-F is to bring the window frontmost, not toggling to a default state would be GREAT.
thoughts?
When I say (in ruby)
`"#{ENV['TM_SUPPORT_PATH']}/bin/mate" '#{p}'`
where p is the pathname of a folder, what appears in the project browser is that folder plus (hierarchically down from it) all its contents.
But when I open a folder using TextMate, directly, what appears in the project browser is just the contents of the folder; the folder itself is not in the project browser.
How can I make the former (`mate`) behave like the latter (TextMate itself)?
Thx - m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 13! http://shop.oreilly.com/product/0636920310075.do
iOS 13 Fundamentals! http://shop.oreilly.com/product/0636920310068.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hi all,
I'm a die-hard TextMate 1 user who upgraded to Catalina and am finally migrating to TextMate 2. That being said, I spent a lot of time in TextMate 1 on custom bundle snippets, themes, languages, macros, etc., so I'm hoping not to lose them.
Clicking on my original bundle brings up a TextMate 2 dialog box that asks if I want to install, but if I click "OK" it doesn't appear in the File menu, Bundle editor, or Preferences.
The TextMate wiki (https://github.com/textmate/textmate/wiki/FAQ), and past correspondence on this list, says this could be a problem with fs-events support, and suggests this fix:
rm ~/Library/Caches/com.macromates.TextMate/BundlesIndex.plist
Unfortunately there doesn't appear to be a plist in this directory--just BundlesIndex.binary. I tried deleting that to no effect.
After double clicking on my old personal bundle, a copy appears in ~/Library/Application Support/TextMate/Pristine Copy/Bundles. There is no error dialog box, and I see no errors or faults when I search for "textmate" in the Console after attempting the install.
Any help greatly appreciated!
jon
______________________________
Jon Ippolito
Professor of New Media
Co-director, Still Water
Director, Digital Curation graduate program
Does Anyone Actually Read These Titles
The University of Maine
1. open markdown document
2. select a word, say “multivariate”
2. Select Lookup Word / Selection on Wikipedia and link
EXPECTED: link to wikipedia wrapped about the selection
OBTAINED: Command error
/Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/net/http.rb:586:in `connect': SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: tlsv1 alert protocol version (OpenSSL::SSL::SSLError)
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/net/http.rb:586:in `connect'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/net/http.rb:553:in `do_start'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/net/http.rb:542:in `start'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:242:in `open_http'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:616:in `buffer_open'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:164:in `open_loop'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:162:in `catch'
from /Users/tim/Library/Application Support/TextMate/Ruby/1.8.7/lib/ruby/1.8/open-uri.rb:162:in `open_loop'
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
The command is:
#!/usr/bin/env ruby18
require "#{ENV['TM_SUPPORT_PATH']}/lib/progress.rb"
require "#{ENV['TM_SUPPORT_PATH']}/lib/exit_codes.rb"
require "#{ENV['TM_SUPPORT_PATH']}/lib/ui.rb"
require 'cgi'
require 'open-uri'
require 'erb'
require 'rexml/document'
def select_link(links)
linklist = links.map { |p| p['Text'] }
item = TextMate::UI.request_item :title => "Multiple Definitions", :prompt => "Please select a definition", :items => linklist
TextMate.exit_discard if item.nil?
return links[linklist.index(item)]
end # select_link
def getWikiEntries(phrase)
res = []
response = open("https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=#{CG… <https://en.wikipedia.org/w/api.php?format=xml&action=opensearch&search=#{CG…>", "User-Agent" => "TextMate 2.0")
doc = REXML::Document.new(response.read)
doc.elements.each('SearchSuggestion/Section/Item') do |item|
hash = { }
%w[ Text Url Description ].each { |tag| item.elements.each(tag) { |inner| hash[tag] = inner.text } }
res << hash
end
res.sort { |a, b| a['Text'].downcase <=> b['Text'].downcase }
end
def getWikiDef(phrase)
entries = getWikiEntries(phrase)
TextMate.exit_show_tool_tip "No definition found" if entries.empty?
entry = entries.size > 1 ? select_link(entries) : entries.first
return entry['Url'], "Wikipedia Entry: #{entry['Text']}", phrase
end
url, title, input = getWikiDef(STDIN.read)
print ERB.new(ENV['TM_LINK_FORMAT']).result
The column interface that you use to select a bundle item is very short
and can’t be resized.

The cursor changes when you hover over the resize handle, but I can’t
move it. Resizing the window makes no difference, no matter which side I
resize from.
I don’t use the Bundle Editor very often, so I’m afraid I can’t
say when this started. I’m currently on 2.0.8, macOS 10.14.6.
Thanks.
--
Rob McBroom
Hi, I just updated to 2.0.8, and there are a few bugs:
• Running a Python script with ⌘R hangs, producing no output in the HTML
output window – the spinny thing continues to spin throughout
– the Ruby stacktrace you get when closing the window with ⌘W – which
comes up in a modal window alert – specifies an exception in a “kill”
method, which is not an evidently obvious visible part of the bundle
command text to which the window alert offers to take you
• Starting up immediately after updating from TextMate 2.0.6 reset the
theme of every open code window to plain black-and-white (this was easily
remedied and wasn’t a showstopper in any way, though)
• There have been a number of odd hard-crashes – the “Submit Crash Log”
dialog would come up, saying that TextMate crashed, but the TextMate UI
would still appear to be up and running; in some cases a part of the UI
would prove to have been rendered unresponsive; in any case a force-quit
was always necessary.
Here are logs from two of these hard-crash events:
• https://gist.github.com/fish2000/2b6957a0f722d006b5673b7440767a9a
Let me know if I can be of further assistance w/r/t this. 2.0.8 looks like
it’ll be awesome, once some of these kinks are ironed out. Yes!
-fish (née Alexander Böhn)
Opened a file from an email attachment
On save from textmate, I get this error:
The document “BadFactorScoresExample.R” could not be saved.
Failed replacing BadFactorScoresExample.R with /var/folders/66/wrbbw2d11gzds_76wqw367f00000gn/T/TemporaryItems/(A Document Being Saved By TextMate)/BadFactorScoresExample.R: You don’t have permission to save the file “BadFactorScoresExample.R” in the folder “7DBA5AD0-07BF-4399-B649-CDE020317A4B”.
FYI, it also generates errors from commands that need to read/write
Hi,
just installed TM Test Build 2.0.7.
It seems like that the file browser behaves a bit strange. Namely the
"toplevel" is not any more the Project root, but the folder current file is
locates
> ProjectFolder
> ProjectFolder > Include
> ProjectFolder > Include > FileName.php
When having FileName.php open, the file browser select Include als "top"
folder and not the ProjectFolder. It seems related to "Keep Current Document
Selected".
When returning to 2.0.6 the file browser behaves as expected again (top
level is Project Folder).
== feek
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
BBEdit has a feature to auto-create backup files. I just tripped over this, it seems like a great thing that I'd like to figure out how to do with Textmate.
This is from BBedit 9's release notes:
The options and behavior for backing up files at save have changed, as follows:
* "Make backup before saving" is now a global preference only, and is no longer controlled per file. The "Make Backup when Saving" and "Make Backup Now" options have been removed from the File menu.
* The settings controlling backup location (in the Text Files prefs) have been removed. Backups are always made to a specific location, as follows:
* If "Keep historical backups" is turned on, backups are kept in `~/Documents/BBEdit Backups/`. Within that folder is one folder for each day's backups. The format of the dated folder name is static and non-localized: `YYYY-MM-DD`. Inside of each day's backup folder will be all of the backups made on that day, each named using the 8.7.x timestamp format.
If you want the backups to live somewhere else, lay down a folder alias named "BBEdit Backups" in `~/Documents/` and BBEdit will follow the alias.
* If "Keep historical backups" is turned *off*, BBEdit makes only a single backup, located in the same directory as the original, so "backup creep" is a thing of the past. The backup is named according to current OS conventions (which themselves follow the old Emacs convention): the backup file is named as the original file, with a tilde appended: "`foo.html~`" is the backup of "`foo.html`".
If you want the backup to have the same file name extension as the original, turn on the "Preserve file name extension" in the Text Files prefs. This will cause BBEdit to place the tilde after the "base" name of the file: "`foo~.html`".
Is there already support for anything similar to this somewhere? A bundle maybe? It'd be a save-hook, obviously.
Thanks!
--
Marc Wilson
posguy99(a)gmail.com
Hello,
Every time i start up TextMate (2.0.6.) a message box appears with the
following error:
Could not bind to socket: /tmp/textmate-501.sock
Error: Undefined error: 0
After closing the message box, the application works just fine.
I use macOS Mojave 10.14.6
Thanks in advance!
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
FYI: When I run selected lines of R code in textmate, I now get this pane of errors: (code runs fine)
PS: The blank-regions bug is way worse with current catalina (10.15.4 (19E264b))
Hi,
Textmate (version: 2.0.6 ) on macOS Hign Sierra (10.13.6)
I use electron-vue to automatically reload the page if file modified, and every time I close the tab, textmate automatically update mtime of the file. Are there any configuration option that do not modify the mtime of the file when the tab is closed?
The Post HO CHI MINH city , ditrric 2
DC : 223 Nguyen Duy Trinh , phuong binh trung tay, quan 2 .
Telephone : 0583802935
Full name : luc Tai Nguyen
Company : anh van hoi viet my
I have put off upgrading to Catalina because of people here reporting
TextMate issues after upgrading. Problems with menus, etc.
Could anyone who is using Catalina offer any advice on whether it would be
best to stay with Mojave or if the problems with Catalina are minor and no
big deal. I use TextMate daily for work and don't want to upgrade if it is
going to cause prblems with my productivity.
Thanks.
When I have multiple tabs opened with soft wrap enabled Textmate loses the
focus on cursor after switching tabs.
The same does not happen when soft wrap is disabled.
How to fix that?
--
Sent from: http://textmate.1073791.n5.nabble.com/textmate-users-f3.html
Hi
My question is perhaps stupid … When I edit my source section with the latex bundle, section, subsection, etc.…use a different style.
How to use the same style for all the text ?
Thanks,
Alain
Hello,
I have a project and inside I have a folder with several files .tex.
I would like to compile all the files at the same time how I can proceed ?
I think with a ruby script but I’m not an expert.
Regards,
Alain
If I open a Plain Text window and paste in the following line of text, TextMate 2.0.3 CPU usage goes to 100% and never stops. Syntax highlighting ends at the line containing the text. Here's the string:
ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=
Since updating to Catalina, I notice that some of the bundle menus are double-spaced. Not all of them, but some. It also seems like any option that has sub-options does not behave this way.
Walter