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 13:46:32 +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="27055"; 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 To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 10 13:48:19 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 1ohrGd-0006pd-G6 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 13:48:19 +0200 Original-Received: from localhost ([::1]:56246 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohrGb-0000h1-Vn for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 10 Oct 2022 07:48:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33782) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohrF0-0000gO-R1 for help-gnu-emacs@gnu.org; Mon, 10 Oct 2022 07:46:39 -0400 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]:37485) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ohrEz-0002sc-5Q for help-gnu-emacs@gnu.org; Mon, 10 Oct 2022 07:46:38 -0400 Original-Received: by mail-wm1-x334.google.com with SMTP id bi26-20020a05600c3d9a00b003c1e11f54d2so5143439wmb.2 for ; Mon, 10 Oct 2022 04:46:36 -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:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=BZgigKIdYnoYmLlcvDtGo50/ut4jqd9F9eIiRiaXy3M=; b=iuuP2tF1hqd3uBtY8Z8CnVPwfbioQnUBnx5xd6NljvnyxH985Lh+MlLFVIBIRK5rDe bTVxBJZQlVqCVjyCf7M+UJZ4hi0f3M1uQ8UbOrk0aB1STpx3jxfz4Ms7Fdqxe0nPURj6 hM5CBgUsIHzgffVJ/oVtF+0DG7cIU+W0N7/qr+Cq7P/dEjiUSs6vtH8ite7m+BPphfGL 9ocWyOmbvTD+nxRcSdNQiPoBD9zi6w2i+BrOLsNvf3HiifFVEXanOfegcrMdMBGse2N3 ikLKNKnWEhWSLovTKyjHs4Sd1uwX03icge5tyewMpTZ9UUCF5Z43u1Yw9leWIgQk23MN qNMQ== 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: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=BZgigKIdYnoYmLlcvDtGo50/ut4jqd9F9eIiRiaXy3M=; b=ugEA7up1nZjnhU7VPuYJHWK1u0jCtrvHj3qs3SkSf4bhtAsQtp2guLFchj8Tmo9K+Z PF2LX7L6EEO6D+dboYv4u7e5Wmy5NGKfxf+Yf9fZWnle0F+b124YMIygzSU6BrFkV5tp XF4tNIwRWrPqIyjeSKngLGnx9bkLIt1azyBF4XIyd/s1eUp/qSfq1gX45uDGR8YdeqA3 VV9nWx+uTC/FOHvr1ALLricD7mp2rtG5LPM0/7sX4mA7b5V1M9EwB5GT6GXNexFvQCGb 8s559kjRS9SFg2LqvZsQFEAuhdKYCIaBvxpcW45lHa5oJeeaX7naPqgqGdqbrhML8btY VciA== X-Gm-Message-State: ACrzQf3UsqJ0/plUY6q52ZqyNx3G6kxsyE7LP1NvXi/yk4haGDS6OrrU 2+Ti35PfjtTnS+JROgxGJKq02XWZfI8= X-Google-Smtp-Source: AMsMyM6msbjy4Dqf3wecHDNCRJ5o5kzgUpGM23m6EWDZCpZzeeU9UFl1klyzaJ1u21aF/6Dkn4XM9Q== X-Received: by 2002:a05:600c:4f01:b0:3b4:a8c8:2523 with SMTP id l1-20020a05600c4f0100b003b4a8c82523mr19291807wmq.199.1665402394203; Mon, 10 Oct 2022 04:46:34 -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 h7-20020a05600c350700b003b4868eb71bsm16329249wmq.25.2022.10.10.04.46.33 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 10 Oct 2022 04:46:33 -0700 (PDT) Content-Language: en-US In-Reply-To: Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=thibaut.verron@gmail.com; helo=mail-wm1-x334.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:139785 Archived-At: 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. 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))) > > > > > >