all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Refer to List of Arguments in Emacs Lisp Function
@ 2014-11-13  8:02 Alexander Shukaev
  2014-11-13 16:16 ` Marcin Borkowski
       [not found] ` <mailman.13556.1415895434.1147.help-gnu-emacs@gnu.org>
  0 siblings, 2 replies; 12+ messages in thread
From: Alexander Shukaev @ 2014-11-13  8:02 UTC (permalink / raw
  To: help-gnu-emacs

Hello,

I can't find whether there is a possibility to refer to the whole list of
arguments of a function in Emacs Lisp. For example:

(defun move (x y z)
  (apply do-move (args))

What I mean by (args) primitive here is a list (x y z). This use case
illustrates usefulness of such a primitive, i.e. forwarding of arguments to
another internal call without a need to rewrite them by hand. (length
(args)) might be useful in some cases too. Is there anything like that in
Emacs Lisp already?


^ permalink raw reply	[flat|nested] 12+ messages in thread
[parent not found: <mailman.13526.1415865742.1147.help-gnu-emacs@gnu.org>]

end of thread, other threads:[~2014-11-17 11:04 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-11-13  8:02 Refer to List of Arguments in Emacs Lisp Function Alexander Shukaev
2014-11-13 16:16 ` Marcin Borkowski
     [not found] ` <mailman.13556.1415895434.1147.help-gnu-emacs@gnu.org>
2014-11-13 19:23   ` Barry Margolin
     [not found] <mailman.13526.1415865742.1147.help-gnu-emacs@gnu.org>
2014-11-13  8:27 ` Joost Kremers
2014-11-13  8:35   ` Alexander Shukaev
2014-11-13 16:58     ` Andreas Röhler
2014-11-14 13:35       ` Nicolas Richard
     [not found]     ` <mailman.13561.1415897958.1147.help-gnu-emacs@gnu.org>
2014-11-13 19:20       ` Barry Margolin
2014-11-14  1:52         ` Stefan Monnier
2014-11-14  3:56           ` Alexander Shukaev
2014-11-13 16:02 ` Barry Margolin
2014-11-17 11:04 ` Ted Zlatanov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.