emacs-devel
[Top][All Lists]
Advanced

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

Re: A read-based grep-like for symbols (el-search?) (was Do shorthands b


From: Michael Heerdegen
Subject: Re: A read-based grep-like for symbols (el-search?) (was Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master))
Date: Sat, 02 Oct 2021 01:04:13 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

<tomas@tuxteam.de> writes:

> Now the question: does it also find things hidden away in comments?

[Did you ask me?]

For expression based search this is actually not trivial: commented code
might be messed with human language, or discontinued (code in between)
or otherwise broken or incomplete.

For el-search, there is some support for processing docstrings, and I
plan to do something useful for comments too, but ATM comments are
whitespace for el-search.  OTOH, el-search supports expression-based
query-replace, so it can automate some otherwise very time-consuming
tasks... so, while it can be really useful, it is not /the/ one-and-only
tool.

Michael.




reply via email to

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