On 07/02/2014 07:59 PM, John Cowan wrote:
> Per Bothner scripsit:
>
>> I don't believe Emacs does this.  IIRC the gap is only moved when text is
>> inserted/deleted, not when point is moved.
>
> I haven't looked at the Emacs code, but that is not what
> <https://en.wikipedia.org/wiki/Gap_buffer> says, at any rate.  You
> move the gap when you move point; you *don't* move the gap when you
> insert/delete at point.

"sometimes copying is delayed until the next operation that changes the text"

IMO that is the only sane thing to do.
-- 
        --Per Bothner
p...@bothner.com   http://per.bothner.com/

_______________________________________________
Scheme-reports mailing list
Scheme-reports@scheme-reports.org
http://lists.scheme-reports.org/cgi-bin/mailman/listinfo/scheme-reports

Reply via email to