[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Is there way to read function invoked and its parameters?
From: |
Emanuel Berg |
Subject: |
Re: Is there way to read function invoked and its parameters? |
Date: |
Sun, 27 Dec 2020 19:04:15 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis wrote:
> Would this concept be possible in Emacs Lisp:
>
> (defun my-function (arg &optional arg-1 arg-2)
> (call-other-function (this-function-called parameters-to-this-function)))
>
> Then the other function would receive something like
>
> (my-function ARGUMENTS)
>
> Purpose of this is for `tabulated-list-mode' to know how to refresh
> it. As the mode could be called by plethora of various ways. It would
> be best if I could detect how function was called, with which
> parameters and record the fact so that by the key the same function
> may be called again.
>
> Problem is not when there is one function or one report, I have
> dynamic reports and varieties of reports invoked by variety of
> functions and arguments.
>
> Or maybe there is other way of doing that?
&rest
--
underground experts united
http://user.it.uu.se/~embe8573
https://dataswamp.org/~incal
Re: Is there way to read function invoked and its parameters?, Yuri Khan, 2020/12/27