all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Jean Louis <bugs@gnu.support>
To: Joel Reicher <joel.reicher@gmail.com>
Cc: Heime via Users list for the GNU Emacs text editor
	<help-gnu-emacs@gnu.org>, Heime <heimeborgia@protonmail.com>
Subject: Re: Structuring a list to run sequence of commands
Date: Mon, 23 Dec 2024 08:47:16 +0300	[thread overview]
Message-ID: <Z2j5ZAODVgMIa1zz@lco2> (raw)
In-Reply-To: <86jzbrj3k2.fsf@gmail.com>

* Joel Reicher <joel.reicher@gmail.com> [2024-12-22 15:40]:
> Heime via Users list for the GNU Emacs text editor <help-gnu-emacs@gnu.org>
> writes:
> 
> > Have been hoping to grouping a sequence of commands and execute each
> > one.
> 
> Isn't this just what progn does?

This is how I do that:

(rcd-dashboard 
	      '(rcd-notes-dashboard-header
		rcd-notes-hyperscope
		rcd-notes-people
		rcd-notes-marketing
		rcd-notes-dashboard-people-communication
		rcd-notes-dashboard-hyperscope-tags
		rcd-notes-dashboard-hyperscope-referencing
		rcd-notes-dashboard-hyperscope-action-statuses
		rcd-notes-dashboard-people-assigned-to-pending-hyperdocuments
		rcd-notes-dashboard-org
		rcd-notes-dashboard-admin-scales
		rcd-notes-dashboard-media
		rcd-notes-dashboard-www
		rcd-notes-dashboard-hyperscope-maintenance
		rcd-notes-dashboard-system
		rcd-notes-customize
		rcd-notes-dashboard-footer
		rcd-notes-refresh-with-idle-timer
		read-only-mode)
	      "RCD-notes")

(defun rcd-dashboard (list-of-functions &optional dashboard-name)
  "Start RCD Dashboard and invoke LIST-OF-FUNCTIONS."

  then the function do other things and then:

  (mapc #'funcall list-of-functions)

  
-- 
Jean Louis



      reply	other threads:[~2024-12-23  5:47 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-25 20:37 Structuring a list to run sequence of commands Heime via Users list for the GNU Emacs text editor
2024-12-22 12:38 ` Joel Reicher
2024-12-23  5:47   ` Jean Louis [this message]

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

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

  git send-email \
    --in-reply-to=Z2j5ZAODVgMIa1zz@lco2 \
    --to=bugs@gnu.support \
    --cc=heimeborgia@protonmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=joel.reicher@gmail.com \
    /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.
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.