(erase-buffer)
(refill-buffer)
but keep marks pointing to some "reasonable place" (the new content of the
buffer is expected to look very much like the original one), how can I do that?
Stefan
> Is it possible to get a list of all marks in a given buffer ?
`mark-ring' is a buffer-local variable that holds the list of marks in
the buffer.
I thought "great" and then I thought again: this does not
contain *all* markers pointing to this buffer. Only the ones set via
something like push-mark. The ones set via direct calls to copy-marker
are not in there. I need/want to maintain all markers, even the ones
held in compilation-error-list, for example.
Stefan
SM> I need/want to maintain all markers, even the ones
SM> held in compilation-error-list, for example.
I'm not sure this makes sense, but I'm pretty sure you can't do it.