help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Running emacs without any customisation


From: Thibaut Verron
Subject: Re: Running emacs without any customisation
Date: Mon, 10 Oct 2022 14:10:27 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

On 10/10/2022 13:54, uzibalqa wrote:
------- Original Message -------
On Monday, October 10th, 2022 at 11:46 AM, Thibaut Verron 
<thibaut.verron@gmail.com> wrote:


Hi,

So I see two things here.

First, even with an empty .emacs, just running emacs might not the
equivalent of "emacs -Q", as it will still load the system-wide
configuration files (the "site-elisp").

Second, running emacs with an empty .emacs should not result in a black
background. The cause is almost certainly in the xepty.el file where all
the functions and variables used here are (I hope) defined.
(xepty 'nogo) should not even load "xepty.el".  Hom can one figure out
what "site-elisp" could be doing?

Oh, right, sorry, I missed the unless.

On my system (ubuntu) there are configuration files in /usr/share/emacs, /usr/share/emacsen-common and /etc/emacs. I don't know if they are all run.

Regardless, the site lisp should not cause emacs to fail to start or start with a black screen. To test it, you can run emacs without your config but with most site-lisp with emacs -q.

I assume that you don't get the black screen with -Q? And that you don't have any other configuration files in your .emacs.d (for example early-init.el) ?

Best wishes,

Thibaut


On 10/10/2022 13:36, uzibalqa wrote:

I have the following in my .emacs file. Calling (xepty 'nogo) should
not execute anything. But when I run emacs, I get a black background.

I thought I would get the equivalent of "emacs -Q".

(defun xepty (&optional statck)
"Launch xepty tools for Emacs."

(unless (equal statck 'nogo)
(add-to-list 'load-path "${HOME}/xepty/")
(load "xepty")
(xepty-tools)))

(xepty 'nogo)

(custom-set-variables
'(savehist-additional-variables '(xepty-frame-pos))
'(xepty-frame-pos '(34 . 34)))



reply via email to

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