[Top][All Lists]

[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: tomas
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: Fri, 1 Oct 2021 09:02:42 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

On Fri, Oct 01, 2021 at 12:38:21AM +0100, João Távora wrote:


> But of course, but it makes total sense that a Lisp-aware searcher would
> be much more powerful like you have designed it.
> Much as I applaud that, I think the grep crowd needs to be appeased [...]

I must admit I haven't looked into the Lisp-aware searcher, and
I think the idea is intriguing (makes one think of Coccinelle).

So an answer like "RTFM" would be fine with me.

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

This is one feature I wouldn't like to miss, as part of the "grep

More generally: regexp based search is invaluable whenever I'm
diving in something I don't know well, which is some mix of different
languages (comments are a different language, that's why I brought
that example up), or where "I don't know yet what I'm doing".

All those "magic action at a distance" things (and name prefix
goes in that direction, but many things you see in contemporary
Web frameworks do this too) make life harder for the "grep

Now I don't think this is in itself a reason to not do it. I've
missed some kind of name space mechanism in Emacs for ages.

But taking the grep crowd into consideration is a nice touch;
you might find yourself in that place some day, while wading
through the swamps of a foreign country :-)

 - t

Attachment: signature.asc
Description: Digital signature

reply via email to

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