On 22 August 2016 at 14:19, Cook, Malcolm <m...@stowers.org> wrote: >> In the last command I forgot to drop the -Q. But I guess it works either >> way. > > I would not trust the result from failing to drop the -Q since the -Q is what > prevents your init file from loading, which we are explicitly trying to avoid > for the sake of compiling org in a fresh environment. > According to [[info:emacs#Initial Options]], --batch implies -q. About -q and -Q, we have:
‘-q’ ‘--no-init-file’ Do not load any initialization file (*note Init File::). When Emacs is invoked with this option, the Customize facility does not allow options to be saved (*note Easy Customization::). This option does not disable loading ‘site-start.el’. [...] ‘-Q’ ‘--quick’ Start emacs with minimum customizations. This is similar to using ‘-q’, ‘--no-site-file’, ‘--no-site-lisp’, and ‘--no-splash’ together. This also stops Emacs from processing X resources by setting ‘inhibit-x-resources’ to ‘t’ (*note Resources::). So --batch implies -q, which is enough to bypass init.el. -Q is stronger than -q: it adds ‘--no-site-file’, ‘--no-site-lisp’, and ‘--no-splash’ and inibits X resources. But AFAIK, only my init.el loads Org, and not site-start.el, which is empty here, or any Lisp file in a site-lisp directory. I searched every file in /usr/share/emacs/site-lisp for "org" and I didn't find any line that loads Org. I am an Emacs beginner though, so I may be wrong. -- - I am Brazilian. I apologize for possibly bad English and I welcome corrections. - Please adopt free formats like PDF, ODF, LaTeX, Vorbis, Opus, WebM and 7z. - Free software for Android: https://f-droid.org/