[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] make vanilla: run Emacs -Q with this Org loaded
From: |
schulte.eric |
Subject: |
[O] [PATCH] make vanilla: run Emacs -Q with this Org loaded |
Date: |
Fri, 13 Dec 2013 09:34:35 -0700 |
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
- [O] [PATCH] make vanilla: run Emacs -Q with this Org loaded,
schulte.eric <=