emacs-devel
[Top][All Lists]
Advanced

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

Re: Replacing buffer contents --- without disturbing markers


From: Stefan Monnier
Subject: Re: Replacing buffer contents --- without disturbing markers
Date: Sat, 11 Sep 2010 13:01:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

>         ;; Replace the character after point with the next character
>         ;; from replacement. We must worry about two kinds
>         ;; of marker: those pointing at point (including (point)), and
>         ;; those pointing at (1+ (point)).

Actually there 4 kinds: at point, at point+1, multiplied by the two
insertion-types.  Your code works with the default insertion-type, but
not the other (don't worry: I don't think you can do much better).


        Stefan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]