Hi there,
I'm a researcher studying software evolution. As part of my current
research, I'm studying the implications of open-sourcing a proprietary
software, for instance, if the project succeed in attracting newcomers.
However, I observed that some projects, like _textmate_, deleted their
software history.
https://github.com/textmate/textmate/commit/9894969e677c39007c2860f09e3f823…
Knowing that software history is indispensable for developers (e.g.,
developers need to refer to history several times a day), I would like to
ask textmate developers the following four brief questions:
1. Why did you decide to not keep the software history?
2. Do the core developers faced any kind of problems, when trying to refer
to the old history? If so, how did they solve these problems?
3. Do the newcomers faced any kind of problems, when trying to refer to the
old history? If so, how did they solve these problems?
4. How does the lack of history impacted on software evolution? Does it
placed any burden in understanding and evolving the software?
Thanks in advance for your collaboration,
Gustavo Pinto, PhD
http://www.gustavopinto.org
When I file drop a .shp file, the cursor jumps to the line below. How can I have the cursor jump to before the <- ?
Also, once I have dropped the file into TextMate, how can I make TextMate the active window (rather than the active window being Finder)?
Attached show the file drop and the code that does the file drop
Ross Ahmed
Ecologist
—
07875533906
Twitter: @RossAhmed <https://twitter.com/RossAhmed>
LinkedIn: Ross Ahmed <https://www.linkedin.com/pub/ross-ahmed/2a/775/590>
Hi guys
I wanted to know if there was a way in Textmate to do a find and replace on text files generated as a youtube transcript. These are text files downloaded containing the closed captioning text.
The time stamp lines are formatted with quasi timecode as start,end: 0:00:10.100,0:00:11.191
So there would be a line of timecode, then 1 or more lines of text, then a blank line, and then it starts over again on a new line with the next timecode start.
Also, if there is a way to remove white space after commas, but keep sentences in tact, that would save heaps of time.
These transcript files are long, and are taken from videos that are 25minutes to 1 hour duration, so doing it manually would be hell. At least if there is an easy way to strip out this stuff, manually separating paragraphs would be pretty fast.
Any advice is welcomed.
thanks
Hello!
A couple of days ago my Emmet Plugin stopped working.
This might not seem like a big deal, but I love Emmet, and so do many of my
web-dev cohorts.
I traced the error down to explicit blacklisting of this plugin in TextMate.
https://github.com/textmate/textmate/commit/4b19e404403c0d237578ecac583796d…https://github.com/textmate/textmate/commit/81d2586ffcfc9385d9bb362febda7c7…
This blacklisting is intentional, and rational. Apparently users have had
the plugin installed and its been crashing for years. I’m not sure if this
is because its crashing in use, or if its because the plugin was installed,
but doesn’t support the OS and therefore it crashes in the background
without issue, or if there are other crashes.
What I do know is that the plugin isn’t really being updated, its sort of
frozen in time, but it does work if you use @pingjiang’s custom built
binary from https://github.com/emmetio/Emmet.tmplugin/issues/10. @pingjiang
Had gone in and updated the plugin, I’m not exactly sure what was required
for him to do, but it was at least partially just a recompilation on a
newer machine (updating the release targets).
Is there any way to know if this custom built plugin is causing crash
reports, or is it just the original?
Given that it takes some effort to get a working version, I totally get if
this plugin remains blacklisted *but *I’d like to see a path to Emmet
becoming easy to get working on TextMate sometime soon.
What I’ve discovered so far is that the blacklisting uses "contains" rather
than "equals" so updating the Bundle identifier to
'io.emmet.EmmetTextmate2' was not enough as it still contained the original
"io.emmet.EmmetTextmate" so in my new bundle i’m using "io.emmet.EmmetTM2"
instead. Could this be changed to equals?
My modified plugin is available here;
https://github.com/loadedsith/emmet-objc/releases/tag/v10.11.1
or more directly
https://github.com/loadedsith/emmet-objc/releases/download/v10.11.1/Emmet.t…
My change;
https://github.com/loadedsith/emmet-objc/commit/4791f1f6b5f5bc286754fed5f9b…
And the original supporting changes;
https://github.com/pingjiang/emmet-objc/commit/d58f30ce40f2a7c07f3af0d4e4b8…
Thanks,
Graham Heath
I’m working on a bundle to support YAML front matter in Markdown (see
https://github.com/noniq/Markdown-Front-Matter.tmbundle/).
The grammar for this is easy, but I also want to strip front matter
blocks (if present) from the document before processing the markdown.
And it would be really cool to have this working with whatever Markdown
bundle (standard, GitHub Markdown, …) the user is currently using.
So in principle I want to implement a preview command that just strips
the frontmatter and then delegates to whatever else preview command
would have been normally used, if this bundle would not be installed
(like calling `super` in an overridden oop method).
Is this possible?
TextMate has a nice behavior when the caret is between curly braces and you press return
{|}
turns into
{
|
}
I'd like to have the same behavior for round and square brackets. And I achieved that by replacing in the grammar the meta.brace.round.js and meta.brace.square.js scopes with pairs of punctuation.section.scope.begin.js and punctuation.section.scope.end.js, but this looks like a hack to me, so I was wondering if there's a correct way to achieve that.
Today I noticed that a bundle command using TextMate::UI.request_item is
no longer working: Instead of opening a dialog window it only gives a
warning:
tm_dialog (async_close): Window '(null)' doesn't exist
Simple command to reproduce:
```
#!/usr/bin/env ruby18 -wKU
require "#{ENV["TM_SUPPORT_PATH"]}/lib/ui"
TextMate::UI.request_item(:items => %w(foo bar baz), :title => 'Title')
```
Known bug?
I've discovered today that the "insert template" command for the LaTeX
bundle doesn't work. It fails silently. I'm using TextMate 2 beta 11.5
on OS 10.11.5.
Kyle
I'm working on adding support for autocomplete to the D bundle. I'm
using the Ruby method "TextMate::UI.complete" to display the completion
result. This UI supports displaying images in the list of the results,
first it took me a while to figure out that the images needs to be
registered using the dialog command.
Now the question is why is this necessary? I looked in the source code
for the dialog command and it looks like the register action/sub command
creates NSImages of the given paths. I was thinking that the "popup"
dialog command could automatically register the images.
As far as I know it's not possible to automatically execute a bundle
command ones, so the completion command needs to register the images
every time because it doesn't know if the images have already been
registered.
--
/Jacob Carlborg
Since a recent update (maybe since
[60180f7](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz/local-
2f068e83-2834/0?redirect=https%3A%2F%2Fgithub.com%2Ftextmate%2Ftextmate%2Fcommit%2F60180f77ec16a4c058c8845ebb9eb41ab6ef227e&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=)
?) callback.document.will-save isn't working anymore when used as semantic
class in a bundle.
Has this been changed?
Koen
Sent from [Nylas N1](https://link.nylas.com/link/33wd9n5m5l3cdcz4d1oikbwcz
/local-
2f068e83-2834/1?redirect=https%3A%2F%2Fnylas.com%2Fn1%3Fref%3Dn1&r=dGV4dG1hdGVAbGlzdHMubWFjcm9tYXRlcy5jb20=),
the extensible, open source mail client.

Is there some mechanism that is suppressing keyboard events in the
browser that pops up when showing HTML in a new window? Pressing the
tab key does not focus links in the window. When I listen for `keyup`
events on `document`, tabbing is trapped to the body element.
Ryan
Since templates were discontinued I've been using this AppleScript to
make a quick HTML doc:
#!/usr/bin/osascript
tell application "System Events"
keystroke "p"
using {control down, option down, shift down}
keystroke "4"
"<!DOCTYPE html> <html lang=\"da\"> <head> <meta charset=\"utf-8\">
<title>$1</title> <meta name=\"description\" content=\"\"> <style
type=\"text/css\" media=\"screen\"> *{margin:0;padding:0;} $2 </style>
</head> <body> $0 </body> </html>"
end tell
It’s been working fine until now. I’m on beta.11.8, and I’m very sorry,
but I don’t know if the problem arose with this update or one of the
ones from last week.
The problem is rather unusual. It appears that System Events is
reversing the order of the commands.
Instead of simulating the keyboard shortcut for selecting PHP, all of
the template is inserted via keyboard simulation, then 4 for PHP is
pressed and only THEN the shortcut is pressed. But it doesn’t go back to
working, if I reverse the sequence in the command code.
This is what it looks like:
Resultat
Here are the settings for the command:
Settings
Rasmus
Hi,
I really love the simple yet effective autocompletion using [ESC].
However, I just began to dig into Scheme, and it seems the autocompletion doesn't work with functions whose name has dashes.
For example, with the following code :
(define (a-b x) (* x x))
(define c-d 2)
If I try and type a and press [ESC], nothing happens. However, when I try with c, then the completion works.
It might be a problem of the grammar.
How can I fix it ? I don't know how the grammar influences the autocompletion.
Best regards,
Louis
I was on Mavericks this morning, attempting to compile TextMate (latest git
HEAD)
But I suspect its no longer possible since it appears to require a more
recent version of XCode - error in one function due to 'forced copy in
constructor'. It was related to a parents = {} parameter, I didn't dig too
deeply.
Not to worry, it gave me a good reason to upgrade to El Capitan.
So I've done that, and updated all the homebrew packages, aswell as Xcode
The github states that hg (mercurial) is optional, but I installed it
anyway to allow the unit tests to run.
Unfortunately I'm still having problems
----- environment
[carpii@imac:~/dev/textmate]$ clang++ --version
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[carpii@imac:~/dev/textmate]$ clang --version
Apple LLVM version 7.3.0 (clang-703.0.31)
Target: x86_64-apple-darwin15.5.0
Thread model: posix
InstalledDir:
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin
[carpii@imac:~/dev/textmate]$ xcodebuild -version
Xcode 7.3.1
Build version 7D1014
[carpii@imac:~/dev/textmate]$ sw_vers -productVersion
10.11.5
------- compilation
[carpii@imac:~/dev/textmate]$ ninja -t clean
Cleaning... 515 files.
[carpii@imac:~/dev/textmate]$ ninja io
[1/1] Generate ‘build.ninja’…
[109/109] Run test ‘/Users/carpii/build/TextMate/Frameworks/io/test_io’…
[carpii@imac:~/dev/textmate]$ ninja TextMate
[229/1107] Run test ‘/Users/carpii/build/TextMate/Frameworks/scm/test_scm’…
FAILED: /Users/carpii/build/TextMate/Frameworks/scm/test_scm && touch
/Users/carpii/build/TextMate/Frameworks/scm/test_scm.run
/bin/sh: line 1: 7210 Segmentation fault: 11
/Users/carpii/build/TextMate/Frameworks/scm/test_scm
[229/1107] Compile ‘Frameworks/file/src/open.cc’…
ninja: build stopped: subcommand failed.
Any ideas please?
I've created a bundle for ESLint and I'd like to find out the requirements for submission to Textmate's bundle list in the preferences pane.
https://github.com/ryanfitzer/eslint.tmbundle
Thanks,
Ryan
I was playing around with the new 'theme' setting in ./.tm_properties.
Given the file: ./webapp/WEB-INF/web.xml
this works:
[ "text.xml" ]
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
this does not:
[ "*.xml" ]
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
this works:
[ "webapp/**" ]
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
this does not:
[ "webapp/WEB-INF/**"]
theme = 71D40D9D-AE48-11D9-920A-000D93589AF6
It was my understanding that all of these selectors should apply the
setting to this file? What am missing?
While testing out per-type themes, I noticed all `.txt` files came up as
Python. I’m sure I did this to myself at some point, but I couldn’t
get it to go back.
It should be just a matter of opening a `.txt` file and selecting
“Plain Text”, right?
I was able to fix it manually by editing `Global.tmProperties`, but
thought I’d report it in case it’s a bug introduced with the new
automatic type detection or something.
On a related note, changing the type of an open document doesn’t
change the theme, but it’s a brand new feature. That’ll work
eventually, right?
--
Rob McBroom
http://www.skurfer.com/
I’m not able to drag tabs to a different position within the same window. I found a workaround where I could drag it to another window and then back to reorder. Anyone else having this problem?
Latest nightly build.
Ed
Posted this in the github bugs repo
(https://github.com/textmate/bugs/issues/21), but was directed here for follow
up.
Anyway, for some reason "Go to Related File" with a custom relatedFilePath
worked in beta 10, but not thereafter.
I've setup a test project, uploaded here:
https://github.com/textmate/bugs/files/349542/textmate-related-file.zip
When you open the project with beta 10, and open the `test.rb` file, `Go to
Related File` will take you to `test_spec.rb` and from there `Go to Related
File` will take you back to `test.rb`.
In any version after that, eg the latest beta, 11.4, this won't work.
Has something changed with the format of `relatedFilePath`?
Thanks,
Koen
Sent from [Nylas N1](https://nylas.com/n1?ref=n1), the extensible, open source
mail client.
Hi all,
On this Monday morning I want to thank all the folks that contribute to the
constantly improvements of TextMate, and its bundles!
As a TM-user I really appreciate all your work!
Regards,
Feek
--
View this message in context: http://textmate.1073791.n5.nabble.com/Just-want-to-thank-tp30144.html
Sent from the textmate users mailing list archive at Nabble.com.
Has anyone else noticed that if you do a project search and get matches in
files (e.g. minified JS) that have very long lines, when you scroll past
those lines the app gets super bogged down, sometimes to the point of
needing to be force-closed?
I would have figured this would have been fixed by now but maybe it's
something peculiar to my setup. Please advise.
Thanks.
--
Tom Smyth
Worker-Owner, Sassafras Tech Collective
Specializing in innovative, usable tech for social change
sassafras.coop *·* @sassafrastech
Resident, Touchstone Cohousing
touchstonecohousing.org
Is there a 'defaults' option to disable atomic saves in TM2?
I host all my code on linux VM's on an ESXI server
Usually I mount them via AFP, but Im ditching this now in favour of Samba
Since moving to SMB/CIFS, I'm finding TM2 is now frequently complaining
that it cannot save a file due to 'Resource Busy'
When this happens, even restarting TM2 doesn't fix it, I have to restart
the Samba service on the server (which isn't a great solution)
I think it may be somehow related to atomic saves, so Id like to disable
those (given that I still have git to protect any aborted writes)
Thanks