Subject: Re: bug#18263: Wrong type argument: markerp, nil

From: Glenn Morris <[email-masked]>
Date: Wed, 13 Aug 2014 21:22:32 -0400

Yuriy Pitometsu wrote:

> On pure Emacs:
> open some buffer M-s-o for occur
> then e for occur-edit-mode, then M-x replace-regexp [ ^I]+ RET SPC RET
> ;; try to replace excess spaces or tabs by just one space symbol in matched
> strings
>
> Error in minibuffer => Wrong type argument: markerp, nil

The short answer is that replace-regexp removes the text properties that
occur-edit-mode relies on.