[Top][All Lists]

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

Re: How to walk a Lisp_String?

From: Eli Zaretskii
Subject: Re: How to walk a Lisp_String?
Date: Thu, 01 Sep 2022 18:49:14 +0300

> Date: Thu, 01 Sep 2022 18:42:07 +0300
> From: Eli Zaretskii <eliz@gnu.org>
> Cc: emacs-devel@gnu.org
> > I'm at a point where I'd like to walk a struct Lisp_String one
> > «character» at a time.  Of course, I should be able to handle multi-byte
> > Lisp_String.  How could I do that?
> Use fetch_string_char_advance.

Btw, my suggestion would be to describe your preliminary design ideas
here before you decide how to implement them.  E.g., it is not clear
to me why you'd need to walk strings character by character in order
to use the face machinery.  I'm probably missing something.

reply via email to

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