With shelltemp=0, Vim automatically falls back to using temp files if
pipes don't work. So why isn't shelltemp=0 the default?
If I understand correctly, 'shelltemp' affects:
:!
:w !foo
:r !foo
But it does _not_ affect system(). Is that because it just hasn't been
implemented for system(), or is it a design decision? system() often
has temp file permissions issues on Windows[1][2][3][4], so using
pipes could make system() more reliable.
Another question. :help 'shelltemp' says:
The advantage of using a temp file is that the file type and encoding
can be detected.
The FilterReadPre, FilterReadPost and FilterWritePre,
FilterWritePost autocommands event are not triggered when
'shelltemp' is off.
Is there a technical reason this can't be done?
Thanks!
[1] https://groups.google.com/forum/#!msg/vim_use/JSXaM9YjWKo/HtHn36WFb_kJ
[2] https://groups.google.com/forum/#!msg/vim_use/adD_-9yBCEU/Y0ul-OwXGpYJ
[3] https://github.com/mattn/gist-vim/issues/48#issuecomment-12916349
[4] https://groups.google.com/forum/#!msg/vim_use/oU7y-hmQoNc/2qQnkPl6aKkJ
Justin M. Keyes
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.