Craig Brozefsky 🏳️⚧️✊🏾 on Nostr: #emacs shell scripting is not portable due to needing to pass args to emacs to not ...
#emacs shell scripting is not portable due to needing to pass args to emacs to not load init, and read rest of file as script. Works in some systems where env allows arguments, but that’s not standard behavior, won’t work on #obsd for example
Emacs could instead have look st the name it was invoked under, emacscript for example, and run in shell scripting mode. Then a symbolic link to emacs binary would support portable scripting.
Thoughts?
Emacs could instead have look st the name it was invoked under, emacscript for example, and run in shell scripting mode. Then a symbolic link to emacs binary would support portable scripting.
Thoughts?