GNU bug report logs - #79140
29.1; Editing the occur buffer: not possible to remove lines

Previous Next

Package: emacs;

Reported by: Jurgen De Backer <jurgen.de-backer.ext <at> eurocontrol.int>

Date: Fri, 1 Aug 2025 16:58:01 UTC

Severity: normal

Merged with 75996

Found in versions 29.1, 31.0.50

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Jurgen De Backer <jurgen.de-backer.ext <at> eurocontrol.int>
Cc: 79140 <at> debbugs.gnu.org
Subject: Re: bug#79140: 29.1;
 Editing the occur buffer: not possible to remove lines
Date: Thu, 07 Aug 2025 17:21:58 +0300
> Date: Fri, 1 Aug 2025 16:57:02 +0000
> From:  Jurgen De Backer via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> When comparing the behaviour of editing the occur buffer,
> we noted that in emacs 29.1 it is no longer possible to remove entire lines of
> occurrences.
> 
> When I do an occur, I often want to filter the result by using delete-matching lines.
> I used to do that by doing  C-x C-q   (toggle read only).
> But since emacs 29.1 the text itself is marked read only. At least the
> line number of the match can no longer be deleted.

See bug#53419 for why we made that change.

You could remove the read-only text properties from the buffer in your
occur-mode-hook, I think.  Did you try that?




This bug report was last modified 7 days ago.

Previous Next


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