From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#58459: Getting a fresh emacs session with no customisation Date: Wed, 12 Oct 2022 12:56:37 +0000 Message-ID: References: <1M2WN8RSJh3rnvRYoGKu2FOYFosKFsYxRLesaZKzA6dmdXLvGsxZNON-D3zRMgv-FkPqF2qFTurWu3u2ruoKK1QSzHheoICPo2MIi7VR6lc=@proton.me> Reply-To: uzibalqa Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10584"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58459@debbugs.gnu.org, Stefan Kangas To: uzibalqa Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Oct 12 14:58:28 2022 Return-path: Envelope-to: geb-bug-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 1oibJb-0002V3-C7 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 14:58:27 +0200 Original-Received: from localhost ([::1]:54330 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oibJZ-0005Sj-GQ for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 12 Oct 2022 08:58:25 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58400) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oibJD-0005Pi-KF for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 08:58:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56978) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oibJC-0005Id-41 for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 08:58:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oibJB-0006CU-VD for bug-gnu-emacs@gnu.org; Wed, 12 Oct 2022 08:58:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: uzibalqa Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Oct 2022 12:58:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58459 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 58459-submit@debbugs.gnu.org id=B58459.166557942623765 (code B ref 58459); Wed, 12 Oct 2022 12:58:01 +0000 Original-Received: (at 58459) by debbugs.gnu.org; 12 Oct 2022 12:57:06 +0000 Original-Received: from localhost ([127.0.0.1]:56056 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oibIH-0006BE-DW for submit@debbugs.gnu.org; Wed, 12 Oct 2022 08:57:06 -0400 Original-Received: from mail-4318.protonmail.ch ([185.70.43.18]:62125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oibI0-0006A8-Qr for 58459@debbugs.gnu.org; Wed, 12 Oct 2022 08:57:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=proton.me; s=protonmail; t=1665579402; x=1665838602; bh=0/B0Q4HK5itJxVGOdNeCuf4/yK7bulrf2cJoMCJTRNo=; h=Date:To:From:Cc:Subject:Message-ID:In-Reply-To:References: Feedback-ID:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=X0DFDe7JxaPvQJ13cZxup0/B9a5zqZ7gYcjC+uhr/kO+NqUIeQThYLkKWiMzZ9OUZ /l3QQG7xQC2gfK2rRgy1WIAwTjgd6W1hm+fjk6zmgRFb11igke5OX7XnQhGWODNJLE STV1ac/QUO8HqZLUmDTMqlPmPV25UHEIo57WsQ0SUaOqgFxhOHpoH5EU9jycENx6cY t6zkEyo7Qz4x43pbEXElzsqRbYVFnUxN8wTYzxsrrWRVb07+LJHUf/ljdtOpzESzRp y0kfYWth4ZrUfqp7WYm1m/h7/bjrbT+U1svl1lliMqVAYH2xm4Bvhv5fVemEGRVMXP gUkT9MQ3ejeiA== In-Reply-To: <1M2WN8RSJh3rnvRYoGKu2FOYFosKFsYxRLesaZKzA6dmdXLvGsxZNON-D3zRMgv-FkPqF2qFTurWu3u2ruoKK1QSzHheoICPo2MIi7VR6lc=@proton.me> Feedback-ID: 52887082:user:proton X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:245201 Archived-At: ------- Original Message ------- On Wednesday, October 12th, 2022 at 12:52 PM, uzibalqa via "Bug reports for= GNU Emacs, the Swiss army knife of text editors" w= rote: > ------- Original Message ------- > On Wednesday, October 12th, 2022 at 9:51 AM, Stefan Kangas stefankangas@g= mail.com wrote: >=20 >=20 >=20 > > tags 58459 notabug > > close 58459 > > thanks > >=20 > > uzibalqa via "Bug reports for GNU Emacs, the Swiss army knife of text > > editors" bug-gnu-emacs@gnu.org writes: > >=20 > > > I am finding it extremely difficult to get a fresh emacs configuratio= n. Even after removing > > > my "~/.emacs" file and even with "emacs -q" which should not load any= init file, I get a black > > > background when I do "emacs -q". With customize-themes not showing th= at any theme is selected. > > >=20 > > > Even the command > > >=20 > > > emacs -q --no-site-file --no-splash > > >=20 > > > gives me a black background. > > >=20 > > > But "emacs -Q" gives me a white background. > >=20 > > So you have some X resources that are causing you trouble. See the > > documentation for the -Q flag. > >=20 > > Try this to see: > >=20 > > xrdb -query -all|grep -i emacs > >=20 > > And then unset those resources. > >=20 > > This is a support question and not a bug, so I'm closing this. >=20 >=20 > Why is emacs not taking care of these EMACS generated X-Resources? > You may claim it is not a bug, but what would be the usefelness when > user wants a fresh restart but has to go through all this torture > to find out what is going on. It is definitely not for the novice > to fix this. How can one unset those resources? -------------------------------------- This is the result of xrdb xrdb -query -all | grep -i emacs Emacs*Background:=09#000000 Emacs*Dialog*background:=09#000000 Emacs*Dialog*foreground:=09#ffffff Emacs*Foreground:=09#ffffff Emacs*XlwScrollBar.Background:=09#000000 Emacs*XlwScrollBar.Foreground:=09#ffffff Emacs*backgroundToolBarColor:=09#000000 Emacs*bottomToolBarShadowColor:=09#000000 Emacs*menubar*background:=09#000000 Emacs*menubar*foreground:=09#ffffff Emacs*popup*Background:=09#000000 Emacs*popup*Foreground:=09#ffffff Emacs*topToolBarShadowColor:=09#000000 Emacs.default.attributeBackground:=09#000000 Emacs.default.attributeForeground:=09#ffffff Emacs.mode-line.attributeForeground:=09#ffffff Emacs.scroll-bar.attributeBackground:=09#000000 Emacs.scroll-bar.attributeForeground:=09#ffffff Emacs.tool-bar.attributeBackground:=09#000000 Emacs.tool-bar.attributeForeground:=09#ffffff