From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Thibaut Verron Newsgroups: gmane.emacs.help Subject: Re: Running emacs without any customisation Date: Mon, 10 Oct 2022 14:10:27 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="30014"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Cc: help-gnu-emacs@gnu.org To: uzibalqa Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 14:11:46 2022 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohrdK-0007hv-8T for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 14:11:46 +0200 Original-Received: from localhost ([::1]:56264 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohrdI-0008Ml-Uq for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 08:11:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37540) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohrc8-0008Md-Kh for help-gnu-emacs@gnu.org; Mon, 10 Oct 2022 08:10:32 -0400 Original-Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:42664) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohrc6-0007N5-MW for help-gnu-emacs@gnu.org; Mon, 10 Oct 2022 08:10:32 -0400 Original-Received: by mail-wr1-x431.google.com with SMTP id bp11so3966902wrb.9 for ; Mon, 10 Oct 2022 05:10:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=1lNrgWCmzUT/zZWlZc81U9fDpPnqB4zEdBvvhQTenTE=; b=ccpAgCxRiroTG/Dv0wbOYVvpS0OMLucIDhAVoR1lCWCjSdhzpwUYw0RP3xz2zkxmbh Rk8gmPw9UKDvQErqQ97Sx2OemercpgZf3+G7yjegXfIGG95qMpBvR6Dvu7loawllPTNA EjYa+d9USGgtwMS7bNoWDijhhlkHkRPr8m7s+tIi9dpvydWwRcoEIvpfMNl/PbuI2vsE /jHyKkJSUGEC18pbCxBz4EjJYUBEoKZUwfzJ2O0gAVwdUkj9RyyyIVHmWjMPB4OWE1GO R6CtkLDVif4PDAD3s5VJSLQpF2Yl14hhBGRZbHxiaywKBCOM4DBmcgfX2V80r6XVi2Xx 6ZTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=1lNrgWCmzUT/zZWlZc81U9fDpPnqB4zEdBvvhQTenTE=; b=ZRc89r/aomVYmv/Pogt/hCLn1303bgVOTCwLNL4xRQQTZzo5lAM7VNP8b+wcAQbyUs Fa1y7lYtcEwTIo5dtk+yyRcF9MjP511M9MyiUbhzNDK6bzPH9oZlDbtIk+0nkqemiJl1 zKqxA5aLnlPOzW2xoWcXgONC5IpfnncSpp/bskjrivNF5B1qX0KY1m1X5Fuy4CKE7hyV 1C9mW2SEGosFG07DUswRBLb0Sxg4UUMtgbudDBx7IIfyHJPS2gTI3HyVrasjOzOGTBNk miLAJ7ludrT2QTdHaZzpKXMyLdms0hZ0eWqF6q/SEHefymO8xTIBg2o6KUa0O7dvwaHd 6ZjQ== X-Gm-Message-State: ACrzQf3zpbD4xwXqygKAzHKM25S8LPhADsD7lP38kyyQMGDhysNCNUvK Dz5FCh2GMMILXQx7EVJDh2rbm4S67Pk= X-Google-Smtp-Source: AMsMyM4Rx3hqVdLNRYhYzaz3b/04+ZdeuFwc0a2fNeTTr8F70fjRLtDC3iujw/3spTN2aFFHt4AqIA== X-Received: by 2002:a05:6000:1a85:b0:230:f238:a48c with SMTP id f5-20020a0560001a8500b00230f238a48cmr1232180wry.92.1665403828927; Mon, 10 Oct 2022 05:10:28 -0700 (PDT) Original-Received: from ?IPV6:2001:628:2010:4094:1b0c:8d56:d211:e809? ([2001:628:2010:4094:1b0c:8d56:d211:e809]) by smtp.gmail.com with ESMTPSA id d5-20020a05600c34c500b003c409244bb0sm8153921wmq.6.2022.10.10.05.10.27 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 05:10:28 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::431; envelope-from=thibaut.verron@gmail.com; helo=mail-wr1-x431.google.com X-Spam_score_int: -40 X-Spam_score: -4.1 X-Spam_bar: ---- X-Spam_report: (-4.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-2.007, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139787 Archived-At: On 10/10/2022 13:54, uzibalqa wrote: > ------- Original Message ------- > On Monday, October 10th, 2022 at 11:46 AM, Thibaut Verron 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)))