unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Is there way to read function invoked and its parameters?
@ 2020-12-27 17:54 Jean Louis
  2020-12-27 18:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
  2020-12-27 19:11 ` Yuri Khan
  0 siblings, 2 replies; 10+ messages in thread
From: Jean Louis @ 2020-12-27 17:54 UTC (permalink / raw)
  To: Help GNU Emacs


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?

Should I just use local variables to remember the function and its
arguments so that I may invoke it from the report page?






^ permalink raw reply	[flat|nested] 10+ messages in thread
[parent not found: <<courier.000000005FE8CA54.00006BFB@stw1.rcdrun.com>]

end of thread, other threads:[~2020-12-28 19:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-12-27 17:54 Is there way to read function invoked and its parameters? Jean Louis
2020-12-27 18:04 ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-27 19:11 ` Yuri Khan
2020-12-28  7:07   ` Jean Louis
2020-12-28  9:04     ` Yuri Khan
     [not found] <<courier.000000005FE8CA54.00006BFB@stw1.rcdrun.com>
2020-12-27 18:20 ` Drew Adams
2020-12-27 18:39   ` Emanuel Berg via Users list for the GNU Emacs text editor
2020-12-28  6:57     ` Jean Louis
2020-12-28 16:40       ` Drew Adams
2020-12-28 19:58         ` Jean Louis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).