all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Disabling loading of /etc/emacs/site-start.d?
@ 2020-03-20 22:16 Nicholas Papadonis
  2020-03-21 15:29 ` Alex Kost
  0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Papadonis @ 2020-03-20 22:16 UTC (permalink / raw)
  To: help-gnu-emacs

My Debian 10 distro has a number of files that are auto loaded from this
directory.  There are a number of files in here slowing down load time of
Emacs.

Do you folks just remove files from this system wide directory or use some
E-lisp code to preprocess which files are loaded?

Thanks


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling loading of /etc/emacs/site-start.d?
  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
  0 siblings, 1 reply; 4+ messages in thread
From: Alex Kost @ 2020-03-21 15:29 UTC (permalink / raw)
  To: Nicholas Papadonis; +Cc: help-gnu-emacs

Hello,

Nicholas Papadonis (2020-03-20 18:16 -0400) wrote:

> My Debian 10 distro has a number of files that are auto loaded from this
> directory.  There are a number of files in here slowing down load time of
> Emacs.
>
> Do you folks just remove files from this system wide directory or use some
> E-lisp code to preprocess which files are loaded?

I just run "emacs --no-site-file" to get rid of any distro's
"user-friendly" settings.

-- 
Alex



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling loading of /etc/emacs/site-start.d?
  2020-03-21 15:29 ` Alex Kost
@ 2020-03-21 15:40   ` Nicholas Papadonis
  2020-04-08 13:49     ` Bruno Félix Rezende Ribeiro
  0 siblings, 1 reply; 4+ messages in thread
From: Nicholas Papadonis @ 2020-03-21 15:40 UTC (permalink / raw)
  To: Alex Kost; +Cc: help-gnu-emacs

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

Thanks

On Sat, Mar 21, 2020 at 11:29 AM Alex Kost <alezost@gmail.com> wrote:

> Hello,
>
> Nicholas Papadonis (2020-03-20 18:16 -0400) wrote:
>
> > My Debian 10 distro has a number of files that are auto loaded from this
> > directory.  There are a number of files in here slowing down load time of
> > Emacs.
> >
> > Do you folks just remove files from this system wide directory or use
> some
> > E-lisp code to preprocess which files are loaded?
>
> I just run "emacs --no-site-file" to get rid of any distro's
> "user-friendly" settings.
>
> --
> Alex
>


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Disabling loading of /etc/emacs/site-start.d?
  2020-03-21 15:40   ` Nicholas Papadonis
@ 2020-04-08 13:49     ` Bruno Félix Rezende Ribeiro
  0 siblings, 0 replies; 4+ messages in thread
From: Bruno Félix Rezende Ribeiro @ 2020-04-08 13:49 UTC (permalink / raw)
  To: Nicholas Papadonis; +Cc: Alex Kost, help-gnu-emacs

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2020-04-08 13:49 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.