From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Manuel Giraud Newsgroups: gmane.emacs.devel Subject: How to walk a Lisp_String? Date: Thu, 01 Sep 2022 17:34:23 +0200 Message-ID: <87a67jw1kw.fsf@elite.giraud> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6642"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (berkeley-unix) To: "emacs-devel" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 01 17:35:22 2022 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 1oTmDy-0001Vd-BM for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Sep 2022 17:35:22 +0200 Original-Received: from localhost ([::1]:41952 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oTmDx-0007Ub-C8 for ged-emacs-devel@m.gmane-mx.org; Thu, 01 Sep 2022 11:35:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTmD6-0006kO-M1 for emacs-devel@gnu.org; Thu, 01 Sep 2022 11:34:28 -0400 Original-Received: from ledu-giraud.fr ([51.159.28.247]:18407) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oTmD4-0000x2-QP for emacs-devel@gnu.org; Thu, 01 Sep 2022 11:34:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; s=rsa; bh=5qN0/zfjeo8p+0BB EVjaocqZuSUB01h7BwJncLpCZKE=; h=date:subject:to:from; d=ledu-giraud.fr; b=udQadcYSUy2+PAD4dtjCuq6I3GegtrNyAK+JGgOYS/hqELuaJo Co1YiXxJucCq1OF0hO7rqkgZyKyc8VPLsey/nn+cfFVGKC1JlNrzPAYkNuKzJbUxT+Y1R2 Sfj9it1KNsCk3UXfUJlwN8wPE/8fcYf8CdP/z0qTKkGxsM6QhFyNHuAO6XsHl5hc63U1Yr dG4PX7Ad/41auw2F2gUR3oYXKMHJpim0lFcznAYUG90qkr5e2/kDV00XBgEbV7c2q6IJ2f MARpdD1SSHgbvSN+CcbnD10EVHEAZ5V2TQUgp5u9mpw98vsq5ctps8/BGbmhS/BjaPuplr pcnIF3OBePBg== Original-Received: from elite.giraud ( [10.1.1.1]) by ledu-giraud.fr (OpenSMTPD) with ESMTPSA id 979f4cb4 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO) for ; Thu, 1 Sep 2022 17:34:24 +0200 (CEST) Received-SPF: pass client-ip=51.159.28.247; envelope-from=manuel@ledu-giraud.fr; helo=ledu-giraud.fr 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, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:294487 Archived-At: Hi, Some context: As discussed with Po Lu (a month or two ago), I'd like to use some of the emacs' face machinery to render entries of Lucid menus. I'm at a point where I'd like to walk a struct Lisp_String one =C2=ABcharacter=C2=BB at a time. Of course, I should be able to handle mul= ti-byte Lisp_String. How could I do that? Thanks. --=20 Manuel Giraud