bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#19004: 24.4; Please provide a non-regexp interface to occur


From: Lars Ingebrigtsen
Subject: bug#19004: 24.4; Please provide a non-regexp interface to occur
Date: Fri, 28 May 2021 04:20:06 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Juliusz Chroboczek <jch@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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]