From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#27397: [PATCH] New commands for bulk tracing of elisp functions Date: Fri, 16 Jun 2017 17:58:01 +0300 Message-ID: <34fcc090-6a8b-42de-b6c8-df182f8de938@yandex.ru> References: <1348823a-7623-8146-8cc0-8c0eff13e458@orcon.net.nz> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1497625155 31317 195.159.176.226 (16 Jun 2017 14:59:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Fri, 16 Jun 2017 14:59:15 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:54.0) Gecko/20100101 Thunderbird/54.0 To: Phil Sainty , 27397@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jun 16 16:59:08 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLsiK-0007di-4W for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 16:59:08 +0200 Original-Received: from localhost ([::1]:59299 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLsiN-00026j-Qx for geb-bug-gnu-emacs@m.gmane.org; Fri, 16 Jun 2017 10:59:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53537) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dLsiH-00026b-PY for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 10:59:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dLsiE-0007uf-N8 for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 10:59:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48816) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dLsiE-0007uU-Jq for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 10:59:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dLsiE-0001M2-DK for bug-gnu-emacs@gnu.org; Fri, 16 Jun 2017 10:59:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 16 Jun 2017 14:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27397 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 27397-submit@debbugs.gnu.org id=B27397.14976250915142 (code B ref 27397); Fri, 16 Jun 2017 14:59:02 +0000 Original-Received: (at 27397) by debbugs.gnu.org; 16 Jun 2017 14:58:11 +0000 Original-Received: from localhost ([127.0.0.1]:51493 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLshP-0001Ks-Kb for submit@debbugs.gnu.org; Fri, 16 Jun 2017 10:58:11 -0400 Original-Received: from mail-wr0-f179.google.com ([209.85.128.179]:34486) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dLshO-0001Ke-Ch for 27397@debbugs.gnu.org; Fri, 16 Jun 2017 10:58:10 -0400 Original-Received: by mail-wr0-f179.google.com with SMTP id 77so39915872wrb.1 for <27397@debbugs.gnu.org>; Fri, 16 Jun 2017 07:58:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=REpf8yDhxRou52eIcUVKn60gxBQQTpRGbMx8ts8/7vc=; b=Wadkt7HazS7ZA3MuBpV5PrO7lB+MfNIcrN/rkvIZboDjOWFMvGKB9DoYqEWRaIGnnS wC6YZMqyqeGy2S+pZRcgy3lhYi7ClcYPx/o+9/7ReaAnUAsgzCmk4P7x1wy4fgBdVbh/ KX/0Pc7ChF9Ef7p10evUXVY7s+Q9ftLGAJ3T4KsJ+clH5mAhGJRUSw0JoxCwEi+Z1ioH HHcpETxLr4hrmrbYOGoWLcvrM4Awy2dXYhNXrc0PPxG66TARFuJAhHVc5ulAv/erUTGA MdiItGDjcpkAN7yIbRjT6r+lnc/5t53m1udnPMDSLtFJOqkJbQ3cbJEUjon4Oc3w4ZCR CCMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=REpf8yDhxRou52eIcUVKn60gxBQQTpRGbMx8ts8/7vc=; b=EvoCKCnJ7stN4i8RI1EvJs0qXgH2zJ21zgGL28gmXUe9QrY3xhg3mDkr2SofENlcoX JtN9KtuGJs5mnw3TXFsb9qm82qbquDTpsyW9hz5pDzij0GMvVwxlFdBwLs0EWXvQC0xe thN2PNNwBZXrUfh5VngeIWrnqFSX7eZnWMHMTOWXeiLdD81tE+kpCqCOp6VUGQLJ6aKH vnVabg7DFrzyIZa+qkZAy0EnRJES3/kVmEZvY8e66tNn5lANkYxkX+CxrjcVkuJ0Agdd m6UeZIb9NabUxX4z3rBjFgNedX8clL41T2BIJECSrF/F+Mr1//8HY1/O1AZWlzxY9F3X ogeQ== X-Gm-Message-State: AKS2vOx9/G5vj735h8GpDbsICv7bMG+V0NE4Vc3itERK+PGjqiDlFMy7 eNqVBdaXYrrFP6VC3II= X-Received: by 10.223.145.78 with SMTP id j72mr7419309wrj.7.1497625084006; Fri, 16 Jun 2017 07:58:04 -0700 (PDT) Original-Received: from [192.168.1.3] ([185.105.174.193]) by smtp.googlemail.com with ESMTPSA id 29sm3692637wrv.23.2017.06.16.07.58.02 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 16 Jun 2017 07:58:03 -0700 (PDT) In-Reply-To: <1348823a-7623-8146-8cc0-8c0eff13e458@orcon.net.nz> Content-Language: en-US X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:133647 Archived-At: On 6/16/17 4:32 PM, Phil Sainty wrote: > This patch adds commands for tracing and untracing functions in bulk, > either by function name prefix (`trace-package' and `untrace-package') > or by regexp (`trace-regexp' and `untrace-regexp'). Looking good. And I've wanted these commands both times I've had a need to use trace.el. This patch could probably use a NEWS entry, though. > (I note that the `trace-is-traced' function does not follow the usual > naming convention for predicates. Should this be renamed to > `trace-is-traced-p' ?) I'm not 100% sure about the protocol here, but including both "-is-" and "-p" in a function name seems too much. So maybe you should do the opposite and rename trace-is-traceable-p to trace-is-traceable.