From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.devel Subject: Re: Do shorthands break basic tooling (tags, grep, etc)? (was Re: Shorthands have landed on master) Date: Fri, 01 Oct 2021 01:59:38 +0200 Message-ID: <87v92hiphx.fsf@logand.com> References: <16338bdc2497fc51c6fb6d54ab370bfb@webmail.orcon.net.nz> <831r59kyhf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39662"; mail-complaints-to="usenet@ciao.gmane.io" Cc: psainty@orcon.net.nz, joaotavora@gmail.com, eliz@gnu.org, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: rms@gnu.org, Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 01 02:01:13 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mW5zE-000A7P-Rk for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Oct 2021 02:01:12 +0200 Original-Received: from localhost ([::1]:57256 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mW5zD-0001To-QQ for ged-emacs-devel@m.gmane-mx.org; Thu, 30 Sep 2021 20:01:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34980) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW5xq-0000iX-Mk for emacs-devel@gnu.org; Thu, 30 Sep 2021 19:59:46 -0400 Original-Received: from logand.com ([37.48.87.44]:38668) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mW5xp-0001L8-2O; Thu, 30 Sep 2021 19:59:46 -0400 Original-Received: by logand.com (Postfix, from userid 1001) id 0AD4C19EB31; Fri, 1 Oct 2021 01:59:41 +0200 (CEST) X-Mailer: emacs 27.2 (via feedmail 11-beta-1 I) In-Reply-To: Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275938 Archived-At: On Thu 30 Sep 2021 at 18:10, Richard Stallman wrote: > > How do you propose I find all occurrences of jit-lock-functions in the > > Emacs Lisp sources, which up to now I've been able to do with find and > > grep? > > We can have a rule about when it is ok to define symbol-renaming in > the Emacs sources, just as we have a rule about defining advice in the > Emacs sources. > > This way, you could know about what renamings might exist, > and would know which symbols might have multiple names > and what argument to give to grep. What about cases where grep (or alternatives like rg or ag) are invoked manually? Or using a tool like eev and not via some clever Emacs function which computes the argument automatically?