[Date Prev][Date Next][Thread Prev][][Date Index][Thread Index]

Re: [21.5] call-process-region problem

Katsumi Yamaoka <yamaoka@jpl.org> writes:

> Although it may be a known problem, I think it is evil that the
> call-process-region function requires the point to have to be in
> the beginning or the end position when the 4th arg DELETEP is t.

It sounds like a bug.

> It simply erases the buffer's contents when that requirement is
> not satisfied.

Why does that happen?  The code looks like it's trying to correctly
track deletions and insertions by using markers.

It could be that your fix hides another bug, elsewhere in the code,
but I could be mistaken.  What do you think?