unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Thibaut Verron <thibaut.verron@gmail.com>
To: uzibalqa <uzibalqa@proton.me>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Running emacs without any customisation
Date: Mon, 10 Oct 2022 14:10:27 +0200	[thread overview]
Message-ID: <b4b27985-d2f9-5540-36bf-34ec032b75e8@gmail.com> (raw)
In-Reply-To: <DrFaE6ICXbQdEm7I8iHUxOlD37jPGRCXikKeF2rE7cRpg0JXUGgXfCrdJXoJnma0UmDYX7kA4exya0SJkYovCM2TeuHQolZrjb5lTgPYaQI=@proton.me>

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	other threads:[~2022-10-10 12:10 UTC|newest]

Thread overview: 118+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-10 11:36 Running emacs without any customisation uzibalqa
2022-10-10 11:46 ` Thibaut Verron
2022-10-10 11:54   ` uzibalqa
2022-10-10 12:10     ` Thibaut Verron [this message]
2022-10-10 12:41       ` uzibalqa
2022-10-10 23:40       ` Emanuel Berg
2022-10-11 15:00         ` [External] : " Drew Adams
2022-10-10 23:30   ` Emanuel Berg
2022-10-11 15:02 ` Michael Heerdegen
2022-10-11 15:13   ` Michael Heerdegen
2022-10-11 15:56     ` uzibalqa
2022-10-11 15:59       ` uzibalqa
2022-10-11 16:19       ` Michael Heerdegen
2022-10-11 15:57     ` [External] : " Drew Adams
2022-10-11 16:17       ` Michael Heerdegen
2022-10-11 17:24         ` Drew Adams
2022-10-11 22:48           ` Michael Heerdegen
2022-10-12  1:33             ` Drew Adams
2022-10-11 18:52         ` uzibalqa
2022-10-11 19:10           ` Michael Heerdegen
2022-10-11 19:13             ` uzibalqa
2022-10-11 19:43               ` Michael Heerdegen
2022-10-11 20:26                 ` uzibalqa
2022-10-11 20:45                   ` Michael Heerdegen
2022-10-11 20:53                     ` uzibalqa
2022-10-11 21:23                       ` Michael Heerdegen
2022-10-11 22:01                         ` uzibalqa
2022-10-11 22:28                           ` Michael Heerdegen
2022-10-11 22:31                             ` uzibalqa
2022-10-11 22:47                               ` Michael Heerdegen
2022-10-11 23:00                                 ` uzibalqa
2022-10-11 17:45       ` RE: [External] : " Christopher Dimech
2022-10-12  0:12         ` uzibalqa
2022-10-12  1:44           ` Michael Heerdegen
2022-10-12  9:59           ` Dr Rainer Woitok
2022-10-12 12:47             ` uzibalqa
2022-10-12 14:45             ` Michael Heerdegen
2022-10-12 15:30               ` Drew Adams
2022-10-12 15:56                 ` uzibalqa
2022-10-12 17:03                   ` Michael Heerdegen
2022-10-12 17:50                     ` uzibalqa
2022-10-12 18:25                       ` Michael Heerdegen
2022-10-12 18:54                         ` uzibalqa
2022-10-12 19:06                           ` Michael Heerdegen
2022-10-12 20:42                             ` uzibalqa
2022-10-12 20:51                               ` Michael Heerdegen
2022-10-12 21:05                                 ` uzibalqa
2022-10-12 21:35                                   ` Michael Heerdegen
2022-10-12 21:45                                     ` uzibalqa
2022-10-12 22:11                                       ` Michael Heerdegen
2022-10-12 22:25                                         ` uzibalqa
2022-10-13  0:33                                           ` Dale Snell
2022-10-13  0:46                                             ` uzibalqa
2022-10-14  5:10                                               ` Emanuel Berg
2022-10-14 18:28                                                 ` uzibalqa
2022-10-13  0:40                                           ` Po Lu
2022-10-13  0:43                                       ` Po Lu
2022-10-13  1:09                                         ` uzibalqa
2022-10-13  2:02                                           ` Po Lu
2022-10-13 11:17                                   ` Dr Rainer Woitok
2022-10-13 13:18                                     ` Emanuel Berg
2022-10-13 14:56                                     ` uzibalqa
2022-10-14  0:37                                       ` Po Lu
2022-10-14  0:47                                         ` uzibalqa
2022-10-14  3:21                                           ` Po Lu
2022-10-13 15:03                                     ` Christopher Dimech
2022-10-13 16:47                                     ` Michael Heerdegen
2022-10-13 17:55                                       ` Christopher Dimech
2022-10-14  4:18                                         ` Jean Louis
2022-10-13  0:42                                 ` Po Lu
2022-10-13  0:50                                   ` uzibalqa
2022-10-13  1:07                                     ` Po Lu
2022-10-13  1:11                                       ` uzibalqa
2022-10-13  2:01                                         ` Po Lu
2022-10-13  2:05                                           ` uzibalqa
2022-10-13  4:03                                             ` Po Lu
2022-10-13  6:19                                               ` Emanuel Berg
2022-10-13 12:17                                                 ` uzibalqa
2022-10-13 12:39                                                   ` Po Lu
2022-10-13 13:10                                                     ` uzibalqa
2022-10-13 13:20                                                       ` uzibalqa
2022-10-14  4:09                                                         ` Jean Louis
2022-10-14  5:11                                                           ` Emanuel Berg
2022-10-13 13:21                                                       ` Po Lu
2022-10-13 14:02                                                         ` uzibalqa
2022-10-13 15:59                                                           ` Emanuel Berg
2022-10-14 16:30                                                             ` Drew Adams
2022-10-13 14:03                                             ` Pascal Quesseveur
2022-10-13 14:18                                               ` uzibalqa
2022-10-13 15:04                                                 ` Pascal Quesseveur
2022-10-13 15:26                                                   ` uzibalqa
2022-10-13 16:41                                                   ` Christopher Dimech
2022-10-14  0:38                                                     ` Po Lu
2022-10-14  2:02                                                       ` Christopher Dimech
2022-10-14  3:19                                                         ` Po Lu
2022-10-14  3:49                                                           ` Christopher Dimech
2022-10-14  4:45                                                             ` uzibalqa
2022-10-14  4:52                                                               ` Christopher Dimech
2022-10-14  6:16                                                                 ` Po Lu
2022-10-14  6:31                                                                   ` Emanuel Berg
2022-10-14 16:01                                                                     ` Jean Louis
2022-10-14 18:43                                                                       ` tomas
2022-10-15  6:58                                                                         ` Jean Louis
2022-10-15  8:39                                                                           ` tomas
2022-10-15 17:38                                                                         ` Christopher Dimech
2022-10-15 19:37                                                                           ` tomas
2022-10-14 20:55                                                                       ` Emanuel Berg
2022-10-14  2:33                                                       ` Emanuel Berg
2022-10-14  4:14                                                     ` Jean Louis
2022-10-14  5:32                                                       ` Christopher Dimech
2022-10-14  8:47                                                     ` Dr Rainer Woitok
2022-10-14  9:57                                                       ` Po Lu
2022-10-14 12:30                                                         ` uzibalqa
2022-10-14 13:48                                                           ` Christopher Dimech
2022-10-16  4:57                                                           ` Jean Louis
2022-10-14 20:50                                                       ` Emanuel Berg
2022-10-13  1:12                                       ` Christopher Dimech
2022-10-13  0:40                   ` Po Lu

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=b4b27985-d2f9-5540-36bf-34ec032b75e8@gmail.com \
    --to=thibaut.verron@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    --cc=uzibalqa@proton.me \
    /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).