Skip to content

kaiwk/emacs-sandbox.sh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

emacs-sandbox.sh

This script makes it easy to run Emacs in a clean, sandbox-like configuration, without affecting your personal Emacs configuration. It’s helpful for developing packages, troubleshooting configuration problems, etc.

Contents

Installation

Copy emacs-sandbox.sh into your PATH (or don’t, and run it from wherever you want).

Usage

emacs-sandbox.sh [OPTIONS] [EMACS-ARGS]

Run Emacs in a "sandbox" user-emacs-directory.  If no directory is
specified, one is made with "mktemp -d" and removed when Emacs exits.

Options
  --debug     Show debug information and don't remove temp directory.
  -h, --help  This.
  --          Optionally used to separate script arguments from
              Emacs arguments.

  -d, --dir DIR          Use DIR as user-emacs-directory.

  -i, --install PACKAGE      Install PACKAGE.
  -O, --no-org-repo          Don't use the orgmode.org ELPA repo.
  -P, --no-package           Don't initialize the package system.
  -R, --no-refresh-packages  Don't refresh package lists.

Changelog

0.1-pre

Initial release.

Credits

Inspired by and some code copied from MELPA’s Makefile.

Development

Bug reports, feature requests, suggestions — oh my!

License

GPLv3

About

Script to easily run Emacs in a clean configuration

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%