emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Ivar Fredholm <freddyholms@protonmail.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
	"bzg@bzg.fr" <bzg@bzg.fr>
Subject: We have asynchronous sessions, why have anything else?
Date: Sun, 26 Jun 2022 03:15:17 +0000	[thread overview]
Message-ID: <oj1Z-d92TcitXbVc5JCxieUYy9EnTAzNmTvWXeN5qQxANtwEJedYQ0-LwMthEoIDXVSvcELO6RnLO-eMv7sruSvCQUrnDn1n4atE77m1Rjs=@protonmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

A session-less block can be executed by starting a session with a special name (say "*none") which always gets killed after block execution is completed. For interpreter-less languages, we could use the shell as an interpreter (for instance, if we wanted to execute C, we could just start a shell, and send it the gcc command to compile and execute). Would this not cut down the amount of code that needs to be maintained and uniformize the existing code?

Sent with [Proton Mail](https://proton.me/) secure email.

[-- Attachment #2: Type: text/html, Size: 1035 bytes --]

             reply	other threads:[~2022-06-26  3:16 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-26  3:15 Ivar Fredholm [this message]
2022-06-26  3:29 ` We have asynchronous sessions, why have anything else? Ihor Radchenko
2022-06-26 19:20   ` Ivar Fredholm
2022-06-27  9:57     ` Ihor Radchenko
2022-06-27 22:04       ` Tom Gillespie
2022-06-28  0:41         ` Tim Cross
2022-06-28  1:15           ` John Kitchin
2022-07-06  1:41       ` Ivar Fredholm
2022-07-07 11:17         ` Ihor Radchenko

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.orgmode.org/

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

  git send-email \
    --in-reply-to='oj1Z-d92TcitXbVc5JCxieUYy9EnTAzNmTvWXeN5qQxANtwEJedYQ0-LwMthEoIDXVSvcELO6RnLO-eMv7sruSvCQUrnDn1n4atE77m1Rjs=@protonmail.com' \
    --to=freddyholms@protonmail.com \
    --cc=bzg@bzg.fr \
    --cc=emacs-orgmode@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.
Code repositories for project(s) associated with this public inbox

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

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).