Skip to content

Latest commit

 

History

History
85 lines (62 loc) · 2.01 KB

README.org

File metadata and controls

85 lines (62 loc) · 2.01 KB

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