[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to walk a Lisp_String?

From: Manuel Giraud
Subject: Re: How to walk a Lisp_String?
Date: Fri, 02 Sep 2022 16:58:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix)

Eli Zaretskii <eliz@gnu.org> writes:


> However, you still didn't answer my original question: where does the
> face information (colors and fonts) come from?  The APIs I mention
> above will allow you to put the information on a Lisp string, but
> where will you get the information you need to put on those strings?

Hum, I don't know.  So far, I've initialized like this:
--8<---------------cut here---------------start------------->8---
  struct frame *f = XFRAME (frame);
  struct face *face = FACE_FROM_ID (f, MENU_FACE_ID);
--8<---------------cut here---------------end--------------->8---

And it seems to work as intended (at least for fonts).  What am I
Manuel Giraud

reply via email to

[Prev in Thread] Current Thread [Next in Thread]