GNU bug report logs - #18263
occur-edit-mode can lose its text properties

Previous Next

Package: emacs;

Reported by: Yuriy Pitometsu <pitometsu <at> gmail.com>

Date: Wed, 13 Aug 2014 21:38:01 UTC

Severity: minor

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 18263 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Yuriy Pitometsu <pitometsu <at> gmail.com>
Cc: 18263 <at> debbugs.gnu.org
Subject: Re: bug#18263: occur-edit-mode can lose its text properties
Date: Thu, 19 Aug 2021 17:41:31 +0200
Yuriy Pitometsu <pitometsu <at> gmail.com> writes:

> 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

Glenn Morris <rgm <at> gnu.org> writes:

> I guess no-one expected you to edit the start of the line (the line
> number prefix that is not part of the actual source buffer).
> Maybe it should be read-only like the header line is
> (though then you would still get an error trying to replace-regexp).
> Or displayed using an overlay?

In Emacs 28, the stuff at the start of the line (that shouldn't be
removed) has been made read-only, so it looks like somebody fixed this
in the years since it was reported, so I'm closing this bug report.  If
there's still issues in this area, please respond to the debbugs address
and we'll reopen.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 273 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.