From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Narendra Joshi Newsgroups: gmane.emacs.help Subject: Logging and Auditing functions executed by Emacs Lisp interpreter Date: Sat, 11 Apr 2020 23:48:25 +0200 Message-ID: <874ktpu21i.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="56298"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 12 00:16:04 2020 Return-path: Envelope-to: geh-help-gnu-emacs@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 1jNOQ0-000EZW-5v for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 12 Apr 2020 00:16:04 +0200 Original-Received: from localhost ([::1]:56948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNOPz-0008GZ-8Y for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 11 Apr 2020 18:16:03 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52431) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNNzL-0002tI-Lw for help-gnu-emacs@gnu.org; Sat, 11 Apr 2020 17:48:32 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNNzK-00064R-Nh for help-gnu-emacs@gnu.org; Sat, 11 Apr 2020 17:48:31 -0400 Original-Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]:53155) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jNNzK-000641-Ev for help-gnu-emacs@gnu.org; Sat, 11 Apr 2020 17:48:30 -0400 Original-Received: by mail-wm1-x331.google.com with SMTP id o81so301594wmo.2 for ; Sat, 11 Apr 2020 14:48:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:mime-version; bh=iX3OvnyMl16y3kvS9sjkbOkZ1bG4Pji3MmyZP7xWOCI=; b=hiJT/b42BafNVfrkNZ335VjL7vvH28Ffn2tZEFw+jZnr+T4VgoAxhhBjg8U3uTKMj9 Bwour+zvuPzNXSAkHDGPK6Py0eZoE4udG2zTYekIU+Lq73xe6jK2+fNVxR/WiARoUFyB yqqhtwaaDNl37BGwop5S05qksh6w5dWy0jjTk1GJfNuCuHwiCnFYYRHlVfBLeovs3UzN AZ6ESP4uCgj8pdwNy+5WNlLvfQvCZ3k7jNv14SKAGFjA9R7T7ueQvK1Hva3O0vab2fkP IgzH39C8+SnzoatDLC110FBVOVga+57l41uvNirh6l3SKeNekfemHllGqdmeRTU8tEXy JZPA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version; bh=iX3OvnyMl16y3kvS9sjkbOkZ1bG4Pji3MmyZP7xWOCI=; b=FqpFNUwxTcv1f5lwlaZTiVz97b79Um6mnjd4RwV1l+js7jFMOT/STg2xlyVbD6EWbd 8ECjpgnvE4F/l3fySP7QqauYeCVFgmEiMSIh29B6dKQ9S8JcnHbPnhHcyRokloPeW1/L 1Llv6E9drpvHU0cVuuFn7Vx/LuESgawXpED32DHpk5mdGO2K52rFcJWFnysETEligX2u Sq+HdldF2p9aolksh+kbmlnfvpnE2NLb6pyY+p27TWBFKn15naDRXyXAV9JsHrXxcXmS bg21IuVi+8Wk3UH5yJJq2k9SXLkmq+Pdqr10ofU4qO2PN/WVJypjRh65q2hcmhACibPs VjHg== X-Gm-Message-State: AGi0PuZngSXiI6e63GFXmC4YLFsXqAtnfBM2dodUC7yz+jSPK5+ad0py 4opjiAPd79Olk6fhfLbpX12CmA+DRg== X-Google-Smtp-Source: APiQypKqXfHdQql1H4+WX8toopxJhOm6UeyhTELPojIiScCc1+hCrX83P/qOVBMM5yAfS2B55XjV3w== X-Received: by 2002:a05:600c:21d6:: with SMTP id x22mr12010940wmj.95.1586641708266; Sat, 11 Apr 2020 14:48:28 -0700 (PDT) Original-Received: from vicarie ([2a02:8109:b640:2344::a581]) by smtp.gmail.com with ESMTPSA id z18sm2294371wrw.41.2020.04.11.14.48.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 11 Apr 2020 14:48:27 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::331 X-Mailman-Approved-At: Sat, 11 Apr 2020 18:15:18 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:122795 Archived-At: Hi, I use a package- `elisp-demos`, which adds examples of Emacs Lisp functions to `help` buffers. I was curious to know whether it executed the examples on my machine to show their output or not. I figured out that the output is also hard-coded in the package files. This led me to start looking for something that would allow me to see what the Emacs Lisp interpreter is evaluating, e.g. the functions that it had to call during evaluation. Something similar to `view-lossage` but that includes non-interactive functions (e.g. network calls made from installed packages, processes spawned, or functions being called by timers regularly). Is there such a feature in Emacs? -- Narendra Joshi