From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sivaram Neelakantan Newsgroups: gmane.emacs.help Subject: Re: terminal emacs configuration take 2 Date: Fri, 13 Aug 2021 21:22:06 +0530 Message-ID: <858s15wdeh.fsf@gmail.com> References: <85k0ks3ugx.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28565"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (windows-nt) To: help-gnu-emacs@gnu.org Cancel-Lock: sha1:MYr0OP9rSUXswZxbdpQegeDih1c= Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Fri Aug 13 17:52:50 2021 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 1mEZUH-0007DT-Os for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 17:52:49 +0200 Original-Received: from localhost ([::1]:53218 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mEZUB-0004yZ-Hw for geh-help-gnu-emacs@m.gmane-mx.org; Fri, 13 Aug 2021 11:52:43 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEZTs-0004yK-Kz for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 11:52:24 -0400 Original-Received: from ciao.gmane.io ([116.202.254.214]:52846) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mEZTq-0002AW-UF for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 11:52:24 -0400 Original-Received: from list by ciao.gmane.io with local (Exim 4.92) (envelope-from ) id 1mEZTo-0006fR-Am for help-gnu-emacs@gnu.org; Fri, 13 Aug 2021 17:52:20 +0200 X-Injected-Via-Gmane: http://gmane.org/ User-Mail-Address: nsivaram.net@gmail.com Received-SPF: pass client-ip=116.202.254.214; envelope-from=geh-help-gnu-emacs@m.gmane-mx.org; helo=ciao.gmane.io X-Spam_score_int: 5 X-Spam_score: 0.5 X-Spam_bar: / X-Spam_report: (0.5 / 5.0 requ) BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FORGED_FROMDOMAIN=0.249, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.25, NML_ADSP_CUSTOM_MED=0.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 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:132505 Archived-At: On Thu, Aug 12 2021,Tim Visher wrote: [snipped 14 lines] > IMHO the best way to 'theme' emacs in a terminal is to apply the color > theme to the terminal emulator and leave emacs alone, save for setting the > frame-background-mode to light or dark if it's not being detected properly. > The reason for this is that anything that I want to change about colors for > emacs I'd really like to have applied for all my terminal applications. Why > would I settle for nice colors in emacs and then jarring in colors in bash? > > Furthermore many of the configuration options you're referring to have no > analog in terminal emacs. Certainly fonts but also toolbars and frame > borders and such just aren't configurable in any meaningful way AFAIK. That > said, again setting the font in your terminal emulator makes emacs _and_ > the rest of your terminal experience nice. Right, went ahead and changed the MS Terminal fontsize instead of trying anything in emacs. > > That said, if you can already detect that you're in a terminal and > furthermore that you're trying to have a single config that behaves > differently in CLI vs. GUI then whatever you're configuring can just go > behind if or when statements in your config file. Just be aware that some > of it isn't relevant. Yeah, using (when (window-system) ... to wrap my GUI settings. Thanks. [snipped 14 lines] sivaram --