GNU bug report logs - #19004
24.4; Please provide a non-regexp interface to occur

Previous Next

Package: emacs;

Reported by: Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr>

Date: Sun, 9 Nov 2014 20:02:02 UTC

Severity: wishlist

Tags: wontfix

Found in version 24.4

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr>
Cc: 19004 <at> debbugs.gnu.org
Subject: Re: bug#19004: 24.4; Please provide a non-regexp interface to occur
Date: Fri, 28 May 2021 04:20:06 +0200
Juliusz Chroboczek <jch <at> pps.univ-paris-diderot.fr> writes:

> I like occur a lot, but I find it inflexible -- the matched lines can only
> be specified by a regexp.  I'd like to be aple to pass a function to occur
> instead of a regexp.

(I'm going through old bug reports that unfortunately got little response at
the time.)

There are many ways to search in Emacs, and there's a some packages that
provide structured searching, too.  (For instance, to search based on
semantic qualities in the code.)

Given that, I don't think it makes that much sense to extend the `occur'
command itself -- it does the thing it does very well, and extending it
in that way would make an already complex command even more complicated.

So I'm closing this bug report.

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




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

Previous Next


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