-
Notifications
You must be signed in to change notification settings - Fork 72
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
milestone 2.07beta1 #172
Comments
I am looking forward to a 2.07. By the way you could use the milestones feature of github to mark some issues and PRs. Then we could start individual issues for these things and discuss them. Can you post some code and ideas for the streaming stuff, then we can discuss it. I made some remarks here. |
Depending on your idea for the CursorHold autocmd it might also be interesting to do something similar for these events: Also you might consider conforming to semantic versioning for future releases. |
@lucc This is my idea for implementing input streaming:
re: semantic versioning, I will research this. re: github milestone, I will set that up later today. |
If you want to force your users to have a new version of vim (or neovim) we could think about implementing that with jobs (
I think the basic algorithm is the same (reading data in chunks) as what you said only instead of using /tmp we could use the job control feature in vim. This obviously depends on the general question that you would have to decide beforehand: Do you want to force users to have a new version of vim? |
@lucc sorry I confiused you with this other guy. I added you as a collaborator, please continue to send PRs, except if it's a minor change, in which case feel free to commit to master. This jobs thing looks interesting, but I'm not sure it helps here. And I'm wary of using fifos, their behavior is often unpredictable except in the simplest of cases. I'm still shooting for at least vim 7.3 compatibility, even when it requires workarounds. |
Thank you for the honor! But I will continue to ask about most of the changes I propose (send normal PRs instead of pushing myself). During the last conversations we had I saw that you often target systems I know nothing about. If you want to be compatible to 7.3 jobs are out anyways. |
I took the liberty to create the milestone and add some issues to it. Do you think we can close these issues (because they are resolved and all further details are covered by the new issues in parentheses)? |
Implement a pipeline with split -b 4096 as the endpoint into a temp dir for vimcat, with the viml reading chunks as needed and deleting from the top to keep a window onto the stream. This is a prototype for how vimpager will implement this as well, although that will be a bit more complicated. Other misc improvements: - add VIMCAT_DEBUG env var to not silence vim when sourcing script and running highlight code - allow '-' file specifier for stdin for vimcat and vimpager - call quit 1 on trap in vimcat and vimpager - display error if -o is used for more than one file - use the same method to separate files in vimcat as in vimpager, with blank lines between the headers and files - truncate output file with -o option - update ChangeLogs and TODO TODO: - ./vimcat -o - file | head # hangs the terminal, need to figure out why and fix
@lucc I've implemented streaming for vimcat see ^^, this is the prototype for vimpager as well, so I'm well on my way to finishing this up. |
@lucc
So 2.07 will be a huge release, it's been more than half a year since 2.06 and 2.07 will be in Debian. We need to determine what must be done for it.
The most important issue for me is fixing file streaming, I have some ideas about how to do this, using CursorHold among other things.
The text was updated successfully, but these errors were encountered: