From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Help with frame colors in Emacs Date: Mon, 07 Nov 2022 21:39:07 +0200 Message-ID: <83zgd2y2p0.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39219"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 07 20:40:39 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 1os7z4-000A6e-K7 for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 07 Nov 2022 20:40:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1os7xu-0004hr-RE; Mon, 07 Nov 2022 14:39:26 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os7xs-0004hC-Vj for help-gnu-emacs@gnu.org; Mon, 07 Nov 2022 14:39:25 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os7xs-0004s5-L2 for help-gnu-emacs@gnu.org; Mon, 07 Nov 2022 14:39:24 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=vn6EmM21Rt6nkhDil1/Y3dKoRgsCm/ubbP1rDZzA3W0=; b=i0TxR9k/lVJz c2Wc2DkmH/fYq4PSdEyZ6wxwLgb9aYMpPQZ/SjIrJYExHOVwwng9Lu+Y4zePTPh79gzuMr1hAcZfe aQIFjokmxmh8jJE98XfiwAUG1Izq4MmqxXIxgq/d81w8XERsRlphb02Z0k9pwbktIESZmqwXN15uC nAe2/Jg7Q/9LGZ9s63O2L3qOE23pT/Gc8sfbOvpP0ikTTfaqeAqdhoAEVL2wtc2lkJGjdQG8y9+Al O9NFNtGJLwtbkznUto7Lx0XxF9js8+e8HDbipG/W8SS7E/yui7kpSGvLrrdvwT5dbKGRGtANR4y2W eN14UzTYKKOQ3cnCHNCt9Q==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1os7xr-0006fv-4Q for help-gnu-emacs@gnu.org; Mon, 07 Nov 2022 14:39:23 -0500 In-Reply-To: (message from Patrick Mahan on Mon, 7 Nov 2022 11:18:49 -0800) 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-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.help:140800 Archived-At: > From: Patrick Mahan > Date: Mon, 7 Nov 2022 11:18:49 -0800 > > I launch using the following method: > > /Applications/Emacs.app/Contents/MacOS/Emacs -bg black -fg > mediumspringgreen -cr yellow -ms blue > > This is also how I launch on my linux box (Ubuntu 18.04) minus the macOS > file path. On linux I am running emacs 25.2.2 and when I launch a new > frame, it inherits the background/foreground, etc. But this is not > happening on macOS. I am wondering if it is because I am not using X > windows on the macOS? > > In any case, is there a config method I can use so that all my frames > inherit the same background, foreground, etc short of setting the "default" > face? I don't know why it doesn't work for you on macOS (sounds like a bug specific to that platform, or maybe also to the specific Emacs version you are using, which is quite old), but the recommended way of customizing the colors is via default-frame-parameters, which you can set in your init file. There are examples of that in the Emacs user manual, and all of the colors you want to change have corresponding frame parameters. Of course, it could be that the same bug which prevents the command-line arguments from working will also defeat the default-frame-parameters customization...