Re: mg: shuffle shell-command-on-region around

2012-12-19 Thread Florian Obser
updated diff: - pull output buffer creation up to piperegion - pull message Shell command succeeded with no output up to piperegion - erase echo line diff --git def.h def.h index a99421c..3c7702c 100644 --- def.h +++ def.h @@ -591,6 +591,8 @@ int region_get_data(struct region *, char *,

mg: shuffle shell-command-on-region around

2012-12-18 Thread Florian Obser
Shuffle shell-command-on-region around to make pipeio() useable for other functions. (Needed for an upcomming diff for diff-buffer-with-file.) While there: - generate error message when exec fails - prevent busy wait in poll when nothing more has to be written - use return value of eread, not the