Beefy Boxes and Bandwidth Generously Provided by pair Networks vroom
Problems? Is your data what you think it is?
 
PerlMonks  

Re^2: Emacs shows xrefs in code but needs an interface that's good for humans

by educated_foo (Vicar)
on Mar 27, 2006 at 21:22 UTC ( #539546=note: print w/ replies, xml ) Need Help??


in reply to Re: Emacs shows xrefs in code but needs an interface that's good for humans
in thread Emacs shows xrefs in code but needs an interface that's good for humans

I've found this little gem makes occur quite a bit more useful:

(defun isearch-occur () "Invoke `occur' from within isearch." (interactive) (let ((case-fold-search isearch-case-fold-search)) (occur (if isearch-regexp isearch-string (regexp-quote isearch-str +ing))))) (define-key isearch-mode-map (kbd "C-o") 'isearch-occur)
Then you can isearch to the word you want, hit C-w to grab the rest of it, then C-o to get a list of occurrences.


Comment on Re^2: Emacs shows xrefs in code but needs an interface that's good for humans
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://539546]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (6)
As of 2014-04-21 00:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (489 votes), past polls