unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* How can I put together a small bare bones "Emacs for scripting" package?
@ 2020-01-24 15:34 Mathias Dahl
  2020-01-24 15:49 ` Eli Zaretskii
  0 siblings, 1 reply; 7+ messages in thread
From: Mathias Dahl @ 2020-01-24 15:34 UTC (permalink / raw)
  To: emacs-devel

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

Hi,

I am writing a lot of tools for my own use at work in Emacs. Sometimes I
like to share these tools with friends who are not using Emacs. I have
tried this a few times and I have ended up zipping my whole Emacs file
structure together with some scripts to start Emacs and do the stuff for
them.

This approach kind of works, but today I got thinking: how little could I
actually copy from my Emacs installation to have basic scripting working?
And with basic scripting I mean basic file handling (creating, checking
for, deleting), buffer handling and basic text manipulation stuff.

Obviously I would need emacs.exe. On my Windows installation it's around 9
MB. A bit on the big side for a scripting engine, still not bad by today's
standards.

But what would I need more, for Emacs to even start? If I knew the bare
minimum of what is needed to start, I think I would be able to add in any
additional features just by copying those Elisp files.

Any thoughts, comments or pointers to further reading?

Thanks!

/Mathias

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2020-01-27 14:36 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-24 15:34 How can I put together a small bare bones "Emacs for scripting" package? Mathias Dahl
2020-01-24 15:49 ` Eli Zaretskii
2020-01-24 16:18   ` Eli Zaretskii
2020-01-24 21:37     ` Mathias Dahl
2020-01-25  7:41       ` Eli Zaretskii
2020-01-25 20:12         ` Mathias Dahl
2020-01-27 14:36           ` Mathias Dahl

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).