emacs-devel
[Top][All Lists]
Advanced

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

Re: [patch] Run occur command restricted to a region


From: Davis Herring
Subject: Re: [patch] Run occur command restricted to a region
Date: Fri, 20 Jan 2017 09:46:51 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

**) The second patch add your suggestion on showing highlighted the
    current line.  When there are matches after the current line, the
    point in *Occur* is set right after such line.

I don't care about the highlighting, but I like very much the idea of locating point in *Occur* at the place that corresponds to point in the source buffer. It provides for free most of the benefit of `occur-above' and `occur-below' (by whatever names) by partitioning the results in an intuitive fashion.

(It's also the same idea as in my vc-diff patch (which I still need to finish): to show a map of interesting things in the buffer centered on point.)

Davis

--
This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.



reply via email to

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