unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: "Bruno Félix Rezende Ribeiro" <oitofelix@gnu.org>
To: Nicholas Papadonis <nick.papadonis.ml@gmail.com>
Cc: Alex Kost <alezost@gmail.com>, help-gnu-emacs@gnu.org
Subject: Re: Disabling loading of /etc/emacs/site-start.d?
Date: Wed, 08 Apr 2020 10:49:10 -0300	[thread overview]
Message-ID: <87mu7mgka1.fsf@oitofelix.com> (raw)
In-Reply-To: <CAKD0t1JEnPrj1_kx1ZuMiEywPJvDQNyQY646ud5AhcvT8gVPPQ@mail.gmail.com> (Nicholas Papadonis's message of "Sat, 21 Mar 2020 11:40:49 -0400")

[-- Attachment #1: Type: text/plain, Size: 883 bytes --]

Hello Nicholas,

Nicholas Papadonis <nick.papadonis.ml@gmail.com> writes:

> Is there an ELISP command that can be used in .emacs vs the command line
> argument?

Not that I could find in the documentation.  It makes sense to not be
possible; quoting from (info "(elisp) Startup Summary"):

  11. It loads the library ‘site-start’[...]

  12. It loads your init file[...].

Thus, even if it were such a Lisp expression it would be too late for 
its evaluation to have any effect.[1]


Footnotes: 

[1] In the future however (and in principle), we might have a mechanism
    to make all Lisp computing reversible and then that would be
    possible.[2]

[2] Granting your site-start doesn’t affect the external world in a
    irreversible way, of course.

-- 
Bruno Félix Rezende Ribeiro (oitofelix) [0x28D618AF]
<http://oitofelix.freeshell.org/>

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 454 bytes --]

      reply	other threads:[~2020-04-08 13:49 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-20 22:16 Disabling loading of /etc/emacs/site-start.d? Nicholas Papadonis
2020-03-21 15:29 ` Alex Kost
2020-03-21 15:40   ` Nicholas Papadonis
2020-04-08 13:49     ` Bruno Félix Rezende Ribeiro [this message]

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.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87mu7mgka1.fsf@oitofelix.com \
    --to=oitofelix@gnu.org \
    --cc=alezost@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=nick.papadonis.ml@gmail.com \
    /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.
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).