From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Should diff.elisp.xfuncname match cl-lib macros? Date: Sat, 16 Mar 2019 18:42:00 +0200 Message-ID: <83imwiydnr.fsf@gnu.org> References: <87wol0qecg.fsf@tcd.ie> <87a7hug7ld.fsf@tcd.ie> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="53255"; mail-complaints-to="usenet@blaine.gmane.org" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: "Basil L. Contovounesios" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Mar 16 17:42:45 2019 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1h5COS-000DmC-GQ for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 17:42:44 +0100 Original-Received: from localhost ([127.0.0.1]:44037 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5COR-0001O7-J5 for ged-emacs-devel@m.gmane.org; Sat, 16 Mar 2019 12:42:43 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:37680) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5COL-0001Ny-EK for emacs-devel@gnu.org; Sat, 16 Mar 2019 12:42:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33805) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1h5COH-0002Sl-N4; Sat, 16 Mar 2019 12:42:35 -0400 Original-Received: from [176.228.60.248] (port=4537 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1h5COE-00086j-2L; Sat, 16 Mar 2019 12:42:32 -0400 In-reply-to: <87a7hug7ld.fsf@tcd.ie> (contovob@tcd.ie) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:234230 Archived-At: > From: "Basil L. Contovounesios" > Date: Sat, 16 Mar 2019 15:30:22 +0000 > Cc: emacs-devel@gnu.org > > >> Given the increasing presence of cl-defuns, cl-defgenerics, etc. in the > >> emacs.git sources, would it be welcome to additionally match cl-lib > >> macros? > > > > Yes, please, > > I can think of three ways to achieve this given the lack of shy groups > in EREs: Is this feature even useful with Lisp? I find it mostly useless, here's a typical example: git log -L :next-line:lisp/simple.el Type this command in your repository, then watch the fun. More fun is available when Git for some reason decides you asked about some variable, not a function (and in Lisp we frequently have variables by the same name as a function). So I think until we fix this basic deficiency, extending that to more symbols will just add to the mess. YMMV.