From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: ELPA: New package: nano-theme Date: Tue, 28 Sep 2021 11:32:55 -0700 Message-ID: References: <87bl4c6197.fsf@posteo.net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27216"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: "Nicolas P. Rougier (inria)" , Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 28 20:33:58 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mVHvR-0006ro-RX for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 20:33:57 +0200 Original-Received: from localhost ([::1]:33238 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVHvQ-00047K-Ln for ged-emacs-devel@m.gmane-mx.org; Tue, 28 Sep 2021 14:33:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVHuV-0003RH-Jd for emacs-devel@gnu.org; Tue, 28 Sep 2021 14:32:59 -0400 Original-Received: from mail-pl1-x62e.google.com ([2607:f8b0:4864:20::62e]:44933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mVHuT-0002wk-UV for emacs-devel@gnu.org; Tue, 28 Sep 2021 14:32:59 -0400 Original-Received: by mail-pl1-x62e.google.com with SMTP id t11so14786377plq.11 for ; Tue, 28 Sep 2021 11:32:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=g8b29riqu80+hVOp0JEKQPE5JKiBkkNYSpFWlKdVq/8=; b=nJbuu9waQzUNSZ0xC69SVr+ieZ02V2DG2LO8RoBfYHGBZU01aNZQsl3CwtPGVHOQTh otwVoGkUi7GItoRV/9pZ9u8fPwKYfVa6KYQe4eJoOGGwbFyNmMmlclayZgqzxWKoxxVr pxIbJWLQMnkOJNRWDyFJTH+vBUa0IweQfS8WlkYdnhgYSqPSeUHhR63v+QFeN7FG716/ HpShgtOqZU9gudZWkGQWsMHlCDfFYxUM/qZK8Nxsp2aPC/bLlFX5dS+7/N60V8M5p9Ff LDfko/XDb+1Wk8lqY1yfs9j6b4fnWZpwPKyyeBJW+gowANglEZs66Vd96nMc5BsTD7EE jUTQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=g8b29riqu80+hVOp0JEKQPE5JKiBkkNYSpFWlKdVq/8=; b=k7cTqOcFEuIXLPcF1TBkcxavp23pTzAezheusfSn1hcGcXJL/fkibxaR9NguRE25mb v1HR2SeYxedITZ5C9ijyBXezVxyFA2zwUpzHtO1VYwmAWNy2wAnU8L1ULBOcrQGDErFE fvuhVwFMSxL+co/CVtiK+SGVCpCeeVd9WZ9ivGQZWYNzajp/nPttmHvt2JiwIgAolOdE d3ZPxCFaJcg/X43lR22k5yZ6V1h6FAzDMmP+JGMNsGrOXkRNzqEoLUMYhbJfZrWfRR+d C7dEbRPuBBbQie2IppTuZMETX0MS2lyONq0FNdSP+zPsgdNi/jH5UdRwxfcOtFM8Fovp thNA== X-Gm-Message-State: AOAM5324f3KrtaAnvlex5ERxLCcLlkxh2WbOi6PeuVq/yn8ZWIvow7Zo 1LvNYrxxr6FgETJKFLSEcbDIEDMzW5XiY0RDOWM= X-Google-Smtp-Source: ABdhPJxM1IBDfwGsqDv96r7CrAqosltPvLRikXXbLH8FZs2KL4ON6vHnnSbYKxMrk9mArzmGs87vF1NeEF3EV0qfLkg= X-Received: by 2002:a17:90b:3805:: with SMTP id mq5mr1535728pjb.143.1632853976161; Tue, 28 Sep 2021 11:32:56 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Tue, 28 Sep 2021 11:32:55 -0700 In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::62e; envelope-from=stefankangas@gmail.com; helo=mail-pl1-x62e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.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, 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275719 Archived-At: "Nicolas P. Rougier (inria)" writes: > Maybe I need to read the documentation on what a theme can > set. For example, I set the face for the minibuffer (0 & 1) and > echo area (0 & 1) and I wasn't sure how to specify this in a > theme. Same for underline to be set at descent line, etc. You just put the theme in two different files, and set anything you like from that file. You could take a look at how modus-themes does this. > I agree this might be unconventional but since you can specify a > font family for each face, why not use it? And user can still > choose its own font stack. When I switch between themes, I don't want them to have different fonts, and have to configure it separately for each one. I have set a font I like in my configuration, and I would like themes to respect that setting. >> - Lines 363ff. seem to be indented unconventionally. Maybe add a >> .dir-locals.el to make sure everyone is using the same >> whitespace >> configuration. > > Not sure what you mean by add a .dir-locals.el. > Can you give me a pointer to the documentation? Search for "directory local variables" in the manual and you will find instructions there. Or type `M-x add-dir-local-variable RET'.