emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] How to safely update from ver. 8.2.10 to 8.3.x


From: Jorge
Subject: Re: [O] How to safely update from ver. 8.2.10 to 8.3.x
Date: Mon, 22 Aug 2016 17:35:04 -0300

On 22 August 2016 at 14:19, Cook, Malcolm <address@hidden> 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/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]