Help writing emacs lisp for emacs etags search

前端 未结 3 763
北荒
北荒 2021-01-05 17:17

I\'m looking for some help developing what I think should be an easy program.

I want something similar to Emacs tags-search command, but I want to collect all search

3条回答
  •  长发绾君心
    2021-01-05 17:42

    This is what you want:

    http://www.emacswiki.org/emacs/Icicles_-_Emacs_Tags_Enhancements#icicle-tags-search

    This is the doc string for icicle-tags-search:

        Search all source files listed in tags tables for matches for REGEXP.
        You are prompted for the REGEXP to match.  Enter REGEXP with `RET'.
        You do not need `M-,' - you see all matches as search hits to visit.
    
        All tags in a tags file are used, including duplicate tags from the
        same or different source files.
    
        By default, all tags files are used, but if you provide a prefix
        argument then only the current tag table is used.
    
        If your TAGS file references source files that no longer exist, those
        files are listed.  In that case, you might want to update your TAGS
        file.
    
    
        You can alternatively choose to search, not the search contexts as
        defined by the context regexp you provide, but the non-contexts, that
        is, the text in the files that does not match the regexp.  To do this,
        use `C-M-~' during completion.  (This is a toggle, and it affects only
        future search commands, not the current one.)
    

    See also this page for more explanation about Icicles search:

    http://www.emacswiki.org/emacs/Icicles_-_Search_Commands%2c_Overview

提交回复
热议问题