From mboxrd@z Thu Jan 1 00:00:00 1970 From: Subject: [PATCH] make vanilla: run Emacs -Q with this Org loaded Date: Fri, 13 Dec 2013 09:34:35 -0700 Message-ID: <87k3f8aew4.fsf@gmail.com> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38438) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrVia-0005So-I9 for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 11:36:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VrViT-0004ft-MW for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 11:36:00 -0500 Received: from mail-pb0-x234.google.com ([2607:f8b0:400e:c01::234]:45863) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VrViT-0004fd-Ep for emacs-orgmode@gnu.org; Fri, 13 Dec 2013 11:35:53 -0500 Received: by mail-pb0-f52.google.com with SMTP id uo5so2787918pbc.25 for ; Fri, 13 Dec 2013 08:35:52 -0800 (PST) Received: from bagel (c-174-56-50-60.hsd1.nm.comcast.net. [174.56.50.60]) by mx.google.com with ESMTPSA id qv8sm6017267pbc.31.2013.12.13.08.35.50 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Dec 2013 08:35:51 -0800 (PST) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Org Mode Mailing List 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