unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: pietru@caramail.com
To: pietru@caramail.com
Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>, Jean Louis <bugs@gnu.support>
Subject: Re: Passing a list to an interactive function
Date: Sat, 19 Dec 2020 03:05:44 +0100	[thread overview]
Message-ID: <trinity-730ca7f2-77b8-4b4f-8c5e-a022710a12ad-1608343544667@3c-app-mailcom-bs02> (raw)
In-Reply-To: <trinity-60635d1f-9aa5-4897-9a55-840ad52a6be0-1608291497535@3c-app-mailcom-bs11>


> Sent: Friday, December 18, 2020 at 12:38 PM
> From: pietru@caramail.com
> To: "Jean Louis" <bugs@gnu.support>
> Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> Subject: Re: Passing a list to an interactive function
>
>
>
> > Sent: Friday, December 18, 2020 at 12:30 PM
> > From: "Jean Louis" <bugs@gnu.support>
> > To: pietru@caramail.com
> > Cc: "Help Gnu Emacs" <help-gnu-emacs@gnu.org>
> > Subject: Re: Passing a list to an interactive function
> >
> > * pietru@caramail.com <pietru@caramail.com> [2020-12-18 14:19]:
> > > I would like to pass a list to an interactive function.  How can I do that?
> >
> > (funcall-interactively #'YOUR-FUNCTION '("List" 2))

Still very unsure what to do.  I want to call "M-x thermoluminescence"
but pass six numbers to the function.

(defun thermoluminesce (ta tb tlab tc td tlcd te tf tlef)
   (interactive) )

Could I simply pass six numbers separated by spaces




  parent reply	other threads:[~2020-12-19  2:05 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-12-18 11:05 Passing a list to an interactive function pietru
2020-12-18 11:30 ` Jean Louis
2020-12-18 11:38   ` pietru
2020-12-18 11:49     ` Joost Kremers
2020-12-18 11:50     ` tomas
2020-12-18 11:56     ` Jean Louis
2020-12-19  2:05     ` pietru [this message]
2020-12-19  3:25       ` Jean Louis
2020-12-19  3:34         ` pietru
2020-12-19  3:49           ` Jean Louis
2020-12-19  4:29             ` pietru
2020-12-19  5:54               ` Jean Louis
2020-12-19 11:03                 ` pietru
2020-12-19  6:23               ` Michael Heerdegen
2020-12-19  6:26                 ` pietru

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=trinity-730ca7f2-77b8-4b4f-8c5e-a022710a12ad-1608343544667@3c-app-mailcom-bs02 \
    --to=pietru@caramail.com \
    --cc=bugs@gnu.support \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).