emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jorge <jorge13515@gmail.com>
To: "Cook, Malcolm" <MEC@stowers.org>
Cc: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>,
	Maria Shinoto <maria@shinoto.de>
Subject: Re: How to safely update from ver. 8.2.10 to 8.3.x
Date: Mon, 22 Aug 2016 17:35:04 -0300	[thread overview]
Message-ID: <CAJR3QneD-0CoN2mzedBWe3y4TqW9GrER6UShz+hvZ05rNiG3hA@mail.gmail.com> (raw)
In-Reply-To: <c70f6ef2aef04ce98e930b432498de61@exchsrv2.sgc.loc>

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

  reply	other threads:[~2016-08-22 20:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15  2:39 How to safely update from ver. 8.2.10 to 8.3.x Maria Shinoto
2016-08-15 17:29 ` Cook, Malcolm
     [not found]   ` <5a776464-0616-1554-b8ad-50fae2d658bc@shinoto.de>
     [not found]     ` <1471321150864.146@stowers.org>
2016-08-16  5:14       ` Maria Shinoto
2016-08-22 15:25   ` Jorge
2016-08-22 16:39     ` Jorge
2016-08-22 17:19       ` Cook, Malcolm
2016-08-22 20:35         ` Jorge [this message]
2016-08-22 22:13           ` Cook, Malcolm

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=CAJR3QneD-0CoN2mzedBWe3y4TqW9GrER6UShz+hvZ05rNiG3hA@mail.gmail.com \
    --to=jorge13515@gmail.com \
    --cc=MEC@stowers.org \
    --cc=emacs-orgmode@gnu.org \
    --cc=maria@shinoto.de \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).