all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefankangas@gmail.com>
To: "Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr>,
	Philip Kaludercic <philipk@posteo.net>
Cc: emacs-devel@gnu.org
Subject: Re: ELPA: New package: nano-theme
Date: Tue, 28 Sep 2021 11:32:55 -0700	[thread overview]
Message-ID: <CADwFkmmErJ-qURA8PPWu6Bbdx1fMtS+PHKz2TyFphRnZ3RBL-Q@mail.gmail.com> (raw)
In-Reply-To: <m18rzgwoxw.fsf@inria.fr>

"Nicolas P. Rougier (inria)" <nicolas.rougier@inria.fr> 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'.



  reply	other threads:[~2021-09-28 18:32 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-28 13:11 ELPA: New package: nano-theme Nicolas P. Rougier (inria)
2021-09-28 17:47 ` Philip Kaludercic
2021-09-28 17:57   ` Nicolas P. Rougier (inria)
2021-09-28 18:32     ` Stefan Kangas [this message]
2021-09-28 18:48       ` Stefan Monnier
2021-09-29 15:20         ` Stefan Kangas
2021-09-29 16:39           ` Stefan Monnier
2021-09-29  5:13       ` Nicolas P. Rougier (inria)
2021-09-29 12:18         ` Stefan Monnier
2021-09-30  7:21           ` Nicolas P. Rougier (inria)
2021-09-28 18:37     ` Philip Kaludercic
2021-09-29  5:07       ` Nicolas P. Rougier (inria)
2021-09-29  6:24         ` Philip Kaludercic
2021-10-01  9:59   ` Philip Kaludercic
2021-10-01 10:05     ` Nicolas P. Rougier (inria)
2021-10-01 10:15       ` Philip Kaludercic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADwFkmmErJ-qURA8PPWu6Bbdx1fMtS+PHKz2TyFphRnZ3RBL-Q@mail.gmail.com \
    --to=stefankangas@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=nicolas.rougier@inria.fr \
    --cc=philipk@posteo.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.