Hello,
I use textmate a lot for latex, with skim as the PDF viewer, and I have set it up so that I can sync between skim and textmate. However, sometimes when I shift-command-click on a skim window, in order to go to the corresponding place in the textmate window, textmate opens a new window of the source file. So I then have two windows of the same source file open in textmate. When I change one window it instantly changes the other, so they remain in sync. This is a useful feature sometimes, but not all the time. So I have two questions.
1. How can I stop this happening when using skim, so that focus just goes to the already-open textmate window?
2. How can I deliberately open two textmate windows of the same file? This is a very useful feature to have available. I hadn't realized it was a feature of textmate until the above behaviour happened.
I am using Textmate 2 (specifically 2.0-alpha.9543) on OSX 10.9.2.
Many thanks. Apologies if this message is a duplicate (an email problem).
Geoff
I'd like to draw a line at a certain number of columns to better help keep
my line lengths in check (PEP 8!)
This was possible in TextMate 1.x but I don't see an option in 2. Is there
such an option?
--
Wells Oliver
wellsoliver(a)gmail.com
Found it. A snippet in another language bundle (KSP, recently added) was causing it.
I didn't know that snippets all bundles are simultaneously active. Is this norma behaviour or is this a bug or configuration option?
thanks
- bruno
On May 15, 2014, at 9:28, Bruno Degazio <lifemusic(a)sympatico.ca> wrote:
> Whenever I type a ':' (colon) character Textmate automatically inserts an equals sign. At first I thought something changed in my language bundle (Forth) but this happens with any language bundle active. I've turned off the Auto-pairing option in Preferences, and I am not using any form of auto-completion (to my knowledge), but it without remedying the problem. Needless to say this paring of characters is a nuisance in Forth, where I frequently want to write a colon on its own, without the equal-sign.
>
> Can anyone suggest where else I should look to turn this off? I'm in Textmate 1.5.11
>
> thanks in advance
> - bruno
>
> ============================
> Bruno Degazio
> Professor, Faculty of Arts, Animation and Design
> Sheridan College
> degazio(a)sheridancollege.ca
>
>
>
>
Whenever I type a ':' (colon) character Textmate automatically inserts an equals sign. At first I thought something changed in my language bundle (Forth) but this happens with any language bundle active. I've turned off the Auto-pairing option in Preferences, and I am not using any form of auto-completion (to my knowledge), but it without remedying the problem. Needless to say this paring of characters is a nuisance in Forth, where I frequently want to write a colon on its own, without the equal-sign.
Can anyone suggest where else I should look to turn this off? I'm in Textmate 1.5.11
thanks in advance
- bruno
============================
Bruno Degazio
Professor, Faculty of Arts, Animation and Design
Sheridan College
degazio(a)sheridancollege.ca
Hello!
I have some issues creating new files in the file browser. When I create a file (CMD+SHIFT+N) and start typing the filename quite often it reverts to untitled after a few milliseconds and I have restart typing.
See attached gif for a screen recording.
Anyone else experiencing this problem?
Koen
http://recordit.co/BN1Avv4orC.gif
So now I'm going to ask formally the question I touched on in a previous note.
When I open my project, the same two tabs are always open. Why? They are not "sticky". But no matter how I manipulate tabs during the course of a session, when I close the project and quit TextMate and then open this project again later, there are those same two tabs open.
I'd like a hint as to where this setting is stored so that I can do something about it. Thanks! m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Hi there,
I have a question/suggestion for further TextMate 2 development. Why does it open a new tab for every single file you open in the file browser? If you're working on a large project where you actually edit only several files at the time but you need to peek into other files from time to time as well (usually as a one-time look), the tab bar gets full very quickly and it's almost impossible to find there the file you're looking for. I find myself using file browser most of the time and it's not very comfortable with large projects where you have to scroll up and down through the tree. Why doesn't it behave for example like Chocolat app or Sublime Text where one click in the file browser opens the file without opening a tab and double click or file modification create a tab? At least an option in the Preferences would be absolutely lovely!! What do you think?
Thanks.
- Adam
Hello,
I recently upgraded my Mac mini from Snow Leopard to Mountain Lion and TextMate 1 to TextMate 2, so I'n new to TM2 and might be missing something obvious.
Before upgerading, I used Git only from the command line and the SourceTree GUI, but now I want to start using it directy from TextMate.
At the command line, `which git` will give me /usr/bin/git, so that's what what I entered as TM_GIT in TextMate's preference pane.
"Show Uncommitted Changes" in TextMate's git bundle will show the correct files (i.e. those that I changed), "Commit..." will give me the correct list of files to commit. But when I enter a commit message and hit the commit button, nothing happens.
No error message appears, but the files won't be committed, i.e. both TextMate and SourceTree will still show them as "modified".
So what am I doing wrong?
Are there any other dependencies I have to install? Any more settings I have to change?
Kind regards,
Tobias Jung
Hello everyone,
I am using TextMate 2.0-alpha.9543 on Mac Os 10.9.2
I need to use Octave, and I saw that a Matlab/Octave bundle is already installed. This bundle, however, does not seem to work. It does not recognize the open Octave session in the terminal, so I cannot send the script to it.
I noticed that the version of the bundle is actually the one developed by a certain “Matt Foster”. On the source forge page for the bundle the latest version has been updated something like 5 years ago.
I then tried to install a newer bundle, developed by a certain “Sebastian Shöps”, which seems to be more up to date.
I cloned the git repository in ~/Library/Application Support/TextMate/Bundles (I had to create the “Bundles” dir) but I did not see any way to use such bundle.
I tried to clone it in the /Applications/TextMate/Contents/SharedSupport/Bundles” directory, but that did not work as well.
With “it did not work” I mean that I did not find any way to select to use that bundle rather than the default one.
As a side note, I tried to delete the default bundle with the command
defaults read com.macromates.textmate OakBundleManagerDeletedBundles
but that command returns:
2014-05-08 15:32:04.460 defaults[4742:507]
The domain/default pair of (com.macromates.textmate, OakBundleManagerDeletedBundles) does not exist
It seems that the support page of textmate is rather outdated.
Does anybody have any suggestion?
I open an untitled document, paste some text in, and then bring up the
search/replace dialog
I notice that it always defaults to searching (and replacing) my entire
home directory.
I really think 'Current Document' would be a much better default, for
safety.
Also for performance reasons, if you run a regular expression search and
then realise its searching your entire home directory, the search tends to
beachball TM for a good while, and cant be cancelled easily
I have a remote folder which is getting mounted with macfusion.
The folder currently resides at /Volumes/labs/code/project. When I open
the project folder, and browse its subdirectories, I find some that are
being treated as files with unknown file types. Their icon in the drawer
is a 'blank page' and if I try to double click it, the drawer changes to an
empty drawer. I can confirm there are files in these folders (I checked in
the terminal).
The permissions and users for these phantom directories are the same as
folders that TextMate sees.
What can I do?
I've noticed this issue quite a few times recently.
For one project I work on, I open textmate from cmdline, using "mate
<projectdir>"
I then search my codebase for some keyword, and it returns a bunch of
results.
Looking at the results though, I see they are not complete in that some
files are definitely missing from the results.
At this stage (without closing the dialog from the previous run, or
changing any search terms), I click the Find button again. TM searches once
again, but this time it shows much more matches.
Its occurring quite often, but not every time, and I cant reproduce it at
will.
I *think* Ive only ever seen on the first search after launching TM
Any idea what is happening here?
Is there anything similar to the Project or Drawer functions in 2.0? I used
to love having all of my commonly-used files grouped in the drawer in 1.5,
but can't find any way to do this in 2.0.
Cheers,
p
Lets say I¹m in an R file and I type ³todo² + tab, the TODO bundle inserts
this:
# TODO
I want to be able to type ³todoc² + tab, and have this inserted:
# TODO code
Or, ³todoe²+ tab, and have this inserted:
# TODO edit
How can I edit the TODO bundle to be able to do this?
Thanks
Ross
Hello,
sorry if I missed it somewhere, but what is the best way to report bugs/feature requests in TextMate? Will the github issues come back? Or is still the best way for some user who wants to report accessibility bugs to write to the textmate mailing list? Or to the textmate-dev mailing list?
Thanks,
Boris
Version 9539 on Mavericks 10.9.2
If you try to log out (shift command Q) when textmate has an unsaved window, then after you have been prompted to save the window you cannot quit textmate (menu item is greyed out) so have to use force quit of textmate to be able to log out.
Dave.
---------------------------------------------------------------------
Intel Corporation (UK) Limited
Registered No. 1134945 (England)
Registered Office: Pipers Way, Swindon SN3 1RJ
VAT No: 860 2173 47
This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
I noticed in a recent update that the status bar always have the same
style as when the window doesn't have focus. Is that intentional?
--
/Jacob Carlborg
Hi,
sorry that I not entirely followed this issue, but on
MacOSX 10.7.5 - TM 2.0-alpha.9537 - git version 1.7.12.4 - Git bundle from Apr 17 2014
I get the following error message:
sh: line 1: 28803 Abort trap: 6 "$TM_SCM_COMMIT_WINDOW" --diff-cmd '/usr/bin/git,diff,HEAD,--' --action-cmd "M,D:Revert,/Users/bibiko/Library/Application Support/TextMate/Managed/Bundles/Git.tmbundle/Support/gateway/commit_dialog_helper.rb,revert" --action-cmd "?:Delete,/Users/bibiko/Library/Application Support/TextMate/Managed/Bundles/Git.tmbundle/Support/gateway/commit_dialog_helper.rb,delete" --status M xyz\ foo.txt 2> /dev/console
Using git in the Terminal works.
Any hints?
Happy Easter,
--Hans
The other day, I was trying to bind the "remove trailing whitespace from
all lines" to a keyboard shortcut that was evidently already bound to
"delete whatever is selected with extreme prejudice". In doing so, I
deleted the "remove trailing whitespace" item from the Text bundle.
How can I recover the item?
I have installed the SCSS bundle.
When I save the .scss file, nothing happens in the related .css file - I'm
not getting any errors either.
Compass is watching in the background, and is confirming each 'overwrite'.
I'm using the following gems:
Sass 3.3.4
ruby 2.1.0p0 (2013-12-25 revision 44422)
Compass 0.12.5
Any ideas?
Cheers
--
View this message in context: http://textmate.1073791.n5.nabble.com/TM2-not-compiling-SCSS-to-CSS-tp27809…
Sent from the textmate users mailing list archive at Nabble.com.
In the past couple updates the functionality of using ⌃← and ⌃→ seems to have broken.
It used to move by sub words so in ruby if the cursor was at the end of a variable called: an_example, ⌃← would move the cursor right after the underscore. ⌃⌫ still works though, which will delete in everything after the underscore.
I updated to 2.0-alpha.9531 today and just noticed this weird behavior
in my SCM Status pane, not sure if it's just me.
I'm working on a git project that has some modified files and some new
untracked files. If I press Go, SCM Status to show the Uncommited
Changes, no files show up in the Uncommited Changes section. If I
press Bundles, Git, Show Uncommited Changes, the files and its changes
show up on the new window as expected.
Untracked items show up in the pane as expected.
Any help will be appreciated. I know I didn't Revert to Defaults
(yet) but I wanted to ask before losing any customizations.
--
:: dip
--
Hi,
I started to customize the highlighting for Perl code with this code in
my personal Bundle:
{ patterns = (
{ name = 'comment.line.debug.perl';
match = '\bi ''.*'';|\bi ".*";|\bi q{.*};|\bi qq{.*};';
},
);
}
This works fine, so that all lines like `i '…';` are now formatted
like a comment (`#`).
But it has some side-effects: E.g. the change from double-quotes to
single-quotes by pressing `Ctrl+Shift+"` does not work any more. Plus I
would like to change the formatting (color, ...) to something different.
What would be the the best way?
--
Ingo Lantschner
Most code editors have an option where you can configure tabs to behave as
x spaces - you hit tab and it inserts 4 spaces, you hit delete, it removes
4 spaces (if it seems the 4 spaces should be treated as a group).
I work on projects where the coding standards specify to not use tabs - you
must you 4 spaces per level of indent.
Maybe this feature exists (using TM2), and I just haven't found it. If not,
I really hope you can add it - love TM2!
Thanks
-Eric
This may be an old request or me not knowing something, but is side by side
file editing possible?
Thanks and apologies if I am the last user who does not know either that
this capability is already implemented or that I shouldn't ask...
Comer
I'd like to put my 2¢ towards allowing TM2 windows to shrink narrower than what now appears to be a ~ 538px minimum limit. It is sometimes nice to have a narrow window next to a much wider window. I don't remember TM1 having this min limit. It seems TM2's min width is determined by the status and menus a the bottom-left of the window.
This became an issue for me because a) now using a "13 MBA, and b) have found the wonderful <http://spectacleapp.com/> to allow hotkey-window resizing. One of the dimensions Spectacle supports is too narrow for TM2, and blocks easy automated window tiling. =)
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
@qc and @strangecode
I just noticed the new commit window in the latest release of TM2. My
initial reaction is that I don't like it. Here's a couple of comments:
* The new look feels quite heavy. It uses a lot of textured/brushed (or
what they're called) controls. I get the feeling that Apple is moving
more towards controls that feel more lightweight
* The bottom bar doesn't look like the one in the main window
* It's not possible to change the height of the commit message text view
* The cancel button doesn't properly work. The other window that also
opens still waits for a commit message (or something) after the commit
window is closed
* One thing that's been bugging me or quite a while is that when doing
an amend the check box for updating the commit message is enabled by
default but there's no commit message. The commit message of the commit
being amended should automatically be inserted in the text view and all
text should be selected. This makes it easy to just change the commit
message when amending. Or just add new changes without updating the
commit message, all without needing to use the mouse
--
/Jacob Carlborg
Hi,
Properties that contain equal signs appear to break, example:
xxxExtraOpts = '--pref build.path=/Users/me/tmp'
doesn't work, there will be no xxxExtraOpts. Is there a way to 'escape' the equal sign?
Gerd
Hi,
When opening a document with mate and giving a line number with the -l flag, TextMate will select that line, but not scroll the document to it.
Gerd
On Apr 9, 2014, at 5:53 AM, <textmate-request(a)lists.macromates.com> <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
> http://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. Re: Installing the Cucumber bundle (Leigh Daniels)
> 2. Re: Issue tracker? (Boris Du?ek)
> 3. Narrower windows (Quinn Comendant)
> 4. Re: Narrower windows (Matt Neuburg)
> 5. No output from python script for one user account but not
> the others (Nicolas Rougier)
> 6. Re: No output from python script for one user account but
> not the others (Allan Odgaard)
> 7. Re: Narrower windows (Nigel Chapman)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 8 Apr 2014 08:49:03 -0400
> From: "Leigh Daniels" <lcdpublic(a)comcast.net>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Installing the Cucumber bundle
> Message-ID: <20140408124903.333408250(a)smtp.comcast.net>
> Content-Type: text/plain; charset=US-ASCII
>
> Hi,
>
> [Re-sending this because parts were missing.]
>
> I'm trying to get cucumber working and have tried the previous suggestions to no avail. I'm using the Hello RSpec and Hello Cucumber examples from "The RSpec Book". TextMate: 2.0-alpha.9531
>
> If I run the cucumber command in the Terminal, it works but in TextMate I get this:
>
> /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- spec (LoadError)
> from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:31:in `rescue in <top (required)>'
> from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate.rb:28:in `<top (required)>'
> from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /Users/leigh/Library/Application Support/Avian/Pristine Copy/Bundles/Cucumber.tmbundle/Support/lib/cucumber/mate/feature_helper.rb:1:in `<top (required)>'
> from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /usr/local/rvm/rubies/ruby-2.0.0-p247/lib/ruby/site_ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
> from /tmp/cucumber-23006.rb:2:in `<main>'
>
> Here's the RVM setup:
>
> rvm info
>
> ruby-2.0.0-p247:
>
> system:
> uname: "Darwin Mingus.local 13.1.0 Darwin Kernel Version 13.1.0: Thu Jan 16 19:40:37 PST 2014; root:xnu-2422.90.20~2/RELEASE_X86_64 x86_64"
> system: "osx/10.9/x86_64"
> bash: "/bin/bash => GNU bash, version 3.2.51(1)-release (x86_64-apple-darwin13)"
> zsh: "/bin/zsh => zsh 5.0.2 (x86_64-apple-darwin13.0)"
>
> rvm:
> version: "rvm 1.25.22 (stable) by Wayne E. Seguin <wayneeseguin(a)gmail.com>, Michal Papis <mpapis(a)gmail.com> [https://rvm.io/]"
> updated: "1 minute 9 seconds ago"
> path: "/usr/local/rvm"
>
> ruby:
> interpreter: "ruby"
> version: "2.0.0p247"
> date: "2013-06-27"
> platform: "x86_64-darwin12.3.0"
> patchlevel: "2013-06-27 revision 41674"
> full_version: "ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]"
>
> homes:
> gem: "/usr/local/rvm/gems/ruby-2.0.0-p247"
> ruby: "/usr/local/rvm/rubies/ruby-2.0.0-p247"
>
> binaries:
> ruby: "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/ruby"
> irb: "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/irb"
> gem: "/usr/local/rvm/rubies/ruby-2.0.0-p247/bin/gem"
> rake: "/usr/local/rvm/gems/ruby-2.0.0-p247/bin/rake"
>
> environment:
> PATH: "/usr/local/rvm/gems/ruby-2.0.0-p247/bin:/usr/local/rvm/gems/ruby-2.0.0-p247@global/bin:/usr/local/rvm/rubies/ruby-2.0.0-p247/bin:/usr/local/rvm/bin:/usr/local/bin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/sm/bin:/opt/sm/pkg/active/bin:/opt/sm/pkg/active/sbin"
> GEM_HOME: "/usr/local/rvm/gems/ruby-2.0.0-p247"
> GEM_PATH: "/usr/local/rvm/gems/ruby-2.0.0-p247:/usr/local/rvm/gems/ruby-2.0.0-p247@global"
> MY_RUBY_HOME: "/usr/local/rvm/rubies/ruby-2.0.0-p247"
> IRBRC: "/usr/local/rvm/rubies/ruby-2.0.0-p247/.irbrc"
> RUBYOPT: ""
>
> Thanks for any suggestions.
>
> **Leigh
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 8 Apr 2014 22:19:33 +0200
> From: Boris Du?ek <me(a)dusek.me>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Issue tracker?
> Message-ID: <69374DB4-CB1B-4361-80C3-2F590B576A54(a)dusek.me>
> Content-Type: text/plain; charset=windows-1252
>
>>> Will the github issues come back? Or is still the best way for some user who wants to report accessibility bugs to write to the textmate mailing list? Or to the textmate-dev mailing list?
>>
>> If the user is OK with mailing lists, then this list is fine (textmate-dev is sort of a legacy list that I am considering shutting down), otherwise one can write support or try IRC (where I am often available).
>>
>> I?m not sure if GitHub Issues will be back, it felt like an unwanted chore, and as people can still submit bug reports or suggest features, the loss of the issue tracker is IMHO negligible ? the main advantage people tend to claim is that one can search through existing issues, nonetheless I closed issues as duplicates daily, so in practice few used that feature, and was just burdening me with administrative work that was hard to outsource (and adding more noise to the issue tracker that degraded the searching experience).
>>
>> If you?re asking from the POV of a contributor, i.e. how can you be made aware of accessibility issues, then we can relay issues reported.
>
> Please feel free to relay to me any accessibility issues reported by any channel (except this mailing list which I follow) to you.
>
> I was asking about GitHub issues because I myself prefer some tracker like that. I like to be able to write down issues when they occur to me or anyone else, review the issue list from time to time, close issues as they get fixed etc. E.g. right now I have at least 2 issues that I am keeping in my head :-) and will not be fixing them right away.
>
> But another idea occurred to me - maybe I could then open GitHub issues on my fork of textmate (https://github.com/dusek/textmate/) and mark it as only for accessibility (I already preemptively did that with the fork page title). As the issue topic would be limited to accessibility, closing duplicates would probably not be such a burden (and would be done by me :-)
>
> If you have no objection to that, I would then open the Issues on my fork as that would be the way I would prefer to keep track of accessibility issues. If someone submitted something to the list (or it was relayed to me), I would simply put it in that tracker to not forget it and be able to get back to it sometime. Then README.md on textmate/textmate could get updated to point to the dusek/textmate issues for accessibility issues only.
>
> Would that be OK with you?
>
>> We can also do a new mailing list for people who use the accessibility features. This would also allow soliciting feedback about the current accessability support and make more detailed announcements about the changes being done to improve it.
>
> I am not sure that is such a great idea as it might sound at first (mainly for the philosophical reason that since accessibility should be an integral part of a product, accessibility discussions should IMHO be an integral part of the main user mailing list). But I also see the practical advantages you are mentioning. Half of me is for it, half of me is against it - let me think about it for a few days more :-)
>
> Thanks,
> Boris
>
> ------------------------------
>
> Message: 3
> Date: Tue, 8 Apr 2014 19:37:20 -0500
> From: Quinn Comendant <quinn(a)strangecode.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Narrower windows
> Message-ID: <20140408193720967803.b24565ee(a)strangecode.com>
> Content-Type: text/plain; charset=iso-8859-1
>
> I'd like to put my 2? towards allowing TM2 windows to shrink narrower than what now appears to be a ~ 538px minimum limit. It is sometimes nice to have a narrow window next to a much wider window. I don't remember TM1 having this min limit. It seems TM2's min width is determined by the status and menus a the bottom-left of the window.
>
> This became an issue for me because a) now using a "13 MBA, and b) have found the wonderful <http://spectacleapp.com/> to allow hotkey-window resizing. One of the dimensions Spectacle supports is too narrow for TM2, and blocks easy automated window tiling. =)
>
> --
> Quinn Comendant
> Strangecode, LLC
> http://www.strangecode.com/
> @qc and @strangecode
>
>
>
> ------------------------------
>
> Message: 4
> Date: Tue, 8 Apr 2014 18:32:14 -0700
> From: Matt Neuburg <matt(a)tidbits.com>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Narrower windows
> Message-ID: <0498AE19-AFC9-4B69-8577-8BEFE8BB3E8A(a)tidbits.com>
> Content-Type: text/plain; charset=iso-8859-1
>
>
> On Apr 8, 2014, at 5:37 PM, Quinn Comendant <quinn(a)strangecode.com> wrote:
>
>> I'd like to put my 2? towards allowing TM2 windows to shrink narrower than what now appears to be a ~ 538px minimum limit. It is sometimes nice to have a narrow window next to a much wider window. I don't remember TM1 having this min limit. It seems TM2's min width is determined by the status and menus a the bottom-left of the window.
>>
>> This became an issue for me because a) now using a "13 MBA
>
> I have a 13-inch MacBook (Pro), and what I do is to show document tabs even for a single document, with command output to the right of text view. Every script I open thus becomes a tab in this one window, and I say New Tab when I want to make a completely new script. Thus there is just one window! It's true I can't see two scripts at once, but I don't need to; I can see a script and its results, and that's what matters. I could make this single window full-screen, but I don't usually bother.
>
> I'm not saying this would work for your purposes, but personally, when I discovered I could work like this on the small screen, I was really happy. m.
>
> --
> matt neuburg, phd = http://www.apeth.net/matt/
> pantes anthropoi tou eidenai oregontai phusei
> Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
> iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
> RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
>
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 9 Apr 2014 12:04:55 +0200
> From: Nicolas Rougier <Nicolas.Rougier(a)inria.fr>
> To: textmate(a)lists.macromates.com
> Subject: [TxMt] No output from python script for one user account but
> not the others
> Message-ID: <BD17357E-92CB-439C-B2AD-9C44DAC8F2AC(a)inria.fr>
> Content-Type: text/plain; charset=us-ascii
>
>
> Hi,
>
> I'm using the latest version (2.0-alpha.9529) and I've some problems getting python output when running the script.
>
> The python script is just:
>
> print "ok"
>
>
> It works fine when ran in terminal (Run Script (Terminal)) but if I run script directly (Run Script), I get no output. For other type of files (Latex for example), everything seems ok.
>
>
> The weirdest part is that if I do the same with another user (administrator) it works fine and I get the output in the window: from my regular account, I can "su administrator" and starts TM from command line and it works as expected.
>
> I tried to reinstall TM, not load my .profile/.bashrc in case something's wrong in my path, delete any TM preferences (com.macromates.TextMate.preview and Library/Caches/...) but it does no change anything.
>
>
> So I guess something wrong's with my regular account but I'm out of ideas at this point.
> (I also checked "env" gives same values for regular/administrator)
>
>
> If someone has any idea ... or how to debug.
>
>
>
> Nicolas
>
> ------------------------------
>
> Message: 6
> Date: Wed, 09 Apr 2014 17:44:11 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: No output from python script for one user account
> but not the others
> Message-ID: <59CEE812-97CC-459D-96EA-4C9A7E842499(a)textmate.org>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> On 9 Apr 2014, at 17:04, Nicolas Rougier wrote:
>
>> [?] if I run script directly (Run Script), I get no output.
>
> What does ?no output? mean? Is the action a no-op, i.e. no windows
> showing?
>
> If so, try Preferences ? Bundles and uncheck/check the Python bundle.
>
> There is an issue with updating bundles (in current release build) where
> if TM is terminated while updating a bundle, it can leave a broken
> bundle on disk (partially deleted), which could manifest itself as some
> actions being no-op (although deleting ~/Library/Caches should have made
> deleted actions disappear from the menu).
>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 9 Apr 2014 11:53:36 +0100
> From: Nigel Chapman <nigel(a)macavon.co.uk>
> To: TextMate users <textmate(a)lists.macromates.com>
> Subject: [TxMt] Re: Narrower windows
> Message-ID: <F3C29074-33F0-4B3E-924C-96537842DB9B(a)macavon.co.uk>
> Content-Type: text/plain; charset="windows-1252"
>
> Split pane windows would solve this problem. I just had a look at Bounty Source (https://www.bountysource.com/issues/27-split-pane-feature) and it would seem that there?s somebody willing to pick up the issue if another $16 is raised.
>
>
> On 9 Apr 2014, at 01:37, Quinn Comendant <quinn(a)strangecode.com> wrote:
>
>> I'd like to put my 2? towards allowing TM2 windows to shrink narrower than what now appears to be a ~ 538px minimum limit. It is sometimes nice to have a narrow window next to a much wider window. I don't remember TM1 having this min limit. It seems TM2's min width is determined by the status and menus a the bottom-left of the window.
>>
>> This became an issue for me because a) now using a "13 MBA, and b) have found the wonderful <http://spectacleapp.com/> to allow hotkey-window resizing. One of the dimensions Spectacle supports is too narrow for TM2, and blocks easy automated window tiling. =)
>>
>> --
>> Quinn Comendant
>> Strangecode, LLC
>> http://www.strangecode.com/
>> @qc and @strangecode
>>
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
Hey all,
New to the list. I’ve been using TextMate for years, and just recently switched to TextMate 2. I’d love to be able to replace Xcode with it if possible, but I’m not really sure where to start.
I’d like to (if possible)
1) build a project (obj-c)
2) show compile errors while editing
3) autocomplete
4) debug?
Are these things possible to do within text mate, or perhaps a hybrid of both editors?
John <><
Hi,
[sorry, a bit complicated]
my bundle "R Console (Rdaemon)" ships with a grammar called "LaTeX Rdaemon" which works under TM 1.5 without problems but under TM 2.0 it fails partially.
It a bit complicated that's why a bit background information:
This grammar allows the users to write a normal LaTeX document with an interactive R Console running inside of the LaTeX document. [a kind of interactive Sweaving]
Here a minimal tex example:
-------
% Preamble (fold)
\documentclass[11pt]{article}
\usepackage{blindtext}
\usepackage{verbatim}
\newenvironment{Rdaemon}{\comment}{\endcomment} % R code invisible
\begin{document}
\section{First section}
\blindtext
\begin{Rdaemon}
> runif(10,min=0,max=1)
\end{Rdaemon}
\section{Second Section}
\blindtext
\end{document}
-------
Everything between \begin{Rdaemon} and \end{Rdaemon} should controlled by the "R Console (Rdaemon)" bundle scope: 'source.rd.console' and its output will be syntax highlighted via 'source.r' which works under TM 2.0.
If I place the caret after "runif(10,min=0,max=1)" and press ENTER "runif(10,min=0,max=1)" will be sent to R und the result will be inserted like:
-------
...
\blindtext
\begin{Rdaemon}
> runif(10,min=0,max=1)
[1] 0.482648455 0.874794168 0.904718875 0.585969825 0.859514066 0.865195652 0.003995807 0.904800528
[9] 0.918498771 0.158369060
>
\end{Rdaemon}
\section{Second Section}
...
-------
Fine, but for some reasons in TM 2.0 the end tag "\end{Rdaemon}" isn't recognized. I looked into that and it seems to me that the grammar definition of 'source.rd.console.prompt' in "R Console (Rdaemon)" "eats" the entire rest of the tex document:
{ name = 'source.rd.console.prompt';
begin = '^[>+:] ';
end = '\n\z';
beginCaptures = { 0 = { name = 'keyword.other.embedded.rd.console'; }; };
patterns = ( { include = 'source.r'; } );
},
[well at least it's my finding ;)]
Correct:
but in TM 2.0 it looks like:
Is anyone out there who can help me fixing it?
Thanks a lot,
Hans
Hi,
My workflow involves opening up multiple project windows for different issues that impact the same set of files/directories.
For instance I may be working on multiple bugs and features at the same time that impact the same set of source files and each project window is used to keep track of which files have been edited for each issue.
With more than 3 windows open it becomes difficult to know, without examining the files, which window is for which issue that I’m working on. Is there a way to customize the title for each window so that I can put in a tracking number for instance?
Ed Wong
Hey everyone!
I prefer having the wrap column but wrapping the code myself where needed.
And it works for everything but comments.
https://cloudup.com/c7Xx7a9liFu
No matter where I place those comments they keep wrapping at the wrapping column.
While usual code goes over the line as it should. It's JavaScript by the way.
In .tm_properties I have
[ * ]
softWrap = false
In View menu Soft Wrap's item states "Enable Soft Wrap" so it's turned off for sure.
I have no idea where to dig and why this happens. Not sure if it's a bug or a feature.
Igor.
Hi,
I am trying to use the Cucumber bundle with TextMate 2.0-alpha.9503:
https://github.com/cucumber/cucumber-tmbundle
I am a little confused about the proper way to install it. I tried:
cd ~/Library/Application\ Support/Avian/
git clone https://github.com/cucumber/cucumber-tmbundle Cucumber.tmbundle
But after restarting TextMate, I don’t see any indication that the bundle is loaded. I don’t know if this is because the bundle is incompatible with TextMate 2 (it was last touched over 2 years ago) or because I’m installing it wrong.
Any suggestions what to try next? Thanks,
Trevor
>
> ---------- Forwarded message ----------
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> Date: Fri, 04 Apr 2014 08:42:30 +0700
>
After pasting the wrong word, if you wait a little (like 1 second) does it
> then paste the proper word?
>
>
I'm not sure, I would need to check next time it happens.
Ive had it three or four times now, but usually I don't notice right away
and its only when I get a parse error in my PHP I go back and see it
sitting there.
> Is “AMQPChannel” in your clipboard history (Edit → Paste → Show History)?
> If yes, after you get it pasted, is it at the top? And are there multiple
> entries named “AMQPChannel”?
>
>
There was only one instance of this in my clipboard history, but Im certain
this is where I copied it manually in order to Google for it (ie, after it
had already been pasted)
> It does not embed rabbitMQ nor can I imagine a bundle does this. It would
> more likely be some third party clipboard history utility or perhaps
> TextMate’s own history that somehow gets messed up.
>
>
Its a brand new iMac, literally 2 weeks old. A software conflict is
possible, but there's very little Ive installed other than Textmate and a
few other standard utils.
I had the same setup on my old iMac (Lion) but never saw this problem, so
perhaps its some edge case specific to Mavericks.
Hi,
I'm using the latest version (2.0-alpha.9529) and I've some problems getting python output when running the script.
The python script is just:
print "ok"
It works fine when ran in terminal (Run Script (Terminal)) but if I run script directly (Run Script), I get no output. For other type of files (Latex for example), everything seems ok.
The weirdest part is that if I do the same with another user (administrator) it works fine and I get the output in the window: from my regular account, I can "su administrator" and starts TM from command line and it works as expected.
I tried to reinstall TM, not load my .profile/.bashrc in case something's wrong in my path, delete any TM preferences (com.macromates.TextMate.preview and Library/Caches/...) but it does no change anything.
So I guess something wrong's with my regular account but I'm out of ideas at this point.
(I also checked "env" gives same values for regular/administrator)
If someone has any idea ... or how to debug.
Nicolas
I think I've found a bug in TextMate's regular expression format string replacement feature. Try this.
Target document:
=== testing
== testing
= testing
Find expression (regex):
^(=+)
Replace expression:
${1/=(=)?(=)?/${2:?2:${1:?1:0}}/}
Do a replace all. What I expect:
2 testing
1 testing
0 testing
What I get:
2 testing
1 testing
1 testing
In the last line, neither group 2 nor group 1 should be matched, since the initial equal-sign is supposed to scarf up the entire match. Therefore I expect the logic to be:
* group 2 failed, so use its "else" alternative, which is the test for group 1
* group 1 failed, so use its "else" alternative, which is the value "0"
But try as I may, I cannot make "0" appear in the document. That is the proposed bug. It is as if group 1 is thought to be _always_ satisfied, which should not be the case.
Of course, feel free to prove me wrong by fixing my find/replace expressions, thus doing my homework for me. :) m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
>> 1) Memory usage should be in the ballpark of starting footprint (40
>> MB) + file (66 MB) = 106 MB.
>
> This is not possible because TM associates scopes with everything in
> your document and it also needs to create CoreText line objects to
> render the text (which is too slow to do ad-hoc so these are cached).
>
> It will probably need 10-20 extra bytes per character in your document,
> which turns 66 MB into ~1 GB, add in memory fragmentation and data
> structure alignment requirements, and you probably have your 1.4 GB.
>
> Maybe it can be improved, maybe there is the need for a special
> (limited) mode for large files, but it?s not currently a priority.
Thank you for the explanation. I really like TM2 for coding and was hoping it could be my editor for large files but it seems this was not meant to be-- will use TM for coding, vim for large files.
>
>> 2) After closing the window/file, memory footprint should go back to
>> near starting footprint (40 MB)
>
> How do you measure this? The malloc allocator does not give pages back
> to the OS (AFAIK), so once a process has increased its number of
> allocated pages, the count does not go down again.
>
>> 3) Closing and reopening a file should not increase memory footprint
>> further.
>
> This might be due to fragmentation. Here one solution could be a custom
> memory allocator to keep everything related to a document allocated from
> the same memory pool, but there are still many other things I would like
> to do, before I look into such optimizations.
I measured using the memory pane of Activity Monitor.app. Regarding the malloc allocator not giving pages back, this sounds bad behavior and is an OS or C library issue that should be fixed by "them." Thank you for taking the time to respond to my email.
Just upgraded to tmate2 (2.0-alpha.9529+macports.git.9f177d3) and noticed extremely high memory usage and slowdowns on Mavericks 10.9.2 on a Macbook Pro with 4GB RAM. I have tried resetting to defaults by deleting all the setting files/caches and the problem persists. After I open a large (66 MB, ~600K lines) tab delimited file, the memory usage goes up to 1.4 GB of real memory usage. Even after I close the window, the real memory usage is 800-900 MB although the memory usage falls to ~400 MB. If I open the same file again, the real memory usage goes up to 1.7 GB.
The starting memory usage of textmate is ~40 MB. I can quit textmate and restart and the problem is reproducible.
For comparison, opening the same 66 MB file in vim, the total memory usage is only 80 MB. The expected behaviors for textmate are the following:
1) Memory usage should be in the ballpark of starting footprint (40 MB) + file (66 MB) = 106 MB.
2) After closing the window/file, memory footprint should go back to near starting footprint (40 MB)
3) Closing and reopening a file should not increase memory footprint further.
Peter
Some time back, I reported that Textmate was causing my MacBook Pro to switch to the discrete graphics card all the time after I’d installed OS X 10.9. After my initial message, a TM build appeared that stopped this happening, but two builds later the behaviour came back. I didn’t follow it up at the time because it only seemed to be affecting this model of MBP, which was also experiencing other graphics problems under Mavericks, so I was waiting for 10.9.2, which was known to include some graphics driver fixes.
10.9.2 didn’t stop TM using the discrete graphics, but TM Build 9523 did. I don’t know whether this was one of the 'Fixes and improvements’ in the release notes, but the behaviour did not reappear with 9527. I thought you should know.
The only remaining oddity is that the discrete graphics still takes over whenever I use the Commit command from the Git bundle. It doesn’t do it when I show uncommitted changes, so it isn’t the diff. It doesn’t matter, just seems strange.
Thanks for cooling my computer down.
http://stackoverflow.com/questions/20594226/textmate-2-smart-typing-pairs-f…http://stackoverflow.com/questions/22856490/textmate2-how-to-put-spaces-bet…
I've noticed that these 2 questions remain un-answered. I attempted to open the bundle editor for source, text, ruby, and scss and made changes to the various smartTypingPairs objects but was unable to create change in how TextMate operates. I tried the actual fixes for these peoples problems, deleting the pair in one, and modifying the ruby pairs, I even tried ['a':'b'], but typing a didn't append a b.
Are there known issues with smart typing pairs, or perhaps was I looking in the wrong location?
Thanks,
--
graham.p.heath(a)gmail.com
If I go to a line using Navigate > Go to Symbol (shift + command + T), the
line I go to could potentially be positioned anywhere on the page. Sometimes
it is near the bottom of the page, sometimes near the middle. Is it possible
to always position the line at the top of the page?
Thanks
Ross
As I've complained here before, it disturbs me that that my AsciiDoc single-line (double-slashed) comments are affected by the Source bundle's soft-wrap indenting:
{ indentedSoftWrap = {
match = '.*(//?)\s+';
format = '${0/(\s*)(.{,4}).*/$1${2/./ /g}/}';
};
softWrap = :true;
}
My comments are comment.line.double-slash.asciidoc, so they fall under the purview of the Source bundle's setting for comment.line.double-slash.
I have considered changing the scope name of my comments in order to evade this, for example to comment.line.doubleslash.asciidoc (no hyphen). That works.
However, I've just discovered that I can do it with a settings file like this:
{ indentedSoftWrap = {};
softWrap = :true;
}
That "shelters" me from the inherited soft-wrap indenting, which is what I was trying to achieve. m.
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Last month I asked how to select some text and press a keyboard shortcut
that would send the selected text to R app:
http://lists.macromates.com/textmate/2014-March/037158.html
This is working excellently well. I¹m interested in extending this, but
cannot figure out how to set it up.
Lets say I have this code:
summary(lm(mpg ~ drat + hp, mtcars))
How can select 'mtcars¹ and hp¹ simultaneously, press a keyboard shortcut
and run this code in R app:
mtcars$hp
Similarly, in this code:
ddply(mtcars, .(cyl), summarise, mean(mpg))
How can select 'mtcars¹ and mpg¹ simultaneously, press a keyboard shortcut
and run this code in R app:
mtcars$mpg
Thanks
Ross
I've since found out you can reply to a thread from the website, by
clicking the authors email
Theres enough info in the mailto link to allow it to be threaded
Moot point now though, since I've changed to individual mails like you
suggest :)
>
> ---------- Forwarded message ----------
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> To: "TextMate users" <textmate(a)lists.macromates.com>
> Cc:
> Date: Fri, 04 Apr 2014 08:42:30 +0700
> Subject: [TxMt] Re: Strange clipboard bug
> On 4 Apr 2014, at 5:43, Carpii UK wrote:
>
>>
>> Finally if someone could explain how to correctly reply to a reply using
>> this mailing list, that'd be much appreciated. I'm finding the email
>> interface to this list just a little archaic.
>>
>
> If you have subscribed to this list you will get an email that you can
> reply to, just like normal email.
>
> If you are using some (third party) web interface then I don't know what
> their procedure is.
>
>
Thanks, I'll give this a try...
The emails I get are in daily digest format, so it wasn't clear which bits
I need to leave intact so the mailing list can thread it.
Using tm 2.0-alpha.9529 and OSX 10.9.2
I've had this a few times, where I am coding and I cut a short piece of
text, and immediately repaste it elsewhere.
But instead of pasting the clipboard, it pastes the single word
"AMQPChannel" in its place. This seems to be something related to RabbitMQ,
although I don't understand much else about why it would occur.
Any suggestions?
Does textmate embed rabbitMQ, or could it be related to a bundle?
Finally if someone could explain how to correctly reply to a reply using
this mailing list, that'd be much appreciated. I'm finding the email
interface to this list just a little archaic.
Thanks
When running cmd+r (Typeset & View) I get the following message:
This command requires ‘kpsewhich’ which wasn’t found on your system.
The following locations were searched:
/usr/texbin
/usr/bin
/bin
/usr/sbin
/sbin
/usr/local/bin
/opt/X11/bin
/usr/texbin
If ‘kpsewhich’ is installed elsewhere then you need to set in Preferences
→ Variables to the full path of where you installed it.
In Preferences --> Variables I have created a PATH which the definition:
/usr/texbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/opt/X11/bin:/usr/texbin
I have quite and opened TM. Same thing.
Any help would be appreciated.
--
View this message in context: http://textmate.1073791.n5.nabble.com/After-Maverick-Update-TM2-No-Longer-F…
Sent from the textmate users mailing list archive at Nabble.com.
Steps to reproduce:
open the attached file will cause textmate crash.
no matter use command line:
mate Packet.c
or File -> Open to open this file.
maybe something to do with utf8 text.
the crash log is also upload automatically by the software: https://api.textmate.org/crashes/232914
Expected result:
it shouldn’t crash!
Actual result:
crash!
Environment:
OS version----mac osx 10.9.2
TextMate version---mate 2.6 (2014-03-31 revision 9529) or TextMate 2.0-alpha.9529 is the latest version available—you have version 2.0-alpha.9529.
Hardward—macbook air 2012 Mid 11-inch
I've deleted related files in ~/Library/ and test the default setting, It still crash, so I’m sure it’s a bug of Textmate itself, not bundles.
Hi,
since I'm working with larger documents it would be nice if any user event (keyDown, museDown, etc.) could cancel the while/for-loop to find the matching bracket. [maybe in selection.cc - method: find_enclosed_range]
A simple example:
- take a file 1.2 MB and 50000 lines [plain text]
- select all
- press ( to wrap the selection into ()
- locate caret right of the first (
- move caret to the left
- it takes ca. 10 secs before TM accepts the next user event
Kind regards, Hans
PS Sorry for the sent crash report caused by an error which I did while trying something out. Is there a way to avoid sending such reports after compiling TM by myself?
Hi,
I'm using quite often the wonderful Clipboard History functionality but …
since I see the improvements to be able to work with larger text files, I'm also copying larger text chunks (from 1MB to 5MB) across documents and applications resp. If I do this the Clipboard History (in conjunction with TM) becomes unresponsive and I've to kill TM. I also can't delete the Clipboard History due to the fact that I've to open window in beforehand. The only chance is to delete the Clipboard History physical files.
I wonder if one could improve it a bit. Here some thoughts:
- make it possible to delete the Clipboard History from outside that window (maybe in conjunction with the chance to delete only those entries which are large than xy kBytes)
- make it possible to terminate the opening of the window if the size is too large
To avoid such unresponsive behaviour in generell
- one also could think of to restrict the size of an entry which should be stored, i.e. let's say store only the clipboard content if the size is less than xy kBytes [I think this is the easiest way]
- or if the Clipboard History is called load into the TableView only "a preview or head" (only the first 10 kBytes or so - and which can be hold in a different DB) of the stored items and if the user starts searching the search will be performed outside of the TableView (in file/database)
Is not an urgent issue but … ;)
Kind regards,
Hans
Hello, I am running Textmate 2 on Mavericks. When I try to use the Go
To View e got the error message below. Any ideas?
/Users/flujan/Library/Application
Support/TextMate/Managed/Bundles/Ruby on
Rails.tmbundle/Support/bin/go_to_alternate_file.rb:10:in `require': no
such file to load -- rails_bundle_tools (LoadError)
from /Users/flujan/Library/Application
Support/TextMate/Managed/Bundles/Ruby on
Rails.tmbundle/Support/bin/go_to_alternate_file.rb:10
--
Fernando Lujan
Hi,
an tiny issue. I've already my USERNAME's bundle. I pressed CMD+N, selected "New Bundle", and a new bundle was created, BUT the placeholder strings for naming the new bundle were not evaluated, i.e.
Bundle: ${TM_FULLNAME/^(\S+).*$/$1/}’s Bundle
Name: $TM_FULLNAME
Contact: $GZ_EBG13_RZNVY
Cheers,
—Hans
Hi all
I have some .Rnw files with in-line R code, like this:
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod
tempor incididunt ut labore et dolore magna aliqua \Sexpr{mean(mtcars$hp)}.
Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
aliquip ex ea commodo consequat \Sexpr{mean(mtcars$mpg)}. Duis aute irure
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla
pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui
officia deserunt mollit anim id est laborum \Sexpr{mean(mtcars$wt)}.
I¹m wondering if its possible to do two things:
1. Place cursor inside a Sweave expression then run the code contained
within that expression to R app. So if I place the cursor anywhere between \
and } in any of the three Sweave expressions above, the code within that
expression would be run in R app. For example, if I place the cursor between
³h² and ³p², then this would be ran in R app: mean(mtcars$hp)
2. Select any text and run any R code within the selected text to R app. So
if if select the entire text above, three lines of code would be run in R
app: \Sexpr{mean(mtcars$hp)}, \Sexpr{mean(mtcars$mpg)} and
\Sexpr{mean(mtcars$wt)}
Thanks
Ross
If I go in to the save dialog and SHIFT+CMD+S and select another
"Desktop", I seem to be able to save files.
Seems like a pointer got messed up with the most recently-used
location? Initially, I was attempting to direct the save to another
folder on my Desktop, that's when I first encountered problems.
FYI.
Forrest
I am on OSX Mavericks 13.1.0 Darwin Kernel (64-bit). I just downloaded
the latest Alpha, opened a new window to create a file. When I go to
save it to the desktop, it goes nowhwere. I exited the application and
tried this again, same results.
FYI
Forrest
Hi all,
I am new to text mate 2. I download a version, and it seems that it can only open one file at a time. I want to know if it support creating a project like an IDE? Or it will support it in the future? Thank you.
Best wishes,
Xu Zhou
Hello,
There seems to be a recent change in the way braces/brackets are indented when put on their own line in PHP. Previously (in the last stable release I believe), if I typed:
function test($variable)<return>
{<return>
That would extend to:
function test($variable)
{
<insertion point here>
}
It would appear that with 2.0-alpha.9515, the same keystrokes cause the opening brace to indent, as such:
function test($variable)
{
<insertion point here>
}
In the Javascript context, the behavior has not changed and the braces are still at the same indent level as the function declaration.
Is this by design? Is there a setting that I can change to return PHP to the previous behavior?
Thank you,
Jay
Hi all,
There have been for a short while an addition to the go to file command (cmd+T) that was allowing to filter to methods too by adding a ‘@‘
For the short time it worked, I found that really useful.
Is there any plan for adding that back, or history why it’s not possible or not a good idea ?
Cheers,
David
If I press Fn + backspace, the character to the right of the cursor is
deleted. Is there a keyboard shortcut to insert one space to the right of
cursor?
Thanks
Ross
I edit/write/manipulate a lot of XML files and I'd like to create a simple way to use XPath for searching/selecting in the current document. Ideally, I'd open a textfield akin to the "Incremental Search" (CTRL+S) field and just write the expression, hit enter and the results would open in a "Web Preview" window.
I can get the durrent document's contents and do the XPath stuff, but I don't know how to hi-jack (if at all possible) the Incremental Search bar, or create something that worked similar.
Any clues for how to approach that?
An alternative way would be to just open a $DIALOG, asking for the XPath expression and then do the processing - but I can't see a $DIALOG command that lets me do that (read input)...
--
Chriztian
Hi all,
First time poster. I had a question regrading the lineHighlight property.
I.e for having a theme set a background colour to the current line in
TextMate 2. I haven't been able to get it to work.
Will this feature be implemented? If yes, is there a releated feature/bug
reference number that one can track, or an ETA?
Thanks in advance.
Best Regards,
S.P.
Lets say I have this abbreviation:
RSPB
Can I make a command which, when I select ³RSPB² and hit a keyboard
shortcut, will replace ³RSPB² with ³Royal Society for Protection of Birds²?
Thanks
Ross
Oooh, this sounds like a bundle targetted to use with the OSX Mail.app. I might just have to leap to TM2.
Is there a description of its features somewhere?
jon
> Date: Tue, 04 Mar 2014 20:20:06 +0700
> From: "Allan Odgaard" <mailinglist(a)textmate.org>
> Subject: [TxMt] Re: Mail bundle font setting
I use the Mail.bundle for editing my posts to usenet groups, usenet posts seem to look a lot like mail.
If the message I am posting contains quoted text the display is terrible. However I change my font settings the quoted text only changes size, I don't seem to be able to change the font used. I can't find anything in the Mail bundle that relates to font to change this. My usual font (coding and posting to usenet) is Andale Mono Regular (with Antialiasing off), here's the abomination I'm faced with if there is quoted text in my message:
Any ideas where this is set, so that I can change it?
--
Justin C, by the sea.
>
> Perhaps some of the invisible spaces should just be rendered as-is
> (without a substitution), I translated them to visible code points only
> because invisible characters have a tendency to cause hard to diagnose
> problems for end users, but this might be limited to non-breaking space,
> which can easily be typed by accident without noticing.
That would be great. I suggest to show those invisible characters when
"View > Show Invisible Characters" is activated. Although in the current
behaviour of that feature, the original text remains untouched. But if you
include `SpaceCharacters` in "Invisible Characters", then showing them needs
shifting of parts of the original texts to fit the representor of the
invisible characters in place of those zero-widths chars. I guess this is
not
a big problem because those characters are not so common in usual texts, and
when they are there, and the user wants to see "Invisible Characters", I
guess
he wants to see them even if the texts are shifted.
Other Invisible characters I suggest to be shown in "Show Invisible
Characters"
mode:
* Left-to-right mark (U+200E)
* Right-to-left mark (U+200F)
* These: https://www.cs.tut.fi/~jkorpela/chars/spaces.html
On Thu, 06 Mar 2014 "Allan Odgaard" wrote:
> The Mail bundle is actually from the early days of TextMate 1.x
Yes, it was invaluable to me as it allowed me to quickly process emails with macros like "Dear {firstname}" and embedded snippets.
That said, I do realize it was a bit of a hack and Mail.app has changed much since then. Does TM2 support a version of Edit in Textmate?
> its
> grammar could be useful if TextMate is setup as external editor for an
> email client that support external editors (where it then has keys to
> increase/decrease quotation level, reformat (quoted) paragraphs, etc.).
Hmm, do you know any email clients for Mavericks that support this?
> it was introduced here:
> http://blog.macromates.com/2006/textmate-tricks/#edit_in_textmate_from_appl…
That post also introduced editable Web Preview, another essential part of my toolkit (and another reason I've been nervous to leave TM1). Is there a TM2 equivalent?
You can probably tell that I want to use TextMate for everything on my computer. Thanks to Allan and everyone else who's contributed to this indispensable workhorse!
jon
For the placeholder of special characters (<U+XXXX>s), the bidirectional
category of placeholders should match the bidirectional category of the
original character. Although I guess almost all of those special characters
which are represented by <U+XXXX> belongs to Boundary_Neutral class.
For example, here you can see what has happened when I've replaced 2 spaces
with Zero-width non-joiners:
[image: تصویر درون برنامهای 1]
Here is the textual version, which is rendered correctly in my browser
(Chrome 33):
(متن راست به چپ)
(متن راستبهچپ)
Properties of U+200C: http://unicode.org/cldr/utility/character.jsp?a=200C
I'm interested in working on it and submitting a pull request, if you
accept this semi-feature-request and specify which solution is preferred. I
have a workaround suggestion: replacing them with some symbolic characters,
for example ⦿ for null, ↩︎ for line separator, ╵ for zero-width space, ╽
for zero-width non-joiner, ╈ zero-width joiner, ...
Best regards
Reza
Hi,
I've just installed textmate (version 2.0-alpha.9515) on a mac running OS X Version 10.8.5.
Whenever I execute a command written in Ruby in textmate (for example, Duplicate Line, or Typeset & View in the Latex bundle), I obtain an error. The error message is
Failure running “Duplicate Line / Selection”. Duplicate Line / Selection:9:in `join': can't convert nil into String (TypeError)
from Duplicate Line / Selection:9
in the first case and
Failure running “Typeset & View (PDF)”. Typeset & View (PDF):4: undefined method `+' for nil:NilClass (NoMethodError)
in the second case. This occurs both with keyboard shortcuts and when selecting the command from a menu. Snippets and other shortcuts work.
I don't use Ruby (I use textmate mainly for Latex), so I'm a bit of a loss here. Any help would be appreciated. I searched for posts on similar problems but didn't find any.
Best,
Markus
Tim Bates wrote:
> https://github.com/jessegrosjean/quickcursor
>
> Textmate should just include this, as it rocks for using TextMate as external editor for, for instance, an mail.app :-)
> I use it 10 times a day, I?d estimate.
Thanks--I currently use QuickCursor in TM1. That said, the old Edit-in-Textmate remembered formatting properties like quote indentation, which made it easier to parse email messages, color-code the syntax, and so forth. The old Edit-in-Textmate also saved changes every time you hit Command-S; QuickCursor's changes don't render in Mail until you close the window, and sometimes those changes are lost (say, when multitasking from one window to another).
Still, I appreciate the recommendation, because I'm assuming from your message that QuickCursor works with TM2. As mentioned previously, the other functionality keeping me in TM1 is the ability to edit in Web Preview. Does anyone do that in TM2?
jon
Not entirely sure how to reply to the mailing list via email, hopefully
this will work...
Subject: [TxMt] Re: Disabling entire bundles doesnt persist
From: "Allan Odgaard" <mailinglist(a)textmate.org>
> When you disable the item and save, TextMate should create the following
file:
> ~/Library/Application Support/Avian/Bundles/AppleScript.tmbundle/info.
plist
> Does that file appear on your disk?
Hm, I just noticed what was actually happening is instead of updating
AppleScript bundle, it was silently creating a new AppleScript
2.tmbundle, AppleScript
3.tmbundle etc.
> Additionally it updates the index, which is located at:
> ~/Library/Caches/com.macromates.TextMate/BundlesIndex.binary
> You can check the date of that file. You can also try to quit TextMate,
remove the index, and then relaunch, that will make TM generate a new index.
Thanks, this fixed my problem.
I deleted the index and when TM relaunched, the unwanted bundles are hidden
and disabled in Bundle editor.
I guess it somehow got out of sync
I open the bundle editor, select a bundle (such as AppleScript), and then
untick 'Enable this item'
I then hit CMD-S to save, and at this point AppleScript disappears from the
Bundle menu (which is what Id like to happen)
However, on quitting TM and relaunching, the AppleScript bundle is enabled
once again.
Using build build 2.0-alpha.9515
Is this a known issue, and is there a workaround?
Thanks
Let's say I'm working in a .R file on this block of code:
mtcars_sub <- subset(mtcars, cyl == 6)
mtcars_lm <- lm(mpg ~ disp, mtcars)
summary(mtcars_lm)
I highlight the block of code and send it to the R console. Following this,
I then edit the code block (predictor added to model), so it becomes:
mtcars_sub <- subset(mtcars, cyl == 6)
mtcars_lm <- lm(mpg ~ disp + wt, mtcars)
summary(mtcars_lm)
Can I send the edited code block to the R console, using a keyboard
shortcut, without having to go back and highlight it? This feature is
implemented in RStudio and is something I miss after having switched to
TextMate.
Thanks
Ross
Thanks Rob that was it.
I changed disableIndentCorrections from ‘1’ to ‘emptyLines’ in the Python bundle and it has reverted to the old behaviour.
{ disableIndentCorrections = 'emptyLines';
indentOnPaste = 'simple';
}
Pretty sure I have was using default settings before.
—
Iain
> On alpha.9517 the auto indentation seems to have changed that if you
> leave a blank line after a function TextMate will keep indenting
> subsequent lines.
>
> def boo():
> """docstring for boo"""
> pass
>
> print <— this line is automatically indented unless you use ⌘[
>
> I had a look in the Python bundle and the language grammar is
> unchanged. Am I missing a setting somewhere to revert to the old
> behaviour?
From the release notes…
> It is now possible to set the `disableIndentCorrections` to
> `emptyLines`. This will disable the indent corrections only when
> typing on empty lines, which has been made default for HTML.
I’m sure it has something to do with that, though it doesn’t sound
like anything should change (outside of HTML) if you were still using
default settings. Then again, if you were using default settings, the
behavior you’ve noticed would not be new. (I disabled it a long time
ago.)
I’m using “emptyLines” now just to see if there’s a benefit.
Before, I was using “:true”. I haven’t figured out the difference
yet.
--
Rob McBroom
http://www.skurfer.com/
On alpha.9517 the auto indentation seems to have changed that if you leave a blank line after a function TextMate will keep indenting subsequent lines.
def boo():
"""docstring for boo"""
pass
print <— this line is automatically indented unless you use ⌘[
I had a look in the Python bundle and the language grammar is unchanged. Am I missing a setting somewhere to revert to the old behaviour?
—
Iain
Let's say I have R open and i¹m editing a .R filewith TextMate. In my .R
file I have a line of code like this:
lm(mpg ~ drat, mtcars)
Is it possible to set up a keyboard shortcut, which when pressed whilst an R
object was selected, would send that object to the R console inside a
function.
For example:
I select 'mpg', press COMMAND + OPTION + L, and this object would be run in
the R console as: length(mpg)
I select mtcars', press COMMAND + OPTION + S, and this object would be run
in the R console as: summary(mtcars)
I select 'lm(mpg ~ drat, mtcars)', press COMMAND + OPTION + P, and this
object would be run in the R console as: plot(lm(mpg ~ drat, mtcars))
Thanks
Ross
So I just read on slashdot about GitHub's Atom editor: http://atom.io Yay
cross platform, etc, etc, but nothing that's going to turn my head from
TextMate obviously. Nice to know that others are seeing the light,
however, right?
And then I saw this gem in its up-front feature list:
- Import TextMate grammars and themes
Oh hello there...
In my new AsciiDoc bundle, I've still got a major problem which was one of the reasons I wrote my own bundle - in other words, my attempt to solve this problem by rewriting this bundle from scratch didn't work.
The problem is manifested in various guises, but one of the main ways is that when I scroll up in a long document, the window hesitates for about a second before showing the new window-full of text.
I have come to suspect that this is because of indented soft wrapping. I do not have any indented soft wrapping, and I do not see any indented soft wrapping, and I do not *want* any indented soft wrapping, but various indications lead me to believe that other bundles are trying to impose it upon me in some contexts.
I could try to find all of these contexts and give their scopes different names, but what I would *really* like to do is shelter my main scope (text.asciidoc) from all imposed indented soft wrapping. In other words, I just want to turn this feature OFF. I believe that this will greatly assist the text window in rendering.
How do I do that? I see how to specify what indented soft wrapping *is* for some scope, but is there a setting that just says NO to all indented soft wrapping? Can I say indentedSoftWrap = :false?
(Note that I want to keep soft wrapping; this is a marked-up text bundle, so it has paragraphs that need to soft wrap. But I want to relieve the layout engine of _all_ **indented** soft wrapping, as I believe this is causing the layout engine to suffer greatly.)
Thanks - m.
PS We were just starting to talk about this in an earlier thread when I interrupted the flow, by talking about the problem of a GUI to handle things like this. But now I'm sorry I did that, because I never got to hear the answer. :)
--
matt neuburg, phd = http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Is it possible to force specific links in the HTML output window to open
in the default browser (instead of the HTML output window itself)?
Background info: I have a Rails project where the testsuite already
creates a dump of the HTML page for each failed feature spec. Now I’m
trying to extend RSpec’s TextMateFormatter to include links to these
files. Works so far, but I need to open the saved HTML pages in my
default browser so that I have my usual developer tools around for
debugging.
(A possible workaround is of course to drag the link to the browser’s
dock icon. Just being able to click the link would be easier, though.)
Stefan
When I hit Command R in a .py file, I get
warning: Insecure world writable dir /Users/coldrick/Library/Application
Support/TextMate/Managed/Bundles in PATH, mode 040777
Why?
Best regards,
David
When removing the argument of an autocompleted block and pressing return will result in multiple carets spread over 3 lines. (see attached video). Anyone else noticed this behavior? Maybe also in other languages/grammars?
Koen
Hello Textmate list,
I am trying to understand why the knitr.tmbundle is not showing all the
commands in the bundle menu as shown below:
[image: Inline image 1]
It's missing a few commands there, such as "Knit in R". You can try it out
yourself by installing it:
$ cd ~/Library/Application Support/Avian/Bundles
$ git clone git@github.com:lcolladotor/knitr.tmbundle.git
Note that https://github.com/lcolladotor/knitr.tmbundle is forked from
https://github.com/fonnesbeck/knitr.tmbundle as I tried to fix some other
minor issues (uuid conflicts with SWeave bundle, ^< shortcut for "insert
code chunk" macro). The original repo is
https://github.com/textmate/sweave.tmbundle
The menu is incomplete regardless of whether the SWeave bundle is installed
or not.
I tried playing around with the .plist file after reading
http://superuser.com/questions/380371/how-do-i-create-a-new-snippet-in-text…
leading
to https://gist.github.com/9077862 but that didn't work either.
Any tips on how to fix the menu will be greatly appreciated! Right now the
only thing that comes to mind is using the Bundle creator GUI and re-making
the commands, but that sounds like the last option to take.
I'm using TextMate 2.0-alpha.9503 on a Mac with OS X 10.8.5.
Thank you,
Leonardo
Leonardo Collado Torres, PhD student
Department of Biostatistics
Johns Hopkins University
Bloomberg School of Public Health
Website: http://www.biostat.jhsph.edu/~lcollado/<http://bit.ly/LColladoTorres>
Blog: http://lcolladotor.github.io/ <http://bit.ly/FellBit>
In a .Rnw (Sweave) file, if I go to Bundles > latex > TeXcount, I get the
following in the pop up box:
[l;3lm!!! Encountered }without corresponding { !!![Om
[l;3lm!!! Encountered }without corresponding { !!![Om
[l;3lml!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3lm!!! Encountered iwithout corresponding { !!![Om
[l;3 lm!!! Encountered iwithout corresponding {. !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for S !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for }. !!![Om
[l;3lm!!! Reached end offile while waiting for S !!![Om
[l;3lml!! Reached end offile while waiting for }. !!![Om
However, TeXcount works fine in a .tex file. So it looks like the problem
occurs because the .Rnw contains R code.
Is there a way to get TeXcount working in a .Rnw file?
Thanks
Ross
I was measuring the character length of a line using the ‘line:column’ indicator in the bottom left corner of a TM 2 window until I had a reason to doubt its accuracy. I used the count words command to confirm. I have a line with 153 characters, and the ‘line:column’ indicator reads ‘157’ with the cursor at the end (which I would expect to mean there are 156 characters before the cursor). See attached. Why might this be?
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
The notion that I might be able to build TextMate on my own machine is so cool that I thought I'd give it a try. I got a very long way (thanks to the wonderful instructions at the github site) but when the actual moment came to do some compiling, we choked up:
[1/1] Generate ‘build.ninja’…
[3/993] Compile ‘Shared/PCH/prelude.mm’…
FAILED: '/Applications/Xcode51-Beta5.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++' -c -pipe -fPIC -gdwarf-2 -m64 -mmacosx-version-min=10.7 -isysroot "/Applications/Xcode51-Beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk" -funsigned-char -D'NULL_STR="\uFFFF"' -Wall -Wwrite-strings -Wformat -Winit-self -Wmissing-include-dirs -Wno-parentheses -Wno-sign-compare -Wno-switch -Wno-address-of-temporary -IShared/include -fcolor-diagnostics -DNDEBUG -Os -fvisibility=hidden -std=c++11 -stdlib=libc++ -fobjc-abi-version=3 -fobjc-arc -Xclang -fobjc-default-synthesize-properties -fobjc-call-cxx-cdtors -x objective-c++-header -o /Users/mattneuburg/build/TextMate/Shared/PCH/prelude.mm.gch -MMD -MF /Users/mattneuburg/build/TextMate/Shared/PCH/prelude.mm.gch.d -I/Users/mattneuburg/build/TextMate/include Shared/PCH/prelude.mm
error: unknown argument: '-fobjc-default-synthesize-properties'
Is this just because I've installed the Xcode 5.1 beta? Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Citation completion is not working for me in child .tex files. The child
.tex file is in a different folder to the parent .tex file and also the .bib
file. But even if I move everything into the same folder it doesn¹t work.
Is there a way to get citation completion working in a child file?
Thanks
Ross
Make a Markdown document like this (ignore the equal signs, they are just to show you the boundaries of the document content)
===
* One
* Two
Three
===
The Markdown bundle marks "Three" as markup.raw.block. This is wrong. As you'll see if you preview the document, it is the second paragraph of the second-level markup.list.unnumbered.
To make things worse, the bundle turns off wrapping in markup.raw.block, so if "Three" is a long paragraph, now you can't read it because it runs off the right side of the window.
m.
PS Granted, nested lists in Markdown are annoying and incoherent; this is one of the main reasons why I use kramdown instead. Nevertheless, the syntax coloring and wrapping should try not to get in the way of constructing one's document.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work.
How do I change the size of the displayed heading in Markdown mode?
Hello,
I looked around for quite some while now, but everything I found online did
either not apply for TextMate 2 any more or did just not help me to solve my
problem.
I am using:
- OSX 10.9 (latest updates installed)
- TeXLive 2009 (now also 2013)
- latest LaTeX bundle (reinstalled just before)
What happens:
- I open a file that compiles just fine from terminal using pdflatex in
TextMate 2.
- I hit command+r
- The HTML output window opens ans says (twice in different font size, one
on top of other): "Error: Could not open to check for packages." And in a
second line it continues: "This is most likely a problem with
TM_LATEX_MASTER".
- The main TextMate window then also said: "Failure running 'Typeset&View
(PDF)'. Command returned status code 1."
Some more info:
- I do try to compile a simple file, no includes or imports... So I guess I
do not need TM_LATEX_MASTER, do I?
- The LaTeX bundle is set up to use pdflatex.
- Using "defaults write com.macromates.textmate latexDebug 1" does not cause
any additional outputs within TextMates GUI, nor in the Console.
What else did I try:
- I completely reset all TextMate settings (by deleting several folders and
files as suggested somewhere in the net) -- this changed a LOT, my TextMate
was certainly not the same any longer... but error remained the same.
If anybody has ANY idea what the most likely totally braindead and stupid
thing is that I do not see... please let me know... you'd be my personal
hero and I will worship you for weeks... ;)
Thanks,
Florian
--
View this message in context: http://textmate.1073791.n5.nabble.com/TextMate-2-LaTeX-Error-Could-not-open…
Sent from the textmate users mailing list archive at Nabble.com.
I’d like to highlight conflict markers (“<<<<<<< HEAD”, “=======”, …)
across all file types.
I created a small bundle with an injection grammar for this, but it only
works correctly for plain text. It seems that in most source grammars
other rules take precedence (e.g. in Ruby “=======” has the scope
“keyword.operator.assignment.ruby”) and therefore the injection grammar
won’t get applied.
Is there any way to solve this?
Stefan
As you probably know, I'm trying to write a new AsciiDoc bundle from the ground up. When I created this bundle, my tmLanguage file was named untitled.tmLanguage even though I have entered AsciiDoc in the bundle editor as the name of the language grammar. My question is, how can I rename this file asciidoc.tmLanguage? (If I do it directly in the Finder, TextMate simply loses track of the file altogether and thinks I no longer have a language grammar.) m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
And here it is:
https://github.com/mattneub/AsciiDoc-TextMate-2
I would like to thank everyone (meaning Allan in particular) for so much hand-holding. I truly couldn't have done it without you.
(That's partly because, even after all this time, the state of documentation on how to write a grammar is startlingly inadequate; if I have time, I intend to write a public document providing some lessons learned.)
In conclusion I would like to repeat some suggestions about possible improvements to grammars, that would have helped me a lot:
* "exclude" in addition to the existing "include". This would allow me to include a batch of rules by a single name and then exclude the few that should _not_ be included.
* Peekahead. This is the setext problem, but it arises in a lot of areas of AsciiDoc. Despite concerns over speed and the problems of backtracking, it might be that the mere ability to examine _just the next line_ might all by itself be helpful without slowing things down too much, i.e. no, the next line is not a match for the "next" pattern, so *this* line is not a match for the "begin" pattern, and on we go to the next line.
* "include" should limit the search. You will recall that the problem I had is this (because AsciiDoc paragraphs can consist of multiple lines):
This (1) is a paragraph *consisting of
multiple lines* and containing a stretch of bold.
This (2) is a paragraph with * an asterisk in it.
This (3) is another paragraph with * an asterisk in it.
Now, I can sort of pick out the paragraphs here by the fact that they are bounded by more than one return character. But if I code my "bold" rule as a begin-end rule, it picks up not only the bold in the paragraph 1 but (wrongly) a bold stretching from paragraph 2 to paragraph 3, _even if "bold" is an include within "paragraph"_. Indeed, TextMate extended the containing "paragraph" to include both 2 and 3 just in order to allow the "bold" to grow. Therefore I just had to give up and pick out neither. But what TextMate was doing here seems wrong to me and it would be nice if it wouldn't do that.
Still, what I ended up with is more than acceptable and definitely useful. Now that I can edit my books with it, I am able to move forward and adopt TextMate 2 full-time! m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi.
I'm using the default bundle for Java and would like to modify it so that the console output is displayed as plain text in a tool tip, as Venkat is doing here:
http://www.youtube.com/watch?v=7vYr12vlwrA#t=329
When I edit the Compile & Run Menu Action to show the output in tool tip and set the format to text the console output is indeed shown in a tool tip but it's shown as HTML. How do prevent TextMate from generating HTML in this case?
Thanks in advance!
/ Fredrik
Lets say I search for all periods (.) in a paragraph. I can do this using
OPTION+CMD+F, which places multiple carets over each period. Is there a
keyboard shortcut to remove the multiple carets and to get back to just one
caret?
Thanks
Ross
In the Find Dialog, you can toggle regex with Cmd-Option-R. Seems like we
used to be able to toggle Ignore case with Cmd-Option-I, but this no longer
works. That keyboard sequence toggles invisible characters.
Are there shortcuts for the other items in the Find Dialog?
Here's a list of includes from one of the inline patterns in the AsciiDoc grammar I'm writing:
{ include = '#double_bold'; },
{ include = '#double_italic'; },
{ include = '#double_literal'; },
{ include = '#double_unquoted'; },
{ include = '#double_quote'; },
{ include = '#single_bold'; },
{ include = '#single_italic'; },
{ include = '#single_literal'; },
{ include = '#single_literal_nopassthru'; },
{ include = '#single_unquoted'; },
{ include = '#superscript'; },
{ include = '#characters'; },
But it happens that that list is almost the same as the #inline group I've already defined. I could reduce this to a single include! There's just one problem: we must not include ourselves, i.e. #subscript; we crash if we do, and anyway it's wrong (this pattern is not in any way recursive). Thus I request that the grammar should allow me to talk like this:
{ include = '#inline'; },
{ exclude = '#subscript'; },
This is not just to make the list shorter; it also makes the list more correct and coherent, because I'm allowed to say (and see) exactly the truth: "include everything except yourself".
Thanks for thinking about this - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Is it possible to set the default theme for a given folder by setting the
.tm_properties file? I know I've seen reference to it but I also think I
remember hearing that this wasn't implemented yet. I'm VERY interested in
either:
- Per directory defaulting of Theme (via above .tm_properties or any
other method)
- Per grammer/language defaulting of Theme
If these features aren't currently available I'd like to put my vote in for
them ... they seems quite generally applicable to the populations use-cases
and I would imagine (speaking completely out of school) them to not be
terribly hard to implement? Here's me hoping anyway.
Ken
On 6 Feb 2014, at 9:50, Kevin Owens wrote:
> I'm getting, what to me is unexpected behavior, from the command that
> says "Send Selection/Line to" and in the sub-menu says "R.app & Step"
> (this is the one that has the default key binding of
> option+shift+enter. Here is the code in my bundle: […]
First, update to v2.0-alpha.9509 (current nightly build).
Then for the last part, it should be:
if [ "$TM_LINE_NUMBER" != "" ]; then
"$TM_MATE" -l "$(($TM_LINE_NUMBER+1)):1000000"
elif [[ $TM_SELECTION =~ [1-9][0-9]*:?[0-9]*-([1-9][0-9]*):?[0-9]* ]];
then
# Regular Selection
"$TM_MATE" -l "$((${BASH_REMATCH[1]}+1)):1000000"
elif [[ $TM_SELECTION =~ [1-9][0-9]*:?[0-9]*x([1-9][0-9]*):?[0-9]* ]];
then
# Block (option) selection
"$TM_MATE" -l "$((${BASH_REMATCH[1]}+1)):1000000"
else
"$TM_MATE"
fi
> The command that says ""Send Selection/Document to" in the sub-menu
> R.app (default keybinding command+option+shift+R) also sends focus to
> R.app.
For this command, I think you can simply add "$TM_MATE" on a (new) last
line.
Hi,
I’m running v2.0-alpha.9503 under OS X 10.9, and habitually view it full screen (ctrl-cmd-f). However I call up the Find/Replace dialog (e.g cmd-f), the editing window turns invisible. This makes the Next button (among others) highlight matches in an invisible document (try it and you’ll see what I mean). No such problem if I exit full screen (ctrl-cmd-f again) before I call up the Find/Replace Dialog. I thought you’d want to be aware of this behaviour.
Regards
Robert Milton
Allan,
I solved the problem. In my Mac-side SSH configuration (OS X 10.8.4), I had
AddressFamily inet
listed in my .ssh/config. This limits ssh connections to using IPv4. If I disable that, then it works fine. For some reason the change to allowing IPv6 in TextMate in conjunction with the above openssh option fails. Disabling the AddressFamily line makes it work.
Related, I had "disabled" IPv6 on my Mac networking by setting it to "local link-only". It still works with that, but I get an error message on the server side from rmate:
setsockopt TCP_NODELAY: Invalid argument
This error goes away by changing IPv6 to "Automatic" in the Mac network settings.
So, it appears that the change to allowing for IPv6 actually requires it to be present.
Cheers,
Brian
> TextMate did switch to using IPv6 API instead of IPv4, but for me the
> above works w/o issues, I tried with TextMate listening for both local
> and remote clients, tried setting up tunnel via command line and
> ~/.ssh/config, all cases for me was a success.
>
> This is on OS X 10.8.4 using OpenSSH_5.9p1, OpenSSL 0.9.8x 10 May 2012
> (the one in /usr/bin) and network has an IPv4 IP (obtained via DHCP) but
> no IPv6 IP (config set to ?automitcally? which gives me no values
> for the IPv6 things in network settings).
>
> Any mismatch in environment?
I am running 2.0-alpha.9507 on OS X 10.9.1.
I first noticed this problem in the rails bundle whenever it requests to
create a new file.
I can recreate the issue with the following code:
require '/Users/curt/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/ui.rb'
TextMate::UI.request_confirmation(
:button1 => "Create",
:button2 => "Cancel",
:title => "Missing foo.rb",
:prompt => "Create missing foo.rb?"
)
Pressing Cmd-R results in:
ArgumentError: An object in the argument tree could not be converted
Here is the stack trace:
/Users/curt/Library/Application Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/ui.rb:54:in `to_plist': An object in
the argument tree could not be converted (ArgumentError)
from /Users/curt/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/ui.rb:54:in `alert'
from /Users/curt/Library/Application
Support/TextMate/Managed/Bundles/Bundle
Support.tmbundle/Support/shared/lib/ui.rb:277:in `request_confirmation'
It is runing ruby version: 2.0.0-p247
Is this a known problem. Or perhaps a problem using Ruby 2.0?
I thought I understood how and where TM2 stores its bundles, but clearly not. I now discover that a bunch of bundles have spontaneously moved from /Application\ Support/TextMate/Managed/Bundles to /Application\ Support/Avian/Bundles, and some of them have even duplicated themselves:
/Application\ Support/TextMate/Managed/Bundles:
AppleScript.tmbundle Objective-C.tmbundle
Bundle Development.tmbundle PHP.tmbundle
Bundle Support.tmbundle Property List.tmbundle
C.tmbundle Python.tmbundle
CSS.tmbundle Ruby Haml.tmbundle
Diff.tmbundle Ruby on Rails.tmbundle
Git.tmbundle Ruby.tmbundle
HTML.tmbundle SCM.tmbundle
Hyperlink Helper.tmbundle SQL.tmbundle
JSON.tmbundle Shell Script.tmbundle
Java.tmbundle Source.tmbundle
JavaDoc.tmbundle Subversion.tmbundle
JavaScript jQuery.tmbundle TODO.tmbundle
JavaScript.tmbundle Text.tmbundle
Lua.tmbundle TextMate.tmbundle
Mail.tmbundle Textile.tmbundle
Make.tmbundle Themes.tmbundle
Markdown.tmbundle XML.tmbundle
Math.tmbundle YAML.tmbundle
Mercurial.tmbundle
/Application\ Support/Avian/Bundles:
AsciiDoc.tmbundle Make.tmbundle Ruby on Rails.tmbundle
HTML.tmbundle MattBundle.tmbundle RubyFrontier.tmbundle
Java.tmbundle Mercurial.tmbundle SQL.tmbundle
JavaDoc.tmbundle PHP.tmbundle Subversion.tmbundle
Lua.tmbundle Python.tmbundle Textile.tmbundle
Mail.tmbundle Ruby Haml.tmbundle YAML.tmbundle
Just what is really going on here? Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Has anyone found a way to set a command to move to the right-edge in the middle of a soft-wrapped line in TM 2? I was using a macro called "Move to EOL" in TM 1 bound to command-right-arrow, but in TM 2 this takes me to the absolute end of the line.
In case it's not clear what I'm asking, I'd like to move the cursor from START to END in this single line of soft-wrapped text:
Lorem ipsum dolor sit amet, consectetur adipisicing
elit, sed do eiusmod START incididunt ut labore END
dolore magna aliqua.
Currently, in TM 2, if I do command-right-arrow the cursor ends up after "aliqua."
Thx,
--
Quinn Comendant
Strangecode, LLC
http://www.strangecode.com/
+1 530 624 4410 mobile
+1 530 636 2633 office
@qc and @strangecode
This may be related to the bundle problem that I reported earlier?
In the Ruby on Rails bundle is a command in the Support/bin directory
called
go_to_alternate_file.rb. This is the starting point for the script where I
am getting the to_plist error.
The first line of the this file is
#!/System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby
so I would assume that it is being executed by ruby 1.8.
But if I modify the file and add the following line after the 'require'
statemets:
puts "${RUBY_VERSION}"
When the script is run, it prints 2.0.0 So it seems that the shebang line
is not being honored.
Am I missing something?
Hi,
I’m using Textmate on a 24” monitor in portrait mode. I often hide the file browser as it takes quite some screen real estate in portrait mode.
Unfortunately, since the newest automatic 'nightly build’ update (2.0-alpha.9505), when I change to another tab, the file browser reappears again rather than staying hidden.
Is there a setting or another way to avoid this happening?
Or, lacking that, is there a way to downgrade to the previous version?
Off topic: is there a open bug list available for textmate 2? I don’t see any on github.
Off topic 2: are there any tools available to search in the textmate mailing list archive, short of going manually through each month’s archive?
Thanks and regards,
Bas
The problem with the current begin-while is that it is not a true "while"; it can skip stuff. I request a begin-while construct which is anchored at the "begin" and, if it fails to find the "while" immediately after, gives up and moves on.
Example: Markdown permits a heading like this:
This is a Heading
=============
The problem is to match that entire thing, in particular both so that it can be theme-marked and so that "This is a Heading" can appear in the symbol list. At the moment, this can't be done. That fact is well proven by the fact that the Markdown bundle fails to do it. It's a clever bundle so if this were possible, it would be done correctly.
The reason it can't be done is three-fold:
(1) A "match" rule not only cannot span two lines, it can't even look ahead to the next line. Thus I can't express the notion "any line provided it is followed by a line starting with multiple equals signs", even though there is a perfectly good way to say that as a regular expression.
(2) A "begin"-"end" rule is both too narrow and too broad. It is too narrow because the "begin" rule suffers from the same limitation as the "match" rule: it cannot span two lines, and it cannot look ahead to the next line. It is too break because it just keeps going to the end of the document.
(3) A "begin"-"while" rule would work if only the "while" were taken seriously. For example, we could say this:
begin = '^\w.*?\s*$';
to mean "a line that starts with a word character and might end with some spaces". The trouble is that this matches almost any line in the world. What I'm asking is that the 'while' should pick right up on the next line, _and fail if it doesn't work_ (this is what "while" means in most programming languages, after all):
while = '^={6,}\s*$';
This works, but the trouble is that the negative works too: the resulting begin/while pattern matches every line of the document! This seems to be because the "begin" matches everything even though the "while" doesn't match anything.
That is why I am asking for a begin-while that takes the "while" seriously: after matching the "begin", if you can't match the "while", skip that "begin" and try again on the next line. Only succeed when the "begin" is actually *followed* by the "while".
Perhaps what I am actually asking for it "begin" "next" "next" or similar.
I can't believe this would be expensive, and it would solve a LOT of Asciidoc grammar problems, where there are many multi-line patterns such as this one.
m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Maybe a bug:
1. Do a multi-file search and replace,
2. bring the main window to the front (text windows with tabs),
3. save all windows (command-option-s),
4. and close the window.
You'll see the find window and its results below.
5. close this window
6. click "Save All" when you get the "Do you want to save the changes from your replace operation?" prompt.
7. Forever beach ball! Force-quit required.
Oh, wait—I just tried these steps again without trouble. So, maybe never mind? I'll let you know if it happens again.
Quinn
Please,
For the love of god, children and animals, can we please get indented soft
wrapping as a standard feature of Textmate 2. I just don't understand why
such a useful yet trivial feature that's common to just about every text
editor has not been included in what is supposed to be the holy grail of
text editors.
There's an 8 year old ticket for it, not to mention all the duplicates:
http://ticket.macromates.com/show?ticket_id=4EFB31A8
Do a google search for this, and you find people applying the same dodgy
fix to individual bundles; what a waste of time for everyone involves. Can
we not just get this feature added and be done with it.
Thanks,
Tom
Date: Fri, 17 Jan 2014 16:08:36 +0700
From: "Allan Odgaard"<mailinglist(a)textmate.org>
To: "TextMate users"<textmate(a)lists.macromates.com>
Subject: [TxMt] Re: when sending code to R.app textmate 1 and 2 both
Message-ID:<3D9202F3-4409-4616-8C91-022E216F188A(a)textmate.org>
Content-Type: text/plain; charset=utf-8; format=flowed
On 17 Jan 2014, at 11:13, Kevin Owens wrote:
> [?] I think it may be related to the lines in that command like
>
> "open"txmt://open?line="
Yes, that would go to whatever version of TextMate is responsible for
handling the txmt URL scheme.
The bundle should call ?mate? instead.
For 2.0 you can use:
"${TM_MATE}" -l ?line?:?column?
For a version that should work with both, use:
"${TM_MATE:-$TM_SUPPORT_PATH/bin/mate}" -l ?line?
If you can confirm this works, we can update the bundle accordingly.
______
I can confirm that this works. Here's the meat of what i changed:
if [ "$TM_LINE_NUMBER" != "" ]; then
open "${TM_MATE:-$TM_SUPPORT_PATH/bin/mate} -l ?line?&column=1000000" &
elif [[ $TM_SELECTION =~ [1-9][0-9]*:?[0-9]*-([1-9][0-9]*):?[0-9]* ]]; then
# Regular Selection
open "txmt://open?line=$((${BASH_REMATCH[1]}+1))&column=1000000" &
elif [[ $TM_SELECTION =~ [1-9][0-9]*:?[0-9]*x([1-9][0-9]*):?[0-9]* ]]; then
# Block (option) selection
open "txmt://open?line=$((${BASH_REMATCH[1]}+1))&column=1000000" &
else
open "txmt://open"
fi
Hello,
I’ m trying to clean the .nav, .snm, .mtc and .gz files which appear when i compile a latex document. I read that i have to modify the testate.py file but I don’t find it. Could you help me?
System : OSX 10.9.1
Texmate 2.0-alpha.9503
Best regards
PS : (sorry for the bad english)
.............................................................................................
jimmy ROUSSEL
Professeur de Physique
Responsable de l'interclassement
Ecole Nationale Supérieure de Chimie de Rennes
11 allée de Beaulieu CS 50837
35708 Rennes cedex 7, France
Université Européenne de Bretagne
Tel 33 (0)2 23 23 80 53
.............................................................................................
In TM2, the behavior of command-i is unexpected, and I believe different than in TM1.
Minimal example: Language grammar is LaTeX, cursor is at the pipe (|) in the following text, and I press command-i.
one | two
Expected result: one \emph{|} two
with cursor at pipe
Actual result: one\emph{ }|two
with cursor at pipe
Thanks, and I apologize if there’s a legitimate reason for this result which I don’t know about!
Christopher Eliot
Brooklyn, NY
Hi,
Along a thread similar to Kai Wood's comments on installing an external
bundle, I am trying to get the bundle for Julia working. To this end I have
now created the Pristine\ Copy subdir in ~/Library/Application Support/Avian/.
Then I created the subdir Bundles and then used the script:
#!/bin/sh
sudo cp -r Julia.tmbundle ~/Library/Application\ Support/Avian/Pristine\
Copy/Bundles
to copy the julia-supplied bundle to hopefully the right place. I then
restarted TM2 but did not see Julia on the bundles list. So I looked on the
Bundles list and Julia does not appear. However, when I go to Bundles->
Edit Bundles I see julia mentioned. Selecting that I only see an entry for
Language Grammars. The check for Enable This Item is already in place.
So, can you guys please help me get the Julia bundle usable?
Thanks very much.
Comer
I work on a few projects with symlinked directories and right now the lack of symlink support is the biggest thing keeping me on Textmate 1.
Symlinked files don’t show up in the Go To File (⌘+T) command, which makes one of my favorite features useless on some projects for me.
I know the FAQ also says that expanding symlinks currently doesn’t work in the File Browser- just curious if there’s an update for that? I tend to open files via ⌘+T and immediately ⌃⌘+R to reveal the file in the File Browser (would love for that to be automatic when you open a file).
Cheers!
-Philippe
When opening a document in a project that already has several tabs open, I find it very unpredictable where the new tab will go. It appears somewhere in the middle of the other tabs, and seems to disturb their order. Moreover, if I open a document whose tab is already open, it moves within the order of tabs.
All of that seems wrong and confusing, and makes it hard to keep track of which tab is which (because the order keeps changing so there is no positional memory). I would like to see the rule be:
* A document that is not already open, opens as the *first* tab. (I would really like it to be last, but that does not seem feasible because there might be too many tabs for the window, and it is pointless to hide the new tab off to the right.)
* A document that *is* already open, simply selects that tab, without changing the order of existing tabs.
m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi everyone,
Today I felt the need to be able to select text between quotes, and
managed to dig up this old message from 2009
(http://lists.macromates.com/textmate/2009-June/028965.html):
On Sun, Jun 7, 2009 at 8:05 PM, Oliver Taylor <olivertaylor at me.com> wrote:
>
> On Sat, Jun 6, 2009 at 7:17 PM, MDX-LE<dj9027 at gmail.com> wrote:
> >
> > How do I Select all the characters between double quotes? When I use Ctrl+Alt+B when the cursor is somewhere inside the double quotes, it selects all the characters inside the quotes AND the quotes themselves.
> >
> > Can I change this so that I can restrict selection within the quotes without the quotes?
>
> If you create a macro or command with the same shortcut you'll override the menu item.
>
> I've attached a macro that might do what you want, but you may have to customize it.
I've attached an improved version of this macro that works for either
single or double quotes, including when single quotes are within a
double quoted string and vice-versa (though it still won't handle
escaped quotes properly).
If you have any suggestions for further improvements let me know!
–Adam
Since I updated to Textmate 2 I have a problem with folding code: whenever I unfold a piece of code (by clicking on the triangle), the code unfolds but the triangle disappears. This way I need to highlight the section and click fold again, instead of just clicking the triangle again to fold it. This was not the case under Textmate 1 and led to me never using Textmate 2 as it's such a crucial functionality for me. I hope you can tell me what I may be doing wrong or resolve it if it's a bug!
Thanks,
Samuel
What happened to the great little feature where you could ask to show/select in the file browser the file you are currently editing? It seems to be missing in action in TextMate 2.
This makes it very difficult (i.e. impossible) to know what file you are editing, especially when lots of tabs are open and there are lots of files in a big hierarchy in the file browser.
Of course if it is there but in some other guise, I'm happy to be corrected! Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
I'm still trying to get started writing my bundle, but I can't even get the first two rules to work...
AsciiDoc marks bold like *this*, but I don't want this to work across paragraph boundaries. I've started by arbitrarily dividing the document into paragraphs:
patterns = (
{ name = 'punctuation.test';
begin = '^';
end = '$';
},
);
I've marked 'punctuation.test' as red, so I can see that this is working.
====
This is a paragraph
And this is a different paragraph
====
In the repository, I also define bold; the real pattern is quite involved, but let's pretend it's very simple, like this:
repository = {
single_bold = {
name = 'markup.bold.asciidoc';
begin = '\*';
end = '\*';
};
};
Now I include single_bold in my punctuation.test paragraph, by changing the patterns to look like this:
patterns = (
{ name = 'punctuation.test';
begin = '^';
end = '$';
patterns = (
{ include = '#single_bold'; },
);
},
);
This screws everything up. Yes, it works on expressions like *this*. But it also works across paragraph boundaries:
====
Like *this
it boldifies* across paragraphs.
====
That is exactly what I wanted to prevent! What is happening, as I can see from my red "punctuation.test", is that including #single_bold in punctuation.test is actually changing the meaning of punctuation.test! Instead of stopping after "Like *this", the way it did before, punctuation.test is now mysteriously extended to included multiple paragraphs.
What I want to do is give the paragraph definition _priority_ so that #single_bold only works _inside_ a paragraph; instead, including #single_bold is causing the paragraph definition to stop working correctly and is extending both itself and the paragraph definition across multiple paragraphs. How do I prevent that? Or how do I make a begin/end rule that doesn't cross line boundaries? Thanks! m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
I just quit TextMate 2 with an untitled dirty document open, and TextMate forgot to offer to save it - it simply vanished off the screen and the work was lost. I don't blame TextMate; if I really wanted that script, I should have saved it at some point. But I'm just warning people, there's a bug in there that can allow this to happen (though I am completely unclear on what the circumstances are; it's not like this bug is easily reproduced or anything). Don't assume you'll get the Save dialog on quit. m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
One of the coolest things about the bundle development process is that a grammar is "live". If you have a document open that comes under this grammar, and if you make a change in the grammar and save, the grammar is immediately applied freshly to the open document.
Unfortunately, this is _not_ true of custom themes. Let's say I have a custom theme in this same bundle (Test Theme). And let's say it contains this setting (among others):
{ name = 'Test';
scope = 'punctuation.test';
settings = { background = '#FF0000';};
}
I'm sure you can see where this is going. My idea here is to make a grammar-defined scope visible temporarily (for testing and analysis) by renaming it "punctuation.test" just long enough to let the theme color its background in the document, so I can see whether my scope is working correctly.
But this doesn't work. Well, it works, but every time I make a change in Test Theme, I have to apply that theme to the document _again_ (bring the document to the front and choose View > Theme > Test Theme) even though that theme is _already_ applied to this document (it is already checked at the time I choose it in the menu).
So what I'm suggesting is: please make themes "live" in the same way as bundle grammars: when I save a theme, it should be immediately and visibly applied to any open documents to which it is already applied. This would make the development process a lot snappier. Thanks! m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
I have a file consisting of a single column of dollar amounts such as:
$172.83
$30.00
$74.36
$10.00
$528.33
$225.00
$107.78
$30.00
$74.36
$10.00
$61.85
$61.85
$18.70
$18.70
.
.
.
I need to transform this file into a file consisting of two columns with
the second column taken from every other of the single-column numbers. How
can I do that in TM2? I have looked in the manual and online for tips but
can not find any that do what I want, or so it seems. Can you guys please
suggest how to do this?
Thanks very much.
Comer
Let's say I've carefully set up a Regex find in the Find dialog. And let's say I switch away from TextMate to do something else, and I do a find, say in a Safari page. When I come back to TextMate, my find term is gone! It has been replaced from the system shared Find clipboard. This (the shared Find clipboard) is a vile feature and TextMate should either opt out or should give me a pref to opt out. Thanks! m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
(I signed up to get emails in a digest, so I don't know how to reply to
an individual email)
Message: 1
Date: Thu, 16 Jan 2014 21:15:59 +0700
From: "Allan Odgaard"<mailinglist(a)textmate.org>
To: "TextMate users"<textmate(a)lists.macromates.com>
Subject: [TxMt] Re: when sending code to R.app textmate 1 and 2 both
open
Message-ID:<4E4D9C0E-7389-4E8E-AFF5-4FC9DFA68AF7(a)textmate.org>
Content-Type: text/plain; charset=utf-8; format=flowed
On 15 Jan 2014, at 12:44, Kevin Owens wrote:
> I'd like to have both versions of textmate on my computer, but when I
> send code to the R.app in either, it shifts focus to the other one.
> For example, if I am running textmate 1 it runs the R code, then
> shifts focus to textmate 2, and then I have to alt tab to get back to
> my original window.
Exactly what bundle command are you using?
I looked at the commands in the R Console (R.app) bundle (like ?Send
Document / Selection to R.app?) and while I see code that activates
R.app I see no code to bring back focus to TextMate.
I'm using the command "Send Selection/Line To" and the sub-menu is "R.app and step" and the key binding is alt shift enter.
I've restarted my computer, and now it seems that Textmate 1 works fine, but it's when I send code to R.app that it switches focus.
I think it may be related to the lines in that command like
"open "txmt://open?line="
I’m trying to add some missing functionality to a bundle and stumbled upon some odd behavior of the selection string in TM_SELECTION regarding the range…
When I select a block of text and my cursor is somewhere in the middle of a line, the selection string contains exactly the highlighted range. Consider the following selection (see screenshot):
TM_SELECTION is now "5:5-3”, so lines 3-5 are included.
Example 2, column selection:
TM_SELECTION is “5x3”, lines 3-5 included.
But whenever I’m using CMD-L for “Select line”, like here, it gets somewhat problematic:
TM_SELECTION is now "6-3”, the range now includes line 6, but the *visible* part of the selection is still 3-5.
I can work somewhat around this checking if the last character in TM_SELECTED_TEXT is a newline (\n) (because that is where the additional line in the range is coming from - as one can make the same selection in example 3 when the cursor is on the first row of line 6, holding shift and hitting UP 2 times. Standard OSX behavior).
But the more I think about it, the less I’m sure if this is intentional.
Can this be considered a bug or is it intended behavior / a feature?
I'd like to have both versions of textmate on my computer, but when I
send code to the R.app in either, it shifts focus to the other one. For
example, if I am running textmate 1 it runs the R code, then shifts
focus to textmate 2, and then I have to alt tab to get back to my
original window.
I tried moving and renaming one .app, but it didn't work.
Kevin
In the archive I found this conversion:
>> Looking for help with language grammar. Coding in perl, and adding
>> pod (documentation) within a codeblock, pod code gets automatically
>> indented. Is there a way to have lines that begin with a = symbol
>> auto- 'out-dent'? And then any subsequent lines, before a '=cut' line
>> to be indented to match the previous line?
> I assume decrease indent only by a single unit? If so, you can make
> the line be matched by both the increase and decrease indent pattern,
> e.g.:
>
> increaseIndentPattern = '^\s*=\w+';
> decreaseIndentPattern = '^\s*=\w+';
>
> This should give the behavior. Note though that if the indent is zero
> when the cut line is used, the current build will not cause the indent
> to be increased for the following lines, but this will be fixed in
> next build.
>
> Also, we disable indent-as-you-type for source.comment, so if you
> setup useful indent patterns for the documentation blocks (which I
> assume are scoped as block comments) then it might be useful to
> re-enable indent-as-you-type:
>
> disableIndentCorrections = :false;
I am not sure, where to change these settings. In the Perl Bundle ->
Settings -> Indention? Or should I better make my own Bundle, so that
these Settings stick in case of an update?
Thanks in advance!
I'm trying to figure out how to perform a function in textmate2 which was in
textmate1
Used to be able to open a new file "from a template". I no longer see this
option anyway. Any advise much appreciated.
--
View this message in context: http://textmate.1073791.n5.nabble.com/Template-File-New-from-template-tp272…
Sent from the textmate users mailing list archive at Nabble.com.
I've just discovered that part of the breakage in the Asciidoc bundle is due to the higher precedence in TextMate 2 of the indentation rules. In particular, I have deduced that I'm being bolluxed by a rule inherited from text.html. The asciidoc grammar is scoped as text.html.asciidoc, wrongly; I intend to change that, but right now I'm still learning my away around.
(There is little doubt that the scoping of the asciidoc grammar as text.html.asciidoc is a huge mistake and lies at the heart of many of my problems. I didn't write this grammar so it isn't my fault; I'm just trying to fix it so it works. Asciidoc has nothing to do with html - even less, indeed, than markdown does. There are some places where asciidoc should behave like xml, but then the solution is presumably to adopt xml behavior in just those places. So all this is going to change. But humor me anyway, for now.)
According to the FAQ on github, I should be able to shelter myself from indentation rules ("you can disable the auto-indentation entirely") by a setting like this:
{ disableIndentCorrections = :true; }
But no matter how I scope that pref (including no scope, text.html, etc.), automatic indentation when I press Return is happening, under the influence of text.html (the caret is in the scope text.html.asciidoc meta.paragraph.asciidoc).
Have I found a bug in TextMate 2, or am I just being misled by the wording in the FAQ?
m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
It turns out that it is wrong, in a grammar, to put a "patterns" section inside a "name/match" section.
But it isn't _forbidden_. It just makes everything behave wrong. I lost an entire day over this, because none of the documentation made this sufficiently clear, but mostly because TextMate did not complain. I am suggesting that it should do so.
Here is an extremely silly example to illustrate. Start with this:
{ patterns = (
{ name = 'punctuation.test';
match = 'this.*?test';
},
);
}
It successfully matches the phrase "this is a test" in the middle of a longer sentence such as "I tell you that this is a test of everything".
Now introduce an embedded pattern:
{ patterns = (
{ name = 'punctuation.test';
match = 'this.*test';
patterns = (
{ name = 'constant.character.escape.untitled';
match = '\\.';
},
);
},
);
}
(I told you it was silly!) The result is that "punctuation.test" now wrongly matches the entire document starting with "this is a test". Evidently, TextMate didn't like that. But what I'm saying is, if TextMate doesn't like that, TextMate should forbid it. The lovely dialog that says that this is not a valid property list, for example, might be used to tell me that this is not a valid grammar and will mess things up as we go along.
m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi.
Starting with 2.0-alpha.9503 (i guess) it's not possible to disable soft wrap anymore. Or is it just me?
What's the best way to downgrade? For special reasons i need a visible wrap column without the code actually being wrapped.
thanks.
Robert
My bundle command, written in Ruby, looks like this:
s = #... command-line command that produces many lines of output
STDOUT.sync = true
puts '<pre>'
puts `#{s}`
puts '</pre>'
It is set to output as HTML. In TextMate 1, the result was correctly formatted: line after line of text, wrapped in <pre> tags, wrapped in HTML. In TextMate 2, the opening and closing <pre> tags both appear before the output from executing s, and thus the output is not correctly formatted.
Clearly something has changed. What's the new correct way of doing this? Thanks - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi everybody !
I use ⌃ ⌘ T to look into the bundles, but what if the key equivalent is used in TM itself ?
**Example:** If I search for ⌘ E in "Select Bundle Item dialog" => I find nothing. Although it is used by TM for menu "Use Selection for Find". So, what would be great would be that the "Select Bundle Item dialog" could inform that the key equivalent is used by TM. Or, when I type in the "Key equivalent" field, a message could inform me that the key equivalent is already used and where.
Furthermore, is there a way to record the settings in the "Select Bundle Item dialog" ? If I previously set «Key equivalent» instead of «Title», I would like to have «Key equivalent» selected the next time I call the dialog. Idem for «Current Scope» and «Actions».
Thank you in advance for your answer.
And thank you for this wonderful tool: TextMate.
Bruno.
Deep in the TextMate bundle is escape.rb, containing this utility:
# URL escape a string but preserve slashes (idea being we have a file system path that we want to use with file://)
def e_url(str)
str.gsub(/([^a-zA-Z0-9\/_.-]+)/n) do
'%' + $1.unpack('H2' * $1.size).join('%').upcase
end
end
The problem is that the "n" modifier on the match requires that this string (str) be ASCII-8BIT encoding. But on the Mac a file system path is UTF-8. Thus it is possible that this method will be sent a UTF-8 string and will choke on it. For example:
e_url("/Users/matt/Desktop/höwdy.txt")
[That's "howdy" with an umlaut over the o, in case it doesn't come across in your email.]
Now, it is legal to make a file:// URL that points to this file. But e_url is failing to create such a URL and we get a warning.
I suggest that this utility may need to be revised for use with Mavericks and Ruby 2.x.
m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi,
I am a TextMate 2 Alpha user since the day it was made public. However, some months ago an update of it shredded my TM1 installation because the support folder was then renamed from "Avian" to "TextMate". This was unfortunate but I could live with it since I only relied on TM1 for HTML zen coding anyway.
Once in a while I am trying out new bundles and I am noticing that if I want to install bundles manually I still have to do this in "Application Support/Avian/Pristine Copy/Bundles" since TextMate will ignore everything in "Application Support/TextMate/Bundles" or "Application Support/TextMate/Pristine Copy/Bundles".
Maybe there is a deeper sense to it I just don't get but I find this really confusing and thus hard to work with.
Or maybe I am just getting it wrong and there is a command I need to run or a file I need to delete for this to work properly.
Any help or info regarding this is greatly appreciated.
Thanks,
Torsten
Hi,
what is the best form, to change/adapt the highlighting of ons own
often-used functions?
E.g. if I have a Perl sub called `i` (printing some debug-info to
stdout) and to be used e.g.
i 'Starting ifgrp store ...';
And if would like to have these lines formatted like a comment (grey,
italics) so that it survives changes in the Perl-Bundle including
reinstallations of TM2. Where and how would someone define that?
My guess is, to place it in my own Bundle and to use something like
begin = '^\s*';
end = ';\s*$'; # trailing white space may occure
But I can't figure out the details.
Thanks and kind regards, Ingo
--
Ingo Lantschner
Hi,
The “Commit” command in the git bundle no longer works for me.
If I run “Show Uncommitted Changes”, the git bundle properly displays the
diff. However, if I run the “Commit” command, it instead displays: "Working
directory is clean (nothing to commit)”.
So the repro steps are:
1. Make a change to a file
2. Run `git diff` or “Show Uncommitted Changes” to verify that a change has
been made
3. Run the “Commit” command
Is anyone else experiencing this issue?
Thanks,
Charles
On 01.01.2014, at 22:50 , "T. Zha" <zmail(a)tzha.net> wrote:
> Thanks for the information. I?ll try what you suggested. Any suggestion of the best source to download the epstopdf package?
If you have downloaded MacTeX, the package is included in the standard installation. All you need to do is use \usepackage{epstopdf} in the preamble and that's it.
I'm not using Matlab, just gnuplot, xfig and other simple graphing tools, but with the exception of gnuplot, they all feature pdf+latex output (meaning that the software creates a .tex file which you need to include and a pdf file, this way you can use latex commands in labels and such).
Max
Hi all and a very great / happy new year to all of you.
My name is Gabriel and I’m a very beginner both as a programmer and with TextMate.
TM is one of the few editor I have found which is accessible to the VoiceOver technologies
I have to use as I’m totally blind.
My problem has to do with using TM to write and test Python scripts.
I have this simple one:
# begin
a =input(“name? ")
print a
# end
I press Bundle… python… run script and getting this error message:
***
Running “untitled”…
Python 2.7.6
Theme:
nome
EOFError: 'EOF when reading a line'
module body in untitled at line 1
a =input("nome")
copy output
Program exited with code #1 after 0.41 seconds.
***
That’s sounds strange as the script has no mistakes.
Could you please help me to found how to solve this issue?
Thanks.
Gabriel.
All my source code is on a centos virtual machine, which I access over an
AFP share.
When I have a file open in TM2, TM is not able to detect that its been
changed.
This happens often when I switch git branch.
If I open a terminal and run 'ls' on the file, at this point suddenly TM
realises its changed and reloads it.
Can anyone offer an explanation for this?
I figured maybe its some form of fstat cache kicking in, either in OSX or
due to the way the AFP share has been configured, but I cannot find any
other apps behave the same way (ie, Sublime Text detects it has changed
immediately)
Pardon me for being a bit sentimental, but as a recent TextMate 2 adopter, I find that, quite aside from the technical improvements and the ability to run happily on Mavericks, I'm loving the new interface. When working on a small screen especially, I really appreciate the ability to maintain an all-in-one layout. With multiple documents opening as tabs, and the results window as a right pane, I'm so much more agile than in the past. This is a marvelous transformation. Thanks and a happy new year - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
Hi,
currently i don’t know why building text mate from source did not work for me.
My Setup is :
- source checked out from git with all submodules
- latest os x Maveriks 10.9.1
- neded dependencies are installed via brew
- my ninja target is TextMate/run
after clean and build from text mate i get the following error
https://gist.github.com/tfcoding/8195924
so it would be great if somebody could say why this error appears..
thx
Tim
In one of the recent updates (I think), the default behaviour when hitting
return inside a new set of braces seems to have changed.
Previously opening a pair of braces and hitting return would result in the
following:
{
// caret here
}
Now I get:
{
// caret here}
This is affecting all the grammars I commonly use - PHP, CSS, JS but
presumably is global.
Did I inadvertently change a setting somewhere or is this a change of the
default TextMate behaviour that I missed?
Either way, is there a way to return to the old behaviour? I have done a
few searches and seen some mentions in certain languages that you may be
able to build a snippet to fire on enter if the syntax supports specific
enough scoping but I'm failing to get it to work for me.
Dom
On 01.01.2014, at 07:00 , textmate-request(a)lists.macromates.com wrote:
> Actually I would recommend you and everyone to use the ?latex? engine instead of pdflatex.
I'm very well-versed in LaTeX, and I started with the non-pdf latex many moons ago. If it were up to me, I'd use xelatex because of its superior handling of fonts, but the arxiv doesn't support it and most collaborators don't know about it or care to use it. (The arxiv still on TeX Live 2011, too.) pdflatex is the de-facto standard for good reason.
> With latex, you can typeset eps figures directly without converting it to pdf figures and the resulting pdf file has a much sharper resolution than those produced by pdflatex applied to pdf figures, especially when you use the beamer for presentation.
Actually, eps is a format of the past, most programs (e. g. xfig) can output either directly to pdf or a pdf/LaTeX combo. Even if you get eps output (e. g. from gnuplot's using the eps+latex output), loading a single package (epstopdf) takes care of the on-the-fly conversion (which does *not* reduce the resolution, I think it just encapsulates the eps file into a pdf wrapper). This reduction in quality only happens if someone manually converts the eps file to pdf with the wrong tool in the wrong way.
During typesetting, you lose pdfsync which is a very handy feature (clicking in a location in the pdf file sends you to the corresponding line in your latex code). Moreover, pdf files which are generated from the intermediate dvi files often have lower quality (e. g. font rendering is worse, text no longer is searchable and hyperlinks may stop working).
I've only dealt with one journal that used latex instead of pdflatex (and another one which strangely enough doesn't seem to use latex at all on its backend).
If latex works for you, fine, but I don't understand why you force others to cling to the old. (I would not force my students to use TeX in any particular way.) Especially when it seems to be due to just not knowing about well-known solutions to old problems.
Max
On 31.12.2013, at 07:00 , "T. Zha" <zmail(a)tzha.net>
> I need latex as engine because it can typeset .eps graph files. The eps graphs have much better resolution than pdf graphs.
All you need to do is load the package epstopdf and use pdflatex. I seriously caution against using anything but pdflatex these days, most journals have moved to pdflatex (for very good reason), so that's what you should use as well to minimize friction.
Also, if you use the proper tools to convert the eps file to pdf, then the resolution is the same as both are capable of including vector graphics. However, if you convert an eps file the wrong way, the output will be a bitmapped file encapsulated in a pdf file.
Max
Dear List,
Apologies if this question has an obvious solution. In TextMate 2, is
there any way to make the project window stay open even if the last
file tab has been closed?
Nicholas
Hi:
I use MacBook Pro with OS X 10.9.1. I have encountered a typesetting problem with the latest TextMate version 2.0.alpha. I set Bundles → Latex → Preferences as follows:
Default Engine: latex
View in: Preview
Checked on “Show pdf automatically”
Checked on “Keep log window open”
The message I got is
error number 256 opening viewer
When I set “Default Engine: pdflatex”, TextMate works, but it gives me the above error message when I set “Default Engine: latex.”
I have deleted the files you as suggested by the following link
https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
but it still gives me the same error message.
Note that it can generate a valid .ps file, but fails to generate a .pdf file. Any help would be much appreciated.
Is it possible to define headers that appear in the Go to Symbol list (shift
+ command + T).
For example, can I define this as a header:
% This is a header -----------
Thanks
Ross
In R.app on Mac OSX, pressing tab after an object name and dollar sign will list all variables contained within that object. For example:
Pressing mtcars$ + TAB will list all variables contained in the mtcars dataset.
Pressing iris$ + TAB will list all variables contained in the iris dataset.
Is it possible to mimic this behaviour in a .R file in TextMate?
Ross
Well, I have two issues I am hoping for help on.
(1) The built-in git bundle has partly stopped working on 10.9 Mavericks (on the nightly build). The bug is that the log command creates a window which shows the log messages, but the + which expands into a line by line diff no longer expands.
I think that began exactly when I installed Mavericks, so I imagined that this was a simple config issue with the ruby scripts in the bundle. So I downloaded the latest git bundle from https://github.com/jcf/git-tmbundle which of course didn’t work on my computer, so… anyway to get to the point, of course….
(2) I screwed up my config somehow and I can’t get back to the default git bundle. I am trying to do a clean reinstall of TM2 and I’m failing. I deleted
~/Library/Application\ Support/Avian
~/Library/Application\ Support/TextMate
~/Library/Preferences/com.macromates.*
and I rebooted and I emptied the trash. I copied a fresh nightly 2.0 into /Applications. My bundles are still screwed up and the Git bundle won’t work.
Is there some location I am forgetting to delete?
best wishes, Eric
--
Eric Hsu, Professor of Mathematics
Director, Center for Science and Mathematics Education
San Francisco State University
http://math.sfsu.edu/hsu
Well, I have two issues I am hoping for help on.
(1) The built-in git bundle has partly stopped working on 10.9 Mavericks (on the nightly build). The bug is that the log command creates a window which shows the log messages, but the + which expands into a line by line diff no longer expands.
I think that began exactly when I installed Mavericks, so I imagined that this was a simple config issue with the ruby scripts in the bundle. So I downloaded the latest git bundle from https://github.com/jcf/git-tmbundle which of course didn’t work on my computer, so… anyway to get to the point, of course….
(2) I screwed up my config somehow and I can’t get back to the default git bundle. I am trying to do a clean reinstall of TM2 and I’m failing. I deleted
~/Library/Application\ Support/Avian
~/Library/Application\ Support/TextMate
~/Library/Preferences/com.macromates.*
and I rebooted and I emptied the trash. I copied a fresh nightly 2.0 into /Applications. My bundles are still screwed up and the Git bundle won’t work.
Is there some location I am forgetting to delete?
best wishes, Eric
--
Eric Hsu, Professor of Mathematics
Director, Center for Science and Mathematics Education
San Francisco State University
http://math.sfsu.edu/hsu
Yes, maybe there is a problem with samba and Maverick since I changed to
Maverick almost at the same time I change to TextMate v2. I try opening
with another editor and I get a non updated version of the file.
Then I try to open with TextMate and I get the message "TODO Reselect
previously open document". I cannot open the file with TxtMt until I close
my session on the OS and I log on the OS again. However, after a while, I
can correctly open the file with other editors.
Is there a way to do a "clean reopening" of the file without having to
restart my user session in the Mac OS?
Another issue I have notice is that TxtMate does not detect automatically
changes in files of samba file system.
2013/12/19 Allan Odgaard <mailinglist(a)textmate.org>
> On 18 Dec 2013, at 21:54, Jesús Baquedano wrote:
>
> […] I occurs only when using subversion […] file is in a linux machine
>> and I use
>> samba to access it from TextMate […] I see the file in TexMate. The file
>> is incomplete. The last lines are
>> lost […]
>>
>
> Sounds like it could be a problem with the network file system, especially
> since you re-open the file in TextMate and still see the last part missing,
> i.e. the network file system locally cached the file prior to it having
> been fully written by subversion.
>
> Did you try to open the file with another application?
>
> You mention the file being open in TextMate while updating it on the linux
> server. What if you close the file before updating it (TextMate keeps the
> file open for “events only” to be notified about changes, perhaps this
> plays a role in the network file system’s behaviour)?
>
> _______________________________________________
> textmate mailing list
> textmate(a)lists.macromates.com
> http://lists.macromates.com/listinfo/textmate
--
--
Juan Jesús Baquedano Bruna
Centro Tecnológico qInnova
UNED Tudela
Tlf: 948 821535 (ext 8)
www.unedtudela.es
Hello,
When I invoke the "Documentation for Package" command of the Latex
Bundle, I get the Packages Browser and My Packages, but clicking on the
links in the packages browser does not open the linked pdf documents.
The path to the help documents seems to be ok: Inspecting the elements
(eg the mhchem package yields the correct path to the document
(/usr/local/texlive/2013/texmf-dist/doc/latex/mhchem/mhchem.pdf).
Could the path to the Document viewer (DocView.sh) be broken ?
Greetings, Christof
Occasionally I will get TM2 into a state where "find in folder” and "CMD+T"
will be missing files in their search scope.
Unfortunately, I don’t yet have a series of reproducible steps that cause
this condition. However, for CMD+T at least, I’ve found that repeatedly
hitting CMD+T will “recover” the ability to locate all files in the folder
that’s open.
Some other points of interest… From reading the docs it seems like this
could be related to
http://manual.textmate.org/projects.html#effective-folder and it’s
interaction with the fact that I have “single click to open file” enabled.
Have any other users experienced this? What sort of debugging information
would be useful?
Thanks
Am I the only one who can't get .tm_properties files to *do* anything?
For example, as a test I created this:
[ *.asciidoc ]
spellChecking = false
tabSize = 4
fontName = "Georgia"
fontSize = 18
softTabs = true
I figured if I open an asciidoc file I should be able to tell if it's suddenly Georgia 18. I don't actually *want* that setting, I just want to see that .tm_properties is functioning! But it isn't. I've put this file in my home folder, in the project containing folder, all over the place. But nothing is changing. m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
OS Version ist OS X Version 10.9. (maveriks). The file was php
Hi,
I have tried to reproduce using simple actions, like modifying the file
using vi, but the problem does not happen. I occurs only when using
subversion.
To reproduce I perform this steps:
· I edit a file with textmate. This file is in a linux machine and I use
samba to access it from TextMate.
· I update the file using subversion (svn up <file name>. Subversion merge
this file with changes of my coworkers.
· I close TextMate and I reopen it. We do this because with former versions
of textmate we had problems, we lost changes of other coworkers when we
undo our changes in texmate.
· I see the file in TexMate. The file is incomplete. The last lines are
lost. If my coworkers deleted lines, then I have extra binary 0 characters
at the end of the file instead.
subversion version 1.6.17
TextMate version 2.0-alpha.9497 (downloaded few days ago)
OS Version ist OS X Version 10.9. (maveriks). The file was php
Regards,
2013/12/13 Allan Odgaard <mailinglist(a)textmate.org>
>
>> On 13 Dec 2013, at 18:15, Jesús Baquedano wrote:
>>
>> > if I open a file with text mate 2, I modify the file from outside and I
>> > reopen the file with text mate, text mate does not load the entire file.
>>
>> That shouldn’t happen. Can you provide more detailed steps to reproduce?
>>
>> See e.g. https://github.com/textmate/textmate/wiki/Writing-Bug-Reports
>>
>> _______________________________________________
>> textmate mailing list
>> textmate(a)lists.macromates.com
>> http://lists.macromates.com/listinfo/textmate
>
>
>
>
> --
> --
> Juan Jesús Baquedano Bruna
>
> Centro Tecnológico qInnova
>
> UNED Tudela
>
> Tlf: 948 821535 (ext 8)
> www.unedtudela.es
>
--
--
Juan Jesús Baquedano Bruna
Centro Tecnológico qInnova
UNED Tudela
Tlf: 948 821535 (ext 8)
www.unedtudela.es
On 12.12.2013, at 00:46, Allan Odgaard wrote:
> This is because TM2 is more flexible in how words are defined so it
> needs to lookup scope settings for each character when collecting the
> list of words.
Autocompletion (e. g. of labels or of references) has become so slow for me that I now insert labels and references by hand again. And autocompletion was one of the killer TextMate features for me. That's not a good sign, and I hope that optimizing the new autocompletion implementation will get priority.
Because if people tend to rely on the feature less, it doesn't matter that in principle, the reimplementation of autocompletion is more powerful than the TextMate 1 incarnation. I'd rather have a less powerful, but faster and more reliably feature than one that is aggravatingly slow.
Max
I’m trying to save a latex template. I a .tex file, I pressed temp+TAB which
gave the following message:
"You need to create the directory /Users/rossahmed/Library/Application
Support/LaTeX/Temp|ate/ first and
populate it with your favorite LaTeX template files before using this
command”.
I followed the instructions in the message, but if I press temp+TAB again, I
just get the same message.
How can I get templates to load?
Thanks
Ross
When editing a C file, when I type `{` Textmate will add a matching `}`. If
I then press RETURN I get two new lines where the `}` is on the second and
the cursor is correctly indented on the line in between.
I have been working on a Scala bundle, and when I do the same in Scala, I
only get one inserted line with the cursor sitting just before the `}`.
Is there some setting that I am missing to get this behavior?
I have two examples where TM2 is slower compared to TM1.
1.
I think this has been mentioned before but TM2 takes significant longer
time to syntax highlight large files compared to TM1. An example is this
file from the D standard library:
https://raw.github.com/D-Programming-Language/phobos/master/std/datetime.d
It might be a bit extreme, it's around 34 000 lines of code. If I open
that file and then jump to the end of the file. It takes TM1 around 5
seconds until the code has syntax highlighting. In TM2 it takes around
15 seconds.
2.
TM2 is also slower on auto completion for some files. Here is one example:
https://github.com/d-widget-toolkit/dwt-mac/blob/master/dwt/widgets/Display…
If I put the cursor at line 2111 at, type "o" and press escape to do
auto completion. In TM1 I immediately get a result. In TM2 I get a
result after around 3 seconds.
Is there anything that can be done to increase the performance in these
two areas?
--
/Jacob Carlborg
Just getting my feet wet with TextMate 2 and already I've got a
question. What's the purpose of the checkboxes next to the names of
bundles if they don't actually disable the bundle?
For example, I still see Apache and AppleScript in the Bundles and Gear
menus even though I have unchecked Apache and AppleScript in the
preferences.
Similarly, I've tried unchecking in the Bundle editor and that doesn't
help either.
Is there a correct way to eliminate unused bundles? Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
I am running a rakefile directly from Ruby, in order to run some tests.
The tests work fine when run individually from inside TextMate 2, but
some of them break when run thru the rakefile directly from Ruby. The
reason is that those tests use the TM_SUPPORT_PATH environment variable.
That variable doesn't exist when we are running the rakefile directly
from Ruby.
Is there a way my rakefile script can ask TextMate for the value of its
TM_SUPPORT_PATH even though it is not running inside TextMate? I can
solve the problem by just hard-coding the answer into my rakefile, but
that is not a portable solution.
(Indeed, the issue arose in the first place because I *was* hard-coding
the answer into my rakefile, using TextMate 1; but in TextMate 2, the
value of TM_SUPPORT_PATH has changed. That's why I'd like a way to ask
TextMate directly "what's your TM_SUPPORT_PATH?")
Thx - m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
Using TM2 release 9497
When I attempt to save a file (demo.php) TM2 reports that it is Unable
to save file. Check console for details.
When I look in Console, I didn't find an entry from this date from
Textmate. Where, specifically, should I look for what is happening? The
file itself can be replaced, but it would be nice to understand what's
happening. Can anyone explain?
--Lewy
Dave Baldwin wrote (a long time ago, Mon Aug 19 08:17:37 UTC 2013 to be exact):
> Has anyone had any experience with the asciidoc bundle
> https://github.com/zuckschwerdt/asciidoc.tmbundle with Textmate 2 or has a
> better one they are prepared to share?
>
> This bundle has had little work done on it in the last 3 years so was
> written with Textmate 1 in mind. Also since then a nicer toolchain for
> processing asciidoc files called asciidoctor has been written and is being
> actively developed.
I've been writing more or less continuously using the asciidoc TextMate bundle since May 2010, so that's 3-and-a-half years, during which I've produced and edited thousands of pages:
http://oreilly.com/catalog/9781449397296http://shop.oreilly.com/product/0636920023562.dohttp://shop.oreilly.com/product/0636920029717.dohttp://shop.oreilly.com/product/0636920032465.dohttp://shop.oreilly.com/product/0636920031017.do
Here's one of those books in HTML form:
http://www.apeth.com/iOSBook/
Behind the scenes, all of that is TextMate and the AsciiDoc bundle, as I explain here:
http://www.apeth.net/matt/iosbooktoolchain.html
I also gave a talk on this workflow at OSCON 2012 in Portland, OR.
One of the nice things about TextMate is that you can modify a bundle easily. I've changed some regexes and added some snippets and keyboard shortcuts to the original AsciiDoc bundle, and I've added a couple of commands (I like to render into my browser, plus it makes a difference whether we're rendering a chapter or a book as a whole). But in general I would have to say that I have been far, far, *far* more nimble and productive with these tools than I would have been in any other way. Indeed, this experience has made me a firm believer in pure text and light markup; I never want to go back to a WYSIWYG editor, not even Frame.
I do not understand the part of your question that draws a distinction between TextMate 1 and TextMate 2. The bundle was written for TextMate 1, obviously, but TextMate 2 doesn't break it or anything. I don't see how the bundle would be made to differ significantly for TextMate 2, or what difference TextMate 2 would have to its features. Yes, this bundle is crusty and not terribly well written, but the point is to use TextMate as a nimble writing tool for producing DocBook output, and this bundle lets me do that just fine, as my experience proves beyond the slightest doubt.
Feel free to contact me directly via email if you want to talk about my modifications to the bundle, but I assure you they are very minor. I am not a sophisticated bundle writer, and I have no time to play with the bundle if I don't have to; I'm too busy using it to get real work done. m.
--
matt neuburg, phd = matt(a)tidbits.com, http://www.apeth.net/matt/
pantes anthropoi tou eidenai oregontai phusei
Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do
iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do
RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html
TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
If I highlight ³test test one² , then go to Bundles > Text > Sorting > Sort
Selection & Remove Duplicates, all that happens is entire lines becomes
highlighted and a new line inserted beneath. Is this an error?
Thanks
Ross
For my work I often diff dumps of databases, and sometimes those files have
super long lines without newline character; for example, an insert
statement for millions of record all on a single line. When I open such a
file, TextMate generally freezes. It would be nice if TM can handle working
with such file efficiently, or at least warn me before trying to open such
a file.
hi,
i wonder if it's possible to "exclude" scopes using the "scope
selector" setting for a snippet. for example:
the PHP bundle defines a tab-trigger for "array" that expands to $...
= array ... thats fine as long as i am really in the scope
"source.php". but when i am writing documentation (phpdoc -- which is
in fact "source.php", too) it's really annoying when the 'array'
keyword and such get's expanded.
i wonder what's the best solution to solve this ... would i have to
define a scope "phpdoc" and overwrite the tab-triggers in there or is
there any other solution?
thanks in advance,
harald
In a .R file, I have a bunch of headers like this:
# this is a header
-----------------------------------------------------------
How can I get these headers to show in symbol list and fold? I¹ve tried
changing the foldingStartMarker/foldingStopMarker line without success, and
I cannot find the showInSymbolList line in the R language grammar.
Thanks
Ross
Hi all
I recently posted asking how to align code at <- . For example, I would want these two lines of code
foo <- test
fooFooFoo <- test
To look like
foo <- test
fooFooFoo <- test
Somebody suggestted installing the align bundle and using the keyboard shortcut CMD + CONTROL + 9. I've trice this but unfortunately it doesn't run and throws a message box saying 'Failure running Align Source'.
Can anyone come up with a hacky way of aligning code at <- ?
Ross
suppose i want to report a variable state in NodeJS and/or JavaScript, for
example:
console.log("myvar['"+property+"'] = "+myvar[property]);
because I'm a lazy guy, i want only to enter "myvar[property]", apart from
console.log.
at start, i would enter :
console.log(myvar[property]);
then copy/paste "myvar[property]" :
console.log(myvar[property]myvar[property]);
adding " = +":
console.log(myvar[property] = myvar[property]);
then surrounding "myvar[property] = " by '"':
console.log("myvar[property] = "+myvar[property]);
i want to see the property value in the "left" hand side, then i sourround
"property" by '"':
console.log("myvar["property"] = "+myvar[property]);
here is my suggestion, could it be possible by selecting "property" to add
two "+" signs on each side of "property" in order to make it :
console.log("myvar["+property+"] = "+myvar[property]);
could that last step be implemanted in TextMate ?
--
Yvon(a)48.871651804,2.384858688
Just found this exciting tip in the November archive:
> or install the bundle from
> https://github.com/tbates/align.tmbundle
Works great at least with Perl-code - thanks!!
Hi all,
When trying to search a folder of .nib-files, I ran into a few problems.
The files are nicely displayed in TextMate, but I cannot search the
contents of the files. Whilst trying to work around it, I ran into two
problems:
1. *Find > In > Open Files not available*
I opened the lot to use Find > In > Open Files, but this option is
unavailable. Screenshot below. I tried opening .txt-files, and I
tried creating new files, but it remains unavailable.
Is this function available to anybody?
2. *Add file-type to TextMate*
To facilitate the opening of said files in Finder's context menu
(open with), and to encourage TextMate to search their contents, I
tried to associate them with TextMate. I failed.
First I tried to add them via TextMate.app\Contents\Info.plist. This
invalidated TextMate's code signing, and thus broke its connection
with /Keychain Access/. Nor did it have the desired effect.
Thus I reverted my actions, and tried to associate the file type via
the bundle editor. I added "nib" to the Property List bundle, old
style language grammar file types, reset the launch services
database regarding TextMate and killed Finder.
/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister
-f /Applications/TextMate.app/;killall Finder;
No luck. TextMate still does not appear in "open with", and TextMate
still refuses to search their contents.
Does anyone have a tip on how to achieve this?
By the way, to search the .nib-files, I renamed them to .txt, and chose
Find in Folder. That worked. But it's a long way round.
Thanks,
Rasmus Malver
TextMate Find in Open Files not available
Recently, I've added the Dart.tmbundle to TextMate 2.
It works OK however I'd like adding a "Dart_file.icns" in order to get the
right icon.
I've added some lines in the Info.plist of TextMate 2, the Icon file into
the Resources directory but nothing change.
Then, what is the correct way to add a file icon into TextMate 2 ?
Also, using applescript, i've found the identifier for *.dart files, it is
part of archive file one terminating by -dart, strange...
Before any trick the file icon was of a dmg one...
--
Yvon(a)48.871651804,2.384858688
Hi,
I am experimenting with embedding properties in Objective-C implementations that will be parsed out and placed into a header file, and that also include documentation. They are supposed to look like this:
/*@property BOOL testProperty;
Sample Property
# Discussion
This is documentation in Markdown syntax
*/
My custom Objective-C language definition includes this pattern:
{ name = 'meta.property.objc.embedded';
begin = '^(/\*)(?=\@property)';
end = '\*/';
beginCaptures = { 0 = { name = 'meta.comment.embedded-property.start'; }; };
endCaptures = { 0 = { name = 'meta.comment.embedded-property.end'; }; };
contentName = 'meta.scope.property.objc.embedded';
patterns = (
{ name = 'meta.scope.property.def.objc.embedded';
begin = '(?=\@property)';
end = ';\s*\n?';
patterns = ( { include = 'source.objc#interface_innards'; } );
},
{ name = 'meta.scope.property.doc.objc.embedded';
begin = '^';
end = '$\n';
// patterns = ( { include = 'text.html.markdown'; } );
},
);
},
That works fine, the /* and */ have the proper start/end scope, the documentation part has the doc scope etc. But as soon as I enabled the uncommented line that is supposed to highlight the embedded documentation with markdown, markdown gobbles up the end markers.
Shouldn't the outer pattern prevent this? And if not, how can I make this work?
Thanks
Gerd
There’s pretty annoying bug in TM2 regarding remembering default window frame.
(1) Launch TM2
(2) Open new document & maximize window via (+)
(3) Quit TM2
(4) Open it again
(5) Open new document, it should be zoomed/maximized
(6) Restore it via (+)
Poof… where did it go? It is here in lower left corner of the screen with 0 content height :~(
Can we have make TM2 remember regular window frame (not zoomed) and if window was zoomed?
Cheers,
--
Adam
On 27.11.2013, at 06:11 , Owen Densmore wrote:
> My home folder has many folders, many of which I'd like to have be in
> multi-folder projects. So ~/bin and ~/notes are a pair, while a second
> pair are ~/bank (receipts) and ~/config (a collection of configuration
> files used elsewhere)
>
> If I understand correctly, I'd have to have a .tm_properties file for each
> pair, not possible given the file hierarchy style of projects
You'd want to have a .tm_properties file in you user directory which sets the defaults. Then in many cases, you don't need to create a per-»project« .tm_properties file.
The .tm_properties files in nested directories apply in addition to defaults. For instance, you probably want to use different include/exclude rules in the directory where you're writing code for a numerical simulation than in the directory where you write the article in LaTeX with the associated findings.
Allen made a conscious design decision to abandon project files and base the idea of projects just on filesystem hierarchy. In some ways, that makes TextMate 2 more powerful than TextMate 1.x, but other things (especially working with scattered files) has become more complicated because a folder is a »single project«.
Personally, I haven't found a good way to recreate my TextMate 1.x workflow in TextMate 2 (symlinks don't mesh well with my LaTeX code and my git repositories). You probably have to adapt the way you organize your work.
I have created a sensible master .tm_properties file and since I essentially only work with TeX-related files, shell scripts and markdown files, I don't really need to change them. Instead of symlinking, I just copy files and keep them in sync by hand if need be.
Max
Thanks for the help!
> On Mon, Nov 25, 2013 at 2:52 AM, backspaces wrote:
> > First, each folder would need their own .tm_properties files. This
> means if
> > the same folder is in multiple projects, you have no exclude/include
> files
> > capabilities for the multiple projects. Each project would have to have
> the
> > same contents, according to their folders' .tm_properties file.
> The folder being included in multiple projects does not require its
> own .tm_properties file.
> Each project folder can have its own .tm_properties file with its
> own configuration, but note that, as Allan said, symbolic links to
> folders are currently not expanded.
>
Is "project folder" different from any other, other than the .tm_properties
and the fact that it is a folder rather than a file?
Not sure if this makes sense in your context but maybe you can try
> changing your workflow and treating your shared folder as a project on
> its own (having its own window open along other projects, etc). I
> have a couple projects that depend on other projects and I work this
> way in order to have Go To File and searching capabilities in the
> subprojects.
OK, sounds reasonable.
> > Second, lets presume my project starts in my home directory. Then I can
> > have only one project there, specified by the .tm_properties file, which
> > would have to include my multiple folders. Thus my home directory can be
> a
> > project folder for only a single project. (Yikes!)
> Just curious: why would you want your home folder to be a project
> folder? One usually wants the home folder to have one or more project
> folders inside. I have a folder for each project and all of them are
> in a Developer folder in my home folder.
My home folder has many folders, many of which I'd like to have be in
multi-folder projects. So ~/bin and ~/notes are a pair, while a second
pair are ~/bank (receipts) and ~/config (a collection of configuration
files used elsewhere)
If I understand correctly, I'd have to have a .tm_properties file for each
pair, not possible given the file hierarchy style of projects
> Third, a work around would be to simply have a separate folder per
> project,
> > containing symbolic links (ln -s) to the folders I want in my project.
> This is not a workaround, this is the expected way to handle projects.
A-ha! OK, so I can make a TM folder that contains a folder for each of my
TM projects, each of which in turn have symlinks to my actual folders?
That fixes everything.
> Sorry: one last question: I'd like my projects to be double-clickable to
> open
> > them. Can I do that?
Interesting, I'll look into that. Thanks!
> I know this can be done by using the Favorites feature. From Mate's
> drawer, you can navigate then right click a folder and add it to
> favorites, and all your favorites are available from the heart icon in
> the bottom right, or from File, Open Favorites... .
> Hope that helps,
> --
> :: dip
> --
Thanks for the help, I appreciate the time & effort.
-- Owen