|--==> "Hrvoje" == Hrvoje Niksic <hniksic(a)xemacs.org> writes:
Hrvoje> For the maintainers: the version of call-process-region I see in 21.4
Hrvoje> first deletes the region and then applies call-process to it. This
Hrvoje> looks correct from the memory consumption perspective.
Hrvoje> Why has this been changed?
Does this have anything to do with it?...
,----[ comment in 'call-process-region' in 21.5 ]
| ;; We used to delete the text before calling call-process; that was when
| ;; a temporary file was used to pass the text to call-process. Now that
| ;; we don't do that, we delete the text afterward; if it's being inserted
| ;; in the same buffer, make sure we track the insertion, and don't get
| ;; any of it in the deleted region if insertion happens at either end
| ;; of the region.
`----
I think this would be the relevant ChangeLog...
,----
| 2002-05-28 Ben Wing <ben(a)xemacs.org>
|
| * code-init.el:
| * code-init.el (coding-system-variable-default-value-table):
| * code-init.el (coding-system-variable-default-value):
| Don't use CRLF conversion by default on process output. CMD.EXE and
| friends work both ways but Cygwin programs don't like the CRs.
|
| * code-process.el:
| * code-process.el (process-coding-system-alist):
| * code-process.el (call-process):
| * code-process.el (call-process-region):
| * code-process.el (start-process):
| * code-process.el (open-network-stream):
| * code-process.el (set-buffer-process-coding-system):
| * multicast.el:
| * multicast.el (open-multicast-group):
| * process.el:
| * process.el (start-process-shell-command):
| * process.el (call-process-internal):
| * process.el (call-process): Removed.
| * process.el (call-process-region): Removed.
| * process.el (start-process): Removed.
| * process.el (open-network-stream): Removed.
|
| Improvements to call-process-internal:
|
| -- allows a buffer to be specified for input and stderr output
| -- use it on all systems
| -- implement C-g as documented
| -- clean up and comment
|
| call-process-region uses new call-process facilities; no temp file.
|
| remove duplicate funs in process.el.
|
| comment exactly how coding systems work and fix various problems.
|
| open-multicast-group now does similar coding-system frobbing to
| open-network-stream.
|
| * dumped-lisp.el (preloaded-file-list):
| * faces.el (init-global-faces):
| * msw-faces.el (mswindows-init-global-faces): New.
| Fix some hidden errors due to code not being defined at the right time.
`----
--
|---<Steve Youngs>---------------<GnuPG KeyID: 10D5C9C5>---|
| XEmacs - It's not just an editor. |
| It's a way of life. |
|------------------------------------<youngs(a)xemacs.org>---|