[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [el-search] How to search string excluding docstring?
From: |
Michael Heerdegen |
Subject: |
Re: [el-search] How to search string excluding docstring? |
Date: |
Mon, 25 Dec 2017 17:59:25 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Emanuel Berg <moasen@zoho.com> writes:
> Tell us again why one can't just use grep to search Elisp? :)
There are tasks where grep isn't enough, like "find all uses of cl stuff
where I have forgotten the cl- prefix", "find all definitions that have
no docstring", "find all function "foo" calls that make use the third
optional arg", etc.
It can also do list-level query-replace. Some examples: "I've changed
my function "bar" so that the second and third argument are now
transposed. Let's adopt every use of it and transpose the expressions
at the second and third argument position." Or "automatically transform
any nested if's into an equivalent `cond'", or "find any `if'
expressions that have no `else' and make them a "when", and such stuff.
Michael.
- Re: [el-search] How to search string excluding docstring?, Emanuel Berg, 2017/12/25
- Re: [el-search] How to search string excluding docstring?, Chunyang Xu, 2017/12/25
- Message not available
- Re: [el-search] How to search string excluding docstring?, Emanuel Berg, 2017/12/25
- Re: [el-search] How to search string excluding docstring?, tomas, 2017/12/25
- Message not available
- Re: [el-search] How to search string excluding docstring?, Emanuel Berg, 2017/12/25
- Re: [el-search] How to search string excluding docstring?, tomas, 2017/12/25
- Message not available
- Re: [el-search] How to search string excluding docstring?, Emanuel Berg, 2017/12/25
- Re: [el-search] How to search string excluding docstring?, tomas, 2017/12/25