all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: <schulte.eric@gmail.com>
To: Org Mode Mailing List <emacs-orgmode@gnu.org>
Subject: [PATCH] make vanilla: run Emacs -Q with this Org loaded
Date: Fri, 13 Dec 2013 09:34:35 -0700	[thread overview]
Message-ID: <87k3f8aew4.fsf@gmail.com> (raw)

I think this change could make it easier to reproduce problems with
Org-mode loaded and without the user's personal config loaded.

Thoughts?

---
 Makefile      |  1 +
 mk/default.mk | 13 +++++++++++++
 2 files changed, 14 insertions(+)

diff --git a/Makefile b/Makefile
index f95bcb2..ce06116 100644
--- a/Makefile
+++ b/Makefile
@@ -30,6 +30,7 @@ help helpall::
 	$(info make single         - build Org ELisp files, single Emacs per source)
 	$(info make autoloads      - create org-loaddefs.el to load Org in-place)
 	$(info make test           - build Org ELisp files and run test suite)
+	$(info make vanilla        - run Emacs with this Org-mode and no personal config)
 helpall::
 	$(info make test-dirty     - check without building first)
 	$(info make compile-dirty  - build only stale Org ELisp files)
diff --git a/mk/default.mk b/mk/default.mk
index 886efc6..54148be 100644
--- a/mk/default.mk
+++ b/mk/default.mk
@@ -72,6 +72,19 @@ BTEST	= $(BATCH) \
 	  $(foreach req,$(BTEST_EXTRA),$(req-extra)) \
 	  --eval '(org-test-run-batch-tests org-test-select-re)'
 
+# Running a plain emacs with no config and this Org-mode loaded.  This
+# should be useful for testing and for manually verrifying problems.
+MINI = $(EMACS) -Q \
+	  --eval '(add-to-list '"'"'load-path (concat default-directory "lisp"))' \
+	  --eval '(setq org-babel-load-languages \
+	          (quote ($(foreach ob-lang,$(BTEST_OB_LANGUAGES) emacs-lisp sh org,$(lst-ob-lang)))) \
+	  )' \
+	  -l org-loaddefs.el -l cl -l org -l ox -f org-version
+
+.PHONY: minimal
+vanilla:
+	$(MINI) &
+
 # Using emacs in batch mode.
 # BATCH = $(EMACS) -batch -vanilla # XEmacs
 BATCH	= $(EMACS) -batch -Q \
-- 
1.8.5.1

             reply	other threads:[~2013-12-13 16:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-12-13 16:34 schulte.eric [this message]
2013-12-13 22:47 ` [PATCH] make vanilla: run Emacs -Q with this Org loaded Achim Gratz
2013-12-13 23:28   ` Eric Schulte

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

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

  git send-email \
    --in-reply-to=87k3f8aew4.fsf@gmail.com \
    --to=schulte.eric@gmail.com \
    --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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.