[Top][All Lists]

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

Re: erase-buffer and marker-position

From: Thorsten Jolitz
Subject: Re: erase-buffer and marker-position
Date: Tue, 26 Feb 2013 05:50:26 +0100
User-agent: Gnus/5.130002 (Ma Gnus v0.2) Emacs/24.2 (gnu/linux)

Stefan Monnier <> writes:

>> what is the canonical way to remember/restore the (relative) old
>> marker-position when a buffer is erased?
> You can try and be more careful about how the buffer is "rebuilt".
> E.g. insert-file-content with the `replace' argument will try and notice
> if only the beginning/end of the file was modified.
> Another option is to turn the markers into bookmarks.

Thanks, sounds like promising alternatives to 'erase', I will check them


reply via email to

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