unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
To: Juri Linkov <juri@linkov.net>
Cc: Manuel Giraud via "Emacs development discussions." <emacs-devel@gnu.org>
Subject: Re: Default Info face
Date: Thu, 19 Dec 2024 10:32:33 +0100	[thread overview]
Message-ID: <87seqkuifi.fsf@ledu-giraud.fr> (raw)
In-Reply-To: <878qscq5jw.fsf@mail.linkov.net> (Juri Linkov's message of "Wed,  18 Dec 2024 19:17:03 +0200")

Juri Linkov <juri@linkov.net> writes:

>> If I'm not mistaken, currently, the face used for the text body of Info
>> nodes is `default'.  I was wondering if there would be any interest in
>> having an `info' face defined for this usage.  I imagine that it could
>> inherit for `variable-pitch-text' as "shr.el" is doing.  I also guess
>> that it would have an impact on some sub-faces (like `info-title*' for
>> example).  WDYT?
>
> Can you achieve this by face remapping?
> For example, in the Info buffer:
>
>   (face-remap-add-relative 'default 'variable-pitch)

Thanks.  Yes this works and there is also `variable-pitch-mode' that I
can add to `Info-mode-hook'.
-- 
Manuel Giraud



      reply	other threads:[~2024-12-19  9:32 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-12-18 10:00 Default Info face Manuel Giraud via Emacs development discussions.
2024-12-18 10:22 ` tomas
2024-12-18 12:18   ` Eric S Fraga
2024-12-18 13:34     ` tomas
2024-12-18 12:46   ` Manuel Giraud via Emacs development discussions.
2024-12-18 12:54     ` tomas
2024-12-18 14:42       ` Manuel Giraud via Emacs development discussions.
2024-12-18 14:05 ` Eli Zaretskii
2024-12-18 14:50   ` Manuel Giraud via Emacs development discussions.
2024-12-18 15:28     ` Eli Zaretskii
2024-12-18 16:50       ` Manuel Giraud via Emacs development discussions.
2024-12-18 17:06         ` Eli Zaretskii
2024-12-19  9:02           ` Manuel Giraud via Emacs development discussions.
2024-12-19 11:06     ` Stefan Kangas
2024-12-19 16:28       ` Manuel Giraud via Emacs development discussions.
2024-12-18 17:17 ` Juri Linkov
2024-12-19  9:32   ` Manuel Giraud via Emacs development discussions. [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87seqkuifi.fsf@ledu-giraud.fr \
    --to=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    --cc=manuel@ledu-giraud.fr \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).