Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nothing happens when creating new file #29

Open
m4rkus opened this issue Dec 12, 2013 · 2 comments
Open

nothing happens when creating new file #29

m4rkus opened this issue Dec 12, 2013 · 2 comments

Comments

@m4rkus
Copy link
Contributor

m4rkus commented Dec 12, 2013

rmate [existing_file] opens as it should in both textmate2/3 for me
rmate[non_existing_file] produce no results at all. expected result open a new blank file in sublime (?) (Mountain Lion / Debian)

edit:
this was a problem with rmate not submitting any data at all when file was not existing, seems that sublime needs both size=0 and and empty string to open a blank document.. i don't know if this is specific for sublime and does not apply to textmate so i just forked the submodule and fixed it here https://github.com/m4rkus/rmate

problem solved ;)

@m4rkus m4rkus closed this as completed Dec 12, 2013
@m4rkus
Copy link
Contributor Author

m4rkus commented Dec 13, 2013

actually, when i looked in console rsub actually quits with error.. the parsing stops prematurely because rsub does always expect the data-command to be the last command, which is not the case when creating a new file (for whatever weird reason). i fixed the problem though and will send a pull req to this issue

@m4rkus m4rkus reopened this Dec 13, 2013
henrikpersson added a commit that referenced this issue Jan 8, 2014
enables creation of new files, issue #29
@codeman38
Copy link
Contributor

...Oops. Note to self: make sure you've actually pulled the latest version of rsub before complaining about something. facepalm Creating a new file is indeed working for me after the merge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants