DONE shell-command-on-region calls
- State "DONE" from "TODO"
-
State "TODO" from "PROPOSED"
- State "PROPOSED" from ""
Org-babel now uses its own function `org-babel-shell-command-on-region' in which the various shell-command-on-region bugs can be fixed.
original notes
Can we double check this at some point:
(shell-command-on-region (point-min) (point-max) "R –slave –no-save" 'replace)
Note that replace is 5th argument, not 4th:
(shell-command-on-region start end command &optional output-buffer replace error-buffer display-error-buffer)
Yes, people agree that this is a bug in emacs. A bug report has been filed. So those calls should be something like
(shell-command-on-region (point-min) (point-max) "R –slave –no-save" 'current-buffer 'replace)